The Single Most Important Distinction: Holding Period
The entire capital gains tax system hinges on one question: did you hold the asset for more than one year before selling? That one fact determines whether your gain is taxed at ordinary income rates or at much lower long-term capital gains rates.
Short-Term Gains
If you sell an investment you’ve held for one year or less, the gain is taxed as ordinary income — the same rates as your paycheck, up to 37% at the top federal bracket. There’s no special discount for short-term trading profit.
Long-Term Gains
Hold an asset for more than one year, and the gain is taxed at preferential long-term capital gains rates: 0%, 15%, or 20%, depending on your total taxable income.
| Filing Status | 0% Rate | 15% Rate | 20% Rate |
|---|---|---|---|
| Single | up to ~$48,350 | ~$48,350–$533,400 | above ~$533,400 |
| Married Filing Jointly | up to ~$96,700 | ~$96,700–$600,050 | above ~$600,050 |
(Thresholds are indexed annually for inflation — check current-year IRS figures.)
The Net Investment Income Tax (NIIT)
High earners face an additional 3.8% surtax on investment income (including capital gains) once Modified AGI exceeds $200,000 (single) or $250,000 (married filing jointly) — stacking on top of the long-term rate.
Worked Example
You bought stock for $10,000 and sold it two years later for $25,000 — a $15,000 gain. As a single filer with $90,000 taxable income (falling in the 15% long-term bracket), you’d owe $2,250 in federal capital gains tax. If you’d sold after only 8 months instead, that $15,000 would be taxed at your ordinary rate (22% at this income level) — $3,300, a $1,050 difference for holding one extra year.
Capital Losses Offset Gains
Losses on other investments can offset gains dollar-for-dollar. If your losses exceed your gains, you can deduct up to $3,000 against ordinary income per year, carrying forward any remainder indefinitely — a strategy known as tax-loss harvesting.
Cost Basis Matters
Your gain is calculated against your cost basis — generally what you paid, plus commissions, adjusted for reinvested dividends or stock splits. Keeping accurate basis records (or relying on your broker’s 1099-B) is essential to avoid overpaying tax on money you never actually gained.
Use Our Calculator
While capital gains are calculated separately from your paycheck withholding, you can see your baseline federal and state tax picture with our free US Paycheck Calculator.
Figures reflect 2025 tax year rules. Rate thresholds adjust annually — verify current figures with the IRS.