Crypto Cost Basis Methods: FIFO, LIFO, HIFO and Specific ID
By Chameleon AI · Updated 7 November 2026
Your cost basis method can change your crypto tax bill by more than 30% on the same trades. Not through a loophole — because you sold some Bitcoin, and the law lets you decide which Bitcoin you sold.
Most people never make that decision. Their software picks FIFO on import, the number appears, and they file it. That silent default is the most expensive line item in crypto tax.
Why the method changes your bill
Buy the same coin on several dates and you own several parcels (lots), each with its own cost base and acquisition date. Selling part of your holding means deciding which parcel leaves the wallet, and that sets two things:
- Your gain. Sale price minus the cost base of the parcel sold.
- Whether you get a long-term discount. Australia's 50% CGT discount needs a 12-month hold; US long-term rates need over a year.
Those pull in opposite directions: an old, cheap parcel gives a bigger gain that qualifies for the discount, while a recent, expensive parcel gives a smaller gain at the short-term rate. So the question is never "which method is best" — it is "which is best for this disposal, this year, at my marginal rate".
The four methods in plain English
FIFO: First In, First Out
The oldest parcel is sold first. In a rising market your oldest parcels are usually cheapest, so FIFO produces the largest gains while maximising discount eligibility. It is the software default and the easiest to defend.
LIFO: Last In, First Out
The newest parcel is sold first. It often carries the highest cost base, so the gain is smaller — but recent parcels frequently fail the 12-month test, trading a smaller gain for a worse rate.
HIFO: Highest In, First Out
The most expensive parcel goes first, regardless of date, producing the smallest possible gain. HIFO is not a distinct legal method anywhere; it is specific identification with a fixed selection rule. That distinction is where the US and Australia part company.
Specific ID: you name the parcel
You nominate the exact parcel per disposal: match a loss against a gain, or pick a parcel held past 12 months for the discount. Most demanding too, since it only works if you identified the parcel at the time and can prove it.
The same trades, four different bills
One sale, four methods, four outcomes. Figures are invented and rounded to show structure only. You bought 1 BTC in three parcels, then sold 1 BTC for $100,000.
| Parcel | Bought | Cost | Held 12m+? |
|---|---|---|---|
| A | Jan 2024 | $30,000 | Yes |
| B | Jun 2025 | $60,000 | Yes |
| C | Feb 2026 | $90,000 | No |
| Method | Sells | Gain | Effect |
|---|---|---|---|
| FIFO | A | $70,000 | Largest gain, 50% AU discount |
| LIFO | C | $10,000 | Smallest gain, no discount |
| HIFO | C | $10,000 | Ties with LIFO here |
| Specific ID | B | $40,000 | Middle gain, discount applies |
FIFO gives $70,000; Specific ID gives $40,000. After the 50% discount that is $35,000 versus $20,000 of taxable gain — a $15,000 difference from a decision most people never make. LIFO and HIFO tie here because the newest parcel is also the dearest; they diverge when you bought at a peak and prices fell.
Run your own numbers before you file
This is exactly the calculation the Crypto Tax Tracker automates. It applies FIFO, LIFO, HIFO and Specific ID to your own transaction history, supports ATO and IRS rules, and shows you the difference between methods side by side — so you can see the number before you commit to it. It runs entirely in your browser: no account, no upload, your trade history never leaves your machine. $49 one-time.
What the US requires
The US position is clearer because it was recently rewritten. Final regulations changed basis identification for assets acquired or transferred on or after 1 January 2025. Pooled universal wallet accounting is gone; basis is now tracked within each wallet or account, so a cheap parcel in one exchange cannot offset a sale in another.
For anything held on 1 January 2025, Rev. Proc. 2024-28 provides a safe harbor for allocating that pre-2025 basis into your wallets. It has a deadline tied to your 2025 return and is irrevocable once made — if you held crypto across several exchanges before 2025, this is the piece most likely left undone.
Within a wallet you can still choose FIFO, HIFO or specific identification, but it must be recorded properly and, for specific ID, made in time. With none identified, the default is FIFO.
What the ATO accepts
Australia has no crypto-specific cost basis rule, and that is the key point. Crypto is a CGT asset and each parcel is separate, but the ATO has published no list of permitted parcel-selection methods.
The closest guidance is the long-standing position for identical shares in Taxation Determination TD 33: if you can identify the units disposed of, that identification is used; if you cannot, FIFO is accepted as reasonable. Averaging costs is generally not acceptable. Applied to crypto that gives three tiers:
- FIFO — safe, accepted, least likely to be questioned.
- Specific identification — accepted, provided records show which parcel you sold and the decision was made at the time, not reconstructed to suit the result.
- HIFO and LIFO — not separately approved. They stand up only as specific identification with a fixed rule, and carry a higher chance of challenge because the pattern looks optimised.
Two hard limits apply regardless. Each parcel can only be disposed of once, so records must track what remains. And the selection must be supportable from records if reviewed — re-picking parcels afterwards is what turns a legitimate choice into a problem. The conservative path is FIFO, or specific identification documented as you go; for HIFO, ask a registered tax agent first.
Why your 1099-DA disagrees with your own records
If your broker's Form 1099-DA shows a gain that looks nothing like yours, you are not necessarily wrong. Brokers report on a first-in, first-out basis for lots they cannot identify, and they lack what you have: coins transferred in from another exchange, the true acquisition date, the original cost. Missing basis is commonly reported as zero, turning the entire proceeds into gain.
Hence a common, unpleasant surprise: someone who moved coins between exchanges for years gets a 1099-DA showing a large gain when their real gain was modest or a loss. Reconstruct your own basis from your full history and report your figures with evidence. You may disagree with your broker; you may not do it without evidence.
How to choose, and how to document it
There is no universally correct answer. Work through these:
- Know your jurisdiction's tolerance. US: FIFO, HIFO, specific ID within a wallet. Australia: FIFO or documented specific ID; HIFO and LIFO contested.
- Know your holding periods. A parcel under 12 months may miss the discount entirely.
- Know your marginal rate this year and next. Shifting a gain between years often beats shifting it between parcels.
- Check your losses. Matching realised losses against the highest gain is usually efficient, and specific ID lets you do it deliberately.
- Be consistent. Consistency makes a choice defensible; opportunistic switching looks like avoidance.
The documentation is unglamorous: for each disposal, the date, asset, quantity, proceeds and which parcel left; for each parcel, acquisition date, quantity, cost in local currency and fees; a written statement of the method and the date adopted; and evidence the identification happened at the time — a trade note, a timestamped record or a standing instruction.
Switching methods safely
Changing method is allowed, but it is where careful people get hurt. In the US some changes require consent, and a pre-2025 allocation under Rev. Proc. 2024-28 is irrevocable. In Australia a change needs a clear effective date and a note of why.
In both, the arithmetic constraint is the same: each parcel can only be disposed of once. Whatever remains unsold under the old method must be exactly what you open with under the new one. If your software recalculates and the closing position does not reconcile, you have created a discrepancy that surfaces later.
Change at a clean boundary, usually the start of a tax year, and keep both reports.
A records checklist
- Export the full history from every exchange and wallet, including closed accounts.
- Include transfers between your own wallets — not disposals, but how basis gets lost.
- Record the local-currency value at the time of each transaction, not a later conversion.
- Capture fees, including those deducted from the asset received.
- Decide your method deliberately, write it down, date it.
- For every disposal, note which parcel left and why.
- Reconcile the year-end closing position to next year's opening.
- Keep records at least five years after the return.
Do this once, properly
Cost basis is the foundation of every crypto tax figure you will ever report. Getting it right once means every future year is a reconciliation instead of an investigation. The Crypto Tax Tracker applies all four methods to your own history, compares the outcomes, exports a Form 8949-compatible CSV and a printable CGT summary, and never sends your data anywhere. $49 one-time, 14-day money-back guarantee.
More on this topic: Crypto tax guides and tools
Frequently asked questions
What is the default cost basis method for crypto?
In the US, brokers and tax software generally default to FIFO when no method is specified. In Australia there is no crypto-specific default, but FIFO is accepted as a reasonable basis and is what most software applies. The default is a convenience, not a rule you are stuck with.
Is HIFO legal for crypto tax?
In the US, yes. HIFO is one ordering you can choose under the per-wallet identification rules, provided you record the identification properly. In Australia it is less settled: HIFO is not a separately approved method, and it only holds up as specific identification supported by records made at the time. Ask a registered tax agent before relying on it.
Can I switch cost basis methods between years?
You can change, but you need a clear effective date, a note of why, and a correct opening position. In the US a change of method can require permission depending on the change. Each parcel can only be disposed of once, so the closing lots under the old method must be the opening lots under the new one.
Does the US require wallet-by-wallet cost basis?
Yes. Under final regulations effective for digital assets acquired or transferred on or after 1 January 2025, basis is tracked and identified within each wallet or account. Rev. Proc. 2024-28 provides the safe harbor for allocating basis held before that date.
Why do my numbers not match my exchange's 1099-DA?
Brokers report on a first-in, first-out basis for lots they cannot identify, and they often lack your transfer history and true acquisition dates. A missing basis is usually reported as zero, which overstates the gain. Reconstruct your own basis and report it; you are not required to accept the broker's figures.
Is this article tax advice?
No. It is general information about published rules. Confirm your own situation with a registered tax agent or CPA and check the current ATO or IRS guidance before you file.
Sources and last updated
Last updated: 7 November 2026. Laws and guidance change, so check the latest versions.
- IRS Rev. Proc. 2024-28: allocating basis in digital assets to wallets or accounts as of 1 January 2025
- IRS: final regulations and guidance for broker reporting on digital assets
- ATO: how to work out and report CGT on crypto
- ATO Taxation Determination TD 33: identification of shares or units disposed of (applied by analogy to crypto)
- Australian Taxation Office and Internal Revenue Service for current guidance
Read next: Staking and airdrop tax: the income you forgot to report