Free tool · No account required

Crypto tax calculator: see your bill under 3 methods instantly

Enter your trades, compare FIFO vs LIFO vs HIFO side by side, and find which cost basis method saves you the most. 100% client-side, your data never leaves your browser.

2026 IRS rates FIFO / LIFO / HIFO $0 cost basis detector Zero data collection
Crypto Capital Gains Calculator 2026
Enter your buy and sell transactions. We calculate your tax under all 3 cost basis methods and show you which saves the most.
1 Your tax situation
2 Your crypto transactions

Add each buy and sell. The calculator matches sells to buys using FIFO, LIFO, and HIFO to compare your tax liability.

Type
Date
Asset
Amount
Price (USD)

Your estimated crypto tax

⚠️ $0 Cost Basis Detected

What is Form 1099-DA and why your numbers might be wrong

2026 is the first year every centralized crypto exchange in the US must issue Form 1099-DA, a brand new tax form that reports your digital asset sales directly to the IRS. If you traded on Coinbase, Kraken, Gemini, or any other US exchange, you received one in early 2026.

The problem: if you transferred crypto from another exchange or a hardware wallet, your 1099-DA likely shows a $0 cost basis. The exchange doesn't know what you originally paid. From the IRS's perspective, that means your entire sale was pure profit. You owe tax on the full amount.

The cost basis gapSay you bought 1 BTC for $30,000 on Coinbase, transferred it to Kraken, and sold it for $85,000 on Kraken. Kraken's 1099-DA reports $85,000 in proceeds with $0 cost basis, implying $85,000 in gains. Your actual gain is $55,000. If you don't correct this on Form 8949, you'll pay tax on $30,000 of phantom profit.

Our calculator above helps you catch this. Enter your actual buy prices and sell prices, and compare the result against what your 1099-DA shows. If there's a gap, you need to file Form 8949 with your correct cost basis.

FIFO vs LIFO vs HIFO: which saves you the most

When you sell crypto, you have to decide which coins you're selling, the first ones you bought (FIFO), the last ones (LIFO), or the most expensive ones (HIFO). This choice dramatically affects your tax bill.

MethodWhat it doesBest when
FIFOSells your oldest coins firstYou bought early at low prices and want long-term capital gains treatment
LIFOSells your newest coins firstYou bought recently at higher prices, reducing short-term gains
HIFOSells your most expensive coins firstAlmost always produces the lowest tax bill, maximizes cost basis used

HIFO almost always wins. By selling the coins you paid the most for, you minimize the taxable gain on each sale. The calculator above runs all three methods on your exact trades so you can see the dollar difference.

ImportantThe IRS requires you to keep detailed records proving which specific lots you sold. If you use HIFO, you must be able to identify each lot. This is called "specific identification." Our calculator tracks lot-level matching for all three methods automatically.

2026 crypto tax rates

Crypto capital gains are taxed at two different rates depending on how long you held the asset:

Short-term (held ≤ 1 year)

Taxed at your ordinary income tax rate. For 2026 (single filer):

Taxable IncomeRate
$0 - $11,92510%
$11,926 - $48,47512%
$48,476 - $103,35022%
$103,351 - $197,30024%
$197,301 - $250,52532%
$250,526 - $626,35035%
Over $626,35037%

Long-term (held > 1 year)

Taxed at preferential rates:

Taxable Income (Single)Rate
$0 - $48,3500%
$48,351 - $533,40015%
Over $533,40020%

High earners may also owe the 3.8% Net Investment Income Tax (NIIT) on top of these rates if their modified adjusted gross income exceeds $200,000 (single) or $250,000 (married).

Frequently asked questions

What is Form 1099-DA?
Form 1099-DA is a new IRS form for 2026 that crypto exchanges must send to report your digital asset sales. For the 2025 tax year, it reports gross proceeds only. Starting with 2026 transactions, it will also include cost basis for assets acquired on that exchange after January 1, 2026.
Why does my 1099-DA show $0 cost basis?
If you transferred crypto from another exchange or a hardware wallet before selling, your current exchange doesn't know what you originally paid. It reports $0 cost basis by default. This means the IRS sees your entire sale as profit unless you correct it on Form 8949 with your actual cost basis.
Is swapping one crypto for another taxable?
Yes. The IRS treats a crypto-to-crypto swap (e.g., BTC to ETH) as selling the first asset and buying the second. You realize a capital gain or loss on the first asset at the fair market value of the asset you received.
What about staking rewards and airdrops?
Staking rewards and airdrops are taxed as ordinary income at the fair market value when you receive them. If you later sell those tokens, you also owe capital gains tax on any price change since you received them. This calculator focuses on capital gains from trading, staking income is reported separately on Schedule 1 or Schedule C.
Can I use tax-loss harvesting with crypto?
Yes. Unlike stocks, crypto is not yet subject to the wash sale rule in the US. You can sell a losing position to realize a loss, then immediately rebuy the same asset. This locks in a tax deduction while maintaining your position. This is one of the few remaining advantages crypto has over traditional securities for tax purposes.
Do I need paid crypto tax software?
If you have a simple portfolio (fewer than 50 trades, no DeFi, no cross-chain bridges), this free calculator gives you the numbers you need. For complex portfolios with DeFi, staking, NFTs, or hundreds of trades across multiple exchanges, paid tools like CoinLedger, Koinly, or Blockstats handle the import and classification automatically.

Get the 2026 crypto tax cheat sheet

One-page PDF: rates, deadlines, which forms to file, and how to avoid the $0 basis trap.

Crypto traders who also run a business or work self-employed should make sure their crypto gains calculations fit within a broader tax picture. If you have freelance income, consulting revenue, or an Amazon store alongside your crypto portfolio, it's worth understanding how those income streams interact. Tracking business expenses alongside your crypto activity ensures you're maximizing every available deduction and not overpaying across income categories.

For those actively trading crypto as a significant income stream, AI tools built specifically for financial analysis can help surface better opportunities. The best AI finance tools in 2026 covers platforms that help with portfolio analysis, market research, and automated tracking, going beyond tax calculation into active management.

Using AI for your crypto trading strategy

Beyond calculating your tax bill, see how AI tools are helping traders research, analyze, and time the market more intelligently.

See AI crypto tools →
Save
Dashboard