Crypto Tax Calculator
Calculate capital gains tax on cryptocurrency trades. Track short-term vs long-term gains and estimate your tax liability.
Enter Your Details
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 EventsWhich 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 BasisHow 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 HarvestingCan 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.
ReportingHow 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.
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.
Different crypto activities trigger different tax treatments. The complete map:
| Activity | Tax Type | Tax Treatment |
|---|---|---|
| Sell crypto for USD | Capital gain/loss | Short-term (≤1yr) = ordinary income; Long-term (>1yr) = preferential 0/15/20% |
| Swap crypto-to-crypto (BTC → ETH) | Capital gain/loss | Same as sale; FMV at swap = sale price; common audit trigger |
| Spend crypto on goods/services | Capital gain/loss | FMV at purchase = sale price; gain/loss vs cost basis |
| Mining rewards | Ordinary income | Taxed at FMV when received; basis = FMV; later sale = additional gain/loss |
| Staking rewards | Ordinary income | Same as mining; Rev. Rul. 2023-14 confirms taxable when "dominion and control" achieved |
| Airdrops | Ordinary income | FMV at receipt; basis = FMV |
| Hard fork distributions | Ordinary income | FMV when received and you have control |
| NFT minting / sale | Capital gain (collectibles 28%) | NFTs may face the 28% collectibles rate (vs 20% LTCG max) per IRS Notice 2023-27 |
| HOLD (HODL) | Not taxable | No tax until sale or disposition |
| Wallet-to-wallet (your own) | Not taxable | Internal transfers don't trigger gain/loss |
| Gift to family/friend | Donor: not taxable up to $19K/yr | Recipient assumes donor's basis; gain on later sale |
| Donation to charity (recognized 501(c)(3)) | Deduction at FMV | Held >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.
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:
| Method | How It Works | Tax Impact | Best For |
|---|---|---|---|
| FIFO (First In, First Out) | Sells oldest lots first | Often 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 first | Often lower gain in bull market (recent lots = higher basis) | Recent buyers in rising market |
| HIFO (Highest In, First Out) | Sells highest-cost-basis lots first | Minimizes gains; maximizes deferral | Tax-aware investors with detailed records |
| Specific Identification (Spec ID) | You pick exact lots to sell | Maximum control; can match losses | Sophisticated investors; requires per-trade documentation |
| Average Cost | One blended cost across all lots | Smooths gains/losses; no optimization | NOT permitted for crypto by IRS (only stocks/funds) |
The five most expensive crypto tax mistakes — each can cost five-figure sums for active traders:
- 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.
- 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.
- 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.
- 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.)
- 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.
Three concrete moves to optimize crypto tax this year:
- 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.
- 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.
- 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.
For exact rules, current IRS guidance, and reporting requirements, refer to authoritative sources:
- IRS Digital Assets Hub — Authoritative IRS resource for all crypto tax guidance, FAQs, and updates.
- IRS Notice 2014-21 — Foundational guidance establishing crypto as property for federal tax purposes.
- IRS Rev. Rul. 2023-14 — Confirms staking rewards are ordinary income when "dominion and control" achieved.
- IRS Rev. Proc. 2024-28 — Wallet-by-wallet cost basis tracking rules effective 2025; transition safe harbors.
- Form 8949 Instructions — Reporting capital asset sales including crypto; column F codes for adjustments.
- Form 1099-DA — Crypto broker reporting form effective 2025 tax year; what brokers report to IRS and you.
- IRS — Charitable Contributions of Property — Rules for donating appreciated crypto; FMV deduction requirements; appraisal thresholds.
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.
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. |
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 1 | Jan 2024 | 0.3 BTC | $45,000 | $13,500 |
| Lot 2 | May 2024 | 0.2 BTC | $67,000 | $13,400 |
| Lot 3 | Nov 2024 | 0.2 BTC | $92,000 | $18,400 |
| Lot 4 | Mar 2025 | 0.2 BTC | $78,000 | $15,600 |
| Lot 5 | Aug 2026 | 0.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.
Frequently Asked Questions
The Weekly Financial Pulse
Every Monday: rate changes, one money move, calculator spotlight — in under 3 minutes. Free forever.
No spam, ever. Unsubscribe anytime.