All tools
Finance

Capital Gains Tax Calculator

Estimate federal tax on a short- or long-term investment gain.

🔒 Runs entirely in your browser — nothing here is ever uploaded

Last reviewed 2026-08-29

About the Capital Gains Tax Calculator

Estimates tax owed on an investment gain using your detected or selected region's real capital gains rules — US, UK, Canada, Australia, and India (listed equity) are each modeled with their own actual mechanism, not just a currency-converted US estimate.

100% Free Runs in Your Browser No Sign-Up Required
How to use it
  1. Enter the Sale price and Cost basis (what you originally paid, plus any improvements).
  2. Enter your Other taxable income for the year, if shown — this determines which bracket the gain stacks into (not used for every region's model).
  3. Choose whether you held the asset Long-term or Short-term, if shown — some regions' rules don't distinguish holding period at all.
  4. Read the estimated tax, effective rate, and net proceeds in the result panel.
Formula
Each region uses its own real mechanism, not one formula stretched across all of them: US — long-term gains use the 2026 single-filer capital-gains brackets (0%/15%/20%), short-term gains use the ordinary income brackets; both stack on top of other income. UK — Capital Gains Tax applies the same 18%/24% rates regardless of holding period, after subtracting the £3,000 Annual Exempt Amount from the gain. Canada — no separate CGT: 50% of the gain (the "inclusion rate") is added to ordinary income and taxed at your federal marginal rate, regardless of holding period. Australia — no separate CGT: assets held over 12 months get a 50% CGT discount (only half the gain counts as assessable income); held 12 months or less, the full gain counts. Either way it's then taxed at your marginal rate. India — modeled for listed equity/equity mutual funds specifically: long-term (over 12 months) gains above a ₹1.25 lakh exemption are taxed at a flat 12.5%; short-term gains at a flat 20%, with no exemption and no stacking on other income.
Worked example

US example: a $20,000 long-term gain on top of $85,000 of other income falls entirely in the 15% bracket for a single filer in 2026, since $85,000 is already above the $49,450 threshold and $105,000 total stays under $545,500 — so the estimated tax is $3,000. India example (listed equity): a ₹200,000 long-term gain, after the ₹125,000 exemption, leaves ₹75,000 taxable at the flat 12.5% LTCG rate — ₹9,375 in tax, regardless of other income.

2026 long-term capital gains rates (US, single filer)
2026 long-term capital gains rates (US, single filer)
Total taxable income (incl. gain)Rate
$0 – $49,4500%
$49,450 – $545,50015%
Over $545,50020%
Plus: Net Investment Income Tax (NIIT)+3.8% on investment income if MAGI is over $200,000 — not included in this calculator's estimate
Interpreting your result

Figures are federal/national-level only — state, provincial, or sub-national capital gains taxes aren't included anywhere. US: single-filer only; high earners may also owe the 3.8% Net Investment Income Tax on top of this estimate, see the FAQ. India: modeled for listed equity only — property, gold, and unlisted shares use different rates and a 24-month holding threshold, not covered here. A visitor whose region isn't sourced yet sees a general/US estimate with a visible disclaimer, not a silent guess.

Recommendations
  • Holding an asset past the one-year mark before selling, if you can, moves the gain from ordinary rates (up to 37%) to the much lower long-term rates — often the single biggest lever you control.
  • Cost basis includes more than the purchase price — reinvested dividends and capital improvements (for property) increase your basis and reduce your taxable gain, so keep records.
  • A capital loss on another investment sold the same year can offset a gain (tax-loss harvesting) — not modeled here, but worth exploring with a tax professional if you're carrying losses.
Frequently asked questions
Long-term means you held the asset for more than one year before selling; short-term means one year or less. The distinction matters a lot — long-term gains get the preferential 0/15/20% rates, while short-term gains are taxed at your full ordinary income rate, which can be more than double.
See the full methodology and sources for every finance calculator
Disclaimer

Illustrative estimate only, not financial or tax advice. Verify figures with a licensed adviser or your local tax authority.