CalculatorsDepot
Finance

Capital Gains Tax Calculator

Estimate federal and state tax on investment gains sold this year.

Enter your values

Results update when you calculate.

No account: Your inputs and results are not saved. They stay only in this browser tab and are lost when you leave or refresh. Create a free account or log in to save your calculator values for next time.

Capital Gains Tax result

Enter values above

At a glance

  • Free to use without an account
  • Inputs are not saved without an account
  • Formula and example included
2026 tax estimate: Results use federal brackets and statewide planning rates. They exclude many credits, itemized deductions, local taxes, and special rules, so confirm filing decisions with a tax professional.

Use our free Capital Gains Tax Calculator to get a clear estimate in seconds. Enter your values and see an instant result. Create a free account if you want your inputs saved for next time.

How to use this capital gains tax calculator

  1. Enter each requested value using the units displayed beside the field.
  2. Select any options that match your situation, then choose Calculate result.
  3. Review the main answer and supporting values. Change any input to compare another scenario.

The formula

Percentage result = relevant gain, cost, tax, or outcome ÷ its base value × 100.

The calculator uses the full precision of your inputs and rounds only the values shown on screen. This helps avoid compounding rounding errors.

Worked example

Enter the example values shown in the fields to see a worked Capital Gains Tax Calculator result instantly.

Keep in mind: This result is an estimate for planning and education. It does not replace personalized financial, medical, legal, or other professional advice.

Frequently asked questions

How accurate is the Capital Gains Tax Calculator?+

The calculator follows the formula shown on this page and rounds only the displayed result. Your answer is as accurate as the values you enter; real-world fees, policies, and individual circumstances may vary.

Can I use the Capital Gains Tax Calculator for free?+

Yes. Every calculator is free to use without an account. Sign up only if you want your inputs saved across visits.

Are my inputs stored?+

Without an account, your values are not saved and are lost when you leave or refresh the page. Signed-in users can have their calculator inputs saved in the browser for next time. Account details are handled as explained in our privacy policy.