Skip to main content

Crypto Tax Calculator

Estimate your capital gains tax for cryptocurrency trades. Supports 17 countries with local tax brackets.

First In, First Out — sell your oldest coins first

Auto-calculates as you type. Use price and quantity presets for a quick tax estimate.

Estimate Your Crypto Taxes

Select your country, enter your trade details, and see your estimated capital gains tax instantly.

🌍 17 countries📊 FIFO / LIFO📅 Short / Long-term
Quick answer: US crypto tax rates range from 0-20% for long-term gains (held 1+ year) and 10-37% for short-term gains. Germany and Portugal offer 0% tax on crypto held over 12 months. Enter your trade details below to estimate your tax in seconds.

How to Use the Tax Calculator

Our crypto tax calculator helps you estimate your capital gains tax in seconds. Follow these simple steps to calculate your tax obligation:

  1. Select your country — Choose from 17 countries including the US, UK, Germany, Japan, France, Brazil, Spain, South Korea, Portugal, Italy, Switzerland, Austria, Poland, Netherlands, Australia, Canada, and India. Each country has unique tax rules and rates.
  2. Enter your purchase price — Input the total amount you paid for the cryptocurrency, including all fees paid at the time of purchase.
  3. Enter your sale price — Input the total amount you received when selling the crypto, minus any transaction fees.
  4. Choose the holding period — Select whether you held the asset for less than 1 year (short-term) or 1 year or more (long-term). This affects your tax rate significantly in most countries.
  5. Select an accounting method — Choose between FIFO (First In, First Out) or LIFO (Last In, Last Out) to see how different methods impact your tax liability.
  6. Review your results — The calculator will instantly show your capital gain or loss, applicable tax rate, estimated tax owed, and a comparison between short-term and long-term rates.

How Is Cryptocurrency Taxed?

In most countries, cryptocurrency is treated as property rather than currency for tax purposes. This classification has important implications: every time you sell, trade, or exchange crypto, it triggers a taxable event. You owe taxes on any capital gains — the difference between your purchase price (cost basis) and sale price. The tax rate applied depends on your holding period, income bracket, and country of residence. Understanding these fundamentals is essential for proper tax planning and compliance.

Country-by-Country Tax Rates

Country Short-Term Rate Long-Term Rate Special Rules
🇺🇸 USA12–37%0–20%Property treatment, NIIT possible
🇬🇧 UK10–20%10–20%£3,000 annual CGT exemption
🇩🇪 Germany25–45%Tax FREEHeld >1 year = 0% tax!
🇦🇺 Australia19–45%9.5–22.5%50% CGT discount after 12 months
🇨🇦 Canada7.5–16.5%7.5–16.5%50% capital gains inclusion
🇮🇳 India30%30%Flat rate + 4% cess, 1% TDS
🇯🇵 Japan15–55%15–55%Miscellaneous income, incl. 10% local tax
🇧🇷 Brazil17.5%17.5%Flat rate (2026 reform)
🇫🇷 France30%30%Flat PFU, crypto-to-crypto exempt
🇪🇸 Spain19–30%19–30%Progressive savings tax, FIFO required
🇰🇷 South Korea22%22%Delayed to 2027, ₩50M threshold
🇵🇹 Portugal28%Tax FREEHeld >365 days = 0% tax!
🇮🇹 Italy26%26%Rising to 33% in 2026
🇨🇭 Switzerland0%0%No CGT for private investors, wealth tax only
🇦🇹 Austria27.5%27.5%Crypto-to-crypto swaps exempt
🇵🇱 Poland19%19%Crypto-to-crypto swaps tax-neutral
🇳🇱 Netherlands~2.12%~2.12%Deemed return model, €57,684 threshold

FIFO vs LIFO Accounting

The accounting method you choose affects your tax liability:

  • FIFO (First In, First Out) — assumes you're selling your oldest coins first. Usually results in higher gains in a rising market.
  • LIFO (Last In, First Out) — assumes you're selling your newest coins first. Can reduce taxable gains if recent purchases were at higher prices.

