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.