← All posts
2026-08-24 · 13 MIN READ · CALCULATOR · XRP

XRP Profit Calculator: Cost Basis, Break Even, Taxes, and Yield

By XORA · Published

Suppose three purchases acquired 2,000 XRP for $1,500, with $15 of acquisition fees. The total basis is $1,515 and the weighted average cost is $0.7575 per XRP. At an illustrative $1.00 market price, the position is worth $2,000 and shows a $485 unrealized gain before any sale costs or tax. No live XRP price is assumed anywhere in this guide.

Open XRP price calculator → Model optional yield →

Start with a complete XRP transaction ledger

A useful profit calculator needs more than the amount paid and today's quote. Record each acquisition date, XRP units, unit price, trading fee, and fiat currency. Then record sales, swaps, spending, transfers between your own wallets, and any XRP received as income or rewards. Keep transaction IDs and exchange statements. A wallet balance proves units, but it does not preserve the fiat basis or acquisition time that a profit and tax calculation needs.

The example below uses invented round numbers purely to demonstrate the formulas. Its $1.00 mark is not the current XRP price, a forecast, or an investment recommendation. Replace every input with your own records and a price timestamp from the venue you actually use.

LotXRPPriceGross costBuy feeLot basis
A1,000$0.50$500$5$505
B500$0.80$400$4$404
C500$1.20$600$6$606
Total2,000$1,500$15$1,515

Formula 1: weighted average XRP cost

Weighted average cost answers a portfolio question: how many dollars went into the XRP still being analyzed for each unit acquired? It weights large lots more heavily than small lots. A simple average of $0.50, $0.80, and $1.20 would be wrong because the first purchase contains twice as much XRP as either later purchase.

Total basis = Σ (XRP units × purchase price) + eligible acquisition fees

Weighted average cost = total basis ÷ total XRP

$1,515 ÷ 2,000 XRP = $0.7575 per XRP

At the illustrative $1.00 mark, market value is 2,000 × $1.00 = $2,000. Unrealized gain is $2,000 minus $1,515, or $485. The percentage return on cost is $485 ÷ $1,515 = 32.01%. This is a portfolio performance view, not automatically a permitted tax-lot method.

Cost basis contributed by three illustrative XRP purchase lots Lot A contributes 505 dollars of basis for 1,000 XRP, lot B contributes 404 dollars for 500 XRP, and lot C contributes 606 dollars for 500 XRP. Total basis is 1,515 dollars for 2,000 XRP. $1,515 total basis across 2,000 XRP LOT A $505 LOT B $404 LOT C $606 weighted average $0.7575 $0 per XRP $1.00 per XRP Purchase fees are included in the illustrative lot basis
Unit prices alone cannot be averaged. The calculation must weight each price by the XRP acquired and account for eligible acquisition costs.

Formula 2: realized versus unrealized gain

Unrealized gain is the difference between the current value and basis of XRP still held. It changes with every market quote. Realized gain appears when XRP is sold or otherwise disposed of and compares net proceeds with the basis assigned to the disposed units.

Assume lot B is specifically identified and all 500 XRP in it are sold at an illustrative $1.10. Gross proceeds are $550. A 1% sale fee is $5.50, so net proceeds are $544.50. Lot B's recorded basis is $404. The realized gain is therefore $140.50. The remaining lots contain 1,500 XRP with $1,111 of basis. At the separate $1.00 illustrative mark, their unrealized gain is $1,500 minus $1,111, or $389.

Realized gain = net sale proceeds − basis of XRP disposed

$550 − $5.50 − $404 = $140.50

Remaining unrealized gain = (1,500 × $1.00) − $1,111 = $389

From gross XRP sale proceeds to realized gain A sale of 500 XRP at 1 dollar 10 cents produces 550 dollars gross. A 5 dollar 50 cent sale fee leaves 544 dollars 50 cents. Subtracting the selected lot basis of 404 dollars leaves a realized gain of 140 dollars 50 cents. 500 XRP sale at illustrative $1.10 Gross proceeds $550.00 Net after 1% fee $544.50 Selected lot basis $404.00 Realized gain $140.50 Tax treatment depends on jurisdiction, holding period, records, and circumstances
Profit is not gross proceeds. Selling costs and the basis of the actual disposed XRP must be deducted first.

Formula 3: break-even sale price after fees

A break-even quote must be high enough that the money received after sale costs recovers the relevant basis. Let B equal basis, U equal XRP sold, f equal the sale fee as a decimal, and F equal any fixed sale cost. The general formula is:

Break-even XRP price = (B + F) ÷ [U × (1 − f)]

If all 2,000 XRP are sold, the basis is $1,515, the sale fee is 0.5%, and a fixed $2 cost applies, break even is ($1,515 + $2) ÷ [2,000 × 0.995] = $0.76231 per XRP. Without sale costs, it would be $0.7575. Spread, withdrawal fees, conversion fees, and taxes can move the practical target higher, so use the actual fee schedule rather than a headline maker or taker rate.

The XRPL's own transaction cost is different from an exchange charge. Official XRP Ledger documentation says a standard transaction typically requires a small amount of XRP that is destroyed, and the required amount can rise with network load. A venue may separately charge trading, withdrawal, or service fees. Record both without treating them as the same thing.

Taxes: keep the calculator and the tax return separate

Weighted average cost is a clean performance metric, but it may not be a valid tax-lot election where you live. In the United States, the IRS says digital assets are property. Its updated digital asset transaction FAQs calculate a sale gain or loss as amount realized minus adjusted basis, with qualifying disposition costs reducing amount realized. They also describe specific identification and default earliest-acquired rules for units held in a wallet or broker account.

