๐Ÿ›๏ธ
โœ“ Editorially reviewed by Derek Giordano, Founder & Editor ยท BA Business Marketing

Crypto Tax Calculator

Capital gains tax on crypto trades

Last reviewed: January 2026

๐Ÿงฎ
424 free calculators โ€” no signup required
Finance ยท Health ยท Math ยท Science ยท Business
nnng.com

What Is a Crypto Tax Calculator?

The Crypto Tax Calculator is a free browser-based tool that performs this calculation instantly with no signup or downloads required. Enter your values, click calculate, and get accurate results immediately. All processing happens in your browser โ€” nothing is sent to a server.

How Crypto Taxes Work in the U.S.

The IRS classifies cryptocurrency as property, not currency, meaning every disposal event โ€” selling, trading, spending, or converting โ€” triggers a capital gains or loss calculation.[1] Cost basis tracking is essential: you need to know the exact purchase price and date for every unit of crypto you sell. Most investors use either FIFO (first in, first out) or specific identification methods to determine which units are being sold.[2] Crypto received as mining rewards, staking yields, or airdrops is taxed as ordinary income at fair market value when received, then subject to capital gains tax on any appreciation when later sold.[3] Use the Crypto Profit Calculator to calculate gains on individual trades.

Crypto Tax Rates (2026)

Holding PeriodTax TypeRateStrategy
Under 1 yearShort-term capital gains10โ€“37%Taxed as ordinary income
Over 1 yearLong-term capital gains0โ€“20%Hold to qualify
Mining/staking incomeOrdinary income10โ€“37%Taxed at FMV when received
LossesCapital loss deductionUp to $3K/yrOffset gains, carry forward

How Crypto Tax Works in the United States

The IRS treats cryptocurrency as property, meaning every disposal event โ€” selling, trading one crypto for another, spending crypto on goods or services, or receiving crypto as payment โ€” triggers a taxable event. Capital gains are classified as short-term (held less than one year, taxed at ordinary income rates of 10-37%) or long-term (held over one year, taxed at preferential rates of 0%, 15%, or 20%). Simply buying crypto and holding it is not taxable. Transferring between your own wallets is not taxable. Receiving crypto through airdrops, staking rewards, mining, or as payment for services is taxed as ordinary income at the fair market value when received, which also establishes the cost basis for future capital gains calculations.

Crypto Tax Rates and Brackets

Event TypeTax TreatmentRate RangeExample
Sell after 1+ yearLong-term capital gain0-20%Buy BTC at $30K, sell at $60K โ†’ $30K LTCG
Sell within 1 yearShort-term capital gain10-37%Buy ETH at $2K, sell at $3K โ†’ $1K STCG
Swap crypto to cryptoCapital gain/loss0-37%Trade BTC for ETH โ†’ taxable at FMV
Staking/mining rewardsOrdinary income10-37%Earn 0.5 ETH staking โ†’ income at FMV
Airdrop receivedOrdinary income10-37%Receive tokens worth $500 โ†’ $500 income
NFT saleCapital gain + collectibles rateUp to 28%Sell NFT for profit โ†’ possible collectibles rate

Tax-Loss Harvesting for Crypto

Tax-loss harvesting is a powerful strategy for reducing crypto tax liability. When a cryptocurrency position has declined in value, selling it realizes the loss, which can offset capital gains from profitable trades dollar-for-dollar. If losses exceed gains, up to $3,000 in net capital losses can offset ordinary income each year, with excess losses carrying forward to future tax years indefinitely. Unlike traditional securities, cryptocurrency is not currently subject to wash sale rules, meaning you can sell a crypto asset at a loss and immediately repurchase the same asset to maintain your position while capturing the tax benefit. However, the IRS has signaled interest in applying wash sale rules to crypto, and legislation has been proposed to close this gap. Tracking cost basis across multiple wallets and exchanges is essential โ€” the IRS accepts specific identification, FIFO (first-in-first-out), LIFO (last-in-first-out), and HIFO (highest-in-first-out) accounting methods. HIFO typically minimizes tax liability by selling the highest-cost lots first, resulting in smaller gains or larger losses.

Reporting Requirements and Compliance

Crypto tax reporting has become increasingly rigorous. Starting with the 2024 tax year, centralized exchanges are required to report user transactions to the IRS on Form 1099-DA (Digital Assets), similar to how brokerages report stock trades on Form 1099-B. Taxpayers report crypto transactions on Form 8949 (Sales and Dispositions of Capital Assets) and summarize results on Schedule D of their tax return. The front page of Form 1040 includes a digital assets question that all filers must answer truthfully โ€” checking "No" when you have had taxable crypto transactions constitutes a false statement to the IRS. Decentralized exchange transactions, DeFi protocol interactions, and cross-chain swaps present tracking challenges since no centralized party reports these to the IRS, but taxpayers are still legally obligated to report all taxable events. Crypto tax software like CoinTracker, Koinly, and TaxBit can import transaction histories from major exchanges and wallets, automatically calculate gains and losses, and generate the necessary tax forms. For general tax calculations and income planning, see our Tax Calculator and Capital Gains Tax Calculator.

Common Crypto Tax Mistakes

The most expensive crypto tax mistakes include failing to report crypto-to-crypto trades (the IRS considers every swap a taxable event even if you never converted to USD), not tracking cost basis from the original purchase date (which can result in overpaying taxes because the entire sale amount is treated as gain if no cost basis is documented), ignoring staking and mining income (which is taxable as ordinary income when received, not when sold), and missing the FIFO default method when specific identification would reduce taxes. Gifting crypto over the annual gift tax exclusion ($18,000 per recipient in 2024) triggers gift tax reporting requirements on Form 709. Charitable donations of crypto held longer than one year can be deducted at fair market value without triggering capital gains โ€” a doubly beneficial strategy for highly appreciated assets. International crypto holdings may trigger FBAR (Foreign Bank Account Report) requirements if the aggregate value of foreign crypto accounts exceeds $10,000 at any point during the year.

