Crypto Cost Basis FIFO vs LIFO vs HIFO Calculator
Compare your crypto capital gain under FIFO, LIFO and HIFO cost basis methods for up to four purchase lots.
Compare your crypto capital gain under FIFO, LIFO and HIFO cost basis methods for up to four purchase lots.
Results
About This Calculator
Each method takes sold coins from lots in a set order — oldest first (FIFO), newest first (LIFO) or highest price first (HIFO).
Example
Example: selling 0.6 BTC from three lots → FIFO: FIFO: $39,000 gain (basis $21,000).
Assumptions
Enter lots oldest first. Holding periods and specific-ID rules apply — confirm with a tax professional.
Frequently Asked Questions
Which cost basis method is best?
HIFO usually minimizes gains; FIFO is the IRS default.
Can I choose my method?
In the US, with adequate specific identification of lots.
Related Calculators
About the Author

Professional SEO, Digital Marketer Specialist
I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist
View full profile