Capital Gains Tax Calculator
Tax owed on an investment gain, and what you keep after it.
Your figures
Result
How to use this tool
- Enter your figures in the fields on the left.
- Results update instantly as you type — there is no button to press.
- Change any input to see how sensitive the answer is to it.
Most systems tax long-held assets at a lower rate than short-term gains. Enter the rate that applies to your holding period and income band.
How it works
The calculation runs in your browser as you type — there is no submit button and nothing is sent anywhere. Change any figure and the results update immediately, which makes it easy to see how sensitive the answer is to each input.
Every formula used here is standard and documented in the questions below. Where a result depends on an assumption, the assumption is stated rather than buried.
Frequently asked questions
What rate applies to me?
It depends on holding period and income. In the US, assets held over a year are taxed at long-term rates of 0%, 15% or 20% depending on income; shorter holdings are taxed as ordinary income.
Can I offset losses?
In most systems yes — capital losses offset capital gains, and some allow a limited amount against ordinary income. Enter your net gain after offsetting.
What about my primary residence?
Many countries offer a substantial exemption on a main home. This calculator does not model that.
Is this calculator free?
Yes, with no account, no limits and no data collection. It runs entirely in your browser.
Should I rely on this for a financial or medical decision?
No. It is a planning estimate built on standard formulas and stated assumptions. For decisions that matter, speak to a qualified professional who can account for your full circumstances.
Is this calculator accurate?
The arithmetic is exact — it uses the standard formula, shown in the questions above. What limits accuracy is the assumptions: the figures you enter, and factors the formula does not model such as fees, taxes and rule changes. Treat the result as a well-founded estimate rather than a quotation.
Do I need to sign up or download anything?
No. It runs in your browser, updates as you type, and stores nothing. There is no account, no download, and no limit on how many times you use it.
Related tools
From other categories
Your files stay on your device. This tool runs entirely in your browser. No file is uploaded, transmitted, or stored. You can verify this by opening your browser's Network tab while using the tool.
Disclaimer. This calculator provides estimates based on standard formulas and the assumptions stated above. It is not financial, medical, tax or legal advice. For decisions that matter, consult a qualified professional. See our full disclaimer.