Capital Gains Tax Calculator (2026)

Estimate the federal tax on a gain from selling stock, crypto, land, a rental property or a business asset in 2026. Long-term gains get lower rates than wages, and some people pay 0%. It runs in your browser; nothing is sent to us. Texas has no state income tax, so there's no state tax on the gain.

Your income after the standard or itemized deduction, not counting this sale.
Sale price minus what you paid (your basis) and selling costs.
How long did you own it?
Taxed at 0%
$0
Taxed at 15%
$0
Taxed at 20%
$0
Capital gains tax
$0
Net investment income tax (3.8%)
$0
Total federal tax on the gain
$0
Effective rate on the gain
0%

An estimate for general information, not tax advice.

2026 capital gains tax brackets

Long-term gains, on things you owned for more than a year, are taxed at 0%, 15% or 20%, depending on your taxable income including the gain. The gain sits on top of your other income, so it can be split across two rates. Short-term gains are taxed at your regular income tax rates. These thresholds are from IRS Rev. Proc. 2025-32.

RateSingleMarried filing jointlyHead of householdMarried filing separately
0%Up to $49,450Up to $98,900Up to $66,200Up to $49,450
15%$49,450 – $545,500$98,900 – $613,700$66,200 – $579,600$49,450 – $306,850
20%Over $545,500Over $613,700Over $579,600Over $306,850

The 3.8% net investment income tax

Higher earners pay an extra 3.8% on investment income, including capital gains, when modified AGI is above $200,000 single or head of household, $250,000 married filing jointly, or $125,000 married filing separately. These thresholds aren't adjusted for inflation.

Selling a home or a rental

If you owned and lived in your home for 2 of the last 5 years, up to $250,000 of gain ($500,000 for a married couple) is tax-free. A rental is different: the depreciation you took (or could have taken) is taxed at up to 25% when you sell, before the regular capital gains rates apply to the rest. This calculator doesn't include that part, so a rental sale is worth a professional estimate.

Frequently asked questions

How much capital gains tax will I pay?
It depends on your taxable income. In 2026, a single filer pays 0% on long-term gains that fit under $49,450 of taxable income, 15% up to $545,500 and 20% above that. For a married couple filing jointly, the 0% rate covers taxable income up to $98,900.
What's the difference between short-term and long-term gains?
Assets held one year or less produce short-term gains, taxed like wages at 10% to 37%. Held more than one year, they produce long-term gains at 0%, 15% or 20%. Waiting a few days past the one-year mark can cut the tax a lot.
Can losses reduce my capital gains tax?
Yes. Capital losses offset capital gains first, then up to $3,000 a year of other income ($1,500 if married filing separately). Unused losses carry forward to later years.
Is this calculator exact?
It's an estimate of federal tax. It doesn't include the 25% rate on depreciation from a rental, the 28% rate on collectibles like gold coins, loss carryovers or the alternative minimum tax. The net investment income tax uses an approximate MAGI.