Verified Tool

Crypto Tax Calculator: Calculate Gains and Losses on Cryptocurrency

Free 2025 crypto tax calculator. Estimate short‑ and long‑term capital gains tax on Bitcoin and other crypto, including fees, NIIT (3.8%), and state taxes.

Crypto Tax Calculator: Calculate Gains and Losses on Cryptocurrency

Enter your details below to calculate

Quick presets

Crypto Tax Inputs (2025 Tax Year)

Long-term (15%+) if held ≥ 12 months. Short-term is ordinary income.

Determines your tax bracket.

Staking/mining/airdrops are taxed as ordinary income at fair market value upon receipt.

Tax Breakdown

Cost Basis
$12,512.50
Net Proceeds
$15,984.00
Gain/Loss
$3,471.50
Classification
Long-Term
Federal Tax
$520.73
NIIT (3.8%)
$0.00
State Tax Est.
$461.71
Total Estimated Tax
$982.43
Net After-Tax Profit
$2,489.07(Eff. Rate: 28.30%)

Estimates for 2025 tax year. Consult a CPA for final filings.

Visual Breakdown

How to Use Crypto Tax Calculator

1

Enter trade details

Add buy price, sell price, quantity, and any exchange fees so your cost basis and proceeds are accurate.

2

Set holding period

Choose months held. 12+ months = long‑term (lower capital gains rates); under 12 months = short‑term (ordinary rates).

3

Add tax context

Enter your filing status, estimated taxable income, state, and any staking/mining income (taxed when received).

4

Review results

See federal, state, and NIIT estimates, plus net after‑tax profit. Export a JSON snapshot for your records.

Key Features

Fast crypto tax calculator calculations

Clear inputs and results

Mobile-friendly, privacy-first

Free to use, no signup

Complete Guide: Crypto Tax Calculator (2025)

Written by Jurica ŠinkoDecember 11, 2025
Visual guide to the crypto tax calculator showing how cost basis, proceeds, and holding periods determine capital gains or losses on crypto trades clearly.

Navigating cryptocurrency taxes in the United States can feel like a maze. With the IRS intensifying its focus on digital assets in 2025 (including the new 1099-DA reporting form proposals), accuracy is more critical than ever. Whether you are a casual HODLer or an active day trader, every disposal of crypto—selling for cash, swapping for another token, or spending it—triggers a taxable event.

Our Crypto Tax Calculator helps you estimate your potential tax liability instantly. By inputting your trade details, you can see the difference between short-term and long-term capital gains, estimate the impact of the Net Investment Income Tax (NIIT), and even get a rough idea of state taxes.

How Crypto Taxes Work in 2025

In the eyes of the IRS, cryptocurrency is treated as property, not currency. This means the mechanics of calculating taxes are identical to buying and selling stock or real estate. However, unlike traditional brokerage accounts that automatically track cost basis, crypto traders often have to do it themselves.

The Capital Gains Formula

To calculate your liability, you need three numbers for every single transaction:

  • Cost Basis: The original value + purchase fees.
    (Example: You bought 1 ETH for $2,000 + $10 fee = $2,010 Basis)
  • Net Proceeds: The sale value - sell fees.
    (Example: You sold 1 ETH for $3,000 - $15 fee = $2,985 Proceeds)
  • Capital Gain/Loss: Net Proceeds - Cost Basis.
    ($2,985 - $2,010 = $975 Gain) see Capital Gains Calc

Short-Term vs. Long-Term: The Time Factor

The single most important factor controlling your tax rate is holding period. Strategic holding can cut your tax bill in half.

TypeHolding PeriodTax Rate (2025)
Short-Term< 12 MonthsOrdinary Income (10% - 37%) - check brackets
Long-Term12+ MonthsPreferential (0%, 15%, or 20%)

Strategy Tip: If you have held a coin for 11 months and are sitting on a profit, waiting just one more month to sell could save you significant money. For a user in the 32% tax bracket, shifting from Short-Term to Long-Term (15%) reduces the tax on a $10,000 gain from $3,200 to $1,500.

Accounting Methods: FIFO, LIFO, and HIFO

When you have multiple buys and sells of the same coin, how do you know which coin you sold? The IRS generally expects FIFO (First-In, First-Out) unless you can specifically identify the assets.

  • FIFO (First-In, First-Out): Assumes you sold the oldest coins first. In a rising market, these usually have the lowest cost basis, leading to the highest tax bill.
  • LIFO (Last-In, First-Out): Assumes you sold the newest coins first. If you bought recently at a high price, this results in a lower gain (or larger loss), reducing taxes.
  • HIFO (Highest-In, First-Out): A tax minimization strategy where you specifically sell the coins with the highest cost basis first to minimize paper gains.

Note: To use LIFO or HIFO (Specific ID), you must keep detailed records showing exactly which "lots" (coins) were sold. If you cannot prove it, the IRS defaults to FIFO.

Advanced Scenarios: DeFi, NFTs, and Staking

Crypto taxation goes far beyond simple buy/sell trades. Here is how complex transactions are handled in 2025:

1. Crypto-to-Crypto Swaps

Trading BTC for ETH is a taxable event. You are technically selling BTC for its fair market value in USD and immediately buying ETH. You owe tax on the capital gain of the BTC at the moment of the swap.

2. Staking & Mining Rewards

