← All articles10 min read

How to Calculate Crypto Taxes in 2026: What Every Holder Needs to Know

Cryptocurrency tax calculation illustration showing Bitcoin, Ethereum, calculator and IRS forms

In 2024, the IRS received 1099-DAs from major exchanges covering an estimated $300 billion in crypto transactions. The agency’s own data showed that crypto-related unreported income is one of the largest components of the “tax gap.” The enforcement math is changing: broker reporting requirements that took effect in 2025 mean the IRS now receives transaction-level data automatically. This is no longer a situation where you can rely on obscurity.

Here is the complete framework for calculating your 2026 crypto taxes accurately — including the three scenarios most holders get wrong.

The Core Rule: Crypto Is Property

The IRS established in Notice 2014-21 that cryptocurrency is property, not currency. This classification governs everything. Every “disposal” of crypto — any transaction where you give up crypto — is a taxable event. The gain or loss equals the fair market value at disposal minus your cost basis.

What counts as a disposal:

  • Selling crypto for US dollars or any fiat currency
  • Trading one cryptocurrency for another (BTC → ETH is two taxable events)
  • Using crypto to purchase goods or services
  • Receiving payment in crypto (treated as income at fair market value)
  • Receiving staking rewards, mining rewards, or interest (ordinary income)

What is NOT a taxable event:

  • Buying crypto with fiat
  • Transferring crypto between your own wallets
  • Holding crypto
  • Gifting crypto below the annual gift tax exclusion ($18,000 per recipient in 2026)

Calculating Capital Gains: The Exact Formula

Capital gain (or loss) = Sale proceeds − Cost basis − Transaction fees

Cost basis includes the original purchase price plus any fees paid to acquire the asset. A $0.50 network fee to receive Bitcoin increases your cost basis by $0.50 on that lot — which reduces your eventual taxable gain by the same amount. Over hundreds of transactions, fee tracking is material.

ScenarioPurchase PriceSale PriceFeesTaxable GainHolding PeriodTax Rate (32% bracket)
Short-term sale$20,000$35,000$50$14,9508 months32% = $4,784
Long-term sale$20,000$35,000$50$14,95014 months15% = $2,243
Crypto-to-crypto swap$5,000 (ETH basis)$8,200 (ETH value at swap)$12$3,1886 months32% = $1,020
Staking reward received$0 (new issuance)$420 (FMV at receipt)$420 ordinary incomeN/A32% = $134

The long-term vs. short-term difference on the same $14,950 gain: $2,541. For anyone with substantial unrealized gains, the 12-month holding threshold is the single most impactful legal tax lever available. Use the DCA calculator to model your average cost basis before deciding whether to sell or hold.

Cost Basis Methods: FIFO vs. LIFO vs. Specific Identification

The IRS allows three cost basis methods for crypto. The choice materially affects your tax bill — and you must be consistent within a tax year.

FIFO (First In, First Out)

The default method. When you sell crypto, the IRS assumes you’re selling your oldest lots first. In a bull market where you bought low and prices have risen, FIFO typically produces the largest gains — because your cheapest-basis (oldest) lots get sold first. Benefit: simplest to implement. Downside: often the highest-tax outcome in up-trending markets.

HIFO (Highest In, First Out)

Sell your highest-basis lots first. This minimizes taxable gains in the current year. The IRS allows this under “specific identification” — you must identify the specific lots being disposed of at the time of sale, not retroactively. Requires per-lot tracking. For holders with Bitcoin purchased across multiple years at varying prices, HIFO can reduce a $20,000 gain to $8,000 by selecting the right lots.

LIFO (Last In, First Out)

Sells most recently purchased lots first. Useful if recent purchases have the highest basis. Also requires specific identification. Less commonly optimal than HIFO but occasionally the right choice for specific positions.

The practical implication: if you hold Bitcoin purchased at $8,000, $25,000, $45,000, and $68,000, and Bitcoin is now trading at $90,000, selling via HIFO (selling the $68,000 lot first) produces a $22,000 gain. Selling via FIFO (selling the $8,000 lot first) produces an $82,000 gain. The cost basis method choice is worth tens of thousands of dollars in tax liability on a mid-size portfolio.

DCA Portfolios: The Multi-Lot Tax Problem

Dollar-cost averaging creates a separate tax lot for every purchase. Weekly DCA over two years = 104 tax lots, each with its own basis and acquisition date. Selling any portion of that position requires selecting which lots to dispose of and calculating gains on each.

The StackSats DCA calculator shows your weighted average cost basis across all lots — useful for understanding your blended gain position before you sell. But the weighted average is informational, not a tax method: you must track and report individual lot-level gains on Form 8949.

DCA PurchaseBTC PriceAmount PurchasedLot BasisCurrent Value (@ $90K)Unrealized Gain
Jan 2024$42,0000.1 BTC$4,200$9,000$4,800 (LT)
Jul 2024$61,0000.1 BTC$6,100$9,000$2,900 (LT)
Jan 2025$98,0000.1 BTC$9,800$9,000-$800 (LT loss)
Jul 2025$75,0000.1 BTC$7,500$9,000$1,500 (ST)

Selling 0.2 BTC from this portfolio? FIFO: you sell the Jan 2024 and Jul 2024 lots — $7,700 in long-term gains. HIFO: you sell the Jan 2025 lot (realizing a $800 long-term loss) and the Jul 2025 lot ($1,500 short-term gain) — netting to $700 in net gains rather than $7,700. The difference is not hypothetical. It is $7,000 less in taxable income.

The Three Scenarios Most Holders Get Wrong

