Crypto Tax Guide: How to Calculate and Report Crypto Taxes
Complete guide to crypto taxes — what events are taxable, how to calculate gains and losses, FIFO vs LIFO, DeFi and staking tax treatment, and how to report it all.
Key Takeaways
- The IRS treats cryptocurrency as property — capital gains rules apply to every disposal
- Every trade, sale, or use of crypto to purchase goods is a taxable event
- Crypto held under 1 year is taxed as ordinary income; over 1 year is taxed at lower long-term capital gains rates
- Staking rewards, mining income, and airdrops are taxed as ordinary income when received
- FIFO typically results in higher taxes than HIFO (Highest-In-First-Out) in rising markets
Crypto taxes are the part of the crypto world that most people tried to ignore for too long. With the IRS requiring broker reporting and crypto tax enforcement ramping up, getting your taxes right isn't optional — it's essential.
This guide explains exactly what's taxable, how to calculate what you owe, how to choose your accounting method, and how DeFi, staking, and NFTs are treated.
Calculate your crypto tax liability →
Is Crypto Taxed? The Legal Foundation
Yes — unambiguously. In Notice 2014-21, the IRS classified cryptocurrency as property (not currency). This means:
- Capital gains rules apply when you sell or exchange crypto
- You must report every disposal on your tax return
- Receiving crypto as payment, mining, or staking creates income
- "I didn't know" is not a defense
The 1040 now includes a direct question about crypto transactions on the front page — the IRS is serious about compliance.
What Is a Taxable Event?
This is where many crypto holders go wrong. Not just selling creates a tax event:
Taxable Events
- Selling crypto for fiat (USD, EUR, etc.)
- Trading one crypto for another (e.g., BTC → ETH)
- Using crypto to purchase goods or services
- Receiving crypto as payment for work or services
- Mining rewards received
- Staking rewards received
- Airdrops received (generally taxable when you have dominion and control)
- Hard fork tokens received
- DeFi rewards, liquidity mining rewards
- NFT sales (selling an NFT you created = ordinary income; selling an NFT you purchased = capital gains)
NOT Taxable Events
- Buying crypto with fiat (no gain/loss yet)
- Holding crypto (no disposal)
- Transferring between your own wallets
- Gifting crypto under the annual gift tax exclusion ($18,000 in 2024)
- Donating crypto to a registered charity (you may even deduct the fair market value)
How to Calculate Crypto Capital Gains
- Proceeds: The fair market value of what you received when you sold/traded
- Cost basis: What you paid to acquire the crypto (plus any fees)
Example 1: Simple Sale
You bought 1 ETH on March 1, 2024 for $2,800. You sold it on December 1, 2024 for $3,500.
Gain = $3,500 − $2,800 = $700 short-term capital gain (held under 1 year, taxed as ordinary income)
Example 2: Crypto-to-Crypto Trade
You bought 0.5 BTC for $20,000 in January 2023. In March 2024, you traded that 0.5 BTC for 10 ETH when BTC was worth $65,000 total.
Proceeds = $65,000 (fair market value at time of trade). Cost basis = $20,000.
Gain = $65,000 − $20,000 = $45,000 long-term capital gain (held over 1 year)
The fact that you didn't cash out to USD doesn't matter — the trade itself is taxable.
Short-Term vs Long-Term Capital Gains Rates
The holding period determines your tax rate:
| Holding Period | Tax Treatment | Tax Rate |
|---|---|---|
| Under 1 year | Short-term capital gains | Ordinary income rates (10–37%) |
| Over 1 year | Long-term capital gains | 0%, 15%, or 20% based on income |
2024 long-term capital gains brackets (single filer):
- 0%: Taxable income up to $47,025
- 15%: $47,025 to $518,900
- 20%: Above $518,900
The difference between short-term and long-term rates can be enormous. A $50,000 gain in the 32% income bracket is $16,000 in short-term taxes vs. $7,500 in long-term taxes. Holding for that extra day to cross the 1-year mark can matter significantly.
Accounting Methods: FIFO, LIFO, HIFO, Specific ID
When you've bought the same crypto multiple times at different prices, you need an accounting method to determine which coins you're "selling" first.
FIFO (First-In, First-Out)
Default IRS assumption if you don't specify. Sells oldest coins first. In a rising market, oldest coins have lowest cost basis → higher gains. Often results in the most taxes in bull markets.
LIFO (Last-In, First-Out)
Sells most recently purchased coins first. Allowed by the IRS but requires specific identification. In rising markets, newer coins have higher cost basis → lower gains. Can result in more short-term gains if you bought recently.
HIFO (Highest-In, First-Out)
Sells coins with the highest cost basis first. Generally minimizes current-year taxes in most market conditions. The IRS allows this as a form of specific identification if you can adequately document it.
Specific Identification
Most flexible: you specify which lot you're selling for each transaction. Requires detailed records per transaction. Enables optimal tax lots selection (HIFO in practice).
| Method | Best When... | Complexity |
|---|---|---|
| FIFO | Market has fallen (lower prices first → lower gains) | Low |
| HIFO | Rising market (high cost basis → lower gains) | Medium |
| LIFO | You want recent high buys to offset short-term gains | Medium |
| Specific ID | Maximum control over which lots you sell | High |
Use our Crypto Profit/Loss Calculator to see how different accounting methods affect your tax bill.
DeFi Tax Treatment: The Complicated Frontier
DeFi (decentralized finance) creates tax complexity the IRS hasn't fully addressed. Current best practices:
Liquidity Pool Deposits/Withdrawals
Depositing into a liquidity pool may be a taxable event if you receive LP tokens (treated as an exchange of underlying assets for LP tokens). Withdrawing may trigger another taxable event. The IRS has not provided definitive guidance here — most practitioners treat LP deposits as taxable exchanges.
Yield Farming / Liquidity Mining Rewards
Rewards received from yield farming are likely ordinary income at fair market value when received, similar to staking rewards.
Wrapped Tokens
Wrapping ETH → WETH (or similar) is likely a taxable exchange in the IRS's view. Prudent approach: treat it as a disposal of ETH and acquisition of WETH at fair market value.
Staking Rewards
The IRS issued guidance in Revenue Ruling 2023-14: staking rewards are ordinary income when received, valued at fair market value at the time of receipt. This sets the cost basis for future sales.
NFT Tax Treatment
NFT Creator
If you create and sell NFTs, the proceeds are ordinary income (self-employment income), not capital gains. This means you also owe SE tax.
NFT Investor
If you buy an NFT and later sell it for more, the gain is capital gain (short or long-term based on holding period).
NFT Royalties
Royalties earned when your NFT is resold are ordinary income.
Crypto Losses: The Silver Lining
If you've had a rough year in crypto, losses are deductible:
- Capital losses offset capital gains dollar-for-dollar
- If losses exceed gains, you can deduct up to $3,000 against ordinary income per year
- Remaining losses carry forward indefinitely
Important: the wash sale rule (which prevents you from selling a security at a loss and immediately rebuying it) does not currently apply to crypto under existing law. This means you can harvest losses on crypto positions and immediately rebuy — a significant tax planning opportunity that doesn't exist in traditional securities.
Record-Keeping Requirements
You must maintain records of:
- Date and time of every transaction
- Amount received/spent in USD at time of transaction
- Exchange rate used
- Transaction fees
- Wallet addresses involved
Use crypto tax software (Koinly, CoinTracker, TaxBit) to aggregate transaction history across exchanges and wallets. Manual tracking across multiple wallets and DeFi protocols is error-prone and time-consuming.
Frequently Asked Questions
Do I have to pay taxes if I didn't sell crypto?
If you only held crypto and didn't dispose of it (sell, trade, use), you have no taxable event for the year. Simply holding, even as the value increases, is not taxable until you sell or otherwise dispose of the asset.
What if I lost money on crypto — do I still owe taxes?
No, capital losses reduce your tax bill. Losses offset capital gains, and up to $3,000 in net capital losses can offset ordinary income per year. Remaining losses carry forward to future tax years.
Do crypto exchanges report to the IRS?
Yes. Major US exchanges (Coinbase, Kraken, Gemini) issue 1099 forms to users and report to the IRS. The IRS Infrastructure Investment and Jobs Act (2021) significantly expanded crypto broker reporting requirements. Assuming unreported crypto transactions won't be noticed is increasingly risky.
How is crypto staking income taxed?
Per IRS Revenue Ruling 2023-14, staking rewards are ordinary income at fair market value when received. If you receive 0.5 ETH as staking reward when ETH is $3,000, you owe income tax on $1,500. When you later sell that ETH, your cost basis is $1,500 (what you paid income tax on).
What's the best way to minimize crypto taxes legally?
Key strategies: (1) Hold assets over 1 year for long-term capital gains rates. (2) Use HIFO accounting to maximize cost basis. (3) Tax-loss harvest — sell losers to offset gainers. (4) Donate appreciated crypto to charity (deduct fair market value, avoid capital gains). (5) Keep detailed records to substantiate your accounting method. Use our capital gains tax calculator to model different scenarios.
Related Calculators
Get new guides in your inbox
No spam. One email when we publish something worth reading.