DeFi, NFTs, and Emerging Tax Issues

Decentralized finance (DeFi) introduces tax complexities that go beyond simple buy-and-sell scenarios. Providing liquidity to automated market makers may trigger taxable events when tokens are deposited (if the protocol issues LP tokens representing a different asset), when trading fees are earned (taxable as income), and when liquidity is withdrawn (potential capital gain or loss). Yield farming rewards are generally taxed as ordinary income when received. Wrapped tokens present ambiguity โ€” wrapping ETH to WETH may or may not be a taxable event depending on whether the IRS views it as a like-kind exchange or a disposition. NFT transactions follow standard capital gains rules, but the IRS may classify certain NFTs as collectibles subject to a maximum 28% long-term capital gains rate rather than the standard 20% maximum. Keeping detailed records of every DeFi interaction, including timestamps, token quantities, and fair market values at the time of each transaction, is essential for accurate reporting and audit protection.

Do I have to pay taxes on crypto?
Yes. The IRS treats cryptocurrency as property. Every sale, trade, or use of crypto to buy goods is a taxable event. You owe capital gains tax on the difference between your purchase price (cost basis) and sale price. Holding longer than one year qualifies for lower long-term capital gains rates (0%, 15%, or 20%).
What crypto transactions are not taxable?
Buying crypto with fiat currency, transferring between your own wallets, and gifting crypto (up to $18,000 per recipient per year) are not taxable events. However, receiving crypto as payment, mining rewards, staking income, and airdrops are all taxable as ordinary income at the time received.
Is swapping one cryptocurrency for another a taxable event?
Yes. The IRS treats every crypto-to-crypto swap as a disposition of one asset and acquisition of another, triggering capital gains tax on any appreciation. Trading Bitcoin for Ethereum, exchanging tokens in DeFi protocols, and even paying gas fees with crypto are all taxable events. NFT purchases with crypto are taxed twice โ€” once on the crypto disposition and again if the NFT is later sold at a gain. The only non-taxable crypto events are buying with USD, transferring between your own wallets, and gifting under the annual exclusion limit ($18,000 in 2024). Track your cost basis across exchanges carefully to avoid overpaying with our DCA Calculator. For a related calculation, try our Tax Bracket Calculator.
Is swapping one crypto for another a taxable event?
Yes. The IRS treats crypto-to-crypto trades as a disposal of the first asset and a purchase of the second. You must calculate the gain or loss on the asset you traded away based on its cost basis versus fair market value at the time of the trade. This applies even if you never converted to dollars. DeFi token swaps, NFT purchases with crypto, and bridging between chains are all taxable events.
How do I report crypto on my taxes?
Report crypto transactions on Form 8949 (Sales and Dispositions of Capital Assets) and summarize on Schedule D of Form 1040. Crypto received as income (mining, staking, airdrops, payment) goes on Schedule 1 or Schedule C if it is a business activity. The IRS requires reporting all transactions, even small ones. Crypto tax software like CoinTracker or Koinly can generate the required forms from exchange data.

See also: Crypto DCA Calculator ยท Crypto Staking Yield Calculator ยท Tax Estimator

How to Use This Calculator

  1. Enter your purchase details โ€” Input the date purchased, purchase price, and quantity for each lot. Each buy at a different price creates a separate tax lot.
  2. Enter your sale details โ€” Input the date sold, sale price, and quantity sold. The calculator matches sales to purchase lots using FIFO (first in, first out) by default.
  3. Review short-term vs. long-term gains โ€” Crypto held over one year qualifies for long-term capital gains rates (0โ€“20%). Under one year is taxed as ordinary income (up to 37%). The calculator categorizes each sale.
  4. See your estimated tax liability โ€” Enter your income tax bracket to see the estimated federal tax owed on your crypto gains, broken down by short-term and long-term categories.

Tips and Best Practices

โ†’ Every crypto-to-crypto trade is a taxable event. Swapping Bitcoin for Ethereum triggers capital gains tax on the Bitcoin, even if you never converted to dollars. The IRS treats crypto as property, not currency โ€” and every disposal (trade, sell, spend) is reportable.

โ†’ Hold for 366+ days to qualify for long-term rates. Long-term capital gains rates (0%, 15%, or 20%) are significantly lower than short-term rates (taxed as ordinary income up to 37%). A one-day difference in holding period can change your tax rate dramatically.

โ†’ Tax-loss harvesting works for crypto. Unlike stocks, crypto is not subject to wash sale rules (as of current IRS guidance). You can sell at a loss, immediately rebuy, and use the loss to offset gains. This is a significant tax planning advantage unique to crypto.

โ†’ Staking rewards and airdrops are taxable as income. Receiving crypto through staking, mining, or airdrops creates ordinary income at the fair market value when received. This is income tax, not capital gains โ€” and it applies even if you don't sell. See our Tax Calculator for overall income tax planning.

See also: Capital Gains ยท Crypto Profit ยท Tax Calculator ยท Tax Brackets

📚 Sources & References
  1. [1] IRS. Notice 2014-21: Virtual Currency Guidance. IRS.gov
  2. [2] IRS. FAQ on Virtual Currency Transactions. IRS.gov
  3. [3] AICPA. Cryptocurrency Tax Guide. AICPA.org
  4. [4] Tax Foundation. Digital Asset Taxation. TaxFoundation.org
โœ… Editorial Standards โ€” Every calculator is built from peer-reviewed formulas and official data sources, editorially reviewed for accuracy, and updated regularly. Read our full methodology ยท About the author