Calcorithmevery number has an answer
πŸ”
All tools β†’
← Finance

Crypto Tax Calculator

Calculate capital gains tax on crypto trades for short-term and long-term holdings.

Buy price ($)
Sell price ($)
Amount (coins)
Your tax rate (%)
Capital gain
$10,000
Tax rate
30%
Tax owed
$3,000
Net profit
$7,000

How crypto is taxed

A plain-language overview of crypto tax rules in most major jurisdictions.
In most jurisdictions β€” including the US, UK, EU, Australia and Canada β€” cryptocurrency is treated as a capital asset, not currency. This means every disposal (sale, swap, spend) is a taxable event that may generate a capital gain or loss. The gain is calculated as the difference between what you received (proceeds) and what you originally paid (cost basis).

The most important variable is holding period. In the US, the IRS taxes short-term gains (held under 12 months) at ordinary income rates β€” potentially up to 37%. Long-term gains (over 12 months) are taxed at 0%, 15%, or 20% depending on your total income. This preferential rate is one of the most powerful legal tools available to crypto investors: simply holding for one additional day past the 12-month mark can meaningfully reduce your tax bill.

Taxable vs. non-taxable crypto events

Not every crypto activity triggers a tax bill. Here's how common events are treated.
Event
Taxable?
Notes
Buying crypto with fiatNoSets your cost basis
Selling crypto for fiatYesCapital gain/loss realised
Crypto-to-crypto swapYesDisposal at fair market value
Spending crypto on goods/servicesYesTreated as a sale
Receiving crypto as incomeYesIncome at receipt value
Staking rewardsYesOrdinary income when received
Gifting cryptoNoRecipient inherits cost basis
Wallet-to-wallet transferNoKeep records of fees
Holding / HODLingNoUnrealised gains not taxed

US long-term capital gains tax rates (2024)

Holding crypto for over 12 months may qualify you for significantly lower rates.
Filing status
Income threshold
Long-term rate
SingleUp to $47,0250%
Single$47,026 – $518,90015%
SingleOver $518,90020%
Married filing jointlyUp to $94,0500%
Married filing jointlyUp to $583,75015%
Married filing jointlyOver $583,75020%
2024 US rates. NIIT (3.8%) may also apply at higher incomes. Consult a tax professional for your specific situation.

Tax-loss harvesting with crypto

A legal strategy that can materially reduce your annual tax liability.
Unlike stocks, crypto is not subject to wash-sale rules in the US (as of 2024). This means you can sell a crypto asset at a loss, immediately repurchase it, and still claim the loss to offset other capital gains. This makes year-end tax-loss harvesting particularly powerful for crypto portfolios.

For example: you have $10,000 in Bitcoin gains but also hold Ethereum at a $4,000 unrealised loss. Selling the ETH crystallises the $4,000 loss, reducing your net taxable gain to $6,000. You can buy ETH back immediately and re-establish the position. At a 15% tax rate, this saves you $600 in tax β€” with no change to your portfolio exposure.

This strategy works best when you have offsetting gains and losses within the same tax year, and when done before December 31st.

Frequently asked questions

iFormula / How it works

Capital gain = (Sell price βˆ’ Buy price) Γ— Amount Tax owed = Capital gain Γ— Tax rate Short-term (held under 1 year): taxed as ordinary income. Long-term (held 1+ year): lower rates (0%, 15% or 20% in the US). Consult a tax professional for accurate advice.

Related Finance tools

Compound Interest
Calculate growth with compounding interest
Loan Payment
Monthly payment for any loan
ROI Calculator
Calculate return on investment (ROI), annualised ROI and net profit
Savings Goal
Time to reach your savings target
Tax Calculator
Estimate your income tax and take-home pay by tax bracket
Currency Converter
Convert between 150+ world currencies with live exchange rates
Interest Calculator
Simple and compound interest
Crypto Profit
Calculate crypto trading profit/loss