Why Use This Capital Gains Tax Calculator
Understanding your capital gains tax is essential for investment planning. This capital gains calculator helps you:
- 💰 Calculate Your Tax — see exactly how much tax you owe.
- 📊 Understand Your Gain — see the breakdown of your profit.
- 🌍 Works for Any Country — enter your own rates and exemptions.
- 📈 Visualize Your Tax — see breakdown charts.
- 📜 Track Your History — save, review, and export past calculations.
- 🔒 100% Private — all calculations run locally.
How Capital Gains Tax Is Calculated
Total Gain = Sale Price − (Purchase Price + Improvement Costs + Selling Costs)
Cost Basis = Purchase Price + Improvement Costs + Selling Costs
Taxable Gain = Total Gain − Exemption Amount
Tax Owed = Taxable Gain × Applicable Tax Rate
Net Proceeds = Sale Price − Tax Owed − Selling Costs
How to Use This Capital Gains Calculator
- Select your account currency from the picker in the site header.
- Enter the sale price of the asset.
- Enter the purchase price of the asset.
- Select the holding period (long-term or short-term).
- Enter your long-term and short-term tax rates.
- Enter any exemption / allowance amount.
- Enter selling costs (brokerage, fees).
- Enter improvement costs.
- Toggle inflation adjustment if applicable.
- View your results instantly — see your total gain, tax owed, and net proceeds.
Frequently Asked Questions
What is capital gains tax?
Capital gains tax is a tax on the profit from the sale of an asset. It applies to stocks, real estate, crypto, and other investments.
What is the difference between short-term and long-term capital gains?
Short-term capital gains are from assets held for less than the long-term threshold (typically 1 year in many countries). Long-term gains are from assets held for longer and are often taxed at a lower rate.
How is the cost basis calculated?
Cost basis = Purchase Price + Improvement Costs + Selling Costs. It represents your total investment in the asset.
Can I use this for any country?
Yes — you enter your own tax rates and exemption amounts. This tool works for any country’s capital gains tax system.
Is my data stored anywhere?
No. All calculations run locally in your browser. History and presets are saved in your browser’s localStorage — nothing is sent to a server.