USA · 2026 estimates · Single filer

US Capital Gains Tax Calculator

Sold at a profit? Compare the tax on your gain as short-term vs long-term — holding past one year usually saves thousands.

Sale price minus your cost basis

Gains stack on top of this income

Holding past one year saves $4,500 in tax

Long-term rates of 0%/15%/20% replace ordinary rates of up to 37% once you have held the asset more than a year.

Short-term (held ≤ 1 year)

Taxed as ordinary income24% marginal
Tax / you keep$12,000 / $38,000

Long-term (held > 1 year)

Preferential rates15.0% effective
Tax / you keep$7,500 / $42,500

One year is the magic line

Sell on day 364 and the gain is ordinary income; sell on day 366 and it gets preferential rates. If you are close to the line, the tax saving usually dwarfs a few weeks of market movement.

Gains stack on income

Your gain sits on top of your salary for rate purposes. A big gain in a high-income year can push part of it from the 0% band into 15%, or from 15% into 20%.

Losses offset gains

Capital losses cancel gains dollar-for-dollar, and up to $3,000 of net loss can offset ordinary income yearly. Tax-loss harvesting is the legal art of timing this.

How to use the calculator

  1. Enter your gain

    Sale proceeds minus your cost basis (what you paid, plus improvements for property).

  2. Enter other income

    Your salary and other income — the gain stacks on top for rate purposes.

  3. Compare the two columns

    Short-term uses your ordinary marginal rate; long-term uses the 0%/15%/20% bands.

  4. Read the saving

    The headline shows what holding past one year is worth in tax terms.

Single filer, standard deduction. State taxes, NIIT and AMT are not included.

Frequently asked questions

Related tools

Need a custom tool?

We build calculators and internal tools for businesses — get in touch.

Directory last updated 2 December 2026.

Disclaimer (estimates): all rates and thresholds are labelled estimates for 2026. State tax, the 3.8% NIIT, AMT and special asset rules are excluded. Not tax advice.