1. Crypto-to-Crypto Swaps on DEXs

Swapping ETH for USDC on Uniswap is two taxable events: you disposed of ETH (capital gain or loss based on your ETH basis) and acquired USDC (new cost basis = FMV at receipt). Many holders treat DEX activity as “just moving money around” and miss the embedded gains. On a high-activity DeFi portfolio, unreported swap gains can run into the tens of thousands.

2. Staking and Yield: Double-Layer Taxation

Staking rewards are ordinary income at receipt (at FMV). When you later sell those rewards, you also owe capital gains on any appreciation since receipt. A holder who staked ETH continuously in 2025 and received $5,000 in rewards at various prices has $5,000 in ordinary income to report — plus separate capital gains calculations for every sale of those reward tokens. Use the crypto converter to look up historical prices for the dates you received rewards.

3. The “I Only Moved Between Wallets” Trap

Transferring crypto between wallets you own is not taxable. But bridging from one blockchain to another — even if you “own both sides” — may involve a disposal event depending on the bridge mechanism. Wrapping BTC into WBTC, for example, involves a disposal of BTC and acquisition of a new asset (WBTC). The IRS has not issued definitive guidance on every bridge pattern, but conservative treatment treats these as disposals.

Minimizing Your 2026 Crypto Tax Liability: Four Legal Strategies

Tax-Loss Harvesting

Selling positions at a loss to offset gains elsewhere. Unlike stocks, crypto has no wash-sale rule (as of 2026 — legislation is pending). You can sell Bitcoin at a loss and immediately repurchase it, realizing the tax loss while maintaining your position. A $10,000 capital loss offsets $10,000 in capital gains; any remaining loss offsets up to $3,000 in ordinary income, with the balance carrying forward.

Hold for Long-Term Treatment

Waiting for the 12-month holding threshold converts short-term gains (ordinary rates, up to 37%) into long-term gains (0%, 15%, or 20%). The difference compounds. On a $50,000 gain in the 32% bracket: $16,000 short-term vs. $7,500 long-term — a $8,500 delta.

Optimize Cost Basis Method Selection

Switch from default FIFO to HIFO (specific identification) before your next sale. Requires documenting the specific lots disposed at sale time. Many crypto tax platforms support this automatically.

Cross-Subsidize with Money Accounts

Capital losses from crypto can offset gains from stocks, real estate, and other capital assets — and vice versa. Integrate your crypto tax picture with your broader investment portfolio. Cross-link to money.thicket.sh for investment calculators that model after-tax returns across asset classes.

Tools and Record-Keeping Requirements

The IRS requires you to maintain records of every crypto transaction. For 2026 taxes, you need: date acquired, amount acquired, fair market value at acquisition, date disposed, amount disposed, fair market value at disposal, and the exchange or wallet involved.

Practical approach: export transaction histories from every exchange at tax year-end (most exchanges retain data for 3–5 years, not indefinitely). For DeFi and self-custody activity, blockchain explorers provide immutable records. Crypto tax software (Koinly, TaxBit, CoinTracker) aggregates across exchanges and wallets, handles lot-level tracking, and generates pre-filled Form 8949.

The portfolio tracker on StackSats helps you monitor current positions and cost basis. Cross-reference with the converter to look up historical prices for accurate basis calculations on older purchases.

Frequently Asked Questions

Yes — in the US, every disposal of cryptocurrency is a taxable event: selling crypto for fiat, trading one crypto for another, using crypto to pay for goods or services, and receiving staking or mining rewards. Simply holding crypto, transferring between your own wallets, or buying crypto with fiat are NOT taxable events. The IRS has treated crypto as property since 2014 (Notice 2014-21).
Cost basis is what you paid for a crypto asset, including fees. It determines your gain or loss when you sell. Buy 1 BTC for $40,000 and sell for $60,000 — your gain is $20,000. Without accurate cost basis tracking across every wallet and exchange, you risk overpaying taxes (by claiming too high a gain) or underpaying (and triggering an audit). FIFO, LIFO, and specific identification are the three main cost basis methods the IRS allows.
Assets held for 12 months or less are taxed as short-term capital gains — at ordinary income rates (10–37% in 2026 depending on your bracket). Assets held for more than 12 months qualify for long-term capital gains rates: 0%, 15%, or 20% depending on taxable income. For most holders, this difference is 10–20 percentage points per trade. Holding to the 12-month threshold is the single most impactful legal tax reduction strategy available.
Each DCA purchase creates a separate tax lot with its own cost basis and acquisition date. When you sell, you choose which lots to dispose of — typically via FIFO (oldest first) by default, or specific identification if you designate specific lots. DCA into Bitcoin over 24 months creates 24+ separate tax lots. Using the StackSats DCA calculator lets you model your average cost basis across all lots before you sell.
Staking rewards and interest (from lending platforms) are taxed as ordinary income in the year received, based on the fair market value at receipt. When you later sell those rewards, you also owe capital gains tax on any appreciation since you received them. This double-layer taxation means staking yield is more tax-inefficient than it appears — an 8% APY yield may net only 5–6% after income tax, with additional capital gains exposure on top.
For every transaction: date acquired, amount acquired, fair market value at acquisition (cost basis), date disposed, amount disposed, fair market value at disposal, and the exchange or wallet involved. The IRS can audit returns up to 3 years back (6 years if significant underreporting is suspected). Export transaction histories from every exchange annually — most exchanges only retain data for 3–5 years.

Calculate Your DCA Cost Basis

Model your average cost basis across all DCA purchases before you sell. Free, instant, no sign-up required.

Open DCA Calculator →