Calculator, pen and tax papers on a desk

Free 2026 tax calculator

Capital Gains Tax Calculator
Estimate Your 2026 Taxes

Estimate your 2026 federal tax on short- and long-term gains with a clear, easy-to-follow breakdown of your results.

2026 tax yearReturns filed in 2027

01 / Estimate

Calculate your capital gains tax

2026 tax year (returns filed in 2027)

Your gain details

Change any field, then calculate

Your estimated results

Example: single filer, $70,000 taxable income, $20,000 long-term gain

Example
Tax on your capital gain$3,000Estimated federal tax
After-tax gain$17,000What you keep
Effective rate on gain15%Tax as a share of the gain
Net investment income tax$0Included in the total

Your tax by band

Total tax on gain: $3,000

  • 15%15% band: $20,000$3,000

Estimate of federal tax on a capital gain only. Long-term rates (0, 15 and 20 percent) apply to assets held more than one year and stack on top of your other taxable income; short-term gains are taxed as ordinary income. Figures exclude state tax and assume the gain is your only investment income. The 3.8 percent Net Investment Income Tax is estimated using the income you entered as your modified AGI. For filing, consult a tax professional.

A simple, three-step estimate

  1. 01
    Enter your incomeAnd choose a filing status
  2. 02
    Add your gainAnd how long you held the asset
  3. 03
    Calculate each bandSee your tax on the gain

Our Other Tax Calculators

02 / Understand

How capital gains tax works

What Is Capital Gains Tax?

Capital gains tax is the federal tax you pay on the profit when you sell an asset — such as stocks, a mutual fund, cryptocurrency or real estate — for more than you paid for it. The amount you owe depends on two things: how long you held the asset, and your total taxable income for the year.

Assets held for more than one year qualify for the lower long-term rates of 0%, 15% or 20%. Assets held for one year or less are taxed as short-term gains at your ordinary income tax rate. Use the calculator above to estimate your 2026 bill, then read on for the brackets and a worked example.

Short-Term vs Long-Term Capital Gains

Long-term gains (assets held more than one year) get the preferential 0/15/20% rates above. Short-term gains (held one year or less) receive no break — they are added to your wages and other income and taxed at your ordinary 2026 federal income tax rate, which ranges from 10% to 37%. Holding an asset just past the one-year mark can therefore cut the tax on a gain substantially.

High earners may also owe the Net Investment Income Tax (NIIT) — an extra 3.8% on investment income once modified adjusted gross income passes $200,000 (single or head of household), $250,000 (married filing jointly) or $125,000 (married filing separately). The calculator includes an estimate of this surtax.

IRS reference / Tax year 2026

2026 Long-Term Capital Gains Tax Rates

Taxes due April 2027

For the 2026 tax year, long-term capital gains are taxed at 0%, 15% or 20% depending on your taxable income and filing status:

RateSingleMarried filing jointlyMarried filing separatelyHead of household
0%$0 – $49,450$0 – $98,900$0 – $49,450$0 – $66,200
15%$49,451 – $545,500$98,901 – $613,700$49,451 – $306,850$66,201 – $579,600
20%$545,501 or more$613,701 or more$306,851 or more$579,601 or more

These brackets are based on your total taxable income. A long-term gain stacks on top of your other income, so part of a single gain can be taxed at more than one rate.

03 / See the math

Example Calculation

Suppose a single filer has $70,000 of taxable income (after deductions) and sells stock held for three years at a $20,000 long-term gain.

Long-term gain$20,000
Tax rate15%
Tax on the gain$3,000
  1. 01

    Check the 0% band

    The $70,000 of income already sits above the $49,450 top of the 0% band, so none of the gain is tax-free.

  2. 02

    Find the rate

    The full $20,000 gain falls within the 15% band (which runs to $545,500), so it is taxed at 15%.

  3. 03

    Work out the tax

    Tax on the gain: $20,000 × 15% = $3,000.

Tax by band

Single filer
  • $20,000 × 15%$3,000
Total tax on the gain$3,000

Their modified AGI of $90,000 is below the $200,000 NIIT threshold, so no 3.8% surtax applies. The after-tax gain is $17,000 — an effective rate of 15% on the gain.

04 / Get answers

Frequently Asked Questions

01

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

Yes. In a taxable account, selling an asset at a profit triggers capital gains tax even if you immediately reinvest the proceeds. The tax is tied to the sale, not to what you do with the cash afterward. Retirement accounts such as 401(k)s and IRAs are treated differently.

02

How can I reduce capital gains tax?

Common strategies include holding assets longer than a year to qualify for long-term rates, using tax-advantaged accounts, offsetting gains with capital losses (tax-loss harvesting), and timing a sale for a year when your income — and therefore your capital gains rate — is lower.

03

Are capital gains taxed by my state too?

Often, yes. Most states tax capital gains as ordinary income, though a few have no income tax at all. This calculator estimates federal tax only — use one of our state income tax calculators to estimate the state portion.

04

Does this include the home-sale exclusion?

No. If you sell your main home, you may be able to exclude up to $250,000 of gain ($500,000 for married couples filing jointly) if you meet the ownership and use tests. Enter only the taxable gain above any exclusion you qualify for.