๐Ÿ“Š

Capital Gains Tax Calculator

Estimate the federal capital gains tax on a profit from selling stocks, crypto, a second home or other investments โ€” for long-term holdings (the 0% / 15% / 20% rates) or short-term ones taxed as ordinary income.

Enter your details

โ€”

Long-term vs short-term โ€” the key difference

If you held the asset more than one year, the profit is a long-term gain taxed at the favorable 0%, 15% or 20% rates. Held one year or less, itโ€™s a short-term gain taxed as ordinary income at your regular bracket โ€” which can be far higher. The holding-period clock starts the day after you buy and ends the day you sell.

2025 long-term capital gains brackets

The rate depends on your total taxable income, because the gain stacks on top of it. 0% applies up to $48,350 (single) / $96,700 (married filing jointly) / $64,750 (head of household); 15% applies above that up to $533,400 / $600,050 / $566,700; 20% applies beyond. A single gain can straddle two bands โ€” the calculator splits it for you.

What this leaves out

This is federal only. Most states tax capital gains too (California treats them as ordinary income up to 13.3%; nine states have no income tax). High earners also owe the 3.8% Net Investment Income Tax above $200k (single) / $250k (joint) of modified AGI. Losses can offset gains โ€” net them first before entering the figure here.

Frequently asked questions

How much is capital gains tax on $20,000?
For a long-term gain with $70,000 of other taxable income (single), the $20,000 falls in the 15% band, so roughly $3,000 federal โ€” an effective 15%. With low enough income it could be 0%; held under a year, itโ€™s taxed at your ordinary rate instead.
Do I pay capital gains tax on stocks I havenโ€™t sold?
No. Gains are only taxed when you <b>realize</b> them by selling. Unrealized gains on stock or crypto you still hold arenโ€™t taxed, which is why timing a sale across tax years can matter.
What about losses?
Capital losses offset capital gains dollar-for-dollar, and up to $3,000 of net loss can offset ordinary income each year, with the rest carried forward. Net your gains and losses first, then enter the net gain here.
Is crypto taxed the same way?
Yes โ€” the IRS treats crypto as property, so selling or swapping it triggers a capital gain or loss with the same long-term/short-term rules as stocks.