Skip to content

Investing

Cryptocurrency Tax Calculator

Calculate your cryptocurrency tax liability from trading, mining, and staking

Estimate Your Crypto Tax Liability

Calculate taxes on cryptocurrency gains and income worldwide

$
$
$
$
$
%
%

What this calculator does

Cryptocurrency tax calculation determines your tax liability on digital asset transactions. Unlike traditional investments, crypto transactions—including trades, sales, mining rewards, and staking income—are taxable events requiring documentation. The IRS treats crypto as property, meaning each transaction generates capital gains or losses. This calculator helps you track gains (positive returns) and losses (negative returns) across all your transactions throughout the year. Accurate tracking prevents under-reporting penalties and maximizes legitimate tax-loss harvesting opportunities. Many investors underestimate their crypto tax burden, leading to surprise bills or audit risks.

How it works

The calculator tracks buy and sell prices for each transaction, calculating the difference between cost basis (what you paid) and proceeds (what you sold for). For multiple purchases, it typically uses FIFO (First In, First Out) accounting method unless you specify otherwise. Short-term gains (assets held under 1 year) are taxed as ordinary income, while long-term gains (held over 1 year) receive preferential rates. The calculator sums all gains and losses, then applies your tax bracket to determine total liability. Income from staking or mining is treated as ordinary income at fair market value on the transaction date.

Formula

Capital Gain/Loss = Sale Price - Cost Basis. Total Tax Liability = (Short-Term Gains × Ordinary Income Rate) + (Long-Term Gains × Capital Gains Rate) + (Mining/Staking Income × Ordinary Rate). If losses exceed gains, you can deduct up to $3,000 against ordinary income annually, carrying excess losses forward indefinitely. This calculation requires precise transaction tracking and accurate cost basis documentation.

Tips for using this calculator

  • Track every transaction: trades, transfers, mining rewards, and staking income are all taxable events
  • Use FIFO accounting method by default, but consider specific identification if you've held multiple purchase batches
  • Harvest losses to offset gains—if you're down 20% on a position, selling realizes the loss for tax purposes
  • Long-term holdings (over 1 year) receive preferential capital gains rates (0%, 15%, or 20% federal vs. 10-37% ordinary rates)
  • Keep all exchange records, wallet transactions, and mining documentation for 6+ years for IRS substantiation

Frequently asked questions

Is every crypto transaction taxable?

Yes. The IRS treats crypto transactions as taxable events, including: selling for fiat currency, trading one crypto for another, using crypto to purchase goods, receiving mining rewards, and staking income. Even transferring between your own wallets typically isn't taxable, but transferring to an exchange for sale is. The only exception is receiving an airdrop, which is income tax at fair market value on receipt date.

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

Short-term gains (assets held less than 1 year) are taxed as ordinary income at rates up to 37% federal. Long-term gains (held over 1 year) receive preferential rates: 0%, 15%, or 20% depending on income. This can mean a massive tax difference—a $10,000 gain might cost $3,700 as short-term vs. $1,500 as long-term. Timing your sales to achieve long-term status often saves thousands.

Can I deduct crypto losses?

Yes. Capital losses offset capital gains dollar-for-dollar. If losses exceed gains, you can deduct up to $3,000 against ordinary income annually. Remaining losses carry forward indefinitely to future years. This is why tax-loss harvesting is powerful—selling losing positions realizes the loss for tax purposes while you can immediately re-buy the same crypto (though wash-sale rules don't technically apply to crypto, IRS position isn't fully clear).

What documentation do I need for crypto taxes?

You need complete transaction history including: date, amount, price per unit, total transaction cost, and exchange fees. Most exchanges provide transaction history exports. You should also maintain records of any cost basis adjustments, like staking rewards or mining income (taxed at fair market value on receipt date). The IRS can audit back 6+ years, so keep all documentation that long.