![FIFO, LIFO, & HIFO: Crypto Accounting Methods 2025](https://coinledger.io/cdn-cgi/image/format=auto/https://cdn.prod.website-files.com/614c99cf4f23700c8aa3752a/61a10af48214a58dc6fb6a93_FIFO%2C%20LIFO%2C%20and%20HIFO%20-%20What%E2%80%99s%20the%20best%20method%20for%20crypto-%20(1).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:
![capital gains formula](https://coinledger.io/cdn-cgi/image/format=auto/https://cdn.prod.website-files.com/614c99cf4f23700c8aa3752a/676effa5bb6db2151e9a71e1_63d806c512e9f51fc94480c1_FIFO-LIFO-HIFO-Infographics-V4-04%2520(1).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.
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.
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.Â
![FIFO accounting method](https://coinledger.io/cdn-cgi/image/format=auto/https://cdn.prod.website-files.com/614c99cf4f23700c8aa3752a/676effa5bb6db2151e9a71e7_64de2f93610f3dc805d0e159_HIFO-LIFO-FIFO-Image-EDIT-v1-2%2520(1).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:
![LIFO accounting method](https://coinledger.io/cdn-cgi/image/format=auto/https://cdn.prod.website-files.com/614c99cf4f23700c8aa3752a/676effa5bb6db2151e9a71f6_64de2fa4f1631b54e6d2dc5a_HIFO-LIFO-FIFO-Image-EDIT-v1-3%2520(1).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).
What is per-wallet cost basis?Â
Starting in 2025, the IRS will require the per-wallet method for tracking cost basis. To better understand what this means, letâs take a look at an example.Â
Universal methodÂ
Before January 1, 2025, the IRS allowed the âUniversal Trackingâ method. This essentially means that you treat all of your cryptocurrency as if it was from the same wallet or exchange â regardless of where you bought it and where you currently hold it.Â
In the example above, Calebâs cost basis for the 1 BTC sale using FIFO and Universal Tracking would be $20,000 â regardless of which exchange he sold his Bitcoin on.Â
âPer walletâ method
After January 1, 2025, all taxpayers will be required to use the âper walletâ or âper accountâ cost basis method. This means that sales of assets have to be matched with cost basis from buys or acquisitions of assets from the same account or wallet, hence âper walletâ.Â
In the example above, Calebâs cost basis would be $25,000, since he is selling from the âlotâ of BTC purchased on Exchange B.Â
Do I need an accounting method for crypto-to-crypto transfers?
When you transfer your cryptocurrency from one wallet to another, your cost basis will transfer over as well.Â
What is a âspecific IDâ accounting method?Â
LIFO and HIFO are considered âSpecific Identificationâ methods.Â
According to IRS guidance, you can use a specific identification method like LIFO or HIFO if you have records containing the following information:
- The date and time each unit was acquired.
- Your basis and the fair market value of each unit at the time it was acquired.
- The date and time each unit was sold or disposed of.
- The fair market value of each unit when sold or disposed of.
What is the average cost basis accounting method?Â
In countries like Canada, your cost basis for cryptocurrency is your average cost for acquiring your coins. However, the average cost basis method is not permitted in the United States.Â
Which accounting/cost basis method will lower my tax bill the most?
Because HIFO sells your cryptocurrency with the highest cost basis first, this method is typically considered the best for saving money on your taxes.
What is the best cost basis method?
The best cost basis method for you may vary depending on your specific situation.Â
FIFO is used by most investors since it is considered the most conservative accounting method. While methods like HIFO and LIFO can reduce your tax bill, they should only be used if youâve kept detailed records of your crypto transactions.
Can I use a crypto cost basis calculator?Â
If youâre looking to track your cryptocurrency trades across multiple wallets and exchanges, get started with CoinLedger. More than 500,000 investors use the platform to generate a comprehensive tax report in minutes.
![CoinLedger tax software](https://coinledger.io/cdn-cgi/image/format=auto/https://cdn.prod.website-files.com/614c99cf4f23700c8aa3752a/676effa5bb6db2151e9a7208_62617575178ad9dbf665d02f_Screen%2520Shot%25202022-04-21%2520at%252010.15.00%2520AM.png)
CoInLedger can connect to your wallets and exchanges to help you easily track your cost basis for all of your cryptocurrencies. The platform also allows you to choose your preferred accounting method!
Can I switch my accounting method?Â
You are allowed to switch accounting methods from year-to-year.Â
However, you should be cautious before switching your accounting methods because of potential calculation errors. For example, if you use FIFO in one year and HIFO in the next, you may use the same cost basis from the same batch of cryptocurrency. This is considered incorrect â if your transactions are scrutinized by the IRS, you may be required to pay fines and penalties.Â
Before you switch your accounting method, you should speak to a tax professional to discuss whether it is the right move for your unique situation.
Find the right cost basis method for youÂ
Cryptocurrency tax software like CoinLedger can automatically handle all of your cryptocurrency tax reporting. Simply upload your crypto transaction history into the platform and generate your necessary crypto tax forms with the click of a button.
CoinLedger allows you to choose your preferred cost basis method. Whether you want to pick FIFO, LIFO, or HIFO â the platform has you covered!
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.
![Jordan Bass](https://coinledger.io/cdn-cgi/image/format=auto/https://cdn.prod.website-files.com/614c99cf4f23700c8aa3752a/616d679c73919e9a6762a1a3_Jordan%20Bass.png)
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.