If you sold a stock, a rental property, or a chunk of a mutual fund this year, the tax bill on that profit depends on one number you probably haven't checked since last spring: your total taxable income.
Long-term capital gains — profits on assets held more than a year — get taxed at 0%, 15%, or 20%, depending on where your income lands.
For 2025, the 0% bracket runs up to $48,350 for single filers and $96,700 for married couples filing jointly, according to IRS inflation adjustments.
Every dollar of gain above that line gets taxed, but here's the wrinkle: the gain itself counts toward the income that decides your bracket.
A retired couple living on $70,000 in Social Security and pension income might assume they're safely in the 15% zone on a $30,000 stock sale.
Add the gain, and their taxable income jumps to $100,000 — pushing part of that profit into a higher tier than they planned for.
Accountants call it "stacking," and it surprises people every April.
Short-term gains — assets held a year or less — are taxed as ordinary income, which means rates of 22%, 24%, or higher for many households.
If you flipped a stock in three months and pocketed $10,000, you could owe more than double what the same profit would cost after a year of patience.
Then there's the 3.8% net investment income tax.
It kicks in once modified adjusted gross income passes $200,000 for singles or $250,000 for couples, and it applies on top of regular capital gains rates.
High earners in states like California or New York can watch their combined rate on a profitable sale climb past 30%.
What should you actually do before December 31?
If you're sitting on a loser stock, selling it before year-end lets that loss offset gains dollar for dollar.
You can even use up to $3,000 in leftover losses against ordinary income, and the rest carries forward.
Second, check your bracket before you sell, not after.
If a sale would push you just over the 0% line, splitting it across two tax years might keep more of the profit in your pocket.
This is especially relevant for retirees managing required minimum distributions, which also count as income.
Your gain is the sale price minus what you paid, plus any reinvested dividends.
Brokers report this on Form 1099-B, but errors happen — especially with inherited or gifted shares, where the basis rules get genuinely complicated.
One more thing worth knowing: the IRS adjusts these thresholds most years for inflation.
The 0% ceiling for couples has crept up steadily, from $80,000 in 2020 to $96,700 for 2025.
Checking the current numbers rather than relying on memory from a few years back can be the difference between a small tax bill and a painful one.
It's the sort of math that takes twenty minutes with a calculator and a copy of last year's return — and it's the reason tax pros stay booked in November and December.
The takeaway: your capital gains rate isn't a fixed number printed on a card.
It's a moving target set by your income, your filing status, and your timing.
Final Thoughts
Selling without running that math first is how people hand the IRS money they didn't have to give.