Crypto Tax Calculator

Selling crypto triggers a taxable event. Enter your purchase price, sale price, quantity, and holding period to estimate your capital gains tax and net profit after taxes.

Short-Term vs. Long-Term Crypto Gains

The holding period determines which tax rate applies. Crypto held for less than 12 months before selling generates a short-term capital gain, taxed at your ordinary income tax rate, which can be as high as 37% for top earners. Holding for 12 months or more qualifies for long-term capital gains rates of 0%, 15%, or 20% depending on your income level.

This difference can be substantial. A $20,000 gain taxed at a 24% short-term rate costs $4,800 in taxes. The same gain at a 15% long-term rate costs $3,000. That $1,800 savings from waiting a few extra months to sell is one of the most straightforward tax planning strategies available to crypto investors.

Common Taxable Crypto Events

Not every crypto transaction triggers a tax event. Buying crypto with dollars, transferring between your own wallets, and gifting crypto under the annual exclusion amount are not taxable. But selling crypto for cash, trading one crypto for another, spending crypto on goods or services, and receiving mining or staking rewards are all taxable events.

DeFi activities add complexity. Providing liquidity, yield farming, and wrapping tokens can all create taxable events depending on the specific mechanics. Each swap in a multi-step DeFi transaction may be a separate taxable event. Keeping detailed records of every transaction, including dates, amounts, and fair market values, is essential for accurate tax reporting.

Tax-Loss Harvesting for Crypto

Tax-loss harvesting involves selling losing positions to realize capital losses that offset gains. Unlike stocks, crypto is not subject to the wash sale rule as of the current tax code, meaning you can sell at a loss and immediately repurchase the same coin. This lets you lock in the tax benefit of the loss without actually exiting your position.

Be aware that legislation to extend wash sale rules to crypto has been proposed. Even under current rules, aggressively harvesting losses purely for tax purposes while maintaining the exact same position may attract IRS scrutiny. Document your transactions clearly and consult a tax professional who understands cryptocurrency to ensure compliance.

Frequently Asked Questions

How is crypto taxed in the U.S.?

The IRS treats cryptocurrency as property. Selling, trading, or spending crypto triggers a capital gains tax event. Short-term gains (held under 12 months) are taxed as ordinary income. Long-term gains (held 12 months or more) get preferential rates of 0%, 15%, or 20%.

Do I owe taxes if I lost money on crypto?

No tax is owed on losses. In fact, capital losses can offset capital gains from other investments. If losses exceed gains, you can deduct up to $3,000 per year against ordinary income and carry forward remaining losses.

Is trading one crypto for another taxable?

Yes. Swapping Bitcoin for Ethereum, for example, is treated as selling Bitcoin and buying Ethereum. You owe taxes on any gain in the Bitcoin you sold, measured from your original purchase price.

What about staking and airdrop rewards?

Staking rewards and airdrops are taxed as ordinary income at their fair market value when received. When you later sell those tokens, you owe capital gains tax on any price appreciation above that initial value.

How do I determine my cost basis?

Your cost basis is the amount you paid for the crypto, including any transaction fees. If you bought the same coin at different prices, you can use FIFO (first in, first out), LIFO, or specific identification to determine which coins you sold.