Crypto Tax Calculator — US Cryptocurrency Capital Gains Tax

Capital Gain / Loss

$0

Estimated Tax

$0

Tax Rate Applied

0%

Net Proceeds After Tax

$0

NIIT (3.8% if applicable)

$0

How Cryptocurrency Tax Works in the United States

Cryptocurrency tax is the federal tax owed when you dispose of digital assets at a gain. The IRS classifies cryptocurrency as property rather than currency, meaning every sale, trade, swap, or spending event may trigger a taxable capital gain or loss. This classification has been in effect since IRS Notice 2014-21, and it applies to Bitcoin, Ethereum, stablecoins, NFTs, and all other digital tokens.

The crypto market has grown enormously: according to IRS data, cryptocurrency-related tax reporting increased by over 400% between 2019 and 2023, and since 2024, Form 1040 includes a mandatory question asking whether you received, sold, or exchanged digital assets during the year. Beginning in 2025, centralized exchanges like Coinbase, Kraken, and Gemini are required to issue Form 1099-DA to both taxpayers and the IRS, reporting gross proceeds from crypto transactions. This makes accurate record-keeping more critical than ever.

This calculator estimates your federal capital gains tax on crypto transactions by considering your cost basis, sale price, holding period, annual income, and filing status. It applies 2025 short-term and long-term capital gains rates, plus the 3.8% Net Investment Income Tax (NIIT) when applicable.

The Crypto Tax Formula

The formula for calculating cryptocurrency capital gains follows the same rules as any other capital asset, per IRS Publication 544:

Capital Gain (or Loss) = Fair Market Value at Disposal - Cost Basis
Tax Owed = Gain x Applicable Tax Rate (+ NIIT if applicable)

Worked example: You bought 0.5 BTC for $10,000 in January 2024 and sold it for $25,000 in March 2025 (14-month hold). Your capital gain is $15,000. As a single filer with $85,000 in other income, your total taxable income of $100,000 falls in the 15% long-term bracket. Tax: $15,000 x 15% = $2,250. Your MAGI of $100,000 is below the $200,000 NIIT threshold, so no NIIT applies. Net proceeds: $25,000 - $2,250 = $22,750.

Key Terms You Should Know

Crypto Tax Events: Taxable vs. Non-Taxable

Not every crypto transaction triggers a tax obligation. Understanding the distinction is critical for accurate reporting:

Taxable Events Non-Taxable Events
Selling crypto for USD or other fiat Buying crypto with fiat currency
Trading one crypto for another (e.g., BTC to ETH) Transferring crypto between your own wallets
Spending crypto on goods or services Gifting crypto (up to $18,000 per recipient in 2025)
Receiving mining/staking rewards (ordinary income) Donating crypto to a 501(c)(3) charity
Receiving airdrops or hard fork tokens Holding crypto without selling

Practical Examples

Example 1 — DeFi Yield Farming: Alice earns 2 ETH from a liquidity pool when ETH is worth $3,500 each. She receives $7,000 in ordinary income, taxed at her marginal rate (say 24% = $1,680). Six months later she sells the 2 ETH for $4,000 each ($8,000 total). Her cost basis is $7,000, so her short-term gain is $1,000, taxed at 24% = $240. Total crypto tax: $1,920.

Example 2 — Tax-Loss Harvesting: Bob bought $20,000 of SOL that dropped to $8,000. He sells at a $12,000 loss and immediately repurchases SOL (legal since the wash sale rule does not currently apply to crypto). He uses the $12,000 loss to offset $12,000 in gains from selling BTC, reducing his tax bill by $1,800 (at the 15% long-term rate). Use the Crypto Profit Calculator to track your portfolio performance.

Example 3 — NFT Sale: Carol bought an NFT for 1 ETH ($2,000) and sold it 8 months later for 3 ETH ($10,500). Her gain is $8,500, taxed as short-term since she held less than a year. At a 32% marginal rate, she owes $2,720.

Strategies to Minimize Crypto Taxes

2025 Crypto Tax Reporting Requirements

Beginning in tax year 2025, the IRS requires centralized exchanges and brokers to issue Form 1099-DA, reporting gross proceeds from digital asset transactions. This is analogous to the 1099-B form used for stock trades. Decentralized exchanges (DEXs) and self-custody wallets are not currently covered by these reporting requirements, but taxpayers remain obligated to report all taxable transactions regardless of whether they receive a form. The IRS has signaled increased enforcement activity around crypto tax compliance, with multiple John Doe summonses issued to major exchanges since 2016. The annual Form 1040 question about digital assets carries penalties for false statements.

