Taxes

Capital Gains Tax Calculator

Estimate the federal tax on selling stocks, crypto or other investments.

Results
Federal tax on the gain
–
Effective rate on the gain
–
Gain after tax
–

Estimate only, not tax advice. Uses 2026 federal figures. Excludes the 3.8% net investment income tax and state tax.

Capital Gains Tax Rates for 2026

When you sell a stock, fund, crypto or property for more than you paid, the profit is a capital gain. How it's taxed depends on how long you held it.

2026 long-term capital gains brackets

RateSingleMarried filing jointly
0%Up to $49,450Up to $98,900
15%$49,451 – $545,500$98,901 – $613,700
20%Over $545,500Over $613,700

Gains stack on top of your other taxable income. Your salary fills the brackets first, and your gains go on top of it.

Examples

A single filer with $60,000 of other taxable income sells stock held for three years at a $20,000 gain. Their income is already past $49,450, so the whole gain is taxed at 15%: $3,000. If they'd held it less than a year, it would be taxed at their 22% bracket: $4,400.

With only $30,000 of other taxable income, the first $19,450 of gain fills the 0% band. Only $550 is taxed at 15%, for a tax of $82.50.

Frequently Asked Questions

Can losses reduce my tax?

Yes. Capital losses offset gains, and up to $3,000 of net losses a year can offset ordinary income. Extra losses carry forward to future years.

What is the 3.8% net investment income tax?

An extra 3.8% on investment income when your MAGI is over $200,000 (single) or $250,000 (joint). This calculator leaves it out.

Is crypto taxed the same way?

Yes. The IRS treats crypto as property, so selling, swapping or spending it can create a capital gain or loss.

What about selling my home?

If you owned and lived in it for 2 of the last 5 years, you can exclude up to $250,000 of gain ($500,000 joint).

Tips

  • Waiting until you pass the one-year mark can cut the tax on a gain substantially.
  • Measure the return before tax with the ROI calculator or CAGR calculator.