Crypto Tax Calculator

Calculate capital gains tax on cryptocurrency trades. Track short-term vs long-term gains and estimate your tax liability.

Your data stays in your browser. Nothing is stored or sent to any server.
Built by Abiot Y. Derbie, PhD — Postdoctoral Research Fellow. Quantitative researcher specializing in statistical modeling and data-driven decision systems.
Mathematical models independently verified by Eskezeia Y. Dessie, PhD (Indiana University School of Medicine) and Armin Allahverdy, PhD (LinkedIn) — Data Scientist, Machine Learning & Data Mining.

Enter Your Details

0
helpful
Create a free account to save and compare your results across devices.

This calculator is for informational and educational purposes only. Results are estimates based on the information you provide and standard financial formulas. This is not financial advice. Consult a qualified financial advisor for decisions specific to your situation. Full Disclaimer

Things to Know

Essential concepts for understanding your results

Taxable Events
Which crypto transactions trigger taxes?

Taxable: selling crypto for cash, trading one crypto for another (including stablecoin swaps), using crypto to buy goods/services, receiving crypto as payment, staking/mining rewards, and airdrops. Not taxable: buying crypto with cash, transferring between your own wallets, gifting below $18,000 annual exclusion, and donating to qualified charities. The most common mistake: not realizing that crypto-to-crypto swaps are taxable even without converting to dollars.

Cost Basis
How do you determine cost basis for crypto taxes?

Cost basis = what you originally paid including fees. Methods: FIFO (first in, first out — default, often results in higher gains in bull markets). LIFO (last in, first out — may show lower gains if recent purchases were at higher prices). Specific identification (choose exactly which lots to sell — enables tax-loss harvesting by selecting high-cost lots). Tracking tools like CoinTracker, Koinly, or TaxBit automate basis calculations across exchanges.

Tax-Loss Harvesting
Can you harvest crypto losses to reduce taxes?

Yes — and crypto has a major advantage: the wash-sale rule does not currently apply to crypto (it does apply to stocks). You can sell crypto at a loss, immediately buy it back, and still claim the loss. Sell $10,000 of Bitcoin at a $3,000 loss, immediately repurchase — deduct the $3,000 loss against gains or up to $3,000 against ordinary income. Note: legislation to extend wash-sale rules to crypto has been proposed and may pass in the future.

Reporting
How do you report crypto on your taxes?

Report on Form 8949 (each transaction: date acquired, date sold, proceeds, cost basis, gain/loss) with totals flowing to Schedule D. Staking/mining income goes on Schedule 1 (other income) or Schedule C if conducted as a business. The IRS Form 1040 asks directly: 'Did you receive, sell, or otherwise dispose of digital assets?' — answering 'No' when you had taxable transactions is considered fraudulent. Major exchanges now issue 1099-DA forms reporting your transactions to the IRS.

How does your full investment picture look?Take a 5-minute Financial Checkup to see how your crypto holdings, tax efficiency, and overall portfolio compare to national benchmarks.
The Quick AnswerCORE INSIGHT

The IRS treats crypto like property — every taxable event creates a gain or loss

Selling crypto for cash, swapping one crypto for another (BTC → ETH), spending crypto on goods, or using crypto to pay for services all trigger taxable events. Every sale or exchange creates a capital gain or loss vs your cost basis. Holding crypto, transferring between your own wallets, and gifting under $19,000/year are NOT taxable events. The single most expensive mistake crypto investors make is failing to track cost basis across multiple wallets, exchanges, and trades — leading to over-reporting gains by 20-50% and overpaying tax. IRS Digital Assets guidance is the authoritative starting point.