That is why the example specifically selected lot B instead of multiplying the sale by the portfolio average. The selected lot changes the realized gain and holding period. Keep the asset, acquisition time, quantity, fiat value, fee, wallet or account, disposal time, proceeds, and identification instruction. The IRS digital assets page also distinguishes short-term from long-term holdings and points investors to Form 8949, while Publication 551 explains basis and recordkeeping.

This guide is arithmetic, not tax advice. Rules vary by country, entity, activity, lot method, and tax year. A swap, purchase, gift, reward, business receipt, or transfer can be treated differently. Reconcile the calculator with exchange records and a qualified adviser in your jurisdiction.

Formula 4: keep optional XRP yield separate

Yield should be an optional scenario, not quietly added to historical trading profit. Begin with XRP units, apply an assumed APY only for the chosen period, then value the ending units under an explicit future price assumption. Keep reward-token value separate from native XRP and model platform, custody, rate, and tax risk independently.

Ending XRP after one year = starting XRP × (1 + assumed APY)

2,000 XRP × (1 + 10%) = 2,200 XRP

Scenario value = ending XRP × assumed future XRP price

The 10% figure is a neutral illustration, not a quoted product rate. At an assumed $1.00 future price, 2,200 XRP would be worth $2,200. At $0.75, it would be worth $1,650. Yield adds units in this simplified scenario, but it does not cancel price risk. The zero-yield values would be $2,000 and $1,500 respectively.

Optional one-year XRP yield and price scenario matrix With 2,000 starting XRP, no yield produces values of 1,500 dollars at 75 cents per XRP and 2,000 dollars at 1 dollar per XRP. An illustrative 10 percent yield produces 2,200 XRP, worth 1,650 dollars at 75 cents or 2,200 dollars at 1 dollar. Optional scenario, not a forecast Assumed $0.75 XRP Assumed $1.00 XRP 0% yield $1,500 2,000 XRP $2,000 2,000 XRP 10% yield* $1,650 2,200 XRP $2,200 2,200 XRP *Illustrative assumption only; excludes fees, taxes, reward tokens, and platform risk
Yield and price are independent variables. More XRP units can still have a lower fiat value if the future XRP price falls enough.

For a platform-specific calculation, review the rate source before entering it. XORA advertises up to 22% APY value (15% native subsidised + XORA reward value). The native XRP portion is currently treasury subsidised during a disclosed bootstrap, and the XORA component is estimated reward value rather than guaranteed cash or native XRP. Rates and reward value can change. Read the yield source disclosure, compare the custody and rate questions in the XRP savings account guide, then test your own balance with the XRP yield calculator. For tax context, see is XRP yield taxable?

A five-step XRP profit calculation

  1. Reconstruct lots: import every purchase and receipt with units, date, fiat value, fee, and account.
  2. Separate transfers: do not mistake movement between your own wallets for a purchase or sale, but preserve the original lot history.
  3. Calculate current performance: multiply XRP still held by one timestamped market price, then subtract its remaining basis.
  4. Calculate disposals: subtract sale costs and the basis of the identified units from proceeds. Do not substitute the portfolio average without checking applicable rules.
  5. Run scenarios separately: change future price, fees, and optional yield one at a time so the source of each outcome stays visible.

Never combine deposited cash, market value, realized proceeds, and reward estimates into one "profit" number. They answer different questions. A calculator becomes auditable when every output can be traced to units, basis, a timestamped price, a fee, or a disclosed assumption.

FAQ

How do I calculate profit on XRP bought at different prices?

Add the basis of every purchase, including eligible acquisition fees, and track the XRP units. Total basis divided by total XRP gives a weighted average for portfolio analysis. Current unrealized profit is market value minus the basis of XRP still held. Disposals need the basis of the actual lot or units sold under the rules that apply to you.

What is the break-even price for XRP after selling fees?

Use (basis + fixed sale costs) divided by [XRP sold × (1 − percentage sale fee)]. Include applicable spread, conversion, withdrawal, and service charges in your practical target rather than assuming the network transaction cost is the only expense.

Is unrealized XRP profit taxable?

A price movement alone is generally different from a disposition, but the answer depends on jurisdiction and circumstances. U.S. IRS guidance treats digital assets as property and recognizes gain or loss on sales and other dispositions. Get local professional advice rather than treating this calculator as a return.

Can weighted average cost be used as XRP tax basis?

Do not assume it can. Weighted average is a useful portfolio metric. U.S. guidance for post-2025 digital asset transactions uses specific-identification and default ordering rules at the relevant wallet or account level. Other jurisdictions have their own methods.

Should XRP yield be included in a profit calculation?

Include it only in a clearly labeled optional scenario. Keep native XRP earned, estimated token reward value, market-price return, fees, and taxes separate. Yield rates are variable, platform-dependent, and never guaranteed.

Sources checked

Turn the calculation into a decision

A good calculator tells you what produced the result: XRP price, units acquired, fees, a realized sale, or optional yield. Once those components are separate, you can compare leaving the same units idle with putting them to work, without pretending a projected rate is guaranteed or hiding custody risk. Review the platform's security model and use assumptions you can afford to be wrong about.

xora.finance is where to put your XRP to work and earn up to 22% instead of leaving it idle on an exchange. The offer is up to 22% APY value (15% native subsidised + XORA reward value), variable and never guaranteed.

Open Xora → Put your XRP to work