Note: Not all countries allow all methods. The IRS (US) permits specific identification per IRS Virtual Currency FAQ. Check with a tax professional for your jurisdiction.

Taxable vs Non-Taxable Crypto Events

Understanding which cryptocurrency activities trigger taxes is crucial for compliance. Not every crypto transaction creates a taxable event. Here's a comprehensive breakdown:

Taxable Events:

  • Selling crypto for fiat currency — Converting Bitcoin, Ethereum, or any cryptocurrency to USD, EUR, or other traditional currency creates a capital gain or loss.
  • Trading one crypto for another — Swapping BTC for ETH, or any crypto-to-crypto exchange, is treated as a sale followed by a purchase in most jurisdictions.
  • Purchasing goods or services with crypto — Using cryptocurrency as payment is considered a disposal event, triggering capital gains tax on the appreciation since purchase.
  • Receiving crypto as payment or income — Earnings from mining, staking rewards, airdrops, or salary paid in crypto are taxed as ordinary income at fair market value when received.
  • Liquidations and margin trading — Forced liquidations and closing leveraged positions create taxable events based on the realized gain or loss.

Non-Taxable Events:

  • Buying cryptocurrency with fiat — Purchasing crypto with traditional currency is not taxable. The purchase establishes your cost basis for future calculations.
  • Holding cryptocurrency — Unrealized gains from price appreciation are not taxed until you dispose of the asset. You can hold indefinitely without tax consequences.
  • Transferring between your own wallets — Moving crypto from an exchange to a hardware wallet, or between wallets you control, is not a taxable event.
  • Gifting cryptocurrency — In most countries, giving crypto as a gift is not taxable for the donor (though the recipient inherits your cost basis and may owe tax when they sell).
  • Donating to qualified charities — Charitable donations of cryptocurrency are generally not taxable and may provide a deduction based on fair market value in some jurisdictions.

Tax-Loss Harvesting Strategies

Tax-loss harvesting means deliberately selling cryptocurrency at a loss to offset gains from other investments. In the US, capital losses offset gains dollar-for-dollar. Excess losses can offset up to $3,000 of ordinary income per year, with remaining losses carried forward indefinitely (per IRS Topic 409).

One key advantage: the wash sale rule currently does not apply to cryptocurrency in the US. You can sell at a loss and immediately repurchase, maintaining your position while harvesting the tax benefit. This may change as crypto tax regulation evolves.

Timing matters. Review your portfolio near year-end to identify unrealized losses. Selling before December 31st lets you claim the loss on the current tax return. That said, don't let tax strategy override sound investment decisions.

How to Reduce Your Crypto Tax Bill

Minimizing your cryptocurrency tax burden legally requires strategic planning and awareness of available options. Here are proven strategies to reduce what you owe:

  • Hold assets for more than one year — In countries like the US, Germany, and Australia, long-term capital gains receive preferential tax treatment. Germany offers the most generous benefit: zero tax on crypto held longer than 12 months. This simple strategy of patience can save you thousands in taxes.
  • Actively harvest tax losses — Review your portfolio regularly for underperforming assets. Selling at a loss allows you to offset gains from profitable trades. In volatile crypto markets, this strategy can be employed throughout the year, not just at year-end.
  • Utilize tax-advantaged retirement accounts — Some jurisdictions allow cryptocurrency investments within IRAs, Roth IRAs, or similar retirement accounts. Gains within these accounts can grow tax-deferred or even tax-free, depending on the account type. Check with a financial advisor about crypto IRA options in your country.
  • Donate appreciated cryptocurrency to charity — In many countries including the US, donating crypto that has increased in value allows you to claim a charitable deduction for the full fair market value while avoiding capital gains tax on the appreciation. This creates a double tax benefit.
  • Track your cost basis meticulously — Accurate record-keeping ensures you're not overpaying taxes. Include all fees paid when buying and selling, as these reduce your taxable gain. Use cryptocurrency tax software or detailed spreadsheets to maintain transaction history across all exchanges and wallets.
  • Consult a crypto-specialized tax professional — Cryptocurrency tax law is complex and varies significantly by jurisdiction. A CPA or tax advisor with crypto expertise can identify deductions, credits, and strategies specific to your situation, potentially saving far more than their fee costs.

