Real Historical Crypto Prices

Free Crypto Sale Tax Calculator

Estimate the tax on your cryptocurrency sale using real historical prices. Enter a crypto asset, purchase and sale dates, and your tax rate to get an instant breakdown of your capital gain, estimated tax liability, and net profit after tax.

Real Crypto Prices
Short/Long-Term Detection
100% Free
Popular:

The amount of cryptocurrency you sold

The date you originally bought the cryptocurrency

The date you sold the cryptocurrency

U.S. long-term rates: 0%, 15%, or 20%. Short-term rates: 10%–37%.

Data sourced from FinancialModelingPrep. Prices are end-of-day closing prices. Past performance is not indicative of future results.

What Is a Crypto Sale Tax Calculator?

A crypto sale tax calculator is a financial tool that helps cryptocurrency investors estimate the tax owed when they sell a digital asset. Every time you sell cryptocurrency for fiat currency or trade it for another asset, the transaction may trigger a taxable event. The tax you owe depends on the difference between the price you paid (cost basis) and the price you received (proceeds), multiplied by your applicable tax rate.

Our crypto sale tax calculator goes beyond manual arithmetic by fetching real historical closing prices for any supported cryptocurrency. You enter the crypto symbol, the date you purchased, the date you sold, and the quantity. The tool automatically retrieves the actual prices on those dates, computes your capital gain, determines whether the gain is short-term or long-term, and estimates the tax owed at your specified rate.

How to Use This Crypto Sale Tax Calculator

  1. 1

    Select the Cryptocurrency You Sold

    Search for the cryptocurrency you sold (e.g., BTCUSD, ETHUSD, SOLUSD) or click one of the popular options. The calculator supports thousands of cryptocurrency pairs.

  2. 2

    Enter the Amount Sold

    Input how much cryptocurrency you sold. This can be a whole number or a decimal (e.g., 0.5 BTC, 2.3 ETH, 100 SOL).

  3. 3

    Set the Purchase and Sale Dates

    Choose the date you originally bought and the date you sold the cryptocurrency. The calculator fetches the closing price on each date and automatically determines whether your gain is short-term or long-term.

  4. 4

    Set Your Tax Rate

    Select a preset tax rate or enter a custom rate. U.S. long-term capital gains rates are 0%, 15%, or 20%. Short-term rates match your ordinary income bracket (10%–37%).

  5. 5

    Review Your Tax Estimate

    Click "Calculate Crypto Sale Tax" to see your cost basis, sale proceeds, capital gain, estimated tax, and net profit after tax — all based on real market data.

Crypto Sale Tax Formula

The tax on a cryptocurrency sale is calculated using these formulas:

Cost Basis = Purchase Price × Quantity Sold

Sale Proceeds = Sale Price × Quantity Sold

Capital Gain = Sale Proceeds − Cost Basis

Estimated Tax = Capital Gain × Tax Rate

If the sale price is higher than the purchase price, you have a capital gain and may owe tax. If the sale price is lower, you have a capital loss. Capital losses are not taxed but can be used to offset gains from other investments. The holding period determines whether the gain is classified as short-term (held 1 year or less) or long-term (held more than 1 year), which affects the applicable tax rate.

Short-Term vs. Long-Term Crypto Sale Tax

Short-Term Capital Gains

  • Crypto held for 1 year or less before selling
  • Taxed at ordinary income tax rates
  • U.S. rates: 10%, 12%, 22%, 24%, 32%, 35%, or 37%
  • Higher tax burden for most investors
  • Common for active traders and frequent crypto sales

Long-Term Capital Gains

  • Crypto held for more than 1 year before selling
  • Taxed at preferential capital gains rates
  • U.S. rates: 0%, 15%, or 20%
  • Significant tax savings for patient investors
  • Encourages long-term holding strategies (HODLing)

When Are Crypto Sales Taxed?

Selling Crypto for Cash

Selling Bitcoin, Ethereum, or any cryptocurrency for USD, EUR, or other fiat currencies triggers a taxable event. The gain or loss is the difference between your sale proceeds and cost basis.

Trading Crypto for Crypto

