XRP Cost Basis Methods: FIFO vs. Specific Identification, Explained
If you've only ever bought XRP once, your cost basis is simple: it's what you paid. But most active holders buy at several different times and prices, and when you eventually sell only part of your holdings, you have to decide which of those purchases you're treating as the one you sold. That choice is called a cost-basis method, and it can meaningfully change your calculated gain or loss.
Why this matters
Imagine you bought XRP three separate times:
- 500 XRP at $0.30
- 500 XRP at $0.80
- 500 XRP at $1.10
Now you sell 500 XRP when the price is $1.50. Depending on which of those three purchases you treat as the one being sold, your cost basis for this sale is either $0.30, $0.80, or $1.10 per XRP — and your calculated gain changes by hundreds of dollars depending on which one you pick. That's the entire question a cost-basis method answers.
FIFO (first-in, first-out)
FIFO assumes the XRP you're selling is whichever you acquired first, in chronological order. In the example above, FIFO would use the $0.30 lot as the cost basis for your sale, since it was purchased earliest. FIFO is a common default treatment in many tax frameworks — it's simple, requires no active choice at the time of each sale, and is often the assumption made if you don't specify otherwise.
Specific identification
Specific identification (sometimes called "spec ID") lets you choose, at the time of sale, exactly which specific purchased lot you're disposing of — provided you can adequately document and identify it. Using the same example, you could choose to sell the $1.10 lot specifically, which would produce a smaller gain (or none at all) compared to using the $0.30 lot under FIFO. Many jurisdictions that permit specific identification require meeting a documentation standard to use it — you generally can't just claim it after the fact without records supporting the choice.
Why the choice matters for your reported gain
Using a higher-cost-basis lot (like the $1.10 purchase) as your cost basis produces a smaller taxable gain on that specific sale than using a lower-cost-basis lot (like the $0.30 purchase) — assuming the sale price is the same either way. This is why some traders pay close attention to which method they're using, since a documented, strategic choice can materially affect a given year's tax outcome. It doesn't change your total gain across all your XRP over your entire holding period — it changes which year and how much gets recognized on any individual sale.
Not every jurisdiction treats this the same way
Some tax authorities default to FIFO and only allow specific identification under certain documentation conditions; others may permit different methods (like LIFO, last-in-first-out, or average cost) in some circumstances. Rules also change over time. This article describes commonly-used general concepts, not a specific country's current rules — treat it as a starting vocabulary for a conversation with a tax professional, not a final answer.
What our Tax Calculator does and doesn't do
Our Tax Calculator computes a single acquired-date-to-disposed-date estimate — it treats your input as one lot, and doesn't model FIFO, specific identification, or any other multi-lot method. If you've bought XRP at several different times and need to track cost basis across all of them, you'll want a dedicated tax-tracking tool built for that, or a tax professional, rather than piecing it together from single-lot estimates. See our overview of XRP capital gains calculation and our record-keeping guide for related groundwork that makes any of this easier regardless of which method eventually applies to you.
Nothing here is tax advice for your specific situation — consult a qualified tax professional familiar with your jurisdiction before making decisions based on cost-basis method.