What Triggers Tax (and What Doesn't)IRS RULES

Different crypto activities trigger different tax treatments. The complete map:

ActivityTax TypeTax Treatment
Sell crypto for USDCapital gain/lossShort-term (≤1yr) = ordinary income; Long-term (>1yr) = preferential 0/15/20%
Swap crypto-to-crypto (BTC → ETH)Capital gain/lossSame as sale; FMV at swap = sale price; common audit trigger
Spend crypto on goods/servicesCapital gain/lossFMV at purchase = sale price; gain/loss vs cost basis
Mining rewardsOrdinary incomeTaxed at FMV when received; basis = FMV; later sale = additional gain/loss
Staking rewardsOrdinary incomeSame as mining; Rev. Rul. 2023-14 confirms taxable when "dominion and control" achieved
AirdropsOrdinary incomeFMV at receipt; basis = FMV
Hard fork distributionsOrdinary incomeFMV when received and you have control
NFT minting / saleCapital gain (collectibles 28%)NFTs may face the 28% collectibles rate (vs 20% LTCG max) per IRS Notice 2023-27
HOLD (HODL)Not taxableNo tax until sale or disposition
Wallet-to-wallet (your own)Not taxableInternal transfers don't trigger gain/loss
Gift to family/friendDonor: not taxable up to $19K/yrRecipient assumes donor's basis; gain on later sale
Donation to charity (recognized 501(c)(3))Deduction at FMVHeld >1 yr; deduction = FMV (avoids capital gain entirely)

All taxable transactions must be reported on Form 8949 and Schedule D. Beginning in 2025 tax year, brokers must issue Form 1099-DA reporting crypto transactions to both you and the IRS — making mistakes increasingly visible.

Cost Basis Method: Decision Matrix

When you sell some — but not all — of a crypto holding, the IRS requires you to identify which specific units you sold. The cost basis method you choose dramatically changes your tax bill:

MethodHow It WorksTax ImpactBest For
FIFO (First In, First Out)Sells oldest lots firstOften highest gain (oldest lots = lowest basis in bull market)Default for many; simple; no records required
LIFO (Last In, First Out)Sells most recent lots firstOften lower gain in bull market (recent lots = higher basis)Recent buyers in rising market
HIFO (Highest In, First Out)Sells highest-cost-basis lots firstMinimizes gains; maximizes deferralTax-aware investors with detailed records
Specific Identification (Spec ID)You pick exact lots to sellMaximum control; can match lossesSophisticated investors; requires per-trade documentation
Average CostOne blended cost across all lotsSmooths gains/losses; no optimizationNOT permitted for crypto by IRS (only stocks/funds)
Critical 2026 nuance — wallet-by-wallet basis: The IRS clarified in Rev. Proc. 2024-28 that beginning 2025, crypto cost basis must be tracked by wallet/exchange separately, not pooled across all your holdings. If you have BTC at Coinbase, Kraken, and a hardware wallet, each gets its own FIFO/HIFO calculation. Pre-2025 universal pooling required transition relief — confirm your tax software is updated. Rev. Proc. 2024-28 sets the safe-harbor rules for the transition.
Five Common Mistakes

The five most expensive crypto tax mistakes — each can cost five-figure sums for active traders:

  1. Forgetting that crypto-to-crypto swaps are taxable. Trading $50K of BTC for ETH is a $50K sale, even though you never touched USD. The most common audit trigger for crypto holders is failing to report swap income. Every DEX trade, every "rebalance," every Uniswap swap creates a taxable event — track them all.
  2. Ignoring DeFi liquidity provision and lending. Adding tokens to a Uniswap LP, lending on Aave, or staking on a validator typically triggers taxable events even though you got LP tokens or receipts back. The IRS treats these as exchanges. Track FMV at deposit; track later withdrawal as another exchange. Most retail crypto holders get this wrong.
  3. Not tracking cost basis across wallet/exchange transfers. When you move 1 BTC from Coinbase to a hardware wallet, the basis follows. But Coinbase doesn't know your Trezor's transactions, so its 1099-DA will show "missing basis" or zero basis. You must reconcile manually using Koinly, CoinTracker, or similar before filing.
  4. Missing the wash-sale rule's absence for crypto. Stocks have a 30-day wash-sale rule (can't claim loss if you rebuy within 30 days). Crypto currently has NO wash-sale rule, so you can sell at a loss and buy back the same day — capturing the loss legally. This is a powerful year-end tax-loss harvesting move. (Note: bills periodically propose extending wash-sale to crypto; verify current law via your CPA.)
  5. Failing to report mining/staking income. Mining and staking rewards are ordinary income at FMV when received — even if you never sold. A miner receiving 0.5 BTC at $50K market price has $25K of ordinary income that year, separate from any later capital gain on sale. Many small miners and stakers underreport this; the IRS is increasingly focused on staking income enforcement.
