Cost Basis
Cost basis is the original purchase price of a cryptocurrency asset, used to calculate capital gains or losses when the asset is sold or traded.
Key Takeaways
- Cost basis is the original acquisition cost of a cryptocurrency asset, including any transaction fees paid at the time of purchase. It determines the taxable gain or loss when the asset is sold or traded.
- The IRS allows two primary methods for identifying which tax lot you sold: FIFO (first in, first out) as the default, and specific identification. Choosing the right method can significantly affect your tax liability.
- Strategies like dollar-cost averaging create multiple tax lots at different cost bases, making accurate record-keeping essential for compliance and tax optimization.
What Is Cost Basis?
Cost basis is the original value of an asset for tax purposes, typically the purchase price plus any fees incurred during acquisition. In cryptocurrency, cost basis represents the USD value of a digital asset at the time you acquired it, whether through a purchase, trade, mining reward, or airdrop. When you later sell or exchange that asset, the difference between the sale price and your cost basis determines your capital gain or loss.
The IRS classifies digital assets as property under Notice 2014-21, meaning the same cost basis principles that apply to stocks, real estate, and other property also apply to Bitcoin, stablecoins, and every other cryptocurrency. This classification means every disposition of crypto is a taxable event that requires cost basis tracking.
How It Works
Calculating cost basis for a single buy-and-sell transaction is straightforward: subtract what you paid from what you received. The complexity arises when you hold multiple lots of the same asset purchased at different times and prices. The IRS requires you to identify which specific lot you are selling, and the method you use determines your taxable outcome.
Accounting Methods
Under the 2024 final regulations (26 CFR 1.1012-1(j)), the IRS permits two primary approaches for cryptocurrency:
- FIFO (First In, First Out): the default method. The earliest-purchased units are treated as the first ones sold. This is automatic if you do not elect a specific identification method.
- Specific Identification: you designate exactly which lot you are selling at or before the time of the transaction. This gives you the most control over your tax outcome. Strategies like LIFO (last in, first out) and HIFO (highest in, first out) are lot-selection strategies within specific identification, not standalone IRS methods.
Unlike equities, average cost is not accepted for cryptocurrency. Each purchase creates a distinct tax lot with its own basis and holding period.
Per-Wallet Tracking
Starting January 1, 2025, the IRS requires wallet-by-wallet, account-by-account basis tracking. Under Revenue Procedure 2024-28, the prior practice of aggregating cost basis across all wallets and exchanges (the "universal" method) is no longer permitted. Each wallet or exchange account maintains its own pool of tax lots, and you can only apply specific identification to units within the same account.
Practical Example
Consider three purchases of Bitcoin over the course of a year:
Purchase 1 (January): 0.5 BTC at $30,000 = $15,000 basis
Purchase 2 (April): 0.5 BTC at $40,000 = $20,000 basis
Purchase 3 (August): 0.5 BTC at $35,000 = $17,500 basis
Sale (December): Sell 0.5 BTC at $50,000 = $25,000 proceeds
Under FIFO (default):
Sold lot = Purchase 1 (earliest)
Gain = $25,000 - $15,000 = $10,000 long-term gain
Under Specific ID (choosing Purchase 2):
Sold lot = Purchase 2
Gain = $25,000 - $20,000 = $5,000 short-term gainThe choice of method affects both the gain amount and whether it qualifies as long-term (held over one year, taxed at lower rates) or short-term (taxed as ordinary income). In this example, FIFO produces a larger gain but at a lower tax rate, while specific identification of Purchase 2 produces a smaller gain taxed at higher rates. The optimal choice depends on your overall tax situation.
Cost Basis in Special Scenarios
Dollar-Cost Averaging
Dollar-cost averaging (DCA) involves making regular purchases at fixed intervals regardless of price. A weekly $100 Bitcoin purchase over one year creates 52 separate tax lots, each with a unique cost basis and acquisition date. When you sell, the accounting method you choose determines which of those 52 lots is being disposed of.
This is where tracking software becomes essential. Manually computing gains across dozens or hundreds of lots is impractical, and errors can trigger IRS penalties.
Hard Forks and Airdrops
Under Revenue Ruling 2019-24, tokens received from an airdrop following a hard fork are treated as ordinary income at fair market value (FMV) when the taxpayer has dominion and control over the new tokens. The cost basis in those new tokens equals the FMV at the time of receipt.
A hard fork that does not result in new tokens reaching the taxpayer creates no income and no new cost basis. No basis from the original asset transfers to the forked asset.
Crypto-to-Crypto Trades
Every crypto-to-crypto swap is a taxable disposition. If you trade Bitcoin for Ethereum, you must calculate the gain or loss on the Bitcoin using its cost basis, and the Ethereum you receive has a new cost basis equal to its FMV at the time of the trade. There is no like-kind exchange exemption for cryptocurrency: the IRS clarified that Section 1031 like-kind exchanges apply only to real property after the Tax Cuts and Jobs Act of 2017.
DeFi Interactions
DeFi introduces additional cost basis complexity. Providing liquidity to a liquidity pool may constitute a taxable exchange of the deposited tokens. Wrapping tokens (such as converting BTC to wrapped Bitcoin) may also trigger recognition, though the IRS has not issued definitive guidance on all scenarios. Staking rewards are generally treated as ordinary income at FMV when received, establishing a new cost basis at that value.
Reporting Requirements
Taxpayers report cryptocurrency gains and losses on Form 8949 (Sales and Other Dispositions of Capital Assets), which feeds into Schedule D of the individual tax return. Each transaction requires the date acquired, date sold, proceeds, cost basis, and resulting gain or loss.
Starting in 2025, cryptocurrency brokers and exchanges began issuing Form 1099-DA for gross proceeds from digital asset sales. Mandatory cost basis reporting on 1099-DA begins for assets acquired on or after January 1, 2026, that are held continuously at a single broker. For a deeper look at crypto reporting obligations, see our stablecoin accounting and tax guide.
Why It Matters
Accurate cost basis tracking is not optional: it is a legal requirement. Underreporting gains can result in IRS penalties, interest, and in extreme cases, criminal prosecution. But beyond compliance, understanding cost basis enables tax optimization. Choosing the right lot to sell can mean the difference between a long-term capital gains rate (0%, 15%, or 20% depending on income) and a short-term rate that matches your ordinary income bracket (up to 37%).
For users of Bitcoin Layer 2 solutions like Spark, cost basis applies to every on-chain and off-chain transaction. Moving Bitcoin into a Layer 2 protocol does not reset or eliminate cost basis: the original acquisition cost carries through. Understanding this ensures accurate reporting when you eventually sell or exchange the asset.
Record-Keeping Best Practices
- Track every acquisition: record the date, amount, USD price, and fees for every purchase, trade, airdrop, or mining reward
- Choose your accounting method early: switching methods mid-year creates complexity and may not be permitted retroactively
- Use dedicated tracking software: tools like CoinTracker, Koinly, or TaxBit can import exchange data, calculate cost basis across methods, and generate Form 8949 reports
- Maintain records per wallet: under the 2025 per-wallet tracking rule, keep separate records for each exchange account and self-custody wallet
- Export transaction history regularly: exchanges can shut down, lose data, or restrict access, so maintain your own copies of all trade histories
Risks and Considerations
Incomplete Records
If you cannot establish the cost basis of an asset, the IRS may treat it as zero, meaning the entire sale price becomes a taxable gain. This is particularly common with assets acquired years ago on now-defunct exchanges or through peer-to-peer transactions without documentation.
Cross-Border Complexity
Tax treatment of cost basis varies by jurisdiction. Taxpayers in multiple countries may need to track cost basis under different rules simultaneously. Some jurisdictions use average cost, others use FIFO, and some have no capital gains tax on crypto at all.
Rapidly Evolving Regulations
The IRS continues issuing new guidance on digital asset taxation. The 2024 final regulations significantly changed basis tracking rules, and the introduction of Form 1099-DA is creating new reporting obligations. Staying current with regulatory changes is essential, as rules that applied in prior tax years may no longer be valid.
DeFi Ambiguity
Many DeFi interactions lack clear IRS guidance. Yield farming, liquidity provision, token wrapping, and cross-chain bridging all create potential taxable events, but the exact treatment remains uncertain. Conservative taxpayers track every interaction as a disposition, while others take more aggressive positions. IRS Notice 2024-57 temporarily excluded many DeFi platforms from broker reporting requirements, but taxpayers must still self-report all transactions.
This glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.