By Ziv Shay | Updated April 2026

Capital Gains Tax Calculator 2026: Short-Term vs Long-Term Rates

Calculate your 2026 capital gains tax. Compare short-term vs long-term rates, see your bracket, and find ways to cut your tax bill.

UPDATED April 2026

What You'll Pay in Capital Gains Tax in 2026

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.

2026 Long-Term Capital Gains Tax Brackets

Long-term rates apply to assets held more than one year (366+ days). The IRS adjusted brackets for inflation in 2026:

Filing Status0% Rate15% Rate20% Rate
SingleUp to $48,350$48,351 – $533,400Over $533,400
Married Filing JointlyUp to $96,700$96,701 – $600,050Over $600,050
Married Filing SeparatelyUp to $48,350$48,351 – $300,000Over $300,000
Head of HouseholdUp to $64,750$64,751 – $566,700Over $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%.

2026 Short-Term Capital Gains Brackets (Ordinary Income Rates)

Sell anything held one year or less and the gain is taxed at your marginal income tax rate. For 2026:

RateSingleMarried 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,350Over $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.

Holding Period: How the IRS Counts 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:

The 3.8% Net Investment Income Tax (NIIT)

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).

Worked Example: Single Filer, $80,000 Income, $20,000 Long-Term Gain

  1. Wages: $80,000
  2. Standard deduction (2026): $15,000
  3. Taxable income before gain: $65,000
  4. Long-term gain added: $20,000 → total taxable income $85,000
  5. 0% bracket fills first: $48,350 cap. Already at $65,000, so $0 of the gain qualifies for 0%.
  6. 15% bracket: All $20,000 falls within the $48,351–$533,400 range.
  7. Federal capital gains tax: $20,000 × 15% = $3,000

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.

State Capital Gains Taxes

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.

Tax-Loss Harvesting: Cutting Your Bill Legally

You can offset capital gains with capital losses, dollar-for-dollar. Process:

  1. Short-term losses first offset short-term gains.
  2. Long-term losses first offset long-term gains.
  3. Excess losses cross over (short-term losses offset long-term gains, and vice versa).
  4. Net losses up to $3,000/year ($1,500 if married filing separately) deduct against ordinary income.
  5. Unused losses carry forward indefinitely.

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.

Special Asset Categories

Collectibles (28% Maximum Rate)

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.

Section 1250 Real Estate (25% Recapture)

Depreciation taken on rental property is recaptured at sale at a 25% maximum rate. The remaining gain follows standard long-term brackets.

Qualified Small Business Stock (QSBS)

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.

Cryptocurrency

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.

Five Strategies to Reduce Your Capital Gains Tax

  1. Hold for 366+ days. The single biggest lever. Don't sell at month 11.
  2. 0% bracket harvesting. In low-income years (early retirement, sabbatical, between jobs), realize gains up to the 0% threshold and reset basis tax-free.
  3. Tax-loss harvesting in December. Review your portfolio annually before year-end. Realize losses to offset realized gains.
  4. Qualified Opportunity Zones. Defer gains by reinvesting in QOZ funds. Hold 10+ years and the QOZ investment's appreciation is tax-free.
  5. Donate appreciated stock instead of cash. You skip the capital gain entirely and deduct fair market value. Best move for highly-appreciated long-term holdings.

How to Use a Capital Gains Calculator

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:

Frequently Asked Questions

Do I pay capital gains tax if I reinvest the proceeds?

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.

How is the wash sale rule enforced if I use multiple brokerages?

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.

Can I avoid capital gains by gifting stock to my child?

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.

What's the difference between realized and unrealized gains?

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.

Do I owe estimated taxes on a large capital gain mid-year?

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.

About the AuthorZiv Shay is a software engineer and fintech enthusiast based in Israel, building free financial tools since 2024. Learn more

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