How to use this crypto cost basis calculator
Crypto tax has one rule that generates all the confusion: every disposal is a taxable event. Selling, trading, spending, or converting to fiat all count. Only holding does not. That makes the cost basis method a decision with real money attached.
The three methods
- FIFO — first in, first out. The default, and the one most exchanges report. On a rising market this produces the highest gain and the highest tax, because the cheapest coins are sold first.
- HIFO — highest in, first out. Sells your most expensive coins first, producing the lowest gain and the lowest tax. This is specific identification, which is legal but requires that you can prove which units you sold.
- LIFO — last in, first out. Produces the highest gain and the highest tax. Rarely chosen, and not always available.
What the difference is worth
Consider buying 2 coins at $18,000, 1 at $42,000 and 1.5 at $65,000, then selling 2 coins at $55,000. The three methods produce three different cost bases, and the tax differences can run into thousands of dollars on a single sale.
The spread between the cheapest and most expensive method is what the calculator reports. When it is large relative to your gains, the method choice genuinely matters and is worth the effort of exporting transaction-level data. When it is small, the admin cost of HIFO outweighs the saving.
Long-term versus short-term
Holding more than one year turns the gain into a long-term gain taxed at preferential rates. Holding less than a year means the entire gain is taxed as ordinary income, up to 37%. On a large gain this is worth several thousand dollars, and it is another reason the ordering of your purchases matters — if you have an old lot and a new lot, you may be able to choose which one you disposed of.
The fee drag
Exchange fees are subtracted from the proceeds, which reduces your gain slightly and therefore your tax. The calculator applies the fee percentage to the sale proceeds. Fees on the purchase side are capitalised into the cost basis instead, which has the same effect.
Getting your transaction data
This is the practical bottleneck. Before assuming a method works, check whether your exchange can export per-transaction cost basis and acquisition dates. Most major exchanges can produce a CSV or a Form 1099-DA, and for large balances it is worth the effort. Without transaction-level data you are limited to FIFO, and if you hold on an exchange that does not report at all, you may need to reconstruct the history yourself — which is why keeping records from the start is worth the trouble.