Capital gains tax calculator
How much tax do you owe on a crypto or stock profit? Pick your country, enter the purchase and sale, and see the tax rule step by step.
Estimate only, not tax advice. Surcharges, losses carried forward, special accounts and professional trading are not included.
Capital gains tax rates by country
| Country | Crypto | Stocks |
|---|---|---|
| Australia | Personal income tax rate · after 12 months: 50% of the gain at personal rate | Personal income tax rate · after 12 months: 50% of the gain at personal rate |
| Austria | 27.5% | 27.5% |
| Bangladesh | Unclear | 15% * |
| Brazil | 15%–22.5% | 15% |
| Canada | 50% of the gain at personal rate | 50% of the gain at personal rate |
| China | Unclear | No tax |
| Czechia | 15%–23% · after 36 months: No tax | 15%–23% · after 36 months: No tax |
| Denmark | Personal income tax rate | 27%–42% * |
| Finland | 30%–34% * | 30%–34% |
| France | 31.4% | 31.4% |
| Germany | Personal income tax rate · after 12 months: No tax | 26.375% |
| Greece | Unclear | No tax * |
| Hungary | 15% | 28% * |
| India | 31.2% | 20.8% · after 12 months: 13% |
| Indonesia | 0.21% of sale value | 0.1% of sale value |
| Iran | Unclear | 0.5% of sale value |
| Israel | 25% | 25% |
| Italy | 33% | 26% |
| Japan | Personal income tax rate | 20.315% |
| Malaysia | No tax * | No tax |
| Netherlands | Tax on wealth, not on gains | Tax on wealth, not on gains |
| Norway | 22% | 37.84% |
| Pakistan | Unclear | 15% |
| Poland | 19% | 19% |
| Portugal | 28% · after 12 months: No tax | 28% |
| Romania | 16% | 6% · after 12 months: 3% |
| Russia | 13%–15% | 13%–15% |
| Saudi Arabia | No tax | No tax |
| South Korea | No tax | No tax |
| Spain | 19%–30% | 19%–30% |
| Sweden | 30% | 30% |
| Switzerland | No tax | No tax |
| Thailand | No tax | No tax |
| Türkiye | Unclear | 0% |
| Ukraine | Unclear | Unclear |
| United Arab Emirates | No tax | No tax |
| United Kingdom | 18%–24% | 18%–24% |
| United States | Personal income tax rate · after 12 months: 0%–20% | Personal income tax rate · after 12 months: 0%–20% |
| Vietnam | 0.1% of sale value | 0.1% of sale value |
Main rule for private investors, checked 2026-10. * = unclear or under reform. Click a country to load it into the calculator.
How capital gains are taxed
A capital gain is the sale price minus what the asset cost you, including fees. Most countries tax it when you sell (or swap or spend crypto), but the rules differ widely: some apply a flat rate, some add the gain to your income and use your personal rate, some exempt it after a holding period, and a few tax the value of the sale or your wealth instead of the profit.
What the calculator takes into account
For each country the calculator applies the main rule for private investors: rate or brackets, holding-period exemptions, yearly allowances and exemption limits, and small-sale thresholds. Enter other income or gains of the year where a field appears, because they can move you into a higher bracket or use up an allowance.
What it does not cover
Professional trading, mining and staking income, loss carry-forwards, church or local surcharges, special accounts (such as ISAs, IRAs or ISK) and individual circumstances are not included. The result is an estimate to help you plan, not tax advice; check your tax office's guidance before filing.
Frequently asked questions
Is a crypto-to-crypto swap taxable?
It depends on the country. In the US, UK, Germany and Australia a swap counts as a sale, so a gain is taxed even if you never cashed out. France, Poland, Portugal and Austria tax only when you sell for money or buy goods. Enter the value you received in the swap as the sale proceeds.
Does holding longer reduce the tax?
In several countries it does. Germany and Portugal exempt crypto held for more than a year, the Czech Republic exempts assets held for more than three years, the US applies lower long-term rates after a year and Australia halves the taxable gain. The calculator uses your purchase and sale dates to apply these rules.
What counts as the cost?
The purchase price plus fees paid to buy, and the sale price minus fees paid to sell. If you bought in several steps, use your country's cost method (for example FIFO or the average cost) to work out the cost of the units you sold.
Can losses reduce my tax?
Usually yes: losses in the same year are offset against gains, and many countries let you carry them forward. Enter your net gains of the year in the other gains field. Exceptions exist — India, for example, does not let crypto losses offset any income.