Swapping one cryptocurrency for another (e.g., BTC to ETH) is a taxable disposition. You must calculate the fair market value in USD at the time of the trade to determine your gain or loss.

Spending Crypto on Purchases

Using cryptocurrency to buy goods or services is treated as a sale by the IRS. You must report any gain or loss based on the fair market value at the time of the purchase.

Receiving Crypto as Income

Crypto received through mining, staking, or airdrops is taxed as ordinary income at the fair market value when received. When you later sell, any additional gain is subject to capital gains tax on the sale.

Strategies to Reduce Tax on Crypto Sales

  • Hold for more than one year — Qualifying for long-term capital gains rates can reduce your tax rate from up to 37% to as low as 0%, 15%, or 20%.
  • Tax-loss harvesting — Sell losing positions to realize capital losses that offset your gains. Be aware of wash sale rules that may apply to cryptocurrency in your jurisdiction.
  • Use specific identification — Instead of FIFO (first-in, first-out), identify specific lots with higher cost basis to minimize gains when selling partial positions.
  • Donate appreciated crypto — Donating appreciated cryptocurrency to a qualified charity may allow you to deduct the fair market value without paying capital gains tax on the sale.
  • Utilize tax-advantaged accounts — Some retirement accounts (self-directed IRAs) allow cryptocurrency investments where gains grow tax-deferred or tax-free.
  • Time your sales strategically — If you are close to the one-year holding threshold, waiting a few extra days can save you thousands in taxes by qualifying for long-term rates.

Frequently Asked Questions

How does this crypto sale tax calculator work?

Enter the cryptocurrency you sold, the purchase date, sale date, quantity, and your tax rate. The calculator fetches real historical closing prices from FinancialModelingPrep for both dates, computes your capital gain (sale price minus purchase price times quantity), determines whether the gain is short-term or long-term based on the holding period, and estimates the tax owed at your specified rate.

Do I owe tax every time I sell cryptocurrency?

In most jurisdictions including the United States, selling cryptocurrency is a taxable event. If you sell for more than your cost basis, you owe capital gains tax on the profit. If you sell at a loss, you may be able to use that loss to offset other gains. Even selling one crypto for another is considered a taxable disposition.

How does the holding period affect my crypto sale tax?

The holding period determines whether your gain is taxed as short-term or long-term. In the U.S., crypto held for one year or less is taxed at ordinary income rates (10%–37%). Crypto held for more than one year qualifies for long-term capital gains rates (0%, 15%, or 20%), which are typically much lower.

What is cost basis in cryptocurrency?

Cost basis is the original value of your cryptocurrency for tax purposes, typically the price you paid when you acquired it plus any fees. When you sell, your capital gain or loss is the difference between the sale proceeds and your cost basis. This calculator uses the historical closing price on your purchase date as the cost basis per unit.

Can I offset crypto sale losses against other gains?

Yes. In the U.S., capital losses from cryptocurrency sales can offset capital gains from other investments (stocks, real estate, other crypto). If your total losses exceed your gains, you can deduct up to $3,000 of the excess against ordinary income per year, with remaining losses carried forward.

Does this calculator include transaction fees?

This calculator provides an estimate based on historical closing prices and does not include exchange fees, gas fees, or network fees. In practice, fees paid when buying increase your cost basis, and fees paid when selling reduce your proceeds. Consult a tax professional for exact calculations.

What tax rate should I enter for my crypto sale?

The rate depends on your country, income level, and holding period. In the U.S., short-term gains (held 1 year or less) are taxed at ordinary income rates (10%–37%). Long-term gains (held over 1 year) are taxed at 0%, 15%, or 20%. Use the preset buttons or enter a custom rate for your jurisdiction.

Is this crypto sale tax calculator free?

Yes, this calculator is completely free to use with no registration required. It uses real historical cryptocurrency price data to provide accurate sale tax calculations for any supported cryptocurrency.

Calculated Your Crypto Tax? Build Automated Trading Strategies

Turn your crypto trading insights into automated Pine Script strategies with Pineify. Create custom indicators that identify trading opportunities, or let our AI Stock Picker surface setups for you.