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.
| Event | Taxable? | How it is taxed |
|---|---|---|
| Sell crypto for US dollars | Yes | Capital gain or loss |
| Swap one coin for another | Yes | Capital gain or loss on the coin you gave up |
| Spend crypto on goods or services | Yes | Capital gain or loss on the coin spent |
| Staking, mining or airdrop rewards | Yes | Ordinary income at fair market value when received |
| Buy crypto with US dollars | No | Sets your cost basis |
| Move crypto between your own wallets | No | No 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.
- Find what you received. The US dollar value of the cash or other crypto you got on the date of the transaction, minus fees.
- 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.
- Calculate the gain or loss. Value received minus cost basis.
- Check the holding period. More than one year is long-term. One year or less is short-term.
- Apply the rate. Long-term gains use 0%, 15% or 20%. Short-term gains use your ordinary bracket.
- 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.
| Rate | Single | Married Filing Jointly | Head of Household |
|---|---|---|---|
| 0% (long-term) | Up to $49,450 | Up to $98,900 | Up 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,500 | Over $613,700 | Over $579,600 |
| Short-term | Taxed 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.
| Scenario | Gain | Federal tax | State tax | Total estimate |
|---|---|---|---|---|
| Sell for $85,000, basis $45,000, held over 1 year | $40,000 | $0 (0% rate) | about $1,415 | about $1,415 |
| Same sale, held 1 year or less | $40,000 | $4,552 (10% and 12% brackets) | about $1,415 | about $5,967 |
| $5,000 of staking rewards (ordinary income) | $5,000 | $500 (10% bracket) | about $47 | about $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
- Open the crypto tax calculator and choose your state.
- Enter the disposal or staking value in US dollars.
- Enter your cost basis (it is ignored for staking income).
- Choose your filing status and enter your other taxable income, after deductions.
- Select a sale or swap held more than one year, one held one year or less, or staking, mining and airdrop income.
- 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
- Hold past one year when you can, so gains qualify for long-term rates.
- Choose your lots. Specific identification can let you sell higher-basis coins first and shrink the gain.
- Offset gains with losses, and keep clear records for each trade.
- Donate appreciated coins held over one year to a qualified charity, which can avoid the gain and may allow a deduction if you itemize.
- Plan around low-income years, when long-term gains may fall into the 0% bracket.
- Include fees in your basis or proceeds so you do not overstate gains.
For large portfolios, frequent trading or DeFi activity, a licensed tax professional or dedicated crypto tax software can help you reconcile every transaction.
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.