FIFO vs LIFO vs HIFO Cost-Basis Comparator

Run identical multi-lot crypto trades across all three IRS accounting methods simultaneously and export the lowest-tax Form 8949 CSV.

Cost-basis method
Sample trade ledgers
Format: generic7 trades · 4 disposals
YOUR ESTIMATED TAXCalifornia · 2025 · HIFO
$6,856
Total estimated tax
27.4%
Effective rate on gain
$18,140
After-tax net gain
Federal Capital Gains Tax
Short-term: $2,456 · Long-term: $2,075
$4,531
3.8% Net Investment Income Tax (NIIT)
Below IRC §1411 threshold
$0
State — California
No long-term preference; all crypto gains taxed as ordinary CA income up to 13.3%.
$2,325
Instant Lot Method Comparison (FIFO · LIFO · HIFO)HIFO saves $10,892 vs FIFO
Offset with Loss Harvesting

IRS Form 8949 Lot Disposals (HIFO)

Part I ST: $11,164 · Part II LT: $13,832
PartPropertyAcquiredSoldProceedsBasisGain / Loss
Part I (ST)0.5 BTC2024-11-182025-05-12$52,164$44,685$7,479
Part II (LT)0.2 BTC2024-02-102025-05-12$20,866$9,520$11,346
Part I (ST)6 ETH2024-12-042025-08-22$26,044$22,360$3,684
Part II (LT)1 ETH2023-06-202025-08-22$4,341$1,854$2,486

Compare all 51 US jurisdictions

Same gain and income applied live. Click any row to switch.

Alaska$4,531$0$4,53118.1%
Florida$4,531$0$4,53118.1%
Nevada$4,531$0$4,53118.1%
New Hampshire$4,531$0$4,53118.1%
South Dakota$4,531$0$4,53118.1%
Tennessee$4,531$0$4,53118.1%
Texas$4,531$0$4,53118.1%
Washington$4,531$0$4,53118.1%
Wyoming$4,531$0$4,53118.1%
CaliforniaSelected$4,531$2,325$6,85627.4%