Cifrely. ← All calculators
ENES
Myth vs. fact · US 2026

Capital gains tax calculator: how much can you realize at 0%?

The myth that costs people free money: "capital gains are always taxed." They're not. There's a 0% federal long-term capital-gains bracket — for 2026, gains that keep your taxable income under $49,450 (single) or $98,900 (joint) are taxed at zero. See how much you can realize tax-free and the tax on any gain.

Your 2026 gains

Long-term gains you can realize at 0% (2026)

Your 0% room

Worked examples

Three runs of this calculator, computed on August 5, 2026 using the same code and the same data files this page uses. Nothing here is illustrative — change any input above to run your own.

Single freelancer sells index funds, all at 0%

Inputs: Filing status: Single · Your ordinary income before gains (wages, interest…): 42800 · Long-term capital gain you're realizing (optional): 18500

Long-term gains you can realize at 0% (2026): $22,750

With $26,700 of taxable income before gains, you can realize about $22,750 in long-term gains at 0% federal tax this year — of your $18,500 gain, $18,500 is tax-free.

✓ Capital gains aren't always taxed — there's a 0% bracket. You can realize about $22,750 in long-term gains at 0% federal tax and reset your cost basis for free (no wash-sale rule on gains — sell and rebuy the same day).

Your 0% room

Tax on the gain you entered

Married couple, $145k gain, entirely in the 15% band

Inputs: Filing status: Married filing jointly · Your ordinary income before gains (wages, interest…): 168000 · Long-term capital gain you're realizing (optional): 145000

Tax on the gain you entered: $21,750

Your income is above the 0% capital-gains threshold, so long-term gains are taxed at 15% (20% at the very top) — about $21,750 on your $145,000 gain (15.0%).

✓ Even above the 0% bracket, long-term gains are taxed far below ordinary rates — 15% here (vs up to 37% on ordinary income). Holding more than a year is what unlocks it.

Your 0% room

Tax on the gain you entered

Head of household whose gain straddles the 0% ceiling

Inputs: Filing status: Head of household · Your ordinary income before gains (wages, interest…): 74500 · Long-term capital gain you're realizing (optional): 32000

Long-term gains you can realize at 0% (2026): $15,850

With $50,350 of taxable income before gains, you can realize about $15,850 in long-term gains at 0% federal tax this year — of your $32,000 gain, $15,850 is tax-free.

✓ Capital gains aren't always taxed — there's a 0% bracket. You can realize about $15,850 in long-term gains at 0% federal tax and reset your cost basis for free (no wash-sale rule on gains — sell and rebuy the same day).

Your 0% room

Tax on the gain you entered

Examples are recomputed whenever the underlying rates or data change; the date above is the last recompute.

How the 0% bracket works & data sources

Long-term capital gains (assets held more than a year) and qualified dividends get their own preferential rates: 0%, 15%, or 20%. They stack on top of your ordinary taxable income. For 2026 the 0% rate applies while your total taxable income stays at or below $49,450 (single / MFS), $98,900 (married filing jointly), or $66,200 (head of household); the 15% rate runs up to $545,500 / $613,700 / $579,600, and 20% applies above that. Because it's measured on taxable income, your 2026 standard deduction$16,100 single, $32,200 joint, $24,150 head of household — first reduces the ordinary income that fills the bracket, which is why a modest earner can realize a surprising amount tax-free. Deliberately realizing 0%-bracket gains to reset your cost basis is tax-gain harvesting, and unlike loss harvesting there's no wash-sale rule on gains — you can sell and rebuy the same day. A single gain can straddle 0% and 15%. This is a federal estimate; state tax may still apply.

2026 figures verified as of July 19, 2026 — IRS Rev. Proc. 2025-32 (2026 LTCG breakpoints & standard deduction); IRS Topic 409; Pub. 550 (wash-sale is loss-only) · Federal estimate, not tax advice.

Sources: IRS — Rev. Proc. 2025-32 (2026 rates & deduction) · IRS — Topic 409 (capital gains) · IRS — Pub. 550 (wash sales)

Frequently asked questions

Are capital gains really tax-free sometimes?

Federally, yes — long-term gains inside the 0% bracket owe no federal tax. It's one of the most under-used breaks in the code. State tax may still apply.

What's tax-gain harvesting?

Realizing long-term gains that fall in the 0% bracket on purpose, to raise your cost basis for free. Later sales are then measured from the higher basis, so you owe less. There's no wash-sale rule on gains, so you can rebuy immediately.

What about short-term gains?

Assets held a year or less are short-term and taxed at your ordinary income rate — the 0/15/20% rates don't apply. Holding past the one-year mark is what unlocks the preferential rates.

Is a 0% federal rate truly free?

The gain itself is federally untaxed, but it still raises your income for the year — which can affect ACA subsidies, Medicare IRMAA, how much of your Social Security is taxed, and state tax. Check those if you're near any threshold.