Crypto Tax Calculator
Quickly estimate the tax owed on crypto capital gains by multiplying your gains by your applicable tax rate. Useful for back-of-envelope planning before a sale, not a substitute for proper tax filing.
Last updated: May 2026
Compare with similar
About this calculator
This calculator applies a simple flat-rate formula: Tax Owed = capitalGains × (taxRate / 100). Capital gains is the difference between your disposal proceeds and your cost basis (purchase price plus allowable fees) — if you bought 1 BTC at $20,000 and sold at $50,000, capital gains = $30,000. Tax rate is your applicable marginal capital-gains rate, which varies widely by jurisdiction, holding period and total income: in the US, short-term gains (held <1 year) are taxed at ordinary income rates of 10–37% while long-term gains (held >1 year) are taxed at 0%, 15% or 20% depending on income; in the UK, capital gains above the annual allowance are taxed at 18% or 24% for 2025; in Germany, crypto held >1 year is currently tax-free; in Australia a 50% CGT discount applies after 12 months. Edge cases: the formula does not handle losses (which can offset gains in most jurisdictions), wash-sale rules (where they exist), cost-basis methods (FIFO, LIFO, HIFO, specific identification produce very different gains figures from the same trades), staking rewards or airdrops (often taxed as income at receipt, then capital gain on subsequent sale), DeFi yield (treatment varies wildly by country), or NFT-specific rules. The output is a rough planning estimate only — full tax compliance requires transaction-level accounting through a dedicated crypto-tax tool (Koinly, CoinTracker, TokenTax) or a qualified accountant.
How to use
Example 1 — long-term US gain. You bought 0.5 BTC at $30,000 ($15,000 cost basis) and sold 18 months later at $80,000 ($40,000 proceeds). Capital gains = 40,000 − 15,000 = $25,000. Your total annual income puts you in the 15% long-term capital-gains bracket. Step 1: capital gains = $25,000. Step 2: tax rate = 15. Step 3: tax owed = 25,000 × 0.15 = $3,750. Verify: 15% of $25,000 is $3,750 ✓. Note this excludes state taxes (California adds up to 13.3% on top), the Net Investment Income Tax (3.8% for higher earners), and any offsetting losses elsewhere. Example 2 — short-term UK gain. You bought 5 ETH at £1,500 each (£7,500 cost basis) and sold 4 months later at £2,800 each (£14,000 proceeds). Capital gains = 14,000 − 7,500 = £6,500. UK CGT allowance for 2025 is £3,000, so taxable gain = 6,500 − 3,000 = £3,500. You are a higher-rate taxpayer, so the rate is 24%. Step 1: taxable gains = £3,500. Step 2: tax rate = 24. Step 3: tax owed = 3,500 × 0.24 = £840. Verify: 24% of £3,500 is £840 ✓. The £3,000 annual exemption must be subtracted from gains before entering the calculator, otherwise you would over-state the tax owed by £720. ✓
Frequently asked questions
Which transactions actually count as taxable events for crypto?
In most jurisdictions, the following are taxable events: selling crypto for fiat (USD, EUR, GBP), trading one crypto for another (yes, even a BTC-to-ETH swap is a disposal of BTC), spending crypto on goods or services, and in many countries receiving staking rewards, airdrops, mining income or DeFi yield (typically taxed as ordinary income at fair market value on receipt). Non-taxable events typically include buying crypto with fiat (no disposal), moving crypto between your own wallets (still you, just a different address), and holding through volatility (no realisation event). Stablecoin trades count — even USDC-to-USDT can technically be a taxable disposal. Borrowing against crypto collateral is generally not taxable, but liquidation of the collateral is. The exact treatment of complex transactions — wrapping, bridging, providing liquidity, claiming governance tokens — varies by jurisdiction and is often unsettled; always consult current local guidance or a tax professional rather than assuming.
How do cost-basis methods (FIFO, LIFO, HIFO) change my tax bill?
When you sell a fraction of an asset you've bought over multiple purchases at different prices, cost-basis method determines which 'lot' is treated as sold and therefore the gain calculated. FIFO (first-in-first-out) assumes you sell the oldest coins first; LIFO (last-in-first-out) the newest; HIFO (highest-in-first-out) the most expensive, minimising gains in a rising market; specific identification lets you choose any lot if you can document the choice. In a bull market, HIFO typically produces the lowest immediate tax bill because you 'sell' the most expensive lots first, but it leaves you with low-basis lots for future sales. Different jurisdictions allow different methods: the US permits FIFO, HIFO and specific identification (with adequate records); UK uses share-pooling with the 'same-day' and '30-day' rules; Germany defaults to FIFO. Choosing the method that minimises tax requires transaction-level tracking from day one — virtually impossible to reconstruct after the fact, which is why crypto-tax software exists.
How do crypto losses offset gains in most jurisdictions?
In most jurisdictions, realised crypto losses offset realised crypto gains in the same tax year first, and any net loss often carries forward to future tax years (US: indefinitely; UK: indefinitely with claim; Germany: only same-tax-class income). In the US you can also use up to $3,000 of net capital losses per year to offset ordinary income, with the rest carrying forward. 'Tax-loss harvesting' deliberately sells underwater positions before year-end to crystallise losses and reduce the year's tax bill. Important caveats: the US wash-sale rule does NOT currently apply to crypto (as of late 2025), so you can sell at a loss and immediately rebuy — but legislation has been proposed and may change this; in the UK, the 30-day rule effectively functions as a wash-sale rule. Always check current rules before harvesting losses, and remember that losses on stolen crypto, exchange collapses (FTX, Celsius), or rug-pulled tokens have specific and often disadvantageous treatment that may not match a normal disposal.
What are the common mistakes when estimating crypto tax?
The biggest mistake is forgetting that crypto-to-crypto trades are taxable disposals in most jurisdictions — people swap BTC for ETH thinking 'I'm still in crypto, no tax' and discover they owe thousands on a year's worth of swaps. The second is using a single 'tax rate' when your effective rate is actually multiple stacked rates: federal + state + Net Investment Income Tax in the US, or income tax + Class 4 NICs in the UK for crypto treated as trading. The third is mixing cost-basis methods or losing records — without complete transaction history from every exchange and wallet, your reported basis will be wrong and likely overstated, costing you in unnecessary tax. People also forget staking, airdrop and DeFi income, which is typically taxed at receipt as ordinary income and then again as capital gain on later sale. Finally, ignoring fees inflates gains: exchange fees, network gas and bridging costs are usually deductible from proceeds or addable to cost basis, and forgetting them can mean overpaying by 1–5%.
When should I not use this calculator?
Do not use it as your sole basis for tax filing — it is a back-of-envelope estimator only. Real tax calculations require transaction-level accounting (every buy, sell, swap, transfer, receive across every wallet and exchange) and proper application of cost-basis rules; use a dedicated crypto-tax tool (Koinly, CoinTracker, TokenTax, Accointing) or a qualified accountant. It is not appropriate for complex scenarios: large NFT portfolios, DeFi positions with hundreds of swaps, mining or validator income, lost or stolen funds, or trades across multiple tax years where loss carryforwards apply. Do not use it for jurisdictions with progressive capital-gains rates without first determining your effective rate for the specific gain — a $500 short-term US gain is taxed at your marginal income rate, not at a flat capital-gains rate. It is also not suitable for businesses that trade or accept crypto, which face different rules (trading income, VAT on goods sold). Always verify against current local tax guidance before acting on the result.