What Is a Crypto Capital Gains Tax Calculator?
A crypto capital gains tax calculator is a financial tool that helps cryptocurrency investors determine the taxable profit or loss from buying and selling digital assets. When you sell cryptocurrency for more than you paid, the difference is a capital gain that may be subject to tax. When you sell for less, you have a capital loss that can offset other gains.
Our cryptocurrency capital gains calculator goes beyond simple arithmetic by fetching real historical closing prices for any supported cryptocurrency. You enter the crypto symbol, the date you purchased, and the date you sold. The tool automatically retrieves the actual prices on those dates and computes your complete tax breakdown, including whether your gain qualifies as short-term or long-term based on the holding period.
How to Use This Crypto Capital Gains Calculator
- 1
Select the Cryptocurrency
Search for the cryptocurrency you traded (e.g., BTCUSD, ETHUSD, SOLUSD) or click one of the popular options. The calculator supports thousands of cryptocurrency pairs.
- 2
Enter the Quantity
Input how much cryptocurrency you purchased. This can be a whole number or a decimal (e.g., 0.5 BTC, 2.3 ETH).
- 3
Set the Purchase and Sale Dates
Choose the date you 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
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
Review Your Results
Click "Calculate Capital Gains Tax" to see your cost basis, proceeds, capital gain, estimated tax, and net profit after tax — all based on real market data.
Crypto Capital Gains Tax Formula
The capital gains tax on cryptocurrency is calculated using these formulas:
Cost Basis = Purchase Price × Quantity
Proceeds = Sale Price × Quantity
Capital Gain = 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 Capital Gains
Short-Term Capital Gains
- Held for 1 year or less
- Taxed at ordinary income tax rates
- U.S. rates: 10%, 12%, 22%, 24%, 32%, 35%, or 37%
- Higher tax burden for most investors
- Applies to active traders and frequent crypto transactions
Long-Term Capital Gains
- Held for more than 1 year
- 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)
Taxable Cryptocurrency Events
Selling Crypto for Fiat
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.
Crypto-to-Crypto Trades
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.
Purchasing Goods or Services
Using cryptocurrency to buy goods or services is treated as a sale. The IRS considers this a disposal of the asset, and you must report any gain or loss based on the fair market value at the time of the transaction.
Earning Crypto (Mining, Staking, Airdrops)
Receiving cryptocurrency through mining, staking rewards, 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.
Strategies to Reduce Crypto Capital Gains Tax
- 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 to charity — Donating appreciated cryptocurrency to a qualified charity may allow you to deduct the fair market value without paying capital gains tax.
- Utilize tax-advantaged accounts — Some retirement accounts (self-directed IRAs) allow cryptocurrency investments where gains grow tax-deferred or tax-free.