Sell a stock at a profit and you'll owe something to the IRS.
The tricky part is figuring out how much, because the capital gains tax rate isn't one number.
It depends on how long you held the asset, how much other income you reported, and which bracket that income lands you in.
Get it wrong and you could hand over more than necessary.
The gap between short-term and long-term rates is the biggest fork in the road.
Hold an investment for a year or less and any gain gets taxed as ordinary income, which for a working couple in a higher bracket can mean 22% or 24% or more.
Hold it longer than a year and the long-term rate usually drops to 0%, 15%, or 20%, depending on taxable income.
Those long-term thresholds get adjusted for inflation most years, which quietly matters.
For many married couples filing jointly, the 15% rate kicks in once taxable income climbs past roughly $96,700, with the top 20% rate applying above about $600,050.
Single filers hit those tiers at much lower numbers.
A big one-time gain from selling a rental property or a chunk of stock can shove you into a higher tier for that year alone.
Retirees on Social Security and a modest pension often assume they're safely in the 0% bracket.
Then they sell a longtime holding to cover a roof repair or help a grandchild with tuition, and the gain stacks on top of everything else.
The result can also drag a larger share of Social Security benefits into taxable territory, which surprises people every spring.
There's a wrinkle worth knowing: a 3.8% net investment income tax can apply to single filers above $200,000 and joint filers above $250,000.
That surtax sits on top of the regular capital gains rate, so the real bite on a large sale can exceed what the bracket table suggests.
People who inherit assets get a different set of rules, since the cost basis typically steps up to the value at the date of death, wiping out decades of built-in gain for heirs.
Wash sale rules can also trip up anyone trying to capture a loss for tax purposes while staying in the market.
Buy the same or a substantially identical security within 30 days before or after the sale, and the IRS disallows the loss.
The disallowed amount doesn't vanish, but it gets folded into the basis of the replacement shares, which delays the benefit.
What can you actually do about any of this?
Spread large sales across two calendar years when possible, so each year's gain lands in a lower tier.
Max out tax-advantaged accounts first, since gains inside a 401(k) or IRA aren't taxed annually.
And if you're donating appreciated stock to charity, you may sidestep the gain entirely while still claiming a deduction for the full value.
None of this is personalized advice, and the rules shift with each new tax law.
A CPA or fee-only fiduciary can run your specific numbers before you sell, which is far cheaper than discovering a surprise bill in April.
The takeaway is simple: the capital gains rate rewards patience more than almost any other lever in the tax code.
Waiting out that one-year mark and timing sales around your income can keep thousands of dollars in your pocket.
Final Thoughts
Treat the bracket table as a planning tool, not a footnote.