.jpg)
Key takeaways
- If youâve bought your cryptocurrency at multiple price points, youâll need an accounting/cost basis method to determine your capital gain/loss.Â
- Accounting methods determine the order in which you sell your cryptocurrency â which can have a big impact on your tax bill!
- While FIFO is considered the default accounting method, methods like HIFO can help you save money on your taxes.
FIFO, LIFO, or HIFO - which accounting method is the best for cryptocurrency?Â
While accounting methods can be difficult to understand, this article will break down the pros and cons of each method with the help of a few simple infographics. By the time you finish reading, youâll understand which accounting method can help you save the most money during the tax season.
How is cryptocurrency taxed?Â
To understand the importance of accounting methods, itâs helpful to know how cryptocurrency is taxed.Â
When you dispose of cryptocurrency, youâll incur a capital gain or loss depending on how its price changed since you originally received it. If you make a profit, your gains will be subject to capital gains tax.Â
If the value of your crypto at the time of sale is lower than your purchase price, youâll end up with a capital loss, which can be used to offset capital gains for the year. For more information, check out our article on tax-loss harvesting.
How to calculate your capital gains and lossesÂ
You can use the following formula to calculate your gain/loss:
.jpeg)
In this case, your proceeds are how much you received for disposing of your cryptocurrency. Meanwhile, your cost basis is your cost for acquiring cryptocurrency.
Need help estimating your gains and losses? Try our free crypto tax calculator.
What is an accounting/cost basis method?Â
An accounting/cost basis method helps you determine the order in which you dispose of your cryptocurrency. In situations where you bought your cryptocurrency at multiple price points, youâll need to use an accounting/cost basis method to determine your capital gains and losses.
Why does your accounting/cost basis method matter?Â
To better understand why accounting methods are important, letâs take a look at an example.
%2520(1).jpeg)
Remember, Jamesâs accounting method determines the order in which he sells his cryptocurrency.Depending on the accounting method James chooses, he will either be selling the BTC he purchased for $20,000 or the BTC he purchased for $50,000.
If James chooses the former option, he will have $40,000 of capital gain. If he chooses the latter option, his capital gain will be only $10,000.
While your situation may not be exactly the same as Jamesâs, itâs possible the accounting method you choose can significantly reduce how much you pay in taxes.Â
How do FIFO, LIFO, and HIFO work?
FIFO (first-in-first-out), LIFO (last-in-first-out), and HIFO (highest-in-first-out) are three accounting methods used to calculate cryptocurrency gains and losses.Â
To better understand how they work, letâs calculate capital gains on the following transaction using each one of these methods.
.jpeg)
Below, weâll break down how you can calculate your capital gain using FIFO, LIFO, and HIFO.
What is FIFO?
With first-in-first-out, the first coin that you purchase (chronologically) is the first coin that is counted for a sale.
How do you calculate capital gains with FIFO?Â
If we apply FIFO to the example above, the purchase price of the 1 ETH that you sold in August will be $2,250. Thatâs the cost basis of the first token that was acquired.Â
We can use that information to calculate your capital gains.Â
.jpeg)
What are the advantages of FIFO?Â
FIFO is considered the âdefaultâ accounting method. As a result, itâs the method used by most investors to calculate their capital gains.Â
If the price of your cryptocurrency has dropped since you first purchased it, using FIFO may help you reduce your capital gains. In a period of falling prices, the cryptocurrency you acquired first will be the units with the highest cost basis.Â
In addition, itâs important to remember that gains from cryptocurrency disposed after a year or more of holding are taxed at a lower rate. Since FIFO disposes of your longest-held cryptocurrency first, the method can help you take advantage of the long-term capital gains tax rates!
What is LIFO?Â
With last-in first-out (LIFO), the last coins that you acquired will become the first coins that you sell. In a period of rising prices, LIFO can help you save money on capital gains tax.Â
Letâs see what would change if we use LIFO instead of FIFO for the example above.
Using LIFO, our cost basis (or original purchase price) of the ETH we sold in August would be $2,500. Thatâs the cost basis of the last token that you bought.Â
Doing the math then:
.jpeg)
In the example above, using LIFO instead of FIFO would save you $250 in capital gains.Â
Is LIFO better than FIFO?Â
Itâs important to note that using LIFO does not always lead to less capital gains than using FIFO. The accounting method that works best for you can vary based on market conditions.
In a period of rising cryptocurrency prices, using LIFO will most likely lead to significantly less total taxable gains. In a period of falling prices, FIFO will most likely yield better results.Â
In addition, itâs important you should take into account how the holding period of your cryptocurrency may impact your tax bill before using LIFO.Â
What is HIFO?Â
With highest-in, first-out (HIFO), you sell the coins with the highest cost basis (original purchase price) first.
In our example above, HIFO would lead to the same total gain as LIFO. In this case, the last cryptocurrency acquired is also the one with the highest cost basis.
However, in a scenario with hundreds or even thousands of trades, selling your highest-cost basis coins first can lead to significant tax savings. Â
HIFO can be used as a âtax minimizationâ method as it will lead to the lowest capital gains and the largest capital losses. Keep in mind, net capital losses can be used to offset other income up to $3,000 dollars (the remaining will be carried forward to future tax years).
â
Frequently asked questions
- Can I use HIFO for crypto?
Yes. The IRSâs guidance states that crypto investors can use HIFO provided that they keep detailed records and can identify specific units of cryptocurrency.
- Can I change calculation methods from year to year?
Yes. IRS guidelines allow investors to change calculation methods from year to year. However, taxpayers are required to keep detailed records of transactions and properly account for each sale.
- What accounting method should I use for my crypto?
While American crypto investors can use accounting methods like FIFO, LIFO, and HIFO, many choose to use FIFO because it is considered the âdefaultâ option.
- Is HIFO better than FIFO?
The âbestâ accounting method for cryptocurrency varies depending on the facts and circumstances of your situation. In most situations, HIFO can reduce your tax bill, but youâll need detailed records of your transactions to be able to specifically identify the crypto youâre disposing of.
- Does Coinbase use LIFO or FIFO?
Coinbase allows users to select their accounting method through their settings on their account. You can choose FIFO, HIFO, or LIFO.
How we reviewed this article
All CoinLedger articles go through a rigorous review process before publication. Learn more about the CoinLedger Editorial Process.

CoinLedger has strict sourcing guidelines for our content. Our content is based on direct interviews with tax experts, guidance from tax agencies, and articles from reputable news outlets.