CalcSeed

Crypto Tax Calculator

Enter your cost basis, sale proceeds, holding period and other income to estimate the tax on a crypto gain.

=
Quick answer: with the default inputs ($20,000, $50,000, long, $60,000), the crypto tax is 4,500. At these inputs: capital gain = $30,000.00, effective rate on gain = 15. Change any input to update the result.
Crypto tax
—

What counts as a taxable gain

Crypto is treated as property, so a disposal produces a capital gain or loss equal to the proceeds minus your cost basis. The holding period then decides which rate schedule applies: over one year qualifies for long-term rates of 0%, 15% or 20%, while one year or less is taxed at ordinary income rates up to 37%.

The formula

gain=proceeds−basistax=f(I+G)−f(I)gain = proceeds - basis,\; tax = f(I+G)-f(I)

The second half of the formula is what surprises people. The gain is not taxed in isolation: it stacks on top of other taxable income, and the tax is the difference between the tax on your total and the tax on your income alone. The same $30,000 gain can fall entirely in the 15% band or partly in the 20% band depending on what else you earned.

Long-term rates apply to the stacked total, so the 0% band is filled first by ordinary income, then by the gain. A large gain can push you from the 0% band into the 15% band midway through, which is why the effective rate on the gain rarely equals a single statutory rate.

Worked example at the defaults

Cost basis $20,000, proceeds $50,000, held over one year, with $60,000 of other taxable income.

The gain is 50,000 − 20,000 = $30,000. Long-term tax on $90,000 of total income minus tax on $60,000 is $6,806.25 − $2,306.25 = $4,500, an effective rate of 15.0% on the gain.

Switch the holding period to short-term and the same gain is taxed at ordinary rates. Tax on $90,000 minus tax on $60,000 is $14,512 − $7,912 = $6,600, or 22.0%. Waiting past the one-year mark saves $2,100 on this single trade.

Long versus short across incomes

Other incomeLong-term tax on $30kEffectiveShort-term tax on $30kEffective
$40,000$3,80612.7%$5,56018.5%
$60,000$4,50015.0%$6,60022.0%
$100,000$4,50015.0%$7,08623.6%
$500,000$6,00020.0%$10,50035.0%

Two patterns stand out. Long-term rates stay flat across a wide middle band, because the 15% band in this schedule runs from about $44,625 to $492,300 of total income for a single filer. Short-term rates climb with every bracket, so the penalty for selling early grows sharply as income rises: 18.5% at $40,000, 22% at $60,000 and 35% at $500,000.

What counts as a taxable event

  • Selling crypto for cash realizes the gain or loss.
  • Trading one coin for another is treated as a sale of the first and a purchase of the second.
  • Spending crypto on goods or services realizes a gain at the moment of payment.
  • Receiving crypto as payment for work is ordinary income at the fair value on receipt, and a new holding period starts.
  • Staking, mining and airdrop rewards are generally ordinary income when received, with basis set at that value.

Moving coins between wallets you control is not a disposal, so it does not trigger tax. The trap is that a bridge or exchange withdrawal fee still changes your cost basis slightly, and a swap through a decentralized exchange usually is a disposal even though no cash appears.

Mistakes that overstate the bill

  • Ignoring purchase fees. A $200 fee on a $20,000 buy raises basis to $20,200 and cuts the gain to $29,800.
  • Ignoring sale fees. A $250 fee on a $50,000 sale lowers proceeds to $49,750 and saves tax on $250.
  • Assuming the wash-sale rule blocks crypto loss harvesting. It does not currently apply to crypto, though the position must be genuinely closed.
  • Reporting the gain in the wrong year because the trade settled in January but executed in December.

The fee adjustments look trivial, but on a 15% rate the $450 of combined fees in these examples saves about $68 of tax, and a trader making 200 round trips a year has real money at stake.

Losses offset gains

A realized crypto loss cancels a realized gain dollar for dollar, and the netting happens before the rate is applied. If you have $30,000 of gains and $12,000 of losses, you are taxed on $18,000, which at 15% is $2,700 instead of $4,500. Up to $3,000 of net capital loss can also offset ordinary income in a year, with the rest carried forward.

Cost basis and lot selection

If you bought the same coin at several prices, the default method is first-in, first-out. Specific identification lets you choose which lots to sell, which matters when one lot is a long-term hold and another is a recent purchase. Selling the long-term lot first can move the entire gain from 22% to 15%, worth $2,100 on the $30,000 example.

Records and reporting

Every disposal needs a date, an amount, a cost basis and a holding period. Brokers now issue Form 1099-DA for digital asset sales, but basis reporting is still phasing in, so exchange exports and your own lot tracking remain the source of truth. Reconcile them before filing rather than after a notice arrives.

State rules and scope

This estimate uses federal brackets for 2026 and assumes the gain is the only capital transaction. States mostly follow the federal treatment but a few tax capital gains as ordinary income, which can add several points. Rules also differ by country, so confirm the local treatment before relying on the number. This is an estimate, not tax advice.

Frequently asked questions

How much tax do I owe on a $30,000 crypto gain with $60,000 of income?

$4,500 if held over a year, an effective 15.0%. If held a year or less, $6,600 at 22.0%.

How is crypto taxed?

As property. Gains are long-term at 0%, 15% or 20% if held over a year, and short-term at ordinary rates up to 37% if held a year or less.

What is my cost basis in crypto?

What you paid, including purchase fees. On a $20,000 buy with a $200 fee, basis is $20,200, so a $50,000 sale produces a $29,800 gain.

Is trading one coin for another taxable?

Yes. A crypto-to-crypto trade is treated as selling the first coin at fair value and buying the second, so the gain is realized even though no cash moves.

Do I owe tax if I do not sell?

Generally no. Holding an appreciated coin is not a taxable event, though staking and mining rewards are taxed as income when received.

How much does the holding period matter?

On a $30,000 gain at $60,000 of other income, it is the difference between $4,500 and $6,600. At $500,000 of income the gap widens to $4,500.

Does the wash-sale rule apply to crypto?

Not currently for federal purposes, so a loss can be harvested and the position repurchased without disallowing the loss. State treatment and future rules may differ.

Which lots are sold first?

First-in, first-out by default. Specific identification lets you pick long-term lots, which can drop the rate from 22% to 15% on the same gain.

Are state taxes included?

No. The estimate is federal only. A state that taxes gains as ordinary income can add several percentage points on top.

Method and sources

Calculation basis

Calculations follow standard financial mathematics (amortization, compound interest and time-value formulas) and reference 2026 U.S. federal parameters, such as IRS mileage and contribution rates, where applicable.

Last updated: November 17, 2026
Formula & data sources
  • Crypto treated as property for capital gains; 2026 ordinary and long-term capital gains brackets.

For educational purposes only — not financial, tax, or legal advice. Verify figures with a qualified professional before acting.

Cite this page

Reference formats
APA 7CalcSeed. (2026, November 17). Crypto Tax Calculator. https://calcseed.com/c/finance/crypto-tax-calculator/
MLA 9"Crypto Tax Calculator." CalcSeed, 17 Nov. 2026, calcseed.com/c/finance/crypto-tax-calculator/.
ChicagoCalcSeed. "Crypto Tax Calculator." Last modified November 17, 2026. https://calcseed.com/c/finance/crypto-tax-calculator/

Related calculators