Capital Gains Tax Calculator
The federal tax on a gain from selling stock, funds, property or other investments in 2026: 0%, 15% or 20% if held over a year, your ordinary rate if not, plus the 3.8% net investment income tax at higher incomes.
2026 long-term capital gains brackets (taxable income, gains included)
| Rate | Single | Married filing jointly | Head of household |
|---|---|---|---|
| 0% | Up to $49,450 | Up to $98,900 | Up to $66,200 |
| 15% | $49,450 to $545,500 | $98,900 to $613,700 | $66,200 to $579,600 |
| 20% | Over $545,500 | Over $613,700 | Over $579,600 |
How this calculator works
Long-term gains sit on top of your other taxable income: the part that falls under the 0% threshold is untaxed, the part up to the 15% threshold pays 15%, and the rest 20%. Short-term gains (held a year or less) are taxed like wages at your ordinary brackets.
The net investment income tax adds 3.8% on the smaller of your investment income or the amount your modified AGI exceeds $200,000 ($250,000 joint).
What it assumes
- Standard deduction; other income is wages. Collectibles (28%) and depreciation on real estate (up to 25%) have their own rates.
- Selling your home: up to $250,000 of gain ($500,000 joint) is usually excluded if you lived there two of the last five years.
Questions people ask
What are the capital gains tax rates for 2026?
0% on long-term gains while taxable income is up to $49,450 (single) or $98,900 (joint), 15% up to $545,500 or $613,700, and 20% above. Short-term gains are taxed at ordinary rates.
How much tax will I pay on $50,000 of long-term gains?
With $40,000 of other income as a single filer, about $3,668: the first $25,550 falls in the 0% bracket.
How long do I have to hold for long-term rates?
More than one year from the day after you bought to the day you sell.
Can losses offset gains?
Yes: capital losses offset gains, and up to $3,000 a year of net losses offsets other income, with the rest carried forward.
Related calculators
Sources
- IRS: Revenue Procedure 2025-32 (2026 capital gains brackets)
- 26 U.S.C. 1411: net investment income tax
Updated by the RateHerald team. The maths is tested against worked examples; report a problem.