TaxMarch 29, 2026

Capital Gains Tax Calculator: 2026 Rates, Short vs. Long-Term & Strategies

By The hakaru Team·Last updated March 2026

Quick Answer

  • *The U.S. taxes capital gains at two rates: short-term (assets held 12 months or less, taxed as ordinary income up to 37%) and long-term (assets held more than 12 months, taxed at 0%, 15%, or 20%).
  • *For 2026, single filers pay 0% on long-term gains up to $48,350; 15% up to $533,400; and 20% above that (per IRS Revenue Procedure 2025-28).
  • *High earners face an additional 3.8% Net Investment Income Tax (NIIT) on investment income above $200,000 (single) or $250,000 (married filing jointly), pushing the top effective rate to 23.8%.
  • *Holding an asset just one day past the 12-month mark can cut your tax rate by more than half on the same gain.
Tax Disclaimer: This guide is for educational purposes only and does not constitute tax advice. Capital gains tax rules are complex and change with legislation. Consult a CPA or tax professional for personalized guidance.

What Are Capital Gains?

A capital gain is the profit you make when you sell a capital asset — stocks, bonds, real estate, cryptocurrency, or collectibles — for more than you paid for it. The difference between your cost basis (what you paid, including commissions) and your sale price is the gain the IRS wants to tax.

According to IRS Publication 550 (2024), capital assets include most property you own for personal use or investment. Gains are reported on Schedule D of your Form 1040, and the rate you pay depends entirely on how long you held the asset before selling.

Short-Term vs. Long-Term Capital Gains

The holding period is everything. Sell too early and you pay ordinary income rates. Wait past the one-year mark and you qualify for preferential long-term rates that are significantly lower.

Holding PeriodTax RateExample: $50,000 Gain (32% bracket)
12 months or less (short-term)Ordinary income (10%–37%)$16,000 owed
More than 12 months (long-term)0%, 15%, or 20%$7,500 owed (at 15%)
Tax savings from waiting$8,500 saved

On the same $50,000 gain, a taxpayer in the 32% ordinary income bracket saves $8,500 simply by holding one day past the 12-month anniversary. That is the single most powerful capital gains tax strategy available to any investor.

2026 Long-Term Capital Gains Tax Rates

The IRS adjusts capital gains brackets for inflation each year. For tax year 2026, the thresholds are (per IRS Revenue Procedure 2025-28):

Filing Status0% Rate15% Rate20% Rate
SingleUp to $48,350$48,351 – $533,400Above $533,400
Married Filing JointlyUp to $96,700$96,701 – $600,050Above $600,050
Head of HouseholdUp to $64,750$64,751 – $566,700Above $566,700
Married Filing SeparatelyUp to $48,350$48,351 – $300,000Above $300,000

These thresholds apply to taxable income, not gross income. Your standard or itemized deductions reduce your taxable income, potentially pushing your gains into a lower bracket.

The 3.8% Net Investment Income Tax (NIIT)

High earners face a separate 3.8% surtax on net investment income under IRC Section 1411. This tax applies when your Modified Adjusted Gross Income (MAGI) exceeds:

  • $200,000 for single filers
  • $250,000 for married filing jointly
  • $125,000 for married filing separately

The NIIT threshold has never been adjusted for inflation since it was introduced in 2013 (Affordable Care Act). The IRS estimates this tax affects roughly 3 million taxpayers annually, and that number grows each year as incomes rise. For top earners, the combined federal rate on long-term capital gains is 23.8% (20% + 3.8% NIIT).

5 Legal Strategies to Reduce Capital Gains Tax

1. Hold for the Long-Term Rate

As shown above, simply waiting past 12 months cuts your rate dramatically. If you're approaching the one-year mark on a gain, the math almost always favors waiting. The Tax Foundation estimates that the preferential long-term rate saves U.S. investors tens of billions annually compared to taxing all gains at ordinary income rates.

2. Tax-Loss Harvesting

Selling losing positions to offset gains is one of the most effective tools in a taxable account. Capital losses first offset same-type gains (short-term losses against short-term gains, then long-term against long-term), then cross over. After offsetting all gains, up to $3,000 in net losses can offset ordinary income annually. Any unused losses carry forward indefinitely to future tax years (IRS Publication 550).

Watch for the wash-sale rule: you cannot repurchase a substantially identical security within 30 days before or after the sale or the loss is disallowed.

3. Maximize Tax-Advantaged Accounts

Gains inside a 401(k), IRA, or Roth IRA are not subject to capital gains tax. A Roth IRA is especially powerful: contributions are after-tax, but all qualified withdrawals — including decades of capital gains — are completely tax-free. For 2026, the Roth IRA contribution limit is $7,000 ($8,000 if age 50 or older).

4. Use the 0% Rate for Lower-Income Years

If your taxable income falls below $48,350 (single) or $96,700 (MFJ), your long-term capital gains rate is literally zero. This creates a planning opportunity: in years when your income is low — early retirement, a gap year, a business loss year — you can strategically realize gains at no federal tax cost. This is sometimes called “gain harvesting.”

