Crypto Tax7 min read· 2026-12-01

Crypto Tax Lots: FIFO vs. LIFO vs. HIFO and IRS Form 8949 Documentation

Why highest-in-first-out (HIFO) lot identification often slashes realized capital gains compared with default FIFO, plus record-keeping requirements for Form 8949.

1. How Cost-Basis Lot Selection Changes Your Tax Bill

When you buy Bitcoin or Ethereum across several years at different prices and later sell part of your stack, your realized capital gain depends directly on which purchase lots are matched to that sale.

FIFO (First-In, First-Out) matches your oldest—and frequently cheapest—coins first, creating the largest taxable gain in a bull market. HIFO (Highest-In, First-Out) selects the highest-cost lots available prior to the sale date, legally minimizing realized gain when supported by specific lot records.

  • Long-term holding rule: assets held strictly more than 365 days qualify for lower long-term capital gains rates.
  • Watch the HIFO trade-off: sometimes a slightly cheaper lot held > 365 days produces less tax at 15% than a higher-cost short-term lot taxed at 28%.

2. Exporting Clean IRS Form 8949 Lot Rows Without Wallet Logins

Every Form 8949 line requires the property description, acquisition date, disposal date, proceeds, cost basis, and gain or loss split between short-term and long-term holding periods. Our browser-local engine computes all three methods simultaneously so no API keys or wallet addresses leave your computer.

FIFO vs. LIFO vs. HIFO Cost-Basis Comparison

MethodLot Selection RuleTypical Tax Impact (Rising Market)
FIFOOldest acquisition date firstHighest realized gain; usually long-term rates
LIFOMost recent buy prior to saleLower gain; higher share of short-term lots
HIFOHighest unit cost lot prior to saleLowest realized gain; requires specific lot logs

Frequently Asked Questions

How much capital loss can offset ordinary wages each year?

Under US federal rules, net capital losses first offset all capital gains dollar-for-dollar, then up to $3,000 ($1,500 married filing separately) of ordinary income per year, with unused losses carrying forward indefinitely.

Run these numbers in the live calculator
100% browser-local math with instant CSV & printable export.
Open Calculator