Important: This calculator provides estimates for educational purposes only. It is not tax, legal, or financial advice. Tax laws vary by jurisdiction and change frequently. Consult a qualified tax professional for advice specific to your situation.

Capital Gains Formula

Understanding how capital gains are calculated is essential for accurate tax estimation. The basic formulas used across most jurisdictions are:

Capital Gain = Sale Price − Cost Basis − Fees
Tax Owed = Capital Gain × Tax Rate

Your cost basis is the original purchase price plus any fees paid to acquire the crypto. The sale price is the amount received minus any transaction fees. The resulting capital gain (or loss if negative) is then multiplied by your applicable tax rate, which depends on your holding period and income level. For example, if you bought 1 BTC for $30,000 (plus $50 fee), sold it for $45,000 (minus $75 fee), your capital gain would be $14,875. If you're in the 24% tax bracket for short-term gains, you'd owe approximately $3,570 in taxes.

Frequently Asked Questions

How much tax do I pay on crypto profits in the US?

In the US, crypto profits held less than 1 year are taxed as ordinary income at 10-37% depending on your tax bracket. Profits on crypto held longer than 1 year qualify for long-term capital gains rates of 0%, 15%, or 20%. For example, a $10,000 profit on crypto held for 14 months in the 15% bracket results in $1,500 in federal tax, compared to potentially $2,200-3,700 if held short-term.

Do I have to pay taxes if I convert Bitcoin to Ethereum?

Yes, in most countries including the US, UK, and Australia, swapping one cryptocurrency for another is a taxable event. The IRS treats it as selling the first crypto at fair market value and buying the second. Exceptions exist in a few jurisdictions: Austria and Poland exempt crypto-to-crypto swaps from tax, and France only taxes when converting to fiat currency.

Which countries have zero crypto tax?

Switzerland charges no capital gains tax on crypto for private investors (only a small wealth tax). Germany taxes crypto gains at 0% if held over 12 months. Portugal exempts crypto held over 365 days. The UAE, Bermuda, and the Cayman Islands have no personal income or capital gains tax at all. Use our crypto tax calculator to compare rates across 17 supported countries.

Can I deduct crypto losses from my taxes?

Yes. In the US, capital losses offset capital gains dollar-for-dollar, and you can deduct up to $3,000 in net losses against ordinary income per year, carrying unused losses forward indefinitely. This makes tax-loss harvesting a powerful strategy: sell underperforming crypto to realize losses, then immediately repurchase since wash sale rules currently do not apply to cryptocurrency.

Are staking rewards and airdrops taxable?

Yes. In most jurisdictions, staking rewards, mining income, and airdrops are taxed as ordinary income at their fair market value when received. In the US, staking rewards are taxed at your income tax rate (10-37%) when you receive them, then subject to capital gains tax when you later sell them. This creates a double-taxation effect that many crypto investors fail to plan for.

What is the difference between FIFO and LIFO for crypto taxes?

FIFO (First In, First Out) assumes you sell your oldest coins first, while LIFO (Last In, First Out) sells your newest coins first. In a rising market, FIFO typically produces higher taxable gains because older coins have a lower cost basis. LIFO can reduce taxes if recent purchases were at higher prices. The IRS allows specific identification, letting you choose which lots to sell for optimal tax outcomes.

Related Calculators

Explore our other cryptocurrency tools to make informed investment decisions:

  • Profit Calculator — Calculate potential returns and break-even points for your crypto investments.
  • Crypto Converter — Convert between 100+ cryptocurrencies and fiat currencies with real-time exchange rates.
  • What-If Calculator — See historical "what if" scenarios: what would your investment be worth if you had bought at different times?