5. Gifting and Step-Up in Basis

Appreciated assets passed to heirs at death receive a step-up in basis to the fair market value at the date of death, eliminating the embedded capital gain entirely. For 2026, heirs can inherit highly appreciated assets and sell them immediately with zero capital gains tax owed on the pre-death appreciation. Separately, gifting appreciated stock to a qualified charity lets you deduct the full fair market value while avoiding capital gains on the appreciation.

4 Capital Gains Tax Mistakes That Cost Investors

Selling Just Before the 1-Year Mark

This is the most common and costly mistake. Confirm your exact purchase date before selling. A $100,000 short-term gain in the 35% bracket costs $35,000 in federal taxes; the same long-term gain costs $15,000 (at 15%) or $20,000 (at 20%) — a difference of $15,000 to $20,000 for one day's patience.

Ignoring State Taxes

Most states tax capital gains as ordinary income. California taxes them at up to 13.3%, making the combined federal + state rate for a high-income California resident up to 37.1% on long-term gains (23.8% federal + 13.3% state). Always model the combined rate, not just the federal rate.

Forgetting About Estimated Taxes

Capital gains from selling investments are not subject to withholding. If you realize a large gain, you may owe estimated taxes by the quarterly deadline or face an underpayment penalty. The IRS generally requires you to pay at least 90% of your current-year tax or 100% of last year's tax (110% if your AGI was over $150,000) through withholding or estimated payments.

Misidentifying Your Cost Basis

If you've bought the same stock multiple times at different prices, your cost basis depends on which shares you sell — and the default method (FIFO, or first-in-first-out) may not be the most tax-efficient. Specifically identifying higher-cost-basis shares for sale is legal and can significantly reduce your gain. Work with your broker to elect the specific identification method before selling.

Calculate your capital gains tax instantly

Use our free Capital Gains Tax Calculator →

Need to estimate your overall tax bill? Try our Tax Bracket Calculator

Capital Gains on Special Asset Types

Cryptocurrency

The IRS treats cryptocurrency as property, not currency (IRS Notice 2014-21). Every sale, trade, or exchange of crypto is a taxable event. The same short-term/long-term rules apply. Swapping one cryptocurrency for another is also a taxable event — you must calculate the gain or loss at the time of the swap based on the fair market value of what you received.

Real Estate

Investment properties are subject to capital gains tax on sale, plus depreciation recapture at a maximum 25% rate on any depreciation deductions taken. Primary residence sales can exclude up to $250,000/$500,000 in gains under IRC Section 121. A 1031 exchange allows investors to defer capital gains indefinitely by rolling proceeds into a like-kind property.

Collectibles

Art, coins, antiques, stamps, and other collectibles face a special long-term capital gains rate of 28%— higher than the standard 20% maximum. Short-term gains on collectibles are still taxed at ordinary income rates.

Frequently Asked Questions

What is the capital gains tax rate for 2026?

For 2026, long-term capital gains are taxed at 0%, 15%, or 20% depending on your income. Single filers pay 0% up to $48,350, 15% up to $533,400, and 20% above that. High earners may also owe an additional 3.8% Net Investment Income Tax (NIIT), bringing the top effective rate to 23.8%.

How long do you have to hold an asset to get long-term capital gains rates?

You must hold an asset for more than 12 months to qualify for long-term capital gains rates. If you sell on or before the one-year anniversary of your purchase, the gain is short-term and taxed as ordinary income — which can be as high as 37% for top earners. Holding just one extra day past the year mark can save thousands.

What is the Net Investment Income Tax (NIIT)?

The NIIT is an additional 3.8% tax on net investment income for high earners. It applies to single filers with MAGI above $200,000 and married filing jointly above $250,000. Unlike the regular income tax brackets, the NIIT threshold is not inflation-adjusted, so it catches more taxpayers each year.

What is tax-loss harvesting and how does it reduce capital gains tax?

Tax-loss harvesting means selling investments that have declined in value to realize a capital loss, which offsets your capital gains. Losses first offset gains of the same type (short-term against short-term, long-term against long-term), then cross over. Up to $3,000 in net losses can offset ordinary income annually, with unlimited carryforward to future years.

Do you pay capital gains tax when you sell your home?

Not always. Under IRC Section 121, single homeowners can exclude up to $250,000 in home sale gains from capital gains tax; married couples filing jointly can exclude up to $500,000. You must have owned and used the home as your primary residence for at least 2 of the last 5 years. Gains above the exclusion are taxed at long-term capital gains rates.

What is the difference between short-term and long-term capital gains?

Short-term capital gains come from selling assets held 12 months or less and are taxed as ordinary income at rates up to 37%. Long-term capital gains come from selling assets held more than 12 months and are taxed at preferential rates of 0%, 15%, or 20%. The difference in tax owed can be dramatic — a $50,000 gain taxed short-term at 32% costs $16,000 vs. $7,500 at the 15% long-term rate.