Capital Gains Tax on Stocks in 2026
US capital gains tax depends on holding period: assets held ≤1 year are short-term (taxed as ordinary income up to 37%); held >1 year are long-term (0%, 15%, or 20% based on income). High earners may owe 3.8% NIIT.
Single filer, $80,000 taxable income, sells stock for $15,000 gain after 18 months holding. $2,250 federal tax on $15,000 long-term gain (state tax may add more). This guide shows how capital gains tax on stocks in 2026 works with real numbers you can apply today.
Quick answer
Capital gains tax is owed on profit from selling investments (stocks, funds, property). The rate depends on how long you held the asset and your total taxable income.
How capital gains tax on stocks in 2026 works in practice
Capital gains tax is owed on profit from selling investments (stocks, funds, property). The rate depends on how long you held the asset and your total taxable income.
The goal is not to memorize every term — it is to know which inputs matter and what outcome you are aiming for.
So what: When you can explain this in your own words, you are far less likely to accept a bad quote, fee, or assumption.
A real scenario worth running
Single filer, $80,000 taxable income, sells stock for $15,000 gain after 18 months holding. Step by step: Holding >1 year → long-term capital gains → Income $80k → 15% LTCG rate applies → Tax = $15,000 × 15% = $2,250 federal. Bottom line: $2,250 federal tax on $15,000 long-term gain (state tax may add more).
So what: Plug your own numbers into the same logic before you decide.
How capital gains tax works on stocks (US)
When you sell stock for more than you paid, the profit is a capital gain. The IRS taxes it differently depending on how long you held the shares:
- Short-term: held 1 year or less → taxed as ordinary income (10–37% federal, 2026 brackets)
- Long-term: held more than 1 year → taxed at preferential rates (0%, 15%, or 20%)
Your cost basis is usually what you paid plus commissions. Gain = sale price − cost basis.
Example: Bought 100 shares at $50 ($5,000), sold at $80 ($8,000) → $3,000 capital gain.
So what: Run your own inputs before you commit — small changes in assumptions can shift the outcome sharply.
2026 US capital gains tax brackets (long-term)
Long-term rates depend on taxable income (not just the gain):
| Filing status | 0% rate | 15% rate | 20% rate |
|---|---|---|---|
| Single | Up to ~$48,350 | ~$48,351 – $533,400 | Above ~$533,400 |
| Married filing jointly | Up to ~$96,700 | ~$96,701 – $600,050 | Above ~$600,050 |
Short-term gains (held ≤1 year) are taxed as ordinary income at your marginal rate (10–37%).
So what: Run your own inputs before you commit — small changes in assumptions can shift the outcome sharply.
Holding period matters — real numbers
| Holding | $10,000 gain, $80k taxable income (single) |
|---|---|
| 6 months (short-term) | |
| 18 months (long-term) | 15% LTCG = ~$1,500 tax |
| Savings by waiting | ~$700 |
On larger gains the difference is dramatic. A $100,000 short-term gain at 32% = $32,000 tax vs $15,000 at 15% long-term = $17,000 saved.
So what: Run your own inputs before you commit — small changes in assumptions can shift the outcome sharply.
Net Investment Income Tax (NIIT)
High earners may owe an additional 3.8% NIIT on investment income if modified adjusted gross income exceeds:
- $200,000 (single)
- $250,000 (married filing jointly)
This applies to capital gains, dividends, and interest — on top of regular capital gains rates.
So what: Run your own inputs before you commit — small changes in assumptions can shift the outcome sharply.
Tax-loss harvesting
Sell losing positions to offset gains:
- Realized losses offset realized gains in the same tax year
- Excess losses offset up to $3,000 ordinary income per year
- Remaining losses carry forward indefinitely to future years
- Watch the 30-day wash sale rule — buying substantially identical stock within 30 days before/after the sale disallows the loss
Example: $8,000 gain on Stock A, $3,000 loss on Stock B → net taxable gain = $5,000
So what: Run your own inputs before you commit — small changes in assumptions can shift the outcome sharply.
Tax-advantaged accounts (gains deferred or eliminated)
| Account | While invested | On withdrawal |
|---|---|---|
| 401(k) / traditional IRA | No annual tax on gains | Taxed as ordinary income |
| Roth IRA | No annual tax | Tax-free if qualified (5+ years, 59½+) |
| 529 plans | No annual tax | Tax-free for qualified education |
| Taxable brokerage | Dividends taxed; gains when sold | LTCG/STCG rates apply |
Max out tax-advantaged accounts before holding growth stocks in taxable accounts when possible.
So what: Run your own inputs before you commit — small changes in assumptions can shift the outcome sharply.
Qualified dividends vs ordinary dividends
Qualified dividends (from US companies held 60+ days) are taxed at long-term capital gains rates. Ordinary dividends are taxed as ordinary income. Check your 1099-DIV — the distinction affects your bill significantly.
So what: Run your own inputs before you commit — small changes in assumptions can shift the outcome sharply.
State capital gains taxes
Many states tax capital gains as ordinary income (California, New York, etc.). Zero state tax states (Texas, Florida, Nevada, etc.) add no state layer. Always factor state tax into net proceeds.
So what: Run your own inputs before you commit — small changes in assumptions can shift the outcome sharply.
Reporting
- Broker sends Form 1099-B with proceeds and cost basis
- Report on Schedule D and Form 8949
- Keep records of purchases, reinvested dividends (they increase cost basis), and stock splits
So what: Run your own inputs before you commit — small changes in assumptions can shift the outcome sharply.
Common mistakes
- Short-term (≤1 year): taxed at ordinary income rates (10–37%) — this quietly costs you over time.
- Long-term (>1 year): 0%, 15%, or 20% federal rate — this quietly costs you over time.
- NIIT adds 3.8% on investment income above thresholds ($200k single / $250k married) — this quietly costs you over time.
- Loss harvesting can offset gains in the same tax year — this quietly costs you over time.
- State capital gains tax may apply on top of federal — this quietly costs you over time.
What to do next
Use our US Capital Gains Calculator to model your situation — change one input at a time to see what moves the result most.
Worked example
Single filer, $80,000 taxable income, sells stock for $15,000 gain after 18 months holding.
- Holding >1 year → long-term capital gains
- Income $80k → 15% LTCG rate applies
- Tax = $15,000 × 15% = $2,250 federal
Result: $2,250 federal tax on $15,000 long-term gain (state tax may add more).
Key takeaways
- •Short-term (≤1 year): taxed at ordinary income rates (10–37%).
- •Long-term (>1 year): 0%, 15%, or 20% federal rate.
- •NIIT adds 3.8% on investment income above thresholds ($200k single / $250k married).
- •Loss harvesting can offset gains in the same tax year.
- •State capital gains tax may apply on top of federal.
Try it yourself
Run your own numbers with our free calculator.
Frequently asked questions
Data sources
- IRS — Topic 409 Capital Gains and Losses(verified 2026-06-26)
- IRS — Publication 550(verified 2026-06-26)
This article is for educational purposes only and is not financial, tax, or medical advice. Consult a qualified professional for decisions about your situation.
Related calculators
Related articles
The Power of Compound Interest: How Your Money Grows
Discover how compound interest works, learn the magic formula, and see real examples of how your money can grow exponentially over time.
Read more