📈 Capital Gains Tax Calculator
Estimate the tax on selling an investment. Long-term gains (assets held over a year) get the 0%, 15% and 20% rates; short-term gains are taxed like wages. Includes the 3.8% net investment income tax and your state rate.
Also known as: Long Term Capital Gains Rate · Short Term Capital Gains · Stock Sale Tax · Crypto Tax · 2026 Capital Gains Brackets · Capital Gains Calculator · Capital Gain Tax Calculator
Loading calculator…
⚑ Report a problem with this calculator
How to use the Capital Gains Tax Calculator
- Enter your values in the fields above — the defaults show a worked example.
- The result updates instantly as you type; change any input to compare scenarios.
- Copy or share the result, or open a related calculator below.
How it's calculated
Long-term gains are stacked on top of your other taxable income and taxed at 0%, 15% or 20% depending on which threshold band they fall in. NIIT = 3.8% × the lesser of the gain or MAGI above $200,000 ($250,000 joint).
Frequently asked questions
What are the 2026 long-term capital gains brackets?
How long must I hold an asset for long-term rates?
Can capital losses reduce my tax?
Is the Capital Gains Tax Calculator free?
How accurate is the Capital Gains Tax Calculator?
Read more about the Capital Gains Tax Calculator
When to use the Capital Gains Tax Calculator
Use the Capital Gains Tax Calculator for federal and state tax on stock, crypto or property gains — short-term vs long-term 0%/15%/20% rates plus the 3.8% NIIT. It is one of 83 free us tax & social security calculators, and pairs well with the 1031 Like-Kind Exchange Calculator, Effective Tax Rate Calculator, ROI Calculator and Investment Calculator.
Tips for accurate results
Use the rate and fees from your actual offer or statement rather than an advertised rate, run a best case and a worst case, and remember that taxes, insurance and fees can change the real cost. Results are estimates, not financial or tax advice.
Sources and review
Sources:
Every calculator is checked against published reference values before release and re-reviewed when laws, rates or guidelines change. Read our methodology and editorial policy. Found a problem? Report it — we fix errors quickly.
More US Tax & Social Security Calculators
- 🌳 Roth IRA Calculator
- 📜 RMD Calculator
- 🧑💻 Self-Employment Tax Calculator
- 🎁 Bonus Tax Calculator
- 💸 Federal Tax Refund Estimator
- 🇺🇸 Arizona Paycheck Calculator
- 🇺🇸 California Paycheck Calculator
- 🇺🇸 Florida Paycheck Calculator
- 🇺🇸 Georgia Paycheck Calculator
- 🇺🇸 Illinois Paycheck Calculator
- 🇺🇸 Massachusetts Paycheck Calculator
- 🇺🇸 Michigan Paycheck Calculator
Popular calculators
Results are estimates for information only. Calculations run privately in your browser.