UNITED STATES · USD · TAX YEAR 2026

US Capital Gains Tax Calculator

Estimate a gain or loss from sale proceeds and cost basis. Holding period, filing status, income, net investment income tax and state tax can change the actual result.

Calculate your estimate

Enter values and calculate.

Formula and method

Gain = max(0, proceeds − basis − selling costs); estimated tax = gain × effective rate.

The calculator uses the assumptions shown in the inputs. It does not silently infer regional rates, eligibility, deductions or lender terms that you have not entered.

Worked example and guide

Enter the example values shown in the form, select Calculate estimate, then compare the result with the official guidance. Change one input at a time to understand which assumption drives the estimate.

Estimate a gain or loss from sale proceeds and cost basis. Holding period, filing status, income, net investment income tax and state tax can change the actual result.

Official source and review note

IRS Topic 409 — Capital gains and losses

Last reviewed: December 2026. Rules and thresholds can change. Recheck the linked official source for the relevant year, region and personal circumstances.

Frequently asked questions

What does this Capital Gains Tax calculator estimate?

Estimate a gain or loss from sale proceeds and cost basis. Holding period, filing status, income, net investment income tax and state tax can change the actual result.

Which rules and sources should I verify?

Review the official source linked below. US federal, state and eligibility rules can change.

Can I use the result as professional advice?

No. It is an educational estimate. Confirm the current rule, your inputs and any professional advice before making a tax, lending, payroll or investment decision.

Free educational estimate only. Not tax, legal, payroll, lending or financial advice.