How the calculator works
- Capital gain = sale proceeds minus your cost basis (both in US dollars, including fees).
- Other capital losses you entered are subtracted from the gain.
- Short-term (held one year or less): the gain is added to your taxable income and taxed at your ordinary rates.
- Long-term (held more than one year): the gain is stacked on top of your other income and taxed at 0%, 15% or 20% depending on which bracket each part falls in.
- If you enter your modified AGI, the 3.8% net investment income tax is added where it applies.
Worked example (2026, single filer)
Jamie has $80,000 of taxable income after the standard deduction. Jamie bought Bitcoin for $10,000 and sold it for $25,000.
- Capital gain: $25,000 − $10,000 = $15,000
- Held more than one year: Jamie's income is already above the $49,450 limit for 0%, so the whole gain is taxed at 15% = $2,250
- Held one year or less: taxable income rises from $80,000 to $95,000, inside the 22% bracket = $3,300
Holding past one year saved Jamie $1,050 of federal tax.
2026 long-term capital gains brackets
| Filing status | 0% up to | 15% up to |
|---|---|---|
| Single | $49,450 | $545,500 |
| Married filing jointly | $98,900 | $613,700 |
| Head of household | $66,200 | $579,600 |
| Married filing separately | $49,450 | $306,850 |
Taxable income above the 15% limit is taxed at 20%. Short-term gains use the ordinary brackets from 10% to 37%; see the full 2026 tables.
What the calculator does not cover
- State income tax.
- Several sales with a mix of short-term and long-term gains and losses. Net them on Form 8949 and Schedule D, or use crypto tax software.
- Staking, mining and airdrop income, which is ordinary income when received. See staking and mining taxes.
- The alternative minimum tax, tax credits, and crypto held in a business.
To produce Form 8949 for many trades, see how to report crypto to the IRS.
Frequently asked questions
How much tax do I pay on crypto in the US?
It depends on how long you held it and your taxable income. For 2026, long-term gains are taxed at 0%, 15% or 20%, and short-term gains at your ordinary rate from 10% to 37%. Higher earners may also owe the 3.8% net investment income tax.
What income do I enter in the calculator?
Your taxable income for the year after the standard deduction (or itemized deductions), not counting this sale. For 2026 the standard deduction is $16,100 for single filers and $32,200 for married couples filing jointly.
When does the 3.8% net investment income tax apply?
When your modified adjusted gross income is above $200,000 (single or head of household), $250,000 (married filing jointly) or $125,000 (married filing separately). The tax is 3.8% of the smaller of your investment income or the amount above the threshold.
What if I sold crypto at a loss?
A net capital loss first offsets other capital gains. Up to $3,000 a year ($1,500 if married filing separately) can then be deducted from other income, and the rest carries forward to future years.
Does the calculator include state tax?
No. It estimates federal tax only. Most states also tax capital gains as income at their own rates, and a few states have no income tax.
Official sources
- Digital assets, Internal Revenue Service
- Topic no. 409, Capital gains and losses, Internal Revenue Service
- Rev. Proc. 2025-32: 2026 inflation-adjusted tax items, Internal Revenue Service
- Topic no. 559, Net investment income tax, Internal Revenue Service
- Frequently asked questions on virtual currency transactions, Internal Revenue Service
Related: crypto capital gains tax rates, how to report crypto to the IRS, staking and mining taxes.