Salary and other ordinary income, after your standard or itemized deduction. This is what fills the bands first.
Held more than one year. Net of any losses you have already applied.
Held one year or less. Taxed as ordinary income — and it fills the bands too.
Dividends, interest and passive rents. Counts toward NIIT, not toward the gain bands.
Your ordinary income of $120,000 fills the bands first. It already fills the 0% band, so none of the gain is free.
Why "what bracket am I in" is the wrong question
A long-term gain is not taxed in the band its own size would suggest. It is taxed in whatever is left of each band after your ordinary income has filled it. Think of the bands as buckets filling from the bottom: salary goes in first, and the gain pours into the space above it.
That produces the two results people are most often surprised by. A gain that crosses a ceiling is split — part of it at the lower rate, the remainder at the higher one — so quoting a single rate for the whole gain is wrong in one direction or the other, usually by thousands. And a raise can move a gain that was free into a taxed band without the gain itself changing at all, because the band is a property of your total taxable income rather than of the sale.
A short-term gain is in the first bucket, not a separate one: it is ordinary income under the statute, so it both takes your marginal rate and raises the floor the long-term gain starts from. That second effect is the one an inline calculation almost always misses.
The 2026 long-term bands
Ceilings are TAXABLE income — after your standard or itemized deduction — with the gain included.
- Single — 0% up to $49,450, 15% up to $545,500, 20% above
- Married filing jointly — 0% up to $98,900, 15% up to $613,700, 20% above
- Head of household — 0% up to $66,200, 15% up to $579,600, 20% above
- Short-term — no preferential band at all; ordinary rates apply
- NIIT — a further 3.8% above $200,000 MAGI single, $250,000 married filing jointly
Frequently asked questions
How much tax will I pay when I sell a stock at a profit?
What does it mean that a capital gain 'stacks' on my income?
Who actually qualifies for the 0% long-term rate?
Where do the 15% and 20% bands start?
What is NIIT, and does it apply to me?
Is it worth waiting to cross the one-year mark before I sell?
What if I also sold something at a loss?
See your full tax picture
A capital gain is one line of a return. The full optimizer factors retirement contributions, deductions, entity choice and rental property in one place.
Open the full calculator