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.

Free Finance Calculator
100% Private
Instant Results

Crypto Tax Calculator: Calculate Gains and Losses on Cryptocurrency

Enter your details below to calculate

Quick presets

Crypto Tax Inputs

Long-term if held 12+ months. Short-term is taxed as ordinary income.

Used to determine your tax brackets for this trade.

Staking/mining/airdrop rewards are generally taxed as ordinary income at fair market value when received. Enter your estimate here to improve accuracy of bracket/NIIT calculations.

Results

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
$461.71
Total tax
$982.43
Net after-tax profit
$2,489.07 (28.30%)

This tool provides estimates and doesn't constitute tax advice. Consult a tax professional for your situation.

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: Calculate Gains and Losses on Cryptocurrency

Written by Jurica ŠinkoSeptember 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.

Our crypto tax calculator estimates federal, state, and Net Investment Income Tax (NIIT) on a single crypto disposal. It accounts for fees in your cost basis and proceeds, classifies gains as short‑ or long‑term based on your holding period, and adjusts brackets by your filing status and income. Use it to quickly see the tax impact of a trade and your net after‑tax result, then export a JSON snapshot you can share with a tax professional.

How crypto taxes work (2025)

In the U.S., crypto is treated as property. When you dispose of coins (sell for fiat, swap for another token, spend on goods/services), you realize a capital gain or loss equal to your net proceeds minus your cost basis. If you held the asset less than 12 months, the gain is short‑term and taxed at ordinary income rates. If you held it 12 months or longer, the gain is long‑term and taxed at preferential 0%, 15%, or 20% federal rates depending on your income. Many states also tax gains, often at ordinary income rates.

Formula recap

Cost basis = (buy price × quantity) + buy fees
Net proceeds = (sell price × quantity) − sell fees
Capital gain = net proceeds − cost basis

If capital gain > 0 → apply short‑term or long‑term rates based on holding period. NIIT (3.8%) may apply above income thresholds (e.g., $200k single).

Short‑term vs. long‑term

Short‑term gains (held < 12 months) are taxed using ordinary income brackets for your filing status. Long‑term gains (held ≥ 12 months) use capital gains brackets of 0%, 15%, or 20% (income‑dependent). This calculator selects the correct classification from your holding period input and estimates tax using 2025 bracket thresholds.

NIIT and state taxes

The Net Investment Income Tax adds 3.8% on investment income above certain thresholds ($200k single / $250k married filing jointly, etc.). Many states tax capital gains as ordinary income; some do not tax income (e.g., FL, TX, WY). Select your state to include a simple state estimate. Actual state rules vary; use this as a directional guide.

Staking, mining, and airdrops

Rewards from staking, mining, and airdrops are generally taxed as ordinary income at the fair market value on the day you receive them. Later, when you sell those coins, you may have a capital gain or loss relative to that basis. The calculator lets you add an estimate of this year's additional crypto income to improve bracket and NIIT accuracy.

Real‑world examples

Example 1: Short‑term BTC trade

You buy 0.5 BTC at $42,000 with 0.25% fees and sell at $42,450 one month later with 0.25% fees. Your cost basis includes buy fees; net proceeds are after sell fees. The small gain is short‑term and taxed at your ordinary rate. If you're in the 24% bracket and in a 5% state, total tax could absorb a meaningful portion of the profit.

Example 2: Long‑term ETH hold

You buy 2 ETH at $1,500 and sell at $1,850 18 months later. Long‑term capital gains rates apply. If your income places you in the 15% federal bracket and your state taxes gains at ~5%, add NIIT only if your income exceeds the threshold. Your net after‑tax profit can be meaningfully higher than a short‑term flip at the same prices.

Best practices for accurate reporting

  • Track lots and fees: Keep exchange statements and wallet records. Fees change cost basis and proceeds.
  • Use specific ID when possible: If you can document lot selection, specific identification can optimize taxes vs. FIFO.
  • Record income events: Staking/mining/airdrops are ordinary income on receipt. Save timestamps and values.
  • Consider state rules: A few states have unique treatment or surtaxes. Check your state's guidance.
  • Mind the timing: Holding 12+ months can materially lower federal tax rates on gains.

Limitations & assumptions

This tool estimates a single‑lot trade and assumes straightforward U.S. tax treatment. It does not support multi‑lot matching (FIFO/LIFO/specific ID), wash sale equivalents, like‑kind exchanges, deferral strategies, or business entity nuances. State calculations are simplified flat‑rate estimates. For full‑year filing, use comprehensive crypto tax software and consult a licensed tax professional.

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. (2025)?

Crypto is treated as property. Profits from selling or swapping are capital gains: short‑term if held < 12 months (ordinary income rates), long‑term if held ≥ 12 months (0%, 15% or 20% federal rates depending on income). Many states tax gains too.

Do wash sale rules apply to crypto?

As of 2025, the IRS has not applied the stock “wash sale” rule to crypto, so selling at a loss and rebuying does not trigger wash sale disallowance. Congress has discussed changes; always check for updates before filing.

How are staking, mining, and airdrops taxed?

They are generally taxed as ordinary income at the fair market value when you receive them. Later, when you sell the coins, you may have a separate capital gain or loss relative to that basis.

Which cost basis method should I use (FIFO, LIFO, Specific ID)?

The IRS allows specific identification if you can document lot selection; otherwise FIFO typically applies. Our calculator supports a single‑lot trade estimate—use Specific ID in your tax software if you track multiple lots.

What forms do I file for crypto taxes?

Report disposals on Form 8949 and Schedule D. Ordinary income (like staking) is reported on Schedule 1 or Schedule C/SE if part of a business. Always consult a tax professional for your situation.

Share this calculator

Help others discover this tool