How do you calculate taxes when spending cryptocurrency?
How do you calculate taxes when spending cryptocurrency?
Every time you spend, sell, or trade cryptocurrency, the IRS treats it as a taxable disposal event. Unlike holding crypto long-term where you might defer taxes, using your coins—whether to buy a car, pay for services, or swap for another asset—triggers capital gains or losses. This article walks you through the mechanics: how to determine your basis, calculate your gain or loss, and track which specific coins you sold so you can file accurately.
Quick definition: When you spend cryptocurrency, you realize a capital gain or loss equal to the fair market value of what you received minus your adjusted cost basis in the coins. That gain or loss is taxable in the year the transaction occurs, regardless of whether you held the coins long-term or short-term.
Key takeaways
- Every crypto spending event is a taxable event; the IRS does not recognize "spending" as tax-free
- Your capital gain = fair market value at sale minus your adjusted cost basis
- Long-term holdings (held >12 months) qualify for lower long-term capital gains rates
- You must identify which specific coins you sold to compute basis correctly
- Detailed record-keeping of dates, amounts, and fair market values is essential for IRS compliance
Understanding the taxable event
When you spend cryptocurrency—whether you transfer it for goods, swap it for another token, or convert it to fiat currency—the IRS classifies this as a disposition under Section 1031. You crystallize any accumulated gain or loss at that moment. The taxable gain or loss equals:
Taxable Gain = Fair Market Value (at sale) − Adjusted Cost Basis
Suppose you bought 1 Bitcoin for $30,000 in January 2023. By January 2025, it trades at $95,000. You sell it to buy a car. Your taxable gain is $95,000 − $30,000 = $65,000. That gain is taxable in 2025, even though you received no cash—you received a car (and the car's fair market value on the sale date is what the IRS cares about).
Determining your cost basis
Basis is what you paid for the crypto, including all direct costs of acquisition. If you bought 0.5 Bitcoin for $15,000 in March 2023 plus $150 in exchange fees, your basis is $15,150. Basis does not change merely because the market price fluctuates. It is locked in at purchase.
If you received crypto through mining, staking, airdrops, or gifts, the basis is different:
- Mined or earned crypto: basis is the fair market value on the date received
- Gifted crypto: basis is the donor's basis (carry-over basis), unless the coin has since declined below the donor's basis, in which case your basis is the lower fair market value
- Airdropped tokens: basis is the fair market value on receipt
When you spend or sell, you must identify which coins you sold. If you bought Bitcoin three times at different prices, which specific purchase are you liquidating? The IRS allows three methods:
- Specific identification: you explicitly choose which coins to sell (usually minimizes tax)
- FIFO (First In, First Out): you sell the oldest coins first (often results in larger gains if the market has risen)
- Average cost: you divide total basis by total units (middle ground)
Many investors use specific identification to minimize taxable gains in a given year. For example, if you bought Bitcoin at $20,000, $40,000, and $50,000, and you need to sell 1 Bitcoin, you might specifically identify the $50,000 purchase to minimize the year's gain.
Holding period and tax rate
The IRS taxes capital gains at different rates depending on how long you held the asset:
- Short-term capital gains (<12 months): taxed as ordinary income at your marginal tax rate (up to 37% at the federal level, plus state and NIIT surtax, potentially >50% for high earners)
- Long-term capital gains (>12 months): taxed at preferential rates of 0%, 15%, or 20% depending on your taxable income
As of the mid-2020s, long-term rates apply to single filers with:
- 0% rate: under ~$47,000
- 15% rate: $47,000 to ~$518,000
- 20% rate: above ~$518,000
Holding crypto for just over 12 months can slash your tax bill. A $100,000 gain held short-term at a 37% rate costs $37,000. The same gain held long-term at 15% costs $15,000—a savings of $22,000.
Calculating gains for a real-world scenario
Imagine you bought 2 Bitcoin in two tranches:
- June 2022: 1 BTC at $20,000 (basis: $20,000)
- August 2023: 1 BTC at $30,000 (basis: $30,000)
In September 2024 (after holding both for >12 months), Bitcoin trades at $60,000 per coin. You sell 1 Bitcoin. Using specific identification, you choose to sell the August 2023 purchase (the higher-basis coin):
- Fair market value at sale: $60,000
- Adjusted cost basis: $30,000
- Capital gain: $30,000
- Holding period: 13 months (long-term)
- Tax owed: $30,000 × 15% = $4,500 (assuming 15% LTCG rate applies)
If you had used FIFO, you would have sold the June 2022 purchase instead:
- Fair market value: $60,000
- Cost basis: $20,000
- Capital gain: $40,000
- Tax owed: $40,000 × 15% = $6,000
By choosing which coin to sell, you saved $1,500 in taxes.
Understanding fair market value on sale
The fair market value at the time of spending is critical. If you sell crypto on an exchange, the sale price is your fair market value. If you spend crypto for goods or services, you must determine the fair market value of the crypto on that date, even if you don't receive fiat currency.
For example, if you spend 1 Bitcoin to buy a car in a peer-to-peer transaction:
- The car's value is one data point
- The Bitcoin's market price on that date is another
Use the crypto's market price. If Bitcoin traded at $58,000 on the date of the transaction and you spent 1 Bitcoin on a $58,000 car, your fair market value is $58,000.
If no reliable price exists for a small or illiquid token, use the best available evidence: the price on a major exchange closest to the transaction date, the price of a comparable asset, or a professional appraisal.
Flowchart: Calculating Your Capital Gain
Real-world examples
Example 1: Day-trading altcoins Sarah bought 1,000 Ethereum tokens on February 14, 2024, at $2.50 each ($2,500 total). On March 10, 2024, Ethereum surged to $4.00 per token. Sarah sold all 1,000 tokens for $4,000. Her taxable gain is $1,500. Because she held for fewer than 12 months (24 days), it's a short-term gain taxed at her ordinary income rate of 24% (FICA + federal + state). She owes $360 in taxes.
Example 2: Long-term staking and partial sale Marcus bought 5 Ethereum at an average cost of $1,800 each in March 2023 ($9,000 total). He also earned 0.2 ETH through staking, with a basis of $300 (fair market value on receipt in June 2023). By January 2025, Ethereum trades at $3,100. Marcus sells 2 ETH to fund a down payment. Using specific identification, he sells:
- 1 ETH from the March 2023 purchase: FMV $3,100, basis $1,800, gain $1,300
- 1 staked ETH: FMV $3,100, basis $300, gain $2,800
- Total gain: $4,100; taxed at 15% long-term rate = $615
Example 3: Crypto-to-crypto swap Priya swapped 10 Bitcoin for 100,000 Ethereum on July 2024. Bitcoin traded at $62,000 per coin ($620,000 total). Her basis in the Bitcoin was $280,000 (she bought it in stages over 2021–2023, and all purchases exceeded 12 months). The taxable gain is $340,000. Even though she didn't receive fiat currency, the IRS treats the Ethereum received as boot (replacement property), and the gain is realized at the fair market value of the Bitcoin given up.
Common mistakes
Mistake 1: Assuming crypto-to-crypto trades are tax-free. Many investors believe that exchanging Bitcoin for Ethereum without touching fiat currency is a non-taxable swap. It is not. The IRS taxes the gain based on the fair market value of the Bitcoin given up (or the Ethereum received, whichever is more reliable). Failure to report this gain is a serious compliance error.
Mistake 2: Using FIFO without checking your positions. FIFO is the default if you don't specify, and it often generates the largest taxable gains in a bull market. If you have bought repeatedly at rising prices and then sold, FIFO may trigger more tax than specific identification. Always review your purchase history before selling and confirm whether specific identification makes sense.
Mistake 3: Forgetting to include transaction fees in basis. When you buy crypto on an exchange that charges 0.5% per transaction, that fee is part of your basis, not a separate deduction. If you buy 1 Bitcoin at $50,000 and pay $250 in exchange fees, your basis is $50,250. Neglecting this overstates your gain.
Mistake 4: Selling to cover losses elsewhere. Some investors sell crypto at a loss to harvest the tax loss, hoping to offset gains in other securities. This is legitimate (like tax-loss harvesting in stocks), but only if you don't immediately buy the same crypto back within 30 days of the sale. The wash-sale rule can apply, and violating it disallows the loss deduction. Wait at least 31 days.
Mistake 5: Misrecording the date of disposal. If you sold crypto on December 28, 2024, it is taxable in 2024, not 2025. If you buy and sell on the same day, it is short-term. Confusing the tax year or holding period by even a day can result in filing errors, penalties, and interest. Use your exchange statement or blockchain records to confirm dates.
FAQ
Can I use tax-loss harvesting with crypto?
Yes. If you sell crypto at a loss, you can deduct that loss against capital gains and up to $3,000 of ordinary income per year (with carryforward of excess losses). However, the wash-sale rule may limit the deduction if you buy the same or "substantially identical" crypto within 30 days before or 30 days after the sale. Trading Bitcoin for Ethereum likely avoids the wash-sale rule, but buying the same Bitcoin back within 30 days triggers it.
What if I don't know the fair market value of an old transaction?
Use your best evidence: the exchange price on that date (check historical price data on CoinMarketCap, Coinbase, or Kraken), or if the exchange is defunct, cross-reference with multiple public sources. If you genuinely cannot determine a price, document what you tried and be prepared to explain it to the IRS. It's better to estimate conservatively and support it with evidence than to guess carelessly.
If I spent crypto on a purchase and never received a receipt, can I deduct the basis?
No. Even if you can't prove the purchase price of the good or service you bought, you still realize a capital gain based on the crypto's fair market value on the sale date. You cannot eliminate the gain by lacking a receipt for the transaction. However, the receipt for the original crypto purchase is essential; maintain exchange statements, blockchain records, or transaction confirmations.
Do I owe tax if the crypto I spent later dropped in value?
Yes. Your tax is based on the fair market value at the time of spending, not on future price movements. If you spent Bitcoin at $60,000 and it later fell to $40,000, you already realize the gain or loss at $60,000. Future price changes are irrelevant to that transaction's tax treatment.
How do I report multiple crypto sales on my tax return?
Report each sale on Form 8949 (Sales of Capital Assets) and transfer the totals to Schedule D. List the dates acquired and sold, the fair market value, your basis, and the gain or loss. If you have more than a few sales, your tax software (e.g., TurboTax, TaxAct) can import your exchange statements; manually verify the data before filing.
Should I use software to track my crypto taxes?
Yes. Services like Koinly, CoinTracker, and Accointing integrate with exchanges and wallets to auto-populate trades, airdrops, and fees. They calculate gains using your chosen method (FIFO, LIFO, average cost, or specific ID) and generate IRS-ready forms. The fee (typically $100–$300 per year) is well worth the accuracy and time saved, especially if you have dozens of transactions.
What if I can't prove I used specific identification before the sale?
The IRS favors specific identification if you can document it, but requires contemporaneous evidence. When you sell, your exchange statement should show which specific coins you identified. If you later try to claim specific identification without contemporaneous records, the IRS may deny it and default to FIFO, which could increase your tax. Always confirm your method with your broker before executing the sale.
Related concepts
- Short-Term vs. Long-Term Capital Gains
- Tax-Loss Harvesting Strategies
- Mining Income Taxation
- Staking Rewards Taxation
- DeFi and Taxes
- Crypto Losses and Harvesting
Summary
When you spend, sell, or trade cryptocurrency, you realize a taxable capital gain or loss equal to the fair market value of the crypto on the sale date minus your adjusted cost basis. Long-term holdings benefit from preferential tax rates, while short-term gains face ordinary income tax. Identifying which specific coins you sold—via specific identification, FIFO, or average cost—is critical to computing the correct gain. Detailed record-keeping of purchase dates, amounts, and fair market values is non-negotiable; the IRS scrutinizes crypto transactions closely. As tax rules evolve, confirm current figures with the IRS or a qualified tax professional.