Calculate capital gains & estimate your crypto tax liability
💰 Capital Gains Tax Calculator
Your cost basis per coin
Price you sold at
Number of XRP sold
Used for short-term gains (taxed as ordinary income)
Capital Gain/Loss
$0
0% return
Tax Rate Applied
0%
Short-term
Estimated Tax Owed
$0
Net: $0
📊 Calculation Breakdown
Cost Basis (Purchase Value)$0
Sale Proceeds$0
Capital Gain$0
Tax Rate0%
Estimated Tax$0
💡 Tax Optimization Tip
Hold for 1+ year to qualify for lower long-term capital gains rates.
📈 Short-Term vs Long-Term Capital Gains
The IRS treats cryptocurrency as property. How long you hold your XRP before selling determines which tax rate applies:
⚡ Short-Term (Under 1 Year)
Taxed at your ordinary income tax rate, which can be as high as 37% for high earners. This includes day trading, swing trading, or any sale within 12 months of purchase.
Bought: Jan 15, 2026
Sold: Jun 15, 2026
= Short-term (10-37% tax)
🌿 Long-Term (Over 1 Year)
Qualified for preferential tax rates of 0%, 15%, or 20% based on income. Significant tax savings for patient investors-potentially paying $0 in taxes on gains.
Bought: Jan 15, 2025
Sold: Feb 15, 2026
= Long-term (0-20% tax)
💵 2026 Tax Brackets Reference
Short-Term Capital Gains (Ordinary Income Rates)
Single Filers
Married Filing Jointly
Tax Rate
$0 - $11,600
$0 - $23,200
10%
$11,600 - $47,150
$23,200 - $94,300
12%
$47,150 - $100,525
$94,300 - $201,050
22%
$100,525 - $191,950
$201,050 - $383,900
24%
$191,950 - $243,725
$383,900 - $487,450
32%
$243,725 - $609,350
$487,450 - $731,200
35%
$609,350+
$731,200+
37%
Long-Term Capital Gains (Preferential Rates)
Single Filers
Married Filing Jointly
Tax Rate
$0 - $47,025
$0 - $94,050
0%
$47,025 - $518,900
$94,050 - $583,750
15%
$518,900+
$583,750+
20%
📌 Net Investment Income Tax (NIIT)
High earners may owe an additional 3.8% NIIT on capital gains if modified AGI exceeds $200,000 (single) or $250,000 (married). This applies to both short-term and long-term gains.
📚 FIFO vs LIFO Accounting Methods
When you've bought XRP at different times and prices, the accounting method you choose determines your cost basis and tax liability:
FIFO (First-In, First-Out)
Default IRS method. Assumes you sell your oldest coins first. Often results in long-term gains if you've held for over a year.
You can also use Specific Identification to choose exactly which coins you're selling. This offers maximum tax optimization but requires detailed records. You must identify the specific lot before or at the time of sale.
⚡ When Do You Owe Taxes on XRP?
🔴 Taxable Events
Selling XRP for fiat (USD, EUR, etc.)
Trading XRP for another cryptocurrency
Spending XRP on goods or services
Receiving XRP as payment (taxed as income at fair market value)
Airdrops (taxed as income when received)
Mining/staking rewards (taxed as income)
🟢 Non-Taxable Events
Buying XRP with fiat currency
Holding XRP in your wallet
Transferring between your own wallets
Gifting XRP (under $18,000/recipient in 2026)
Donating to qualified charity
Inheriting crypto (gets stepped-up basis)
🌿 Tax-Loss Harvesting Strategy
💡 What is Tax-Loss Harvesting?
Tax-loss harvesting involves strategically selling crypto at a loss to offset your capital gains, reducing your overall tax bill. Unlike stocks, cryptocurrency is not subject to wash sale rules in 2026, meaning you can immediately repurchase the same asset after selling at a loss.
How it works:
Sell XRP (or other crypto) that's currently at a loss
Use those losses to offset capital gains from profitable sales
If losses exceed gains, deduct up to $3,000 against ordinary income
Carry forward remaining losses to future tax years indefinitely
Optionally repurchase immediately to maintain your position
Example: Tax-Loss Harvesting
Scenario: You have $10,000 in XRP gains
You also hold ETH bought at $3,000, now worth $2,000
Without harvesting: Pay tax on $10,000 gain
With harvesting:
• Sell ETH at $1,000 loss
• Net gain = $10,000 - $1,000 = $9,000
• Repurchase ETH immediately
• Save ~$220-370 in taxes (at 22-37% rate)
❓ Frequently Asked Questions
Do I have to pay taxes on XRP?
Yes, in the US and most countries, selling XRP for profit is a taxable event. You owe capital gains tax on the difference between your purchase price (cost basis) and sale price. Simply holding XRP is not taxable-only selling, trading, or spending triggers taxes.
What's the difference between short-term and long-term capital gains?
Short-term capital gains apply to assets held less than 1 year and are taxed at your ordinary income rate (10-37% in 2026). Long-term capital gains apply to assets held over 1 year and receive preferential rates of 0%, 15%, or 20% depending on income. Holding longer can save you significant money in taxes.
What is FIFO vs LIFO for crypto taxes?
FIFO (First-In-First-Out) assumes you sell your oldest coins first, often resulting in long-term gains if you've held for a while. LIFO (Last-In-First-Out) assumes you sell newest coins first, potentially creating short-term gains but with a higher (more recent) cost basis. FIFO is the IRS default method; you must specifically elect LIFO or specific identification.
What triggers a taxable event for XRP?
Taxable events include: 1) Selling XRP for fiat currency, 2) Trading XRP for another cryptocurrency, 3) Spending XRP on goods/services, 4) Receiving XRP as payment (taxed as income). Non-taxable: buying XRP with fiat, transferring between your own wallets, or gifting under $18,000.
What is tax-loss harvesting for crypto?
Tax-loss harvesting involves selling crypto at a loss to offset capital gains, reducing your tax bill. Unlike stocks, crypto isn't subject to wash sale rules in 2026, so you can immediately repurchase. You can deduct up to $3,000 in net losses against ordinary income annually, with unlimited carryforward.
How do I report XRP on my taxes?
Report crypto transactions on IRS Form 8949 (each sale/trade) and Schedule D (summary of gains/losses). Keep records of every purchase date, amount, cost basis, sale date, and proceeds. Consider using crypto tax software like Koinly, CoinTracker, or TaxBit for automatic tracking and form generation.
⚠️ Important Disclaimer
This calculator provides estimates for educational purposes only and does not constitute tax, legal, or financial advice. Tax laws vary by jurisdiction and individual circumstances. Actual tax liability depends on your complete financial situation, deductions, credits, and other factors. Always consult a qualified tax professional for advice specific to your situation.