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.

Asset type
Capital gain—
Taxable gain—
Estimated tax—
Profit after tax—
Effective rate—

Estimate only, not tax advice. Surcharges, losses carried forward, special accounts and professional trading are not included.

Capital gains tax rates by country

CountryCryptoStocks
AustraliaPersonal income tax rate · after 12 months: 50% of the gain at personal ratePersonal income tax rate · after 12 months: 50% of the gain at personal rate
Austria27.5%27.5%
BangladeshUnclear15% *
Brazil15%–22.5%15%
Canada50% of the gain at personal rate50% of the gain at personal rate
ChinaUnclearNo tax
Czechia15%–23% · after 36 months: No tax15%–23% · after 36 months: No tax
DenmarkPersonal income tax rate27%–42% *
Finland30%–34% *30%–34%
France31.4%31.4%
GermanyPersonal income tax rate · after 12 months: No tax26.375%
GreeceUnclearNo tax *
Hungary15%28% *
India31.2%20.8% · after 12 months: 13%
Indonesia0.21% of sale value0.1% of sale value
IranUnclear0.5% of sale value
Israel25%25%
Italy33%26%
JapanPersonal income tax rate20.315%
MalaysiaNo tax *No tax
NetherlandsTax on wealth, not on gainsTax on wealth, not on gains
Norway22%37.84%
PakistanUnclear15%
Poland19%19%
Portugal28% · after 12 months: No tax28%
Romania16%6% · after 12 months: 3%
Russia13%–15%13%–15%
Saudi ArabiaNo taxNo tax
South KoreaNo taxNo tax
Spain19%–30%19%–30%
Sweden30%30%
SwitzerlandNo taxNo tax
ThailandNo taxNo tax
TürkiyeUnclear0%
UkraineUnclearUnclear
United Arab EmiratesNo taxNo tax
United Kingdom18%–24%18%–24%
United StatesPersonal income tax rate · after 12 months: 0%–20%Personal income tax rate · after 12 months: 0%–20%
Vietnam0.1% of sale value0.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.

More tools