Calculate your 2026 capital gains tax. Compare short-term vs long-term rates, see your bracket, and find ways to cut your tax bill.
If you sell an asset held longer than one year in 2026, you'll pay 0%, 15%, or 20% in long-term capital gains tax depending on your taxable income. Sell within a year, and your gain is taxed as ordinary income — anywhere from 10% to 37%. A single filer with $50,000 in taxable income who sells stock for a $10,000 long-term gain pays $0 in federal capital gains tax. The same gain held under a year? $2,200. Holding period is the single biggest lever you control.
This guide walks through the 2026 capital gains brackets, the math behind short-term vs long-term, the Net Investment Income Tax surcharge, state-level rates, and the harvesting strategies that legally cut your bill to zero in many cases.
Long-term rates apply to assets held more than one year (366+ days). The IRS adjusted brackets for inflation in 2026:
| Filing Status | 0% Rate | 15% Rate | 20% Rate |
|---|---|---|---|
| Single | Up to $48,350 | $48,351 – $533,400 | Over $533,400 |
| Married Filing Jointly | Up to $96,700 | $96,701 – $600,050 | Over $600,050 |
| Married Filing Separately | Up to $48,350 | $48,351 – $300,000 | Over $300,000 |
| Head of Household | Up to $64,750 | $64,751 – $566,700 | Over $566,700 |
Critical detail most calculators get wrong: the 0% bracket includes all your taxable income, not just capital gains. If you're a single filer earning $40,000 in wages and you realize a $5,000 long-term gain, only the portion that keeps your total taxable income under $48,350 is tax-free. Income above the threshold gets bumped to 15%.
Sell anything held one year or less and the gain is taxed at your marginal income tax rate. For 2026:
| Rate | Single | Married Filing Jointly |
|---|---|---|
| 10% | $0 – $11,925 | $0 – $23,850 |
| 12% | $11,926 – $48,475 | $23,851 – $96,950 |
| 22% | $48,476 – $103,350 | $96,951 – $206,700 |
| 24% | $103,351 – $197,300 | $206,701 – $394,600 |
| 32% | $197,301 – $250,525 | $394,601 – $501,050 |
| 35% | $250,526 – $626,350 | $501,051 – $751,600 |
| 37% | Over $626,350 | Over $751,600 |
The dollar penalty for selling early is brutal at higher incomes. A $50,000 gain held 11 months in the 32% bracket costs $16,000 in federal tax. Hold it one more month and the bill drops to $7,500 — a $8,500 swing for waiting 30 days.
The clock starts the day after you acquire the asset and ends on the day you sell. To qualify for long-term treatment, the sale date must be at least 366 days after the purchase date. A January 15, 2025 purchase becomes long-term on January 16, 2026.
Common timing traps:
High earners pay an extra 3.8% surtax on top of capital gains. The Net Investment Income Tax kicks in when your modified adjusted gross income (MAGI) exceeds:
NIIT applies to the lesser of your net investment income or the amount your MAGI exceeds the threshold. So a single filer with $220,000 MAGI and $30,000 in capital gains pays 3.8% on $20,000 (the excess over $200K), not on the full $30,000.
Effective top federal rate for capital gains in 2026: 23.8% (20% LTCG + 3.8% NIIT).
If the same person had only $30,000 in wages:
This is the foundation of the "0% capital gains harvesting" strategy popular in early retirement communities.
Most states tax capital gains as ordinary income — there's no preferential rate. The damage varies wildly:
A California resident in the top federal bracket pays an effective 37.1% on long-term gains (20% federal + 3.8% NIIT + 13.3% state). That's higher than most ordinary income tax rates in low-tax states.
You can offset capital gains with capital losses, dollar-for-dollar. Process:
Wash sale rule: If you sell a security at a loss and buy the "substantially identical" security within 30 days before or after, the loss is disallowed. The disallowed loss adds to the cost basis of the replacement shares — you don't lose it permanently, just defer it. Crypto is currently exempt from wash sale rules, though pending legislation may change this.
Long-term gains on art, coins, antiques, gold, silver, and physical precious metals are capped at 28% — higher than the standard 20% top rate. Gold and silver ETFs that hold physical bullion (GLD, SLV) are taxed as collectibles.
Depreciation taken on rental property is recaptured at sale at a 25% maximum rate. The remaining gain follows standard long-term brackets.
Section 1202 lets you exclude up to $10 million or 10x your basis in gains from qualifying C-corp stock held 5+ years. This is the single largest tax break in the code for startup founders and early employees.
Crypto is property, not currency. Same short/long-term rules apply. Every trade — including crypto-to-crypto swaps and spending crypto on a coffee — is a taxable event. The 2026 Form 1099-DA broker reporting requirement means the IRS now sees most exchange activity automatically.
Inputs you need:
The calculator stacks your gain on top of ordinary income to determine which bracket(s) it falls into, applies short or long-term rates based on holding period, layers NIIT if applicable, and adds state tax. Run multiple scenarios — selling now vs. waiting two months, selling all at once vs. spreading across two tax years — to find the lowest-cost exit.
Related tools on aihowtoinvest.com:
Yes. Reinvesting in another stock, fund, or asset doesn't defer the tax. The taxable event is the sale itself, regardless of what you do with the cash. The only exceptions are 1031 exchanges for real estate (investment property only, not stocks) and Qualified Opportunity Zone investments, which can defer or eliminate the tax under specific conditions.
Each brokerage reports your trades on Form 1099-B but only tracks wash sales within their own account. If you sell at a loss in one brokerage and rebuy the same security in another within 30 days, the IRS still considers it a wash sale — you're responsible for adjusting your basis manually. The same applies to your spouse's accounts and any IRAs you control.
Sometimes. If your child is in the 0% capital gains bracket, gifting and having them sell can eliminate the federal tax on up to $48,350 of taxable income (2026, single). However, the kiddie tax applies to children under 19 (or under 24 if full-time students), taxing unearned income above $2,700 at the parents' rate. Gifts also use your annual exclusion ($19,000 per recipient in 2026) before triggering gift tax reporting.
An unrealized gain is paper appreciation — your stock went up but you haven't sold. No tax owed. A realized gain is locked in when you sell. Only realized gains are taxable. This is why "buy and hold" investors can defer taxes for decades, and why estate planners use the step-up in basis at death to eliminate capital gains entirely for heirs.
Likely yes. If you'll owe more than $1,000 in tax beyond what's withheld, the IRS expects quarterly estimated payments (April 15, June 15, September 15, January 15). Underpayment triggers a penalty calculated at the federal short-term rate plus 3%. Safe harbor: pay 100% of last year's total tax (110% if AGI over $150K) and you avoid the penalty regardless of how much you owe in April.
Last updated: April 26, 2026 | Author: Ziv Shay
Disclaimer: This content is for educational purposes only and does not constitute financial or tax advice. Tax laws change frequently and individual situations vary. Consult a qualified CPA or tax advisor before making decisions based on this information.
The content on this page is for informational purposes only and should not be considered financial advice. Rates, terms, and offers are subject to change. We may earn a commission through affiliate links at no extra cost to you. See our full disclaimer.
© 2024–2026 AIHowToInvest.com | About | Contact | Privacy | Terms | Disclaimer