XRP Cost Basis Explained FIFO, LIFO, HIFO
How to calculate your XRP cost basis and choose the method that saves you the most on taxes.
Cost basis = what you paid for XRP. Method you choose affects your tax bill. FIFO (first bought sold first), LIFO (last bought sold first), HIFO (highest cost sold first). HIFO usually minimizes taxes. Be consistent and keep records.
| Key Facts | |
|---|---|
| Methods | FIFO, LIFO, HIFO |
| Best for Tax | Usually HIFO |
| Default | FIFO |
| Requirement | Consistent use |
| Records | Essential |
| Tools | CoinTracker, Koinly |
What Is Cost Basis?
Cost basis = what you paid for your XRP (including fees). When you sell, your taxable gain = sale price - cost basis. Higher cost basis = lower taxable gain = less tax.
The Three Methods
| Method | What It Does | Tax Impact |
|---|---|---|
| FIFO | Sells oldest XRP first | Often highest tax (if price rose) |
| LIFO | Sells newest XRP first | Lower tax if recent buys are higher |
| HIFO | Sells highest-cost XRP first | Usually lowest tax |
Example
You bought 100 XRP at $0.50, then 100 XRP at $2.00. You sell 100 XRP at $3.00.
| Method | Cost Basis | Sale Price | Taxable Gain |
|---|---|---|---|
| FIFO | $0.50 × 100 = $50 | $300 | $250 |
| LIFO | $2.00 × 100 = $200 | $300 | $100 |
| HIFO | $2.00 × 100 = $200 | $300 | $100 |
HIFO saves $150 in taxable gains vs FIFO in this example. At 24% tax rate, that's $36 saved on just 100 XRP.
Which to Choose?
HIFO for Selling
Minimizes tax when selling at a profit. Most tax-efficient.
FIFO for Simplicity
Easiest to track. IRS default. May result in higher taxes.
Specific Identification
Choose exactly which lot to sell. Maximum control but complex.
Tools
Use portfolio tracking tools that support cost basis calculation across all your exchanges. Tax-loss harvesting works best with HIFO.
Frequently Asked Questions
Continue Learning
Track Your Cost Basis
Use the right tools and method to minimize taxes.
Last updated: February 15, 2026. Written by the AllAboutXRP Editorial Team.
Get XRP insights delivered weekly
Free weekly newsletter. No spam, unsubscribe anytime.