US Capital Gains Tax Calculator (Short-Term vs Long-Term)
Calculate federal capital gains taxes on stocks, crypto, and real estate with 0%, 15%, 20% brackets and 3.8% NIIT surtax.
Quick Answer
This US capital gains tax calculator estimates the federal tax on profit from selling assets such as shares, crypto, or property. Enter your purchase and sale prices, holding period, and income, and it separates short-term from long-term gains and applies the matching rates. No sign-up is needed to use it.
Capital Asset Gains
Federal Capital Gains Liability
IRS Federal Capital Gains Brackets:
- Long-Term (0%): Taxable income up to $49,450 (Single) / $98,900 (Joint).
- Long-Term (15%): Taxable income up to $545,500 (Single) / $613,700 (Joint).
- Long-Term (20% + 3.8% NIIT): Taxable income exceeding highest threshold.
- Short-Term: Taxed identically to regular W-2 earned income (10% - 37%).
How to Use US Capital Gains Tax Calculator (Short-Term vs Long-Term)
Follow these 3 simple steps to process your files securely in seconds.
Enter Capital Gain
Input total profit from the sale of investments or real estate.
Select Holding Period
Choose Long-Term (> 1 year) or Short-Term (≤ 1 year).
Select Tax Filing Status
Pick your income bracket to apply 0%, 15%, 20%, or ordinary income rates.
Why Choose Toolenix Client-Side Tools?
Engineered for US & UK professionals who value maximum data privacy, speed, and zero cloud footprints.
0%, 15%, 20% Long-Term Brackets
Accurately models IRS capital gains thresholds.
3.8% NIIT Surtax Support
Includes Net Investment Income Tax for high-income earners.
Holding Period Comparison
Demonstrates the tax benefits of holding investments past 1 year.
100% Private Client-Side
Financial gain details remain strictly on your device.
In-Depth Guide to US Capital Gains Tax Calculator (Short-Term vs Long-Term)
Capital gains tax is charged on the profit from selling an asset — shares, property, a business — and the rate depends on how long you held it. Hold it for a year or less and the gain is taxed as ordinary income; hold it longer and the preferential long-term rates apply. This calculator works out the tax on a long-term gain for 2026.
The 2026 long-term thresholds
- 0%: taxable income up to $49,450 single, $98,900 married filing jointly.
- 15%: up to $545,500 single, $613,700 married filing jointly.
- 20%: above those figures.
The thresholds apply to taxable income, not to the gain alone: a $40,000 gain on top of $30,000 of other income sits partly in the 0% band and partly in the 15% band. Short-term gains ignore all of this — they are taxed at your ordinary marginal rate, which is why holding an asset past the one-year mark can be worth thousands.
The 3.8% surcharge on top
On top of the capital gains rate, the Net Investment Income Tax adds 3.8% on investment income — including capital gains — once modified adjusted gross income passes $200,000 single or $250,000 married filing jointly. A higher-rate taxpayer with a large gain can therefore pay 23.8% rather than 20%. The surcharge is not indexed to inflation, so more people cross it every year.
Losses, and the $3,000 rule
Capital losses offset capital gains dollar for dollar, and up to $3,000 of net loss a year can be deducted against ordinary income, with the rest carried forward. That is the whole logic of tax-loss harvesting: realise a loss in a down year to shelter a gain. But the wash-sale rule blocks the obvious trick — sell a stock for a loss and buy it back within 30 days, and the loss is disallowed.
Long-term rates only start after a year of holding, the 0% band ends at $49,450 of taxable income for a single filer, and losses offset gains before the $3,000 annual deduction.
Frequently Asked Questions
Everything you need to know about using this free online tool.