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
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
This tool provides estimates and doesn't constitute tax advice. Consult a tax professional for your situation.
Breakdown
How to Use Crypto Tax Calculator
Enter trade details
Add buy price, sell price, quantity, and any exchange fees so your cost basis and proceeds are accurate.
Set holding period
Choose months held. 12+ months = long‑term (lower capital gains rates); under 12 months = short‑term (ordinary rates).
Add tax context
Enter your filing status, estimated taxable income, state, and any staking/mining income (taxed when received).
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

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 JuricaFrequently 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.
Related Calculators
Explore more tools in Tax & Payroll
ADP Paycheck Calculator | Free Salary & Hourly Estimator
Estimate your net pay with our ADP paycheck calculator. Calculate federal, state, and local withholdings for both salary and hourly employees accurately.
After Tax Income Calculator | Calculate Net Income
Determine your actual earnings with our after tax income calculator. Convert gross salary into net income by accounting for federal, state, and local taxes.
AGI Calculator: Calculate Adjusted Gross Income Accurately (2025 Tax Year)
Free AGI calculator for 2025 tax year. Calculate Adjusted Gross Income accurately with above-the-line deductions. Determine tax credits, ACA subsidies, and IRA eligibility.
Alabama Paycheck Calculator: Calculate Your AL Take-Home Pay
Free Alabama paycheck calculator for 2025. Calculate your take-home pay after federal, state, and local taxes. Accurate AL payroll calculations.
Arizona Paycheck Calculator: Calculate Your AZ Take-Home Pay
Free Arizona paycheck calculator for 2025. Calculate your take-home pay after federal, state, and FICA taxes. Accurate AZ payroll calculations with flat 2.5% state tax rate.
Arizona Income Tax Calculator 2025 | AZ Tax Estimate
Calculate your AZ liability with our 2025 Arizona income tax calculator. Uses the current AZ flat tax rate for accurate estimation. Free AZ tax calculator.