Capital Gains Tax Calculator

Estimate capital gains tax on investments or property from your cost basis, sale price, and tax rate.

Preparing private browser tool…

Your file will stay on this device.

Frequently asked questions

How is capital gains tax calculated?
Capital gain is your sale price minus your cost basis (purchase price) and any buying and selling costs. The tax is the gain multiplied by your capital gains tax rate. This calculator then shows your net proceeds after tax.
What is cost basis?
Cost basis is what you originally paid for the asset, sometimes adjusted for improvements or reinvested dividends. A higher cost basis means a smaller taxable gain, so record purchase costs carefully.
What is the difference between short-term and long-term gains?
Many countries tax assets held longer than a set period (often a year) at a lower long-term rate than short-term gains, which may be taxed as ordinary income. Enter the rate that matches your holding period and jurisdiction.
What if I sold at a loss?
If your sale price is below your cost basis plus costs, the result is a capital loss and no tax is due on that sale. In many tax systems, losses can offset other capital gains; check your local rules.
Does this include exemptions like a primary residence?
No. Some jurisdictions exempt part or all of the gain on a primary home or offer annual allowances. This calculator applies a flat rate to the full gain, so subtract any exemption yourself or consult a tax professional.