Back to Calculators
Capital Gains Calculator

Capital Gains Tax Calculator

Estimate what a property sale really costs in tax for 2026 — the long-term capital-gains rate, depreciation recapture, the 3.8% surtax, and state tax, layer by layer.

Jerry Baker · Updated June 2026 · Free interactive tool
1

Your numbers

$
$

Sale price, then commissions/closing costs you paid to sell.

$
$

What you paid, then capital improvements added over the years.

$

Cumulative depreciation claimed. This is recaptured at up to 25%.

$

Taxable income excluding this gain — sets your bracket and the 3.8% NIIT.

%

Most states tax the full gain as ordinary income. Use 0 for no-tax states.

2

Your estimate

Enter your numbers and select Calculate to see your estimate.
How it works

A property sale is taxed in four layers

The headline capital-gains rate is only one piece. This estimator builds the bill the way the IRS does — starting from your gain (amount realized minus your adjusted basis), then applying each layer that can sit on top of it.

About the 25% recapture rate

We apply the 25% maximum to the recapture layer. The true rate is your ordinary marginal rate capped at 25%, so at lower incomes your recapture tax may be less than shown — making this a conservative, worst-case estimate of that piece.

This tool is for general educational purposes only. It produces a simplified estimate, not tax advice, and omits many situational rules (stacking with other income, AMT, state-specific treatment, partial-year and like-kind nuances). Your actual tax depends on your full return. Always confirm with your CPA before acting.

Don't want to pay this bill?A 1031 exchange or DST can defer it — we place 1031-eligible replacement property for accredited investors, often closeable inside your 45-day window.
Talk to an advisor
Frequently asked
Does this include depreciation recapture?

Yes. The portion of your gain attributable to depreciation is separated out and taxed at up to 25%, with the rest taxed at long-term capital-gains rates.

How is the 0/15/20% rate chosen?

Your long-term gain is stacked on top of your other taxable income, and the bracket thresholds for 2026 ($49,450/$98,900 for 0%; $545,500/$613,700 for 20%) determine how much is taxed at each rate.

What's MAGI for the NIIT?

We approximate it as your other income plus the full gain. The 3.8% applies to the lesser of your net investment income or the amount your MAGI exceeds the threshold.

Can I avoid all of this?

Often, yes — a 1031 exchange, a DST, or an Opportunity Zone investment can defer the entire amount, and holding until death can erase the deferred tax through a step-up in basis.

This calculator is an educational illustration based on the values you enter — not a projection, guarantee, or tax, legal, or investment advice, and not an offer of any security. Results depend on your inputs and assumptions and will differ from actual outcomes; a 1031, 721, or Opportunity Zone transaction may fail to qualify for the intended tax deferral. Consult your own CPA and attorney.