LawCalculators.com 2026 STATUTORY EDITION
Tax & IRS New By the LawCalculators.com Editorial Team · Published Nov 28, 2026 · 10 min read

Crypto Tax Calculator Guide: How to Calculate Crypto Taxes in 2026

How a crypto tax calculator estimates what you owe on sales, swaps and staking rewards in 2026, with the IRS rules, cost basis tips and worked examples for US taxpayers.

Quick answer: The IRS taxes crypto as property. Your gain is what you received minus your cost basis, taxed at 0%, 15% or 20% if you held the coins more than one year, or at your ordinary rate (up to 37%) if you held them one year or less. If you sell for $85,000 with a $45,000 basis, the crypto tax calculator shows a $40,000 gain and estimates $4,552 of federal tax if it was a short-term sale and you had no other taxable income.

Open Crypto Tax Calculator →

Crypto tax feels harder than stock tax because the taxable moments are easy to miss. You can owe tax when you sell for dollars, but also when you swap one coin for another, pay for something with crypto, or receive staking rewards. A crypto tax calculator helps you see the bill before it arrives. This guide explains what the IRS counts as taxable, how the 2026 rates work for crypto, and how to run the numbers by hand. It covers US federal and state tax; other countries use different rules.

What a crypto tax calculator does

A crypto taxes calculator takes the value you received when you disposed of a coin, your cost basis and how long you held it, then estimates federal tax, the 3.8% Net Investment Income Tax (NIIT) and state tax. People search for it as a free crypto tax calculator, a crypto capital gains tax calculator or a crypto tax calculator for the USA, but the core calculation is the same: value received minus basis, taxed at the right rate.

Our crypto tax calculator uses the 2026 long-term rate breakpoints from IRS Rev. Proc. 2025-32 and the NIIT rules in IRC Section 1411, with a state estimate for all 50 states and D.C. It is a planning tool for individual sales rather than a full transaction-history importer.

What the IRS counts as a taxable crypto event

The IRS treats digital assets as property, so the rules look like those for stocks. The table shows common events.

EventTaxable?How it is taxed
Sell crypto for US dollarsYesCapital gain or loss
Swap one coin for anotherYesCapital gain or loss on the coin you gave up
Spend crypto on goods or servicesYesCapital gain or loss on the coin spent
Staking, mining or airdrop rewardsYesOrdinary income at fair market value when received
Buy crypto with US dollarsNoSets your cost basis
Move crypto between your own walletsNoNo gain or loss

How to calculate crypto taxes in 2026

If you want to know how to calculate crypto taxes without software, follow this process for each taxable disposal. This is the crypto tax calculation the calculator performs.

  1. Find what you received. The US dollar value of the cash or other crypto you got on the date of the transaction, minus fees.
  2. Find your cost basis. What you paid for the coins, plus fees. For coins received as income, it is their value on the day you received them.
  3. Calculate the gain or loss. Value received minus cost basis.
  4. Check the holding period. More than one year is long-term. One year or less is short-term.
  5. Apply the rate. Long-term gains use 0%, 15% or 20%. Short-term gains use your ordinary bracket.
  6. Add NIIT and state tax if they apply, then total your gains and losses across the year.

Crypto capital gains tax rates for 2026

Crypto has no special rate. A crypto capital gains tax calculator uses the same long-term breakpoints as stocks and real estate.

RateSingleMarried Filing JointlyHead of Household
0% (long-term)Up to $49,450Up to $98,900Up to $66,200
15% (long-term)$49,451 to $545,500$98,901 to $613,700$66,201 to $579,600
20% (long-term)Over $545,500Over $613,700Over $579,600
Short-termTaxed as ordinary income at 10% to 37%

The holding period starts the day after you acquire the coins. Selling a few days before the one-year mark can cost you the lower rate, which matters when prices move quickly. For a full explanation of how gains stack on top of your other income, read the capital gains tax calculator guide.

Crypto tax calculator examples

These examples follow the logic of our crypto tax calculator: the gain equals the disposal value minus basis, the federal rate comes from the gain, and the state estimate uses the state tax model. They use California, the calculator's default state, and assume no other taxable income.

ScenarioGainFederal taxState taxTotal estimate
Sell for $85,000, basis $45,000, held over 1 year$40,000$0 (0% rate)about $1,415about $1,415
Same sale, held 1 year or less$40,000$4,552 (10% and 12% brackets)about $1,415about $5,967
$5,000 of staking rewards (ordinary income)$5,000$500 (10% bracket)about $47about $547

The first two rows show how much the holding period matters: the same $40,000 gain costs $4,552 more in federal tax when it is short-term. The third row shows staking rewards, which are ordinary income when received, so the calculator's staking, mining and airdrop option taxes their full value at ordinary rates. In a state with no income tax, such as Texas or Florida, the state column drops to $0.

What the calculator simplifies

The crypto tax calculator asks for your other taxable income, because wages can push a crypto gain into a higher bracket. Enter $85,000 of other taxable income and the same $40,000 long-term gain is taxed at 15%, or $6,000 federally, instead of 0%. It applies the 2026 brackets for Single, Married Filing Jointly or Head of Household, but it handles one disposal at a time and does not net your losses for the year. For a general gain that is not crypto, use the capital gains tax calculator.

