Capital Gains Calculator

Your capital gain, tax & net profit

$
$
Net profit after tax
$0
$0 gain

Capital Gains Calculator — guide & how to use

What it does

The Capital Gains Calculator shows your capital gain, the tax you'll owe, and your net profit after tax when you sell an investment, property, or other asset. Enter the sale price, your cost basis, and your tax rate — calculated privately in your browser, free.

How to use it

  1. Enter the sale price (your proceeds) and your cost basis (what you paid, including fees).
  2. Enter your capital gains tax rate — long-term (often 0/15/20%) or your ordinary rate for short-term.
  3. Read your net profit after tax at the top, with the gain and tax in the breakdown.

How to embed this tool on your website

No account, no coding. Copy the embed code and paste it where you want it to appear:

<iframe src="https://snaptoolsuite.com/capital-gains-calculator/?embed=1"
  style="width:100%;max-width:560px;height:820px;border:0;"
  title="Capital Gains Calculator" loading="lazy"></iframe>
<p>Free <a href="https://snaptoolsuite.com/capital-gains-calculator/">Capital Gains Calculator</a> by Snap Tool Suite</p>
2 Paste it on your page
3 It just works

See it live: view a real embed example →

Frequently asked questions

How are capital gains calculated?

Gain = sale price − cost basis. Tax = gain × your rate. Net profit = gain − tax.

What is cost basis?

What you originally paid, including commissions/fees. Subtract it from proceeds for your taxable gain.

Is it really free?

Yes. 100% free, everything runs in your browser.

Related tools

🔒 Everything is calculated in your browser. We don't store or sell your data. Not tax advice.