Cost Basis 101May 2, 2026

Specific Identification: The Advanced Cost Basis Method Most Crypto Traders Overlook

Most traders let their software default to FIFO without realizing they can choose exactly which coins they sell. Specific identification can legally reduce your crypto tax bill.

Most crypto traders never give their cost basis a second thought until tax season — at which point they let their software default to FIFO and move on. That default can cost hundreds or thousands of dollars in unnecessary tax. There's a more precise method that gives you granular control over exactly which coins you sell: specific identification. It's the method most traders overlook, and understanding it is one of the highest-leverage moves available to anyone actively trading crypto.

What Is Cost Basis in Crypto, and Why Does It Matter?

Your cost basis is what you paid for a crypto asset — including the purchase price plus any associated acquisition fees. When you dispose of that asset (by selling, swapping, or spending it), your taxable gain or loss is the difference between what you received and your cost basis. This flows from a fundamental principle of tax law: under IRC §1001, gain or loss on a property disposition equals the amount realized minus the adjusted basis.

Tax authorities in most jurisdictions treat cryptocurrency as property. The IRS established this for US taxpayers in Notice 2014-21, and similar property treatment applies across Australia, the UK, and most of the EU. That means every disposal — whether a sale, a token swap, or paying for something in crypto — is a taxable event, and the cost basis method you choose determines the gain you report.

The method becomes especially important when you've bought the same coin multiple times at different prices. Which purchase lot are you selling? The answer isn't automatic, and the choice can meaningfully shift your tax outcome.

The Default Methods: FIFO, LIFO, and HIFO

Most crypto tax tools offer several accounting methods:

  • FIFO (First In, First Out): You sell your oldest coins first. It's simple and widely accepted, but in a rising market it tends to produce larger gains because older lots typically carry the lowest cost basis.
  • LIFO (Last In, First Out): You sell your newest coins first. This can reduce gains in falling markets, but LIFO is not accepted by all tax authorities for crypto — check your jurisdiction before using it.
  • HIFO (Highest In, First Out): You sell the highest-cost lots first, minimising the spread between cost and proceeds. A popular optimisation for traders who want a blanket rule that generally reduces gains.

All three are assumed rules applied mechanically across your entire portfolio. Specific identification breaks that mould: you designate, lot by lot, exactly which coins you're selling.

What Is Specific Identification — and Does the IRS Allow It?

Specific identification lets you choose exactly which purchase lot you're disposing of at the moment of each transaction. Instead of following a blanket rule, you identify a particular acquisition — "the 0.5 ETH I bought on 10 January at $3,200" — and declare that as the unit being sold.

The IRS FAQ on Virtual Currency Transactions explicitly permits this: if you can specifically identify which unit of virtual currency you are selling, exchanging, or otherwise disposing of, you may use specific identification to calculate your gain or loss. The critical caveat is that the identification must be made at the time of the transaction — not reconstructed after the fact.

IRS Publication 551 provides the broader framework: the basis of an asset acquired by purchase is the cost paid, and adequate identification of the specific asset being disposed of is required to use this method. The recordkeeping bar is high, but the tax flexibility it unlocks is substantial.

A Practical Example: Why the Method Matters

Suppose you hold Ethereum purchased across three lots:

  • Lot A: 1 ETH bought at $1,500 — held over 12 months (long-term)
  • Lot B: 1 ETH bought at $3,200 — held over 12 months (long-term)
  • Lot C: 1 ETH bought at $2,600 — held 6 months (short-term)

You sell 1 ETH today at $4,000. The taxable outcome under each method:

  • FIFO (Lot A): $4,000 − $1,500 = $2,500 long-term gain
  • HIFO (Lot B): $4,000 − $3,200 = $800 long-term gain
  • Specific ID (Lot C): $4,000 − $2,600 = $1,400 short-term gain

In this scenario, HIFO produces the smallest gain in absolute dollar terms. But notice that Lot C — despite a middling basis — generates a short-term gain taxed at ordinary income rates (up to 37% in the US), while Lots A and B both qualify for preferential long-term rates. Specific identification lets you weigh both the size and the character of the gain simultaneously. That's a level of precision no blanket rule can match.

The difference between FIFO and HIFO here is $1,700 in reportable gain. At a 20% long-term capital gains rate, that's $340 in tax on a single trade. Across dozens of trades over a year, the impact compounds. Tools like Defitax support multiple accounting methods so you can model this impact before committing to a filing position.

The Holding Period Dimension

Specific identification's second superpower is holding period management. In most jurisdictions, assets held longer than a defined threshold attract lower tax rates or preferential treatment — 12 months in the US and Australia, for example. By choosing which lot to sell, you can sometimes convert a short-term disposal into a long-term one (by selecting an older lot), or vice versa if you want to realise a loss while keeping a long-held position intact.

This intersects directly with tax-loss harvesting: selecting the lot with the highest cost basis to crystallise a loss — which you can then use to offset gains elsewhere in your portfolio — is one of the most practical applications of specific identification for active DeFi traders.

How Specific Identification Works Across Jurisdictions

The method isn't universally available, and this is where traders using international platforms often get tripped up.

