How we worked it out
Updated as you change the numbers.
- Cost basis of the coins sold: $19,500.00.
- Gain = sale price × coins − fees − cost basis.
Method and assumptions
FIFO sells your oldest coins first, LIFO your newest, HIFO your most expensive, and average cost uses the mean price of everything you hold.
Questions
What is the FIFO basis of 0.6 coins in the example?
$19,500: 0.5 coins at $30,000 and 0.1 at $45,000.
Sources
Method and figures checked on October 31, 2026. Every worked answer on this page is covered by an automated test. Found a mistake? Tell us.