What are FIFO, LIFO, and HIFO, and how does this differ from the common assumption that "selling is just selling"?
Most investors intuitively assume that "selling 1 ETH" is a simple event — you sold it, and the gain or loss is obvious. But if you bought the same token in multiple batches at different prices, whoever is selling — the platform or you — has to decide which specific batch is being treated as sold, because different batches have different acquisition costs, which directly determines the taxable gain or loss on that transaction.
FIFO (First-In-First-Out) assumes the earliest batch you bought is the first one sold. LIFO (Last-In-First-Out) assumes the most recently purchased batch is the first one sold. HIFO (Highest-In-First-Out) specifically selects the batch with the highest cost basis across your entire holdings to sell first, minimizing the taxable gain. Applied to the exact same sale transaction, these three methods can produce completely different tax outcomes.
Why are three different methods needed, and what problem does each solve?
The fundamental reason these three methods exist is a characteristic of crypto transactions: tokens held at the same wallet address can't actually be distinguished on-chain by which purchase they came from — the tokens themselves carry no serial numbers. Tax authorities therefore allow taxpayers (under certain conditions) to choose an accounting method to determine the order in which cost basis is calculated, as long as the chosen method is applied consistently once selected.
FIFO is the default method in most jurisdictions because it's the most intuitive and closely mirrors the natural "first bought, first sold" order, making it well suited to long-term holders with lower trading frequency. LIFO can smooth out short-term tax burden in certain situations, but most jurisdictions — including the latest IRS guidance for crypto in the U.S. — have restricted or don't recognize LIFO's applicability to crypto assets. HIFO, by contrast, is specifically designed as a strategic choice to legally minimize current-period tax liability — since selling the highest-cost batch produces the smallest gain, or possibly even a loss. This is also why HIFO requires extremely precise, batch-by-batch transaction records to hold up; you can't simply claim you're using HIFO without the documentation to back it up.
How do these three methods actually work in practice, and what are the calculation differences?
Suppose you bought ETH in three batches: batch one, 1 ETH at $1,500; batch two, 1 ETH at $2,500; batch three, 1 ETH at $4,000. Now you sell 1 ETH at a market price of $3,000:
In practice, most tax software lets users designate a calculation method per account (or even per transaction), but once selected, most jurisdictions require the same method to be used consistently — you can't re-pick whichever method is most favorable before every single sale.
What does choosing a different method actually mean for me, and what risks should I watch for?
Choosing the right method can legally reduce current-period tax liability, which is why many active traders deliberately study HIFO. But the risk is this: HIFO, or any "specific identification" method, requires you to clearly document the date, quantity, and cost of every single purchase. If you've moved tokens between multiple exchanges or used decentralized wallets, the cost basis tracking chain can easily break, and if you can't provide complete documentation, a tax authority may simply require you to recalculate using the default FIFO method — which typically produces a higher taxable gain.
Another often-overlooked risk is that different jurisdictions accept these three methods differently (for example, the U.S. has increasingly restricted LIFO's applicability to crypto in recent years). If you have filing obligations in multiple regions simultaneously, you need to verify which methods each region allows separately, rather than assuming one set of rules applies globally.
An investor bought Bitcoin in five separate purchases between 2021 and 2023 at prices ranging from $20,000 to $60,000. In 2024, they sold 1 BTC at a market price of $45,000. Using HIFO, which selects the $60,000-cost batch, this sale produces a $15,000 capital loss that can offset other capital gains. Using FIFO instead, the earliest batch at $20,000 cost is treated as sold, producing a $25,000 taxable gain instead — the same sale action, calculated under the two different methods, results in a $40,000 swing in tax outcome.
FIFO's advantage is that it's the simplest and requires the least detailed recordkeeping, and it's the default accepted method in most jurisdictions; its drawback is that long-term holders often end up with a higher taxable gain as a result. HIFO's advantage is legally minimizing current-period tax liability; its drawback is requiring extremely precise batch-by-batch transaction records — without which the entire method can be disallowed — and some jurisdictions may not recognize HIFO as applicable to crypto at all.