Skip to content
Independent XRP research, guides, and live data
Our standards

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.

·
Last reviewed: February 15, 2026
Answer in brief

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
MethodsFIFO, LIFO, HIFO
Best for TaxUsually HIFO
DefaultFIFO
RequirementConsistent use
RecordsEssential
ToolsCoinTracker, Koinly
3 main
Methods
HIFO
Best
FIFO
Default
Consistency
Key

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

MethodWhat It DoesTax Impact
FIFOSells oldest XRP firstOften highest tax (if price rose)
LIFOSells newest XRP firstLower tax if recent buys are higher
HIFOSells highest-cost XRP firstUsually lowest tax

Example

You bought 100 XRP at $0.50, then 100 XRP at $2.00. You sell 100 XRP at $3.00.

MethodCost BasisSale PriceTaxable Gain
FIFO$0.50 × 100 = $50$300$250
LIFO$2.00 × 100 = $200$300$100
HIFO$2.00 × 100 = $200$300$100
$150 Difference!

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

What is cost basis?

The original price you paid for your XRP, including fees. Used to calculate capital gains or losses when you sell.

Which method saves the most tax?

Usually HIFO (Highest In, First Out) because it sells the highest-cost XRP first, minimizing your taxable gain.

Can I switch methods?

Consult a tax professional. Generally you should be consistent, but some flexibility exists with specific identification.

What if I bought XRP at many prices?

That's exactly why method matters. Each purchase is a 'lot' with its own cost basis. The method determines which lot is sold first.

What tools help track cost basis?

CoinTracker, Koinly, CoinLedger, and TaxBit all calculate cost basis across multiple exchanges automatically.

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.