Strategic Action Plan

Three concrete moves to optimize crypto tax this year:

  1. Use crypto tax software, even if your broker provides 1099-DA. Form 1099-DA (mandatory for brokers starting 2025 tax year) shows broker-side data — but misses on-chain DeFi activity, NFT mints, transfers between wallets, and staking outside the broker. Koinly, CoinTracker, or TaxBit reconcile across exchanges, wallets, and chains. Cost: $50-$300/year. Catch: still requires you to verify completeness — check transaction count vs your records.
  2. Year-end loss harvesting (no wash-sale). If you have unrealized losses on any crypto position, sell before Dec 31 to lock in the loss against your gains for the year. You can rebuy the same coin immediately — crypto has no wash-sale rule (yet). Net losses up to $3,000 offset ordinary income; excess losses carry forward indefinitely. For active traders with large gain/loss positions, this can save $5K-$50K per year.
  3. Hold winners to long-term and donate appreciated coins to charity. The 1-year-and-1-day hold reduces your top federal rate from 37% (short-term ordinary) to 20% (long-term capital gains) — a 17-point swing. For appreciated long-term holdings, donating directly to a 501(c)(3) charity (like Fidelity Charitable Donor-Advised Fund) deducts FMV without realizing the gain — saving both the capital gains tax AND providing a charitable deduction. Most powerful crypto tax move available to high-net-worth holders.
Authoritative SourcesIRS / FORMS

For exact rules, current IRS guidance, and reporting requirements, refer to authoritative sources:

How Cryptocurrency Is Taxed in 2026

The IRS treats cryptocurrency as property, not currency. This means every sale, trade, or use of crypto is a potentially taxable event — just like selling stocks. The same capital gains tax rules apply: short-term gains (held under 1 year) taxed at ordinary income rates (10-37%), long-term gains (over 1 year) at reduced rates (0%, 15%, or 20%).

Taxable events: Selling crypto for USD, trading one crypto for another (BTC → ETH is a taxable sale of BTC), using crypto to buy goods or services, receiving crypto as payment for work (taxed as ordinary income), crypto mining/staking rewards (taxed as income when received), and airdrops (taxed as income at fair market value when received).

Not taxable: Buying crypto with USD and holding it, transferring crypto between your own wallets, gifting crypto (up to $19,000/year without gift tax), and donating crypto to a qualified charity (deductible at fair market value with no capital gains tax).

Calculating Your Crypto Gains and Losses

Gain or loss = sale price minus cost basis. Your cost basis is what you paid for the crypto including fees. If you bought 1 ETH at $1,800 (plus $5 exchange fee = $1,805 basis) and sold at $3,200, your gain is $1,395.

The cost basis challenge: If you bought the same crypto at different times and prices, which cost basis do you use when selling? The IRS allows three methods: FIFO (First In, First Out) — the default, uses the oldest purchase's basis; LIFO (Last In, First Out) — uses the newest purchase's basis; and Specific Identification — you choose which lot to sell. Specific identification gives you the most control — sell high-basis lots first to minimize gains.

DeFi, staking, and yield farming: These create complex tax situations. Staking rewards and yield farming earnings are taxed as ordinary income at the fair market value when received. If you earned 0.5 ETH in staking rewards when ETH was $3,000, that is $1,500 in ordinary income — taxed at your marginal rate. Your cost basis in those 0.5 ETH is $1,500. If you later sell at $4,000, you have a $500 capital gain on top of the original $1,500 income.

1099 Reporting for Crypto in 2026

Crypto exchanges are now required to issue 1099 forms — and the IRS is actively cross-referencing these with tax returns. Starting with the 2025 tax year (filed in 2026), major exchanges report customer transactions on Form 1099-DA (Digital Assets).