Earning rewards from ETH staking or Bitcoin mining is taxed as Ordinary Income based on the fair market value at the time of receipt.

  • Day 1: Receive 0.5 ETH reward ($1,000 value). Taxable Income = $1,000.
  • Day 100: Sell 0.5 ETH for $1,200. Capital Gain = $200.

3. DeFi Lending & Liquidity Pools

Transactions involving Liquidity Provider (LP) tokens vary. In some cases, depositing into a pool is a "sale" of your tokens in exchange for LP tokens (taxable). Interest earned is income.

4. NFTs (Non-Fungible Tokens)

Buying an NFT with ETH is a taxable disposal of the ETH. Selling the NFT later for a profit is a capital gain. Note that some high-value NFTs might be classified as "collectibles," potentially subject to a higher 28% long-term capital gains rate (though guidance is evolving).

Tax Loss Harvesting 101

The crypto market is volatile. You can use crashes to your advantage through Tax Loss Harvesting. This involves selling an asset at a loss to offset your capital gains. Learn more with our Tax Deduction Calculator.

Example: You made $50,000 profit on Bitcoin but lost $20,000 on an Altcoin. By realizing the loss on the Altcoin (selling it), you reduce your net taxable profit to $30,000.

The Wash Sale Rule Loophole: As of early 2025, the "Wash Sale Rule" (which prevents stock traders from buying back the same asset within 30 days of selling for a loss) has not been explicitly applied to cryptocurrency by Congress, though it has been proposed repeatedly. This currently allows crypto traders to sell Bitcoin at a loss and immediately buy it back to reset their cost basis while maintaining their position. Proceed with caution—legislation can change retroactively.

Real-World Case Study: "The Active Trader"

Let's look at a full year for "Alex," a crypto investor in California (9.3% state tax rate) with $100,000 in other income (22% federal bracket).

Alex's Ledger

Short-Term Gains (Trading):+$15,000
Long-Term Gains (HODL):+$20,000
Staking Rewards (Income):+$5,000
Total Gross Profit:$40,000

Tax Calculation

Federal Tax (Short-Term + Income @ 24%):$20,000 × 24% = $4,800
Federal Tax (Long-Term @ 15%):$20,000 × 15% = $3,000
State Tax (CA @ 9.3% on All $40k):$40,000 × 9.3% = $3,720
Total Estimated Tax:$11,520

Effective Tax Rate: 28.8%

Do I Need Crypto Tax Software?

If you have more than 10-20 trades per year, doing taxes by hand is nearly impossible. Why? Because every single trade requires a cost basis calculation.

For example, if you bought 0.1 BTC five different times at different prices, and then sold 0.15 BTC, which specific fractions of which coins did you sell? A spreadsheet becomes unmanageable very quickly.

Benefits of using software:

  • API Integration: Automatically syncs with exchanges like Coinbase, Binance, and Kraken.
  • DeFi Support: Tracks complex transactions on Ethereum, Solana, and Polygon (staking, LP tokens, NFTs).
  • Form 8949 Generation: Automatically fills out the IRS form you need to file.
  • Audit Trail: Provides a record of every calculation if the IRS ever audits you.

Frequently Asked Questions

Common questions we receive about crypto taxation.

Do I owe tax if I lost money?

No, you generally do not owe taxes on capital losses. In fact, losses are beneficial—they offset your gains. If your net losses exceed your net gains, you can deduct up to $3,000 from your ordinary income tax return.

How does the IRS know my crypto trades?

Centralized exchanges (Coinbase, Kraken, Binance.US) are required to report activity to the IRS via forms like 1099-MISC (for staking) and eventually 1099-DA. The blockchain is also public; IRS tools can analyze on-chain activity.

What is the "Specific ID" method?

Specific Identification allows you to pick exactly which coin (e.g., "The Bitcoin I bought on Jan 3rd, 2023") you are selling. This requires detailed records but offers the most control over your tax outcomes compared to FIFO/LIFO.

About the Author

Jurica Šinko

Finance Expert, CPA, MBA with 15+ years in corporate finance and investment management

Connect with Jurica

Frequently Asked Questions

How is crypto taxed in the U.S. for 2025?

Cryptocurrency is taxed as property. If you sell or swap it for a profit, you owe capital gains tax. Gains on assets held under 12 months are short-term (taxed at regular income rates), while assets held over 12 months are long-term (taxed at 0%, 15%, or 20%).

Does trading one crypto for another trigger a taxable event?

Yes. Swapping one cryptocurrency for another (e.g., BTC for ETH) is a taxable event. You must calculate the capital gain or loss on the coin you are disposing of relative to its original cost basis at the time of the swap.

What is the Net Investment Income Tax (NIIT)?

The NIIT is an additional 3.8% tax that applies to investment income (including crypto gains) if your Modified Adjusted Gross Income (MAGI) exceeds $200,000 for single filers or $250,000 for married couples filing jointly.

How are staking and mining rewards taxed?

Rewards from staking or mining are generally taxed as ordinary income based on their fair market value on the day you receive them. When you eventually sell those specific coins, you will also calculate a capital gain or loss using that initial value as your cost basis.

Does the wash sale rule apply to cryptocurrency in 2025?

As of early 2025, the IRS wash sale rule (which prevents claiming losses on assets bought back within 30 days) applies to stocks but has not yet been explicitly applied to cryptocurrency by legislation. However, caution is advised as regulations are rapidly evolving.

Share this Crypto Tax Calculator: Calculate Gains and Losses on Cryptocurrency