AD SLOT — LEADERBOARD

Crypto Capital Gains Tax Calculator

FreeNo signup

Calculate crypto taxes with FIFO, LIFO, HIFO lot methods and wash sale tracking

Free alternative to CoinTracker / Koinly ($100-279/yr)

Transactions
Received Asset
BTC
ETH
SOL

Total Gain / Loss

$25,500

Short-Term Gain

$0

Long-Term Gain

$25,500

Crypto Ordinary Income

$0

Federal Tax

$3,825

State Tax

$3,392

Total Tax

$7,217

Effective Rate

28.3%

Capital Gains Breakdown
Tax Breakdown
Cost Basis Method Comparison

What This Means

ℹ️Net capital gain of $25,500 for tax year 2025. Short-term gains are taxed as ordinary income (up to 22.0%), while long-term gains benefit from preferential rates (0%/15%/20%).
Tax loss harvesting opportunity: 2 position(s) with $7,850 in unrealized losses. Unlike stocks, crypto is NOT subject to the wash sale rule, so you can immediately repurchase after harvesting losses.
HIFO lot selection saves $23 vs FIFO. HIFO typically minimizes taxes by disposing of highest-cost lots first.
ℹ️Crypto is NOT subject to the wash sale rule as of 2026, though proposed legislation may change this. Always consult a tax professional for your specific situation.
AD SLOT — IN-CONTENT

Frequently Asked Questions

Which lot method saves the most tax?

HIFO (Highest In, First Out) typically minimizes gains by selling your most expensive lots first. FIFO (First In, First Out) is the IRS default if you don't specify.

Are crypto-to-crypto trades taxable?

Yes. Trading Bitcoin for Ethereum is a taxable event. You must calculate gain/loss on the disposed crypto at fair market value on the trade date.

Does the wash sale rule apply to crypto?

As of 2025, the IRS applies wash sale rules to crypto. You cannot claim a loss if you buy substantially identical crypto within 30 days before or after the sale.

How Crypto Capital Gains Tax Calculator Works

The Crypto Tax Calculator computes your capital gains and losses from cryptocurrency transactions using IRS-compliant cost basis methods. It processes your full transaction history — buys, sells, trades, transfers, staking rewards, airdrops, and DeFi interactions — and produces a complete tax report showing short-term and long-term gains for each tax year.

The calculator supports multiple cost basis accounting methods. FIFO (First In, First Out) assumes you sell your oldest coins first, which often results in more long-term gains during bull markets. LIFO (Last In, First Out) sells your most recently acquired coins first, potentially generating more short-term gains but with a higher cost basis that reduces gain size. Specific identification (Spec ID) gives you the most control by letting you choose exactly which lot to sell, enabling strategic tax optimization.

One of the most complex areas the tool handles is crypto-to-crypto trades. When you swap Bitcoin for Ethereum, that is a taxable event — you must recognize gain or loss on the Bitcoin based on its cost basis versus the fair market value at the time of the trade. The tool tracks these intermediate valuations automatically using historical price data.

The calculator also identifies wash sale concerns. While the IRS has not formally applied wash sale rules to crypto as of 2025, the tool flags instances where you sell at a loss and repurchase the same asset within 30 days, preparing you for potential regulatory changes. Pair this with the Tax Loss Harvesting Optimizer for strategic loss realization or the Portfolio Risk Analyzer to understand the risk characteristics of your crypto positions.

Key Terms Explained

FIFO (First In, First Out)
A cost basis method that assumes the first units of cryptocurrency purchased are the first ones sold, often resulting in long-term capital gains treatment during extended holding periods.
LIFO (Last In, First Out)
A cost basis method that assumes the most recently purchased units are sold first, typically resulting in a higher cost basis and lower realized gains in appreciating markets.
Cost Basis
The original purchase price of a cryptocurrency asset including transaction fees, used to calculate capital gain or loss when the asset is later sold or exchanged.
Wash Sale
Selling an asset at a loss and repurchasing substantially identical property within 30 days before or after the sale, which under securities rules disallows the loss deduction.
Short-Term vs Long-Term Gains
Capital gains on assets held less than one year are taxed at ordinary income rates (up to 37%), while assets held longer than one year qualify for preferential long-term rates (0%, 15%, or 20%).

Who Needs This Tool

Active Crypto Trader

Processing hundreds of trades across multiple exchanges (Coinbase, Binance, Kraken) to generate a consolidated Form 8949 for tax filing.

DeFi User

Calculating tax obligations from yield farming, liquidity pool entries and exits, and token swaps on decentralized exchanges where transaction records are complex.

Long-Term Holder

Identifying which Bitcoin lots qualify for long-term capital gains treatment before selling, and computing the tax difference between selling FIFO versus specific ID.

CPA / Tax Preparer

Importing a client's crypto transaction history to reconcile with their reported income and ensure all taxable events have been properly captured and classified.

NFT Collector

Tracking the cost basis of purchased NFTs and calculating gains upon sale, including accounting for gas fees as part of the acquisition cost.

Methodology & Formulas

Cost basis is assigned per-lot at the time of acquisition (purchase price plus transaction fees). For FIFO, lots are depleted in chronological order of acquisition. For LIFO, they deplete in reverse chronological order. Gains are classified as short-term (held under 1 year) or long-term (held 1 year or more). Fair market value for crypto-to-crypto trades uses the spot price at the timestamp of execution. Staking rewards and airdrops are taxed as ordinary income at fair market value upon receipt, with that value becoming the cost basis for future disposition.

Pro Tips

  • Export transaction CSVs from every exchange and wallet before tax season — exchange APIs can change or historical data may become unavailable after account closure.
  • Use specific identification when possible to strategically select high-cost-basis lots for sale, minimizing your tax liability while maintaining your position size.
  • Remember that transferring crypto between your own wallets is NOT a taxable event — make sure your records distinguish transfers from trades to avoid phantom gains.
  • Staking rewards are taxable as ordinary income when received, not when sold. Track the fair market value at the moment of receipt as your cost basis.
  • Consider harvesting losses in December to offset gains taken earlier in the year — crypto currently lacks formal wash sale rules, though this may change in future tax years.
AD SLOT — LEADERBOARD