Capital Gains Tax Calculator
2026 rulesSee the federal and state tax on a sale, and how much of the gain lands in each rate.
Your numbers
Result
Tax on this sale
- Gain$60,000
- Taxed at 0%$0
- Taxed at 15%$60,000
- Taxed at 20%$0
- Federal capital gains tax-$9,000
- Net investment income tax (3.8%)$0
- Total tax-$9,000
- Effective rate on the gain15%
- You keep from the sale$91,000
How it works
Long-term gains, on assets held more than a year, are taxed at 0%, 15% or 20%, depending on where they fall on top of your other taxable income. For 2026 the 0% rate covers taxable income up to $49,450 single or $98,900 joint, and 20% starts above $545,500 and $613,700.
Short-term gains are taxed as ordinary income. Above $200,000 of MAGI single ($250,000 joint), the 3.8% net investment income tax applies as well.
2026 figures: IRS Rev. Proc. 2025-32 (2026 inflation adjustments).
Questions
Can losses offset gains?
Yes. Losses offset gains first, then up to $3,000 a year of other income, and the rest carries forward with no time limit.
Which states don't tax capital gains?
Alaska, Florida, Nevada, New Hampshire, South Dakota, Tennessee, Texas and Wyoming. Missouri exempts capital gains from its income tax, and Washington taxes only large long-term gains.
Related calculators
- Tax-loss harvesting$3,000 offset
- Tax-gain harvesting0% to $98,900
- Net investment income tax (NIIT)3.8%
- Home sale capital gains$250k / $500k