What exchanges report: Gross proceeds from sales, date of transactions, and in some cases cost basis information. Not all exchanges have complete cost basis — if you transferred crypto between exchanges, the receiving exchange may not know your original purchase price. You are responsible for maintaining accurate cost basis records regardless of what the exchange reports.

The IRS question on page 1 of Form 1040: "At any time during the tax year, did you receive, sell, send, exchange, or otherwise acquire any digital assets?" If you had any crypto activity — including receiving staking rewards, mining, or even receiving crypto as payment — the answer is Yes. Answering No when you had activity is considered a false statement on a federal tax return.

Use crypto tax software (CoinTracker, Koinly, TaxBit, CoinLedger) to aggregate transactions across all your exchanges and wallets, calculate gains/losses, and generate the required IRS forms (Form 8949 and Schedule D). Manual calculation across multiple exchanges with hundreds of trades is nearly impossible to do accurately.

Unlock FinCalcs ProPRO

Go deeper on your crypto + tax-aware investing strategy — everything in Free, plus:

Tax Impact Estimator — federal + 50 states
Net Worth Timeline — 30-year projection, 3 scenarios
Smart Alerts — 14 personalized rules with actions
Scenario Snapshots — compare 3 strategies
Couples Mode — shared household dashboard
Year-in-Review PDF — polished 6-page report
Monthly Digest — your financial pulse
Unlimited saves + full health score
All 27 milestones + 3 next-step cards
All 7 financial plan areas

Cancel anytime. No commitment. 7-day free trial included.

1099-DA Reporting Timeline + Cost Basis Scenario Comparison

Form 1099-DA Phased Rollout (2025-2027)

Form 1099-DA is the new IRS reporting form for digital asset transactions, mandated by the 2021 Infrastructure Investment and Jobs Act. The phased rollout determines what brokers must report to you and the IRS each year:

Tax Year What Brokers Report What You Must Track Yourself
2025 (file in early 2026)Gross proceeds only. Brokers report your total dollar amount of sales but NOT cost basis. You compute the gain/loss yourself.All cost basis tracking; on-chain DeFi; NFT mints; staking rewards; cross-wallet transfers.
2026 (file in early 2027)Proceeds + cost basis (when known by broker). Covered transactions show basis; uncovered transactions still flagged.Cross-wallet basis reconciliation; DeFi; staking; mining; transfers off-broker.
2027+ (file 2028+)Full reporting including DeFi/non-custodial wallet transactions (under Treasury final rule).Reconciliation across multiple 1099-DAs; specific identification documentation.
Critical compliance point: The IRS now matches 1099-DA filings against your tax return — discrepancies trigger CP-2000 notices automatically. Reconcile broker-reported amounts against your tax software output before filing, and document any differences. Common legitimate differences: cost basis transferred from a non-custodial wallet, gifts received with donor's basis, basis from prior-year carryforwards.

Cost Basis Method Comparison: Real Scenario

Suppose you bought BTC across 5 lots over 2 years, then sold 1 BTC in late 2026. The lots:

Lot Purchase Date BTC Quantity Cost per BTC Total Basis
Lot 1Jan 20240.3 BTC$45,000$13,500
Lot 2May 20240.2 BTC$67,000$13,400
Lot 3Nov 20240.2 BTC$92,000$18,400
Lot 4Mar 20250.2 BTC$78,000$15,600
Lot 5Aug 20260.1 BTC$105,000$10,500

You sell 1 BTC at $115,000 in November 2026. Your gain calculation depends on the cost basis method:

Method Cost Basis Used Capital Gain Tax @ 24% Bracket Holding
FIFO$58,800 (Lots 1+2+3+0.3 of 4)$56,200 gain~$8,430 (mostly long-term 15%)Long-term (oldest lots)
LIFO$73,300 (Lots 5+4+0.7 of 3)$41,700 gain~$10,005 (mix short+long)Mixed (Lot 5 short-term)
HIFO$78,500 (Lots 5+3+4)$36,500 gain~$8,760 (mix; lower gain)Mixed; minimizes gain
Specific ID (long-term only)$78,000 (Lots 4+3+2+0.3 of 1)$37,000 gain~$5,550 (all long-term 15%)All long-term selected

