What Is Cost Basis in Crypto? Tax Guide (2026)
— By Tony Rabbit in Tutorials

What is cost basis in crypto? Learn how to calculate cost basis, compare FIFO, HIFO and Specific ID methods, and track records for 2026 taxes.
If you have ever sold, swapped, or spent a token, you have run into crypto cost basis whether you knew it or not. Understanding what is cost basis in crypto is the single most important step toward calculating your capital gains correctly and avoiding an inflated tax bill. This guide explains what cost basis is, what it includes, the accounting methods you can use, and the 2026 reporting rules every investor should know. This article is general information and not financial or tax advice; consult a qualified tax professional for your situation.
What Is Cost Basis in Crypto?
Cost basis is the original value of a digital asset for tax purposes. In simple terms, it is what you paid to acquire a coin or token, including the purchase price plus any fees you incurred to buy it (exchange fees, network or gas fees, and broker commissions). Your cost basis is the starting point for every taxable disposal.
When you sell, trade, or spend crypto, the tax authority looks at your capital gain or loss, which is calculated with a straightforward formula:
- Proceeds (what you received, minus selling fees) minus Cost Basis (what you paid, plus buying fees) = Capital Gain or Loss.
A higher cost basis means a smaller gain and a lower potential tax. A missing or understated cost basis can make a sale look far more profitable than it really was, so accurate records matter.
What Is Included in Cost Basis?
Cost basis is more than just the sticker price. The main components are:
- Purchase price: the amount you paid for the asset in your local currency at the time of acquisition.
- Acquisition fees: trading fees, commissions, and network or gas fees paid to complete the buy.
How you acquired the asset can also change the basis. Crypto received from an airdrop or a hard fork is generally treated as income at its fair market value when you gain control of it, and that same value typically becomes your cost basis going forward. Gifts and inherited crypto follow their own rules, which is another reason to keep detailed records.

How to Calculate Cost Basis for Crypto: Accounting Methods
When you hold multiple units of the same coin bought at different prices, you need a rule to decide which units you are selling. These are the crypto cost basis methods. For 2025 and 2026, the IRS recognizes two approaches: First In, First Out (FIFO) and Specific Identification. FIFO is the default if you do not properly document an alternative.
A common point of confusion: HIFO (Highest In, First Out) and LIFO (Last In, First Out) are not standalone IRS methods. They are lot-selection strategies applied within Specific Identification. To use them, you must identify the exact tax lot before the trade is executed, not after the fact.
| Method | How units are chosen | Typical effect |
|---|---|---|
| FIFO (default) | Oldest units sold first | Simple; in a rising market it often produces larger gains |
| Specific Identification | You pick the exact units (lots) sold | Most flexible; requires documentation before the trade |
| HIFO (within Spec ID) | Highest-cost units sold first | Tends to minimize the current gain |
| LIFO (within Spec ID) | Most recently bought units sold first | Effect depends on price trend and holding period |
A Simple Worked Example (Hypothetical Numbers)
Imagine you bought 1 unit of a token at 1,000 dollars and later another unit at 3,000 dollars. You then sell 1 unit for proceeds of 4,000 dollars. The method you choose changes your reported gain:
- FIFO: sells the 1,000-dollar unit first, so gain = 4,000 minus 1,000 = 3,000 dollars.
- HIFO (within Spec ID): sells the 3,000-dollar unit first, so gain = 4,000 minus 3,000 = 1,000 dollars.
Same sale, very different taxable gain. Just remember that you must apply a method consistently within each wallet or account during the year, and these are illustrative figures only.
The 2026 IRS Changes: Per-Wallet Basis and Form 1099-DA
Two big shifts affect how cost basis is tracked and reported. First, the IRS moved away from the old universal method, which let investors pool the same asset across every wallet. Starting with the 2025 tax year, you are expected to track cost basis on a per-wallet and per-account basis, treating each wallet or exchange account as its own pool of lots.
Second, brokers began issuing Form 1099-DA for digital asset sales. For 2025 transactions, brokers generally report gross proceeds, with the first of these forms arriving in early 2026. Cost basis reporting by brokers is scheduled to begin with transactions on or after January 1, 2026, meaning the first 1099-DA forms that include basis data are expected in early 2027.
There is an important gap to understand. Exchanges can only report basis for assets they held from purchase to sale. Coins bought before the rules took effect, or moved in from a self-custody wallet or another platform, are non-covered, which means the burden of proving your cost basis stays with you. Always verify the latest form names and effective dates on the official IRS site, since guidance can be updated.

How to Track Cost Basis
Good records are everything. For each acquisition and disposal you want the date, the asset, the quantity, the value in your local currency, and the fees. Practical ways to stay organized include:
- Export exchange and wallet history regularly so you do not lose data if a platform shuts down or restricts access.
- Use a crypto tax calculator or software that imports your transactions, applies a chosen method per wallet, and produces gain and loss reports.
- Reconstruct missing records on-chain when older history is incomplete. A platform like DEXTools is useful here: you can look up a token, review its trade history, and trace on-chain activity to pin down dates and approximate values for past swaps.
When you are dealing with decentralized exchange trades that no centralized broker will ever report, DEXTools can help you verify which token you actually received and when, so your reconstructed cost basis lines up with what really happened on the blockchain.
Common Cost Basis Mistakes
- Missing basis: reporting a sale with zero cost basis because you lost the purchase record, which overstates your gain.
- Mishandling transfers: treating a wallet-to-wallet move of your own coins as a sale. A transfer between your own wallets is generally not a taxable event, but it can break automated basis tracking if not labeled.
- Ignoring airdrops and forks: forgetting that these often create income and set a new basis equal to the value when received.
- Forgetting fees: leaving acquisition fees out of basis, which quietly inflates every future gain.
- Mixing methods: switching methods mid-year within the same account instead of applying one consistently.
Practical Tips
- Pick a method, document it, and apply it consistently per wallet for the year.
- Back up your transaction exports in more than one place.
- Reconcile your software output against your own records before filing.
- Keep notes on airdrops, forks, gifts, and transfers as they happen.
Cost basis is the foundation of accurate crypto taxes. Once you know what is included, how the accounting methods work, and how the 2026 per-wallet and 1099-DA rules apply, you can report gains correctly and keep more of what you earned. Stay organized, verify the current rules with the IRS, and lean on tools like DEXTools to fill record gaps when needed.
Related Guides
- What Is Basis Trade in Crypto? Explained (2026)
- Best Crypto Tax Tools (2026): Top Options Compared
- How to Check Buy and Sell Tax Before Buying a Token (2026)
- Crypto Tax Guide USA: IRS Rules, Forms and Filing Basics (2026)
- Crypto Tax Guide UK: HMRC Rules & Reporting (2026)
Frequently Asked Questions
What is cost basis in crypto?
Cost basis is the original value of a crypto asset for tax purposes, usually what you paid to acquire it plus related costs. It is used to calculate capital gains or losses when you sell or dispose of the asset.
How do you calculate cost basis?
Cost basis generally equals the purchase price plus any fees needed to acquire the asset. When you sell, your gain or loss is the proceeds minus the cost basis.
What are FIFO, HIFO, and Specific ID methods?
FIFO assumes the first units bought are the first sold, HIFO uses the highest cost units first, and Specific ID lets you choose which specific units are sold. The method chosen can change the reported gain or loss, subject to local rules.
Why is tracking records important for crypto cost basis?
Accurate records of purchase dates, amounts, prices, and fees are needed to calculate cost basis correctly. Good record keeping makes tax reporting easier and helps support your figures if questioned.