Cost basis and Form 1099-DA

Cost basis is where crypto taxes usually go wrong. You may have bought the same coin at several prices, on several exchanges, and moved it between wallets. The IRS expects you to track basis wallet by wallet and account by account, and you can use specific identification or first-in, first-out to decide which coins you sold.

Exchanges now help, but only partly. Form 1099-DA reported gross proceeds for 2025 transactions. For sales from 2026 onward, brokers must also report basis for covered assets, which means coins acquired on or after January 1, 2026 and kept in the same custodial account. Coins bought earlier or moved between platforms may show no basis, so you must supply it yourself on Form 8949. The same form logic applies to shares, which is covered in the stock tax calculator.

Losses, the wash sale rule and tax-loss harvesting

Crypto losses offset gains, and up to $3,000 of extra loss can reduce other income each year, with the remainder carried forward. The wash sale rule has historically applied to stocks and securities and not to crypto, which has let some investors sell at a loss and repurchase immediately. Lawmakers have proposed closing that gap, so confirm the current rule before you plan around it.

Staking, mining and self-employment

Rewards from staking, mining and airdrops are taxed as ordinary income at fair market value when you receive them. If you mine or stake as a business, the profit can also be subject to self-employment tax, which you can estimate with the self-employment tax calculator. Keep a dated record of each reward, because that value becomes your basis.

How to use the crypto tax calculator

  1. Open the crypto tax calculator and choose your state.
  2. Enter the disposal or staking value in US dollars.
  3. Enter your cost basis (it is ignored for staking income).
  4. Choose your filing status and enter your other taxable income, after deductions.
  5. Select a sale or swap held more than one year, one held one year or less, or staking, mining and airdrop income.
  6. Read the federal rate, NIIT and state tax in the breakdown.

Run it twice to compare selling now against waiting past the one-year mark, or to see how a swap on a particular date changes your bill.

Ways to lower your crypto tax bill

For large portfolios, frequent trading or DeFi activity, a licensed tax professional or dedicated crypto tax software can help you reconcile every transaction.

Open Crypto Tax Calculator → ← Back to All Blog Posts

Informational estimate: This article and the linked calculator provide general estimates for education only. They are not legal, tax or accounting advice. Figures reflect Tax Year 2026 federal data (IRS Rev. Proc. 2025-32) as used in our calculator, and crypto tax rules continue to change; confirm your exact tax with a qualified tax professional or the IRS.

Frequently Asked Questions

For each sale, swap or purchase made with crypto, subtract your cost basis (what you paid, including fees) from the fair market value you received. That is your gain or loss. Gains on crypto held more than one year are taxed at 0%, 15% or 20%, while gains on crypto held one year or less are taxed at your ordinary rate of 10% to 37%. Income from staking, mining or airdrops is taxed as ordinary income when you receive it.
Yes. The IRS treats digital assets as property, so trading one coin for another is a taxable disposal. You report a gain or loss equal to the value of what you received minus the basis of what you gave up, and the new coin gets a basis equal to its value on the swap date.
There is no special crypto rate. Long-term capital gains (held more than one year) are taxed at 0%, 15% or 20%; for Single filers those rates break at $49,450 and $545,500 of taxable income. Short-term gains are taxed as ordinary income at 10% to 37%. A 3.8% Net Investment Income Tax can apply above $200,000 (Single) or $250,000 (Married Filing Jointly) of modified adjusted gross income.
Yes. The fair market value of coins you receive from staking, mining or an airdrop is generally ordinary income when you gain control of them, and that value becomes your basis. If you later sell, the change in value since you received them is a capital gain or loss. Mining as a business can also trigger self-employment tax.
Your basis is generally what you paid plus fees, or the fair market value on the day you received the coins as income. The IRS expects you to track basis wallet by wallet and account by account, and you can use specific identification or first-in, first-out to pick which coins you sold. Exchanges report basis only for covered assets acquired in 2026 or later, so keep your own records for older holdings.
Crypto losses offset capital gains, and up to $3,000 of extra loss per year can reduce other income, with the rest carried forward. The wash sale rule in IRC Section 1091 has historically applied to stocks and securities, not crypto, so many investors have been able to sell at a loss and buy back right away. Lawmakers have proposed extending the rule, so check the current law before relying on this.
Form 1099-DA reports digital asset sales made through brokers such as exchanges. For 2025 transactions it reports gross proceeds only. For sales made from 2026 onward, brokers must also report cost basis for covered assets, meaning coins acquired on or after January 1, 2026 and held in the same custodial account. You still report gains and losses on Form 8949 and Schedule D.
Yes. The LawCalculators.com crypto tax calculator is free and estimates federal and state tax from a disposal value, cost basis and holding period. The best choice depends on your needs: a simple estimator suits planning a single sale, while crypto tax software that imports your full exchange and wallet history is better for filing when you have many transactions.
Buying crypto with US dollars, holding it, and moving it between wallets you own are generally not taxable events. Selling for cash, swapping for another coin, and spending crypto on goods or services are taxable. Donating crypto held more than one year to a qualified charity can let you deduct its value without paying tax on the gain.