Skip to content
XRP

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.

AA
AllAboutXRP Editorial
·
Last Updated: February 15, 2026
TL;DR

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

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.