United Kingdom: HMRC takes a fundamentally different approach. Under the HMRC Cryptoassets Manual, crypto assets are subject to share pooling rules — all acquisitions of the same token are pooled into a blended average cost (the "Section 104 pool"). Specific identification as practised in the US does not apply in the same way. There are ordering rules — same-day disposals are matched first, then acquisitions within the 30 days following a disposal — but these serve an anti-avoidance purpose rather than enabling lot-level optimisation.

Australia: The ATO's crypto guidance allows specific identification if you can adequately identify individual units. Australian traders holding assets for more than 12 months also benefit from a 50% CGT discount, making specific identification especially useful for selecting long-held lots over recently acquired ones when disposing.

United States: Specific identification is explicitly permitted under IRS guidance, subject to adequate contemporaneous documentation — as described above.

EU and other jurisdictions: Treatment varies widely. The DAC8 framework is adding new reporting obligations across the EU from 2026 onward, which may affect how exchanges report and how traders must track cost basis. Always consult local guidance.

Do Gas Fees Affect Your Cost Basis?

Yes — and this is a detail that quietly erodes accuracy for many traders. Transaction fees paid to acquire an asset are generally added to its cost basis. Under the cost basis principles in IRS Publication 551, the cost of an asset includes amounts paid to obtain it. If you spent $3,200 to buy 1 ETH and paid $18 in gas, your cost basis is $3,218 — not $3,200. That higher basis reduces your eventual gain dollar for dollar.

Fees incurred on disposal can similarly reduce your amount realised (proceeds minus selling costs). Properly capturing gas fees across hundreds of on-chain transactions — swaps, LP deposits, bridge transfers — is one of the most tedious aspects of DeFi tax reporting, and it's where accurate lot-level tracking software pays for itself. Our Ethereum tax guide covers gas fee treatment in detail, including how to handle failed transactions.

The Record-Keeping Requirement: Why Most Traders Skip This

The reason most traders default to FIFO or HIFO isn't that those methods are inherently better — it's that specific identification demands contemporaneous documentation that most people don't maintain. According to IRS guidance, the identification must exist at the time of the transaction. You cannot look back at your trades in April and retroactively assign lots to minimise your tax bill.

Adequate documentation generally includes:

  1. The date, time, and price of each acquisition (per lot)
  2. The quantity acquired in each lot
  3. The exchange, wallet, or protocol where each lot is held
  4. A record — made at the time of disposal — explicitly identifying which lot is being sold

For active traders executing dozens of transactions per week across Ethereum, Solana, Base, Arbitrum, or other chains, maintaining lot-level records manually is not realistic. This is precisely where purpose-built crypto tax software earns its keep: automated ingestion of on-chain data, per-lot basis tracking across wallets, and audit-ready records that support specific identification if your filing is ever reviewed.

Specific Identification vs. HIFO: Which Should You Use?

In many everyday scenarios, HIFO produces a similar result to optimised specific identification — it automatically selects the highest-basis lots. The key difference is flexibility. HIFO is a blanket rule; specific identification is a scalpel. You might prefer specific identification when:

  • A lower-basis lot has been held for over 12 months (qualifying for long-term rates) while a higher-basis lot is short-term — making the lower-basis lot the better disposal candidate on a net after-tax basis
  • You want to realise a gain in a low-income year to absorb it at a lower marginal rate, rather than defer a potentially larger gain
  • You're harvesting a specific loss to offset a large capital gain from another asset class
  • You want to preserve low-basis lots for charitable donation (where the full fair market value is deductible with no capital gains recognition in many jurisdictions)

For most retail traders, HIFO is a solid, defensible default. For higher-volume traders or those with complex multi-chain portfolios, specific identification — backed by reliable tooling — offers meaningful additional room to optimise.

Key Takeaways

  • Specific identification gives you lot-level control over both the size and character of your gains — something no blanket rule (FIFO, LIFO, HIFO) can match.
  • The IRS explicitly permits it for US taxpayers, but requires contemporaneous documentation; you cannot reconstruct the identification after filing.
  • UK traders operate under share pooling rules and generally cannot apply specific identification in the same way; Australian and most other jurisdictions allow it with adequate records.
  • Gas fees and acquisition costs should always be added to your cost basis — they reduce your eventual gain on disposal.
  • Holding period awareness multiplies the benefit — choosing long-held lots can shift gains from ordinary income rates to preferential long-term rates.
  • Without software that tracks per-lot basis across wallets and chains, specific identification is impractical and potentially an audit risk for active traders.

Sources

  1. https://www.irs.gov/pub/irs-drop/n-14-21.pdf
  2. https://www.irs.gov/individuals/international-taxpayers/frequently-asked-questions-on-virtual-currency-transactions
  3. https://www.irs.gov/publications/p551
  4. https://www.irs.gov/publications/p544
  5. https://www.law.cornell.edu/uscode/text/26/1001
  6. https://www.gov.uk/hmrc-internal-manuals/cryptoassets-manual
  7. https://www.ato.gov.au/individuals-and-families/investments-and-assets/crypto-asset-investments

This article is for informational purposes only and does not constitute legal, tax, or financial advice. Defitax is not a law firm, CPA, or licensed tax advisor. Always consult a qualified tax professional before making decisions based on this content.

Related Articles