Cost Basis LIFO Calculator

Calculate your cryptocurrency cost basis using the LIFO (Last-In-First-Out) method. Most recent purchases are sold first.

Purchase History

Lot #1
$
Lot #2
$
Lot #3
$

Sale Details

$

LIFO Method: Sells your most recently purchased coins first. This often results in higher cost basis when prices are rising.

Total Gain (LIFO)

+$4,000

Cost Basis: $14,000

💵Sale Proceeds
$18,000
📊Cost Basis
$14,000
📈Avg Cost/Unit
$35,000
🪙Remaining
0.6000

Lots Used (LIFO Order)

2024-02-10Short-term
0.2000 @ $42,000
Cost: $8,400
2023-06-20Long-term
0.2000 @ $28,000
Cost: $5,600

LIFO vs FIFO Comparison

LIFO Gain/Loss$4,000
FIFO Gain/Loss$10,000
LIFO AdvantageLower gain by $6,000

Tax Treatment

Short-Term Gain/Loss$600
Long-Term Gain/Loss$3,400
💡

Help us improve!

How would you rate the Cost Basis LIFO Calculator?

<>

Editorial Note

MyCalcBuddy Editorial Team

This page is maintained as an educational calculator reference.

📚

Formula Source: Standard Mathematical References

by Various

🔄Last reviewed: May 2026
✓Formula checks are based on standard references and internal QA review.