Key insight: in this scenario, Specific ID with all long-term lots saves ~$2,880 vs FIFO, and HIFO saves a different shape of tax. The choice matters more for active traders making frequent partial sales — over a year of trading, the difference can compound into five-figure tax savings. Beginning 2025 (per Rev. Proc. 2024-28), basis tracking is wallet-by-wallet, so you can apply different methods on different exchanges if appropriate.

Tax computations simplified for illustration. Actual rates depend on your full tax situation, holding periods, state of residence, and NIIT exposure. For exact tax calculation specific to your portfolio, use crypto tax software (Koinly, CoinTracker) and consult a CPA familiar with crypto reporting.

Tax-Loss Harvesting for Crypto

Crypto tax-loss harvesting is currently more favorable than stock tax-loss harvesting because the wash sale rule does not apply to cryptocurrency (as of 2026 — Congress has proposed extending it to crypto, so monitor legislation). This means you can sell crypto at a loss and immediately repurchase the same asset — capturing the tax loss while maintaining your position. With stocks, you must wait 31 days.

Strategy: In a market downturn, sell underwater crypto positions to realize losses. Immediately repurchase at the same price. Your position is unchanged, but you now have capital losses that offset gains and up to $3,000/year in ordinary income. On $20,000 in realized crypto losses with $15,000 in other gains: you offset all gains ($15,000) plus $3,000 in ordinary income, saving $2,700-$4,500 in taxes depending on bracket. Remaining $2,000 carries forward to next year.

Warning: Congressional proposals to apply the wash sale rule to crypto have been introduced multiple times. If passed, the "sell and immediately rebuy" strategy would become illegal. Follow tax legislation developments — and consider taking advantage of this strategy while it remains available.

Save your crypto tax scenarios across devicesFree account — sync your tax-loss harvesting analyses, get a personalized financial health score, and track multi-year crypto tax positions.

Frequently Asked Questions

Do I have to pay taxes on crypto?
Yes. Selling, trading, or using crypto to buy goods are taxable events. Short-term gains (held under 1 year) are taxed at ordinary income rates. Long-term gains (over 1 year) are taxed at 0/15/20%. Simply buying and holding (HODL) is not taxable. Mining, staking, and airdrop rewards are taxed as ordinary income when received.
How do I report crypto on my taxes?
Report gains and losses on Form 8949 (list each transaction) and Schedule D (summarize totals). Crypto income (mining, staking, payments for work) goes on Schedule C (self-employment) or Schedule 1 (other income). Answer "Yes" to the digital asset question on Form 1040. Use crypto tax software to aggregate exchange data and generate the required forms automatically.
Does the wash sale rule apply to crypto?
As of 2026, no — the wash sale rule applies only to securities (stocks, bonds, ETFs). You can sell crypto at a loss and immediately repurchase the same asset, capturing the tax loss while maintaining your position. Congress has proposed extending the wash sale rule to crypto, so this advantage may disappear. Take advantage while it is available and monitor legislative changes.
What if I lost money on crypto?
Crypto losses offset crypto and other capital gains dollar-for-dollar. After offsetting all gains, up to $3,000 in net capital losses can offset ordinary income annually. Losses above $3,000 carry forward to future tax years indefinitely. To claim the loss, you must sell (realize) the position — unrealized losses on crypto you still hold are not deductible.
Is trading one crypto for another taxable?
Yes. Trading BTC for ETH is treated as selling BTC (taxable event) and buying ETH. You owe capital gains tax on any appreciation in the BTC since you purchased it. The cost basis of your new ETH is the fair market value at the time of the trade. This applies to all crypto-to-crypto trades, not just cash-outs to USD.
The FinCalcs Pulse — free monthly newsletterMonthly insights on IRS crypto guidance, 1099-DA rollout updates, DeFi tax developments, wash-sale rule legislative proposals, and tax-aware crypto strategy. No spam, unsubscribe anytime.
Powered by FinCalcs — Free Financial Calculators