FIFO vs. LIFO: Which Method Should You Use to Calculate Crypto Profit?
Selling the same coin bought at three different prices raises an obvious question: which purchase actually counts as the one you sold? The method you pick can change your taxable gain significantly.
Selling the same coin bought at three different prices raises an obvious question: which purchase actually counts as the one you sold? That’s the core of the FIFO vs LIFO crypto profit debate, and the method you pick can change your taxable gain significantly.
Understanding Cost Basis Methods for Crypto Profit
Your cost basis is what you originally paid for a coin, including fees, and it’s subtracted from the sale price to find your taxable gain. According to the IRS digital assets guidance, FIFO (First-In, First-Out) is the default cost basis method for crypto, meaning your oldest units are treated as sold first unless you properly document another approach. Since most investors buy the same coin at different prices over time, this choice can meaningfully change how much taxable profit a single sale reports.
FIFO applies automatically with no extra paperwork. Any other cost basis method, including LIFO, only holds up if you keep lot-level records before each sale.
How FIFO and LIFO Affect Your Crypto Profit Calculation
FIFO usually reports a larger gain in a rising market, since your cheapest, oldest coins get sold first. That can also mean the sale qualifies for long-term capital gains rates if the oldest lot was held over a year. LIFO (Last-In, First-Out) assumes your most recently bought coins are sold first instead, which can lower the reported gain when prices have climbed since your last purchase, though the newer lot is more likely to count as a short-term gain taxed at higher ordinary income rates.
Realized vs Unrealized Profit
Your cost basis method only matters once you actually sell, trade, or spend a coin. Before that, any paper gain is unrealized and isn’t taxable. The method you choose only affects the realized gain calculated at the moment of the sale.
LIFO Isn’t a Standalone IRS Method
LIFO is not independently approved for crypto. It only counts as valid when applied through “Specific Identification,” which requires contemporaneous records showing exactly which units you sold, before or at the time of each sale. Without that documentation, FIFO applies by default.
Claiming LIFO without contemporaneous, lot-level records is not defensible under crypto tax reporting rules — the IRS will default your sale back to FIFO.
Which Method Should You Use to Calculate Crypto Profit?
Here’s a simple example. Suppose you bought 1 BTC at $20,000 in January and 1 BTC at $40,000 in June, then sold 1 BTC for $50,000 in December.
| Method | Cost Basis Used | Reported Gain |
|---|---|---|
| FIFO | $20,000 (January lot) | $30,000 |
| LIFO (with documentation) | $40,000 (June lot) | $10,000 |
In this example, switching from FIFO to a properly documented LIFO lot lowers the reported gain by $20,000 — the same sale, two very different tax outcomes.
Since 2025, cost basis methods also apply per wallet or exchange account, not across your entire portfolio. Use our free Crypto Profit Calculator to compare your gain under different cost basis assumptions — no login needed.
Run the same sale through both FIFO and LIFO before filing. Comparing your crypto profit calculator results side by side often reveals which lot-selection strategy actually fits your holding history.
Conclusion
Choosing between FIFO vs LIFO for crypto profit reporting depends on your records and risk tolerance, not just which number looks smaller. FIFO requires no extra documentation, while LIFO only holds up with proper lot-level records kept before each sale. Run both scenarios with our Crypto Profit Calculator before deciding, and consult a tax professional for your specific situation.
