2026 federal capital gains rates

How much can I sell without paying capital gains tax?

Long-term gains are taxed at 0%, 15%, or 20% depending on your total taxable income. The gain stacks on top of your other income, so the 0% room is whatever is left under the line.

Your numbers

How you file your federal return (Form 1040).
Income after deductions, not counting the gain. Form 1040 line 15 minus your long-term gains is a good start.
Sale price minus what you paid, for investments held more than a year. Leave at 0 to see only your 0% room.

Your result

Medicare and investment-income check

Open the Medicare IRMAA calculator

How we calculated it

  1. Your gain is stacked on top of your other taxable income.
  2. The part at or below the 0% line is untaxed, the part up to the 15% line is taxed at 15%, and anything above is taxed at 20%.

Simplified. Long-term gains and federal tax only; ignores state taxes, collectibles and real-estate depreciation rates, and qualified dividends. Short-term gains are taxed as ordinary income.

Common questions

What is the 0% capital gains rate?

Long-term gains (assets held more than a year) are taxed at 0% to the extent your total taxable income, including the gain, stays at or below $49,450 (single) or $98,900 (married filing jointly) in 2026.

Do gains count toward my Medicare IRMAA income?

Yes. Capital gains are part of adjusted gross income, so a large sale can lift your income over an IRMAA line two years later.

What is the net investment income tax?

An extra 3.8% on investment income when modified adjusted gross income is above $200,000 (single) or $250,000 (married filing jointly). These amounts are not adjusted for inflation.

Does this cover short-term gains?

No. Gains on assets held a year or less are taxed as ordinary income; use the Roth conversion bracket calculator to see how income fills the ordinary brackets.

Related calculators and guides