Finance

Crypto Tax Calculator

Calculate cryptocurrency capital gains tax. Enter buy and sell prices with holding period. Compare short-term vs long-term rates and FIFO vs LIFO cost basis methods.

Quick Answer

Capital Gains = Sell Price - Buy Price - Fees. If you bought 1 BTC at $30,000 and sold at $50,000, your gain is $20,000. Held over a year? Long-term rates (0-20%). Under a year? Taxed as ordinary income (10-37%).

This tool is for educational purposes only. Consult a qualified professional for financial, medical, or legal advice.

Transaction Details

Results

$19,900

Capital Gain

15.0%

Long-Term Rate

$2,985

Estimated Tax

$16,915

Net After Tax

FIFO vs LIFO Comparison

FIFO (First In, First Out)

Tax: $2,985

Sells oldest coins first

LIFO (Last In, First Out)

Tax: $2,985

Sells newest coins first

With a single purchase lot, FIFO and LIFO produce the same result. Multiple lots at different prices will show different tax outcomes.

About the Crypto Tax Calculator

Cryptocurrency is treated as property by the IRS, meaning every sale, trade, or exchange is a taxable event that must be reported. This calculator estimates your capital gains tax on crypto transactions based on your cost basis, selling price, holding period, and tax bracket. It helps you understand the tax implications before selling so you can make informed decisions about timing and strategy.

Short-Term vs Long-Term Capital Gains

The holding period determines which tax rate applies to your gain. If you hold cryptocurrency for less than one year before selling, any gain is classified as short-term and taxed at your ordinary income tax rate. This can be as high as 37% for the highest earners. If you hold for more than one year, the gain qualifies for preferential long-term capital gains rates of 0%, 15%, or 20% depending on your taxable income. For 2026, single filers with taxable income below $47,025 pay 0% on long-term gains. Those earning $47,025 to $518,900 pay 15%. Above that threshold, the rate is 20%. An additional 3.8% Net Investment Income Tax may apply at higher income levels.

Cost Basis Methods: FIFO, LIFO, and HIFO

When you have purchased the same cryptocurrency at different prices over time, the cost basis method you choose determines which coins you are considered to have sold first. FIFO (First In, First Out) assumes you sell your oldest coins first, which often results in the largest gain if prices have risen over time. LIFO (Last In, First Out) assumes you sell your most recently purchased coins first, which can reduce gains if recent purchases were at higher prices. HIFO (Highest In, First Out) sells the highest-cost coins first to minimize gains. The IRS allows you to choose your method, but you must apply it consistently and document your selection. FIFO is the default if you do not specify a method.

Common Taxable Events

Several crypto activities trigger tax obligations beyond simple buy-and-sell transactions. Trading one cryptocurrency for another, such as swapping Bitcoin for Ethereum, is a taxable disposition of the first asset. Using crypto to purchase goods or services is also a taxable event. Receiving cryptocurrency as payment for work is taxed as ordinary income. Staking rewards and mining income are taxed as ordinary income at fair market value when received. Airdrops are generally taxed as income. DeFi activities like lending, providing liquidity, and yield farming each have their own tax implications that can be complex.

Record Keeping and Reporting

Maintaining detailed records of every cryptocurrency transaction is essential for accurate tax reporting. For each transaction, record the date, the type of transaction, the amount of crypto involved, the fair market value at the time, and any fees paid. Starting in 2025, crypto brokers and exchanges must issue 1099-DA forms reporting transactions to both taxpayers and the IRS. However, on-chain transactions, DeFi activities, and transfers between personal wallets may not be captured on these forms, making personal record keeping critical. Several crypto tax software tools can import transaction data from exchanges and wallets to simplify this process.

Frequently Asked Questions

Is cryptocurrency taxable?
Yes. The IRS treats cryptocurrency as property, not currency. Every sale, trade, exchange, or spending event triggers a taxable disposition. You must report capital gains and losses on your tax return using Form 8949 and Schedule D. Even trading one cryptocurrency for another is a taxable event. Receiving crypto as payment for goods or services is taxed as ordinary income at the fair market value when received. Failure to report crypto transactions can result in penalties and interest.
What is the difference between short-term and long-term capital gains on crypto?
If you hold cryptocurrency for less than one year before selling, any gain is classified as short-term and taxed at your ordinary income tax rate, which can be as high as 37%. If you hold for more than one year, the gain qualifies for preferential long-term capital gains rates of 0%, 15%, or 20% depending on your taxable income. This difference can be substantial. A $20,000 gain might cost $4,400 in taxes at the 22% short-term rate versus only $3,000 at the 15% long-term rate. Planning your holding period can save significant money.
Can I deduct cryptocurrency losses?
Yes. Capital losses on cryptocurrency can offset capital gains dollar-for-dollar. If your total capital losses exceed your gains for the year, you can deduct up to $3,000 of the excess against ordinary income. Any remaining losses carry forward to future tax years indefinitely. Tax-loss harvesting, which involves selling losing positions to realize losses and then reinvesting, is a common strategy. Note that the wash sale rule does not currently apply to crypto the way it does to stocks, though Congress has proposed changing this.
Do I need to report small crypto transactions?
Yes. All cryptocurrency transactions are technically reportable to the IRS regardless of the dollar amount. There is no minimum threshold below which reporting is waived. Starting in 2025, cryptocurrency exchanges and brokers are required to issue 1099-DA forms reporting transactions to both you and the IRS. Even if you do not receive a form, you are still legally required to report all gains and losses. Keeping detailed records of every transaction including date, amount, cost basis, and proceeds is essential.
What about staking rewards and mining income?
Staking rewards and mining income are taxed as ordinary income at the fair market value on the date you receive them. This means you owe income tax when the rewards hit your wallet, regardless of whether you sell. If you later sell the staking rewards or mined coins at a higher price, the appreciation is a separate capital gain event. The cost basis for the capital gain calculation is the fair market value on the day you received the rewards. This creates a two-layer tax situation that many crypto investors overlook.