Disclaimer: This calculator is for informational purposes only and does not constitute financial, tax, or legal advice. Always consult a qualified professional for decisions specific to your situation.

Frequently Asked Questions

How is cryptocurrency taxed in the US?

Cryptocurrency is taxed as property by the IRS, not as currency. Selling, trading, swapping, or spending crypto triggers a taxable capital gain or loss event. If you held the crypto for more than one year, you pay long-term capital gains tax at preferential rates of 0%, 15%, or 20% depending on your taxable income and filing status. If held for one year or less, you pay short-term capital gains tax at your ordinary income tax rate, ranging from 10% to 37%. Additionally, receiving crypto through mining, staking, airdrops, or as payment for services is taxed as ordinary income at the fair market value on the date of receipt. Starting in 2025, exchanges must report transactions to the IRS via Form 1099-DA.

Do I owe tax if I convert one cryptocurrency to another?

Yes, converting one cryptocurrency to another is a taxable event in the United States. When you swap Bitcoin for Ethereum, for example, the IRS treats it as though you sold Bitcoin for its fair market value in USD and then purchased Ethereum. You must calculate the capital gain or loss based on the difference between the fair market value at the time of the trade and your cost basis in the original cryptocurrency. For instance, if you bought 1 BTC at $30,000 and swapped it for ETH when BTC was worth $50,000, you have a $20,000 capital gain regardless of whether you ever converted to dollars. This applies to all crypto-to-crypto trades, including stablecoin conversions and NFT purchases with crypto.

What about crypto mining and staking rewards — how are they taxed?

Mining income and staking rewards are taxed as ordinary income at the fair market value on the date you receive the tokens. For example, if you mine 0.1 BTC when Bitcoin is worth $60,000, you have $6,000 in ordinary income, reported on Schedule C if mining is a business or as other income if a hobby. When you later sell the mined or staked crypto, you owe capital gains tax on any appreciation above your cost basis (the fair market value when received). If the 0.1 BTC appreciates to $8,000 and you sell, you have an additional $2,000 capital gain. The IRS confirmed this treatment in Revenue Ruling 2023-14. Use the US Income Tax Calculator to estimate the income tax on mining revenue.

Can I deduct cryptocurrency losses on my taxes?

Yes, crypto losses can offset capital gains dollar-for-dollar. If your total crypto losses exceed your total crypto gains, the net losses can also offset other capital gains (such as stock sales). If you still have net losses remaining, you can deduct up to $3,000 per year ($1,500 if married filing separately) against ordinary income like wages. Unused losses carry forward indefinitely to future tax years. Importantly, the wash sale rule currently does not apply to cryptocurrency, meaning you can sell at a loss and immediately repurchase the same token to lock in the tax deduction while maintaining your position. This is a significant advantage over stock tax-loss harvesting, though proposed legislation could change this in the future.

What records do I need to keep for crypto taxes?

You should maintain records of every crypto transaction including the date of acquisition, date of sale or disposal, the amount of crypto involved, the fair market value in USD at the time of each transaction, and any fees paid (trading fees, gas fees, network fees). For each taxable event you need to document the cost basis method used (FIFO, LIFO, or specific identification). Most major exchanges provide transaction history exports, and crypto tax software like CoinTracker, Koinly, or TaxBit can aggregate data across multiple exchanges and wallets. The IRS recommends keeping records for at least three years from the date you file your return, but six years if you underreport income by more than 25%. Given the complexity of DeFi and cross-chain transactions, detailed record-keeping from day one is essential.

How are NFTs taxed differently from other crypto?

NFTs follow the same general capital gains framework as other crypto assets, but with a potential twist: the IRS has proposed that certain NFTs could be classified as collectibles, which are taxed at a maximum long-term rate of 28% instead of the standard 20% maximum. Under IRS Notice 2023-27, an NFT is treated as a collectible if the underlying asset it represents would be a collectible (such as digital art or a unique collectible item). NFTs representing real estate or financial instruments would not be collectibles. When you buy an NFT with crypto, the purchase is itself a taxable event on the crypto used. For example, buying an NFT for 2 ETH when your ETH cost basis is $3,000 and ETH is trading at $4,000 means you have an $8,000 disposition of ETH with a $2,000 gain.

Related Calculators