Calculating crypto taxes is the most tedious part of owning crypto. Every trade, every swap, every airdrop — all taxable events.
This guide walks through how to calculate your crypto taxes, both manually and with tools.
What Is a Taxable Event in Crypto?
| Event | Taxable? | Description |
|---|---|---|
| Buying crypto with fiat | No | You simply acquired an asset (no gain/loss) |
| Selling crypto for fiat | Yes | Capital gain or loss realized |
| Trading crypto for crypto | Yes | Disposal of the first crypto triggers gain/loss |
| Spending crypto on goods | Yes | Disposal of crypto triggers gain/loss |
| Receiving crypto as payment | Yes | Taxed as ordinary income (fair market value) |
| Crypto airdrops | Yes | Taxed as ordinary income when received |
| Crypto staking rewards | Yes | Taxed as ordinary income when received |
| Mining rewards | Yes | Taxed as ordinary income |
| Gifting crypto (small) | Usually not | Varies by country |
| Donating crypto to charity | Usually not | Tax-deductible in many countries |
| Transferring between your wallets | No | Moving your own crypto is not a sale |
Step-by-Step: Calculate Your Taxes Manually
Step 1: Gather All Your Transactions
Export transaction history from every exchange and wallet you used. Most exchanges let you download a CSV file.
What you need for each trade:
- Date and time
- Crypto bought/sold (e.g., bought 0.5 ETH)
- Fiat value at time of trade (e.g., $1,500)
- Transaction fees
Step 2: Calculate Cost Basis
Cost basis = what you paid for the crypto (including fees).
Example:
- You bought 1 BTC for $30,000 on June 1, 2025
- Exchange fee: $30
- Your cost basis: $30,030
Step 3: Calculate Proceeds
Proceeds = what you received when you sold (minus fees).
Example:
- You sold 1 BTC for $60,000 on June 1, 2026
- Exchange fee: $50
- Your proceeds: $59,950
Step 4: Calculate Gain or Loss
Gain/Loss = Proceeds - Cost Basis
Example:
- Proceeds: $59,950
- Cost basis: $30,030
- Capital gain: $29,920
Step 5: Apply Tax Rate
US tax rates (2026):
| Holding Period | Tax Rate |
|---|---|
| Less than 1 year (short-term) | Your ordinary income tax rate (10-37%) |
| More than 1 year (long-term) | 0%, 15%, or 20% depending on income |
Example continued:
- If you held BTC for more than 1 year (long-term)
- Your income: $80,000/year (15% long-term capital gains rate)
- Tax owed: $29,920 × 15% = $4,488
Using a Crypto Tax Calculator
Manual calculation works for a few trades. If you have more than 10 trades, use a tool.
Top crypto tax tools:
| Tool | Free Tier | Price | Best For |
|---|---|---|---|
| CoinTracker | Up to 25 transactions | $0-199/year | Beginners |
| Koinly | Free tax report preview | $49-199/year | Most people |
| CoinLedger (formerly CoinTracking) | Up to 25 transactions | $0-299/year | US users |
| Recap (by Coinbase) | Free for Coinbase users | $0 | Coinbase-only users |
| Crypto Tax Calculator | 100 transactions | $49-199/year | Heavy traders |
How Tax Tools Work
- Connect your exchange accounts via API (read-only) or upload CSV files
- The tool automatically categorizes every transaction
- It calculates cost basis, proceeds, and gains/losses
- It generates tax forms (8949, Schedule D in the US)
- Download the report and give it to your accountant (or file yourself)
Cost Basis Methods
Most countries let you choose how to calculate cost basis:
| Method | Description | Best For |
|---|---|---|
| FIFO (First In, First Out) | Oldest coins are sold first | Most common, required by some countries |
| LIFO (Last In, First Out) | Newest coins are sold first | Minimizing gains in rising markets |
| Specific Identification | Choose which coins to sell | Tax loss harvesting |
Default method: FIFO. Unless you specify another method, tax authorities assume FIFO.
Tax Calculation Example (Real Numbers)
Your trades for 2026:
| Date | Action | Amount | Price | Value |
|---|---|---|---|---|
| Jan 5 | Buy ETH | 5 ETH | $2,000 | $10,000 |
| Mar 10 | Buy SOL | 50 SOL | $100 | $5,000 |
| Jun 1 | Sell ETH | 2 ETH | $3,500 | $7,000 |
| Sep 15 | Trade SOL → ADA | 25 SOL → 1,000 ADA | $150/SOL | $3,750 |
Calculate:
ETH Sale (Jun 1):
- Cost basis: 2 ETH × $2,000 = $4,000
- Proceeds: $7,000
- Gain: $3,000 (held less than 1 year = short-term)
- Tax (24% bracket): $720
SOL Trade (Sep 15):
- Cost basis: 25 SOL × $100 = $2,500
- Proceeds: $3,750 (fair market value of ADA received)
- Gain: $1,250 (held less than 1 year = short-term)
- Tax (24% bracket): $300
Total tax owed: $1,020
Deductions and Credits
You may be able to reduce your crypto tax bill through:
- Trading fees — Can be added to cost basis (reducing gains)
- Transaction fees — Network fees (gas) for disposing crypto are deductible
- Crypto losses — Realized losses offset gains (see tax loss harvesting guide)
- Charitable donations — Donating crypto directly to charity avoids capital gains tax
- Interest and margin fees — If you trade on margin, interest may be deductible
When to Pay
| Country | Tax Year | Filing Deadline |
|---|---|---|
| US | Jan 1 - Dec 31 | April 15 (next year) |
| UK | Apr 6 - Apr 5 | January 31 (next year) |
| Canada | Jan 1 - Dec 31 | April 30 (next year) |
| Australia | Jul 1 - Jun 30 | October 31 |
| Germany | Jan 1 - Dec 31 | July 31 |
Estimated tax payments (US): If you owe more than $1,000 in taxes, the IRS expects quarterly estimated payments. Otherwise you may face penalties.
Common Mistakes
- Forgetting crypto-to-crypto trades are taxable — Every swap is a disposal
- Not tracking fees — Fees reduce gains and can be deducted
- Using the wrong cost basis method — FIFO is default; switching requires IRS approval
- Not reporting small gains — All gains, even $5, must be reported
- Forgetting about airdrops and staking — These are taxable income at receipt
Verdict
Crypto tax calculation is tedious but manageable. For a few trades, calculate manually using the formula: Proceeds - Cost Basis = Gain/Loss. For many trades, use a tax tool.
The most important thing: keep records of every single transaction. If you don’t have records, you can’t calculate your taxes accurately, and you risk penalties.
Set up a crypto tax tracking system early (even if you have no gains yet). It’s much harder to reconstruct trades months later.
Related: Crypto Tax Guide for Beginners | How to Report Crypto Losses | Do I Need to Report Small Transactions?
Crypto tax questions dominate BitcoinTalk’s “Legal” board. The universal advice: use a tax tool, keep records, and pay what you owe.
What matters most when calculating
Getting crypto tax calculation right comes down to a few fundamentals that everything else builds on. First, understand that most of your activity — every sale, every crypto-to-crypto swap, every payment — is a taxable event. Second, master the single formula that underpins it all: proceeds minus cost basis equals your gain or loss. Third, know your holding periods, because in many countries they change the rate you pay. And fourth, recognise when a tax tool becomes the reliable choice.
If you take away only a handful of points from this guide, let these be them. Track cost basis faithfully, using FIFO by default. Record the fair market value of any crypto you receive as income. Keep details of fees on every trade. And once your transaction count grows beyond a few dozen, stop calculating by hand — the risk of error climbs quickly, and the cost of software is far lower than the price of a mistake.
Beyond the numbers, staying disciplined about records is what separates a clean filing from a stressful one. Every trade should have its date, amounts, and fiat value captured. When you are rebuilding a year of activity from scattered exchange tabs in April, you will wish you had logged it as you went.
Building a practical record-keeping routine
The best way to make tax calculation painless is to set up a system before the activity happens, not to reconstruct it afterwards. Open a standing folder or spreadsheet that captures every trade as it occurs. Most exchanges now let you download transaction CSV files directly, and crypto tax tools can connect by API and pull the data automatically.
A good routine captures the essentials for each transaction: the date and time, the crypto bought or sold, the fiat value at the moment of the trade, and any fees. If you use a tax tool, connect it to every wallet and exchange you touch, because transactions scattered across platforms are the classic source of underreported gains. Review the categorisation the tool produces each quarter so that airdrops and staking rewards are correctly flagged as income rather than buried as trades.
Even if you keep manual records, generate a free preview report from one of the major tax tools before you file. It will cross-check your numbers and often surfaces transactions you forgot. That single reconciliation step catches most discrepancies and makes the actual filing far less stressful.
Common questions about crypto tax calculators
Q: Do I still need to track transactions if I buy and hold without selling? A: Yes, though lightly. While holding creates no taxable event, you need your cost basis and purchase dates on record for the day you eventually sell. Without them, you cannot calculate gains and may be forced to rely on estimates that attract scrutiny.
Q: Which cost basis method should I use? A: FIFO is the default that most tax authorities assume, so it is the safest choice unless you have a reason to choose otherwise. LIFO or specific identification can minimise gains in rising markets, but switching methods after you start filing generally requires approval. Keep notes on which method you use each year.
Q: Can I deduct my trading and network fees? A: Yes. Trading fees are typically added to your cost basis, reducing your eventual gain. Network (gas) fees paid when disposing of crypto can also be deductible. Keep records of every fee so your cost basis is accurate.
Q: What happens if I forget to report a small gain? A: Tax authorities increasingly match exchange and wallet data, and exchanges report transactions to the IRS and other agencies. Even a small unreported gain can trigger an audit with penalties and interest. Report everything, no matter how small.
Where to go next
This guide gives you the formula — proceeds minus cost basis — that drives every crypto tax calculation, plus the tools and methods to apply it accurately. To build on this foundation, our crypto tax guide for beginners explains the underlying income versus capital gains rules, while how to report crypto losses covers offsetting losses to reduce your bill. The crypto tax guide by country is the place to check how the rates and holding periods here translate to your jurisdiction.
Wherever you file, the universal advice holds: keep every record, understand your cost basis method, and report gains and income honestly. A small investment in a tax tool or professional review is a fraction of the cost of a penalty.