Crypto Tax Calculator

Estimate your cryptocurrency capital gains tax based on holding period and tax rates.

Results

Visualization

How It Works

The Crypto Tax Calculator helps you estimate how much capital gains tax you'll owe when you sell cryptocurrency by comparing your purchase and sale prices, factoring in your holding period, and applying the appropriate tax rate. Understanding your tax liability before selling is crucial because capital gains taxes can significantly reduce your profits, and the IRS treats short-term and long-term gains differently. This tool is designed for both quick estimates and detailed planning scenarios. Results update instantly as you adjust inputs, making it easy to compare different approaches and understand how each variable affects the outcome. For best accuracy, use precise measurements rather than rough estimates, and consider running multiple scenarios to establish a realistic range of expected results.

The Formula

Capital Gain = (Sell Price per Coin - Buy Price per Coin) × Quantity; Estimated Tax Owed = Capital Gain × Tax Rate (Short-Term or Long-Term based on holding period); Net After Tax = Capital Gain - Estimated Tax Owed

Variables

  • Buy Price per Coin ($) — The price in USD you paid for each coin when you originally purchased it. This establishes your cost basis for tax purposes.
  • Sell Price per Coin ($) — The price in USD at which you sold each coin. The difference between this and the buy price determines your gain or loss.
  • Quantity (coins) — The total number of coins you are selling. This is multiplied by the per-coin gain to calculate your total capital gain.
  • Holding Period (days) — The number of days between your purchase and sale. This determines whether your gain is taxed as short-term (typically less than 1 year) or long-term (1 year or more).
  • Short-Term Tax Rate (%) — Your marginal income tax rate applied to gains held less than one year. This typically ranges from 10% to 37% depending on your income bracket.
  • Long-Term Tax Rate (%) — Your preferential capital gains rate for assets held one year or longer, typically 0%, 15%, or 20% depending on your income.

Worked Example

Let's say you bought 5 Bitcoin at $30,000 each on January 15, 2023, and sold them on March 20, 2024, when Bitcoin was trading at $52,000 each. Your holding period is about 429 days, which exceeds one year, so you qualify for long-term capital gains treatment. First, calculate your total capital gain: ($52,000 - $30,000) × 5 = $22,000 × 5 = $110,000. If your long-term tax rate is 15%, your estimated tax owed is $110,000 × 0.15 = $16,500. Your net after tax would be $110,000 - $16,500 = $93,500 in actual profit. This shows how significantly taxes impact your take-home gains.

Practical Tips

  • Hold for at least 365 days before selling to qualify for long-term capital gains rates, which are substantially lower than short-term rates for most taxpayers. Even waiting a few months can save thousands in taxes on large gains.
  • Track your cost basis precisely by recording the exact purchase price and date for every transaction. Many tax professionals recommend using specialized crypto tax software that automatically imports transaction history from exchanges.
  • Consider tax-loss harvesting by selling losing positions to offset capital gains from winning positions in the same year. You can deduct up to $3,000 in net losses against ordinary income and carry forward additional losses indefinitely.
  • Be aware that staking rewards, airdrops, and mining income are taxed as ordinary income in the year received, not as capital gains, and you'll have another capital gains event when you eventually sell those coins.
  • File Form 8949 (Sales of Capital Assets) and Schedule D (Capital Gains and Losses) with your tax return—the IRS expects detailed reporting of all crypto transactions, and underreporting can result in substantial penalties and interest.

Frequently Asked Questions

How does the IRS define holding period for cryptocurrency?

The holding period begins on the day after you purchase the cryptocurrency and ends on the day you sell it. You must hold the asset for more than 365 days (not just 365 days exactly) to qualify for long-term capital gains treatment. For example, if you bought on January 15, 2023, you'd need to sell on January 16, 2024 or later for long-term status.

What's the difference between short-term and long-term capital gains taxes?

Short-term gains (held less than one year) are taxed as ordinary income at your marginal tax rate, ranging from 10% to 37%. Long-term gains (held one year or more) receive preferential rates: 0% for lower incomes, 15% for middle incomes, and 20% for higher incomes. This difference can mean saving thousands on the same dollar amount of gains.

Do I owe taxes if I trade one cryptocurrency for another without using USD?

Yes—the IRS treats crypto-to-crypto trades as taxable events. When you trade Bitcoin for Ethereum, you must report the capital gain or loss on the Bitcoin based on its fair market value in USD at the moment of the trade, even though you never converted to dollars. This is why many traders find their tax liability surprisingly high.

Can I use my crypto losses to reduce my taxes?

Yes, capital losses offset capital gains dollar-for-dollar. If you have $50,000 in gains and $15,000 in losses, you report only $35,000 in net gains. If your losses exceed gains, you can deduct up to $3,000 against ordinary income in that year, with excess losses carrying forward indefinitely to future years.

What about state taxes on cryptocurrency gains?

Most states tax capital gains as part of your overall income, applying your state income tax rate on top of federal taxes. For example, California adds 13.3% to federal taxes on high earners, making total rates exceed 50%. A few states like Texas and Florida have no state income tax, which can significantly lower your total tax burden on crypto gains.

Sources

  • IRS Publication 544: Sales of Assets
  • IRS Topic 409: Capital Gains and Losses
  • IRS Notice 2014-21: Virtual Currency Transactions
  • CoinTracker: Crypto Tax Guide for 2024
  • Investopedia: Capital Gains Tax Rates and Rules

Last updated: April 02, 2026 · Reviewed by the CalcSuite Editorial Team · About our methodology