Crypto Tax Calculator 2026: Federal Tax on a Crypto Sale
Crypto you held more than a year is taxed like a stock sale, at 0%, 15% or 20% of the gain, so a single filer with $70,000 of wages who sells for $15,000 coins that cost $9,000, paying $100 in fees, owes about $885.00 of extra federal tax in 2026; held a year or less, the same gain is taxed at wage rates.
Every group chat has a guy who swears crypto is not taxed until it touches a bank account. He also keeps his seed phrase in his email drafts. Ignore him on both counts.
The IRS line is short: "For U.S. tax purposes, digital assets are considered property, not currency." So a sale, a swap for another coin or paying for something with crypto works like selling any other asset you own. Type your own numbers below; we do not know prices and never guess them.
Federal tax caused by this sale (2026)
$885.00
15% of a $5,900.00 long-term gain
| Amount realized (sale minus selling fees) | $14,900.00 |
|---|---|
| Cost basis | $9,000.00 |
| Capital gain | $5,900.00 |
| Taxed at 0% | $0.00 |
| Taxed at 15% | $5,900.00 |
| Taxed at 20% | $0.00 |
| Short-term gain (taxed like wages) | $0.00 |
| Capital loss used against other income | $0.00 |
| Net investment income tax (3.8%) | $0.00 |
| Federal income tax on everything | $7,455.00 |
| Same without this sale | $6,570.00 |
One sale at a time. Several sales in a year are netted first: add your other gains and losses together before you type them, or use the capital gains tax calculator. State income tax is not included.
Show the working
- $15,000.00 - $100.00 selling fees = $14,900.00 amount realized; minus $9,000.00 basis = $5,900.00.
- Held more than one year: long-term, taxed at 0%, 15% or 20%.
- $75,900.00 income - $16,100.00 standard deduction = $59,800.00 taxable; 0% runs to $49,450 and 15% to $545,500 (Single, 2026).
- Tax with the sale $7,455.00 - without it $6,570.00 = $885.00; NIIT $0.00.
An estimate from the numbers you entered and the rules listed below, not tax, legal or financial advice.
How we calculate it
Gain = what the sale brought in, minus selling fees, minus your basis. On basis the IRS says: "Your basis (also known as your "cost basis") is the amount you spent to acquire the virtual currency, including fees, commissions and other acquisition costs in U.S. dollars." The holding period "begins on the day after you acquired the virtual currency and ends on the day you sell or exchange the virtual currency"
More than one year is long-term and runs through the Form 1040 capital gains worksheet with the 2026 amounts from Rev. Proc. 2025-32: your other income fills the brackets first, the gain stacks on top in the 0%, 15% and 20% bands, and the 3.8% net investment income tax is added above its threshold. Short-term gains are simply added to your other income. The result is the tax with the sale minus the tax without it.
Worked example: a married couple sells coins after two years
Made-up numbers: a couple filing jointly with $135,000 of wages sells coins for $42,000. They paid $30,000 including the buying fee and pay $210 to sell. Amount realized $41,790.00, gain $11,790.00. Income $146,790.00, minus the $32,200 standard deduction, leaves $114,590.00 taxable.
Their ordinary income fills the brackets to $102,800.00. The joint 0% band runs to $98,900, which their wages have already passed, so none of the gain is taxed at 0% and all $11,790.00 is taxed at 15%: $1,768.50. Hand check: $11,790.00 x 0.15 = $1,768.50, and the tax with the sale ($13,808.50) minus without it ($12,040.00) is the same $1,768.50.
Had they sold after eleven months instead, the whole gain would be short-term and cost $2,593.80. Waiting past the one-year line was worth $825.30 here, before any price move, which nobody can promise you.
| Gain after fees and basis | $11,790.00 |
|---|---|
| Taxed at 0% | $0.00 |
| Taxed at 15% | $11,790.00 |
| Extra federal tax from the sale | $1,768.50 |
IRS rules for crypto sales in 2026
Tax year 2026. Sources at the bottom.
- Long-term bands: single 0% to $49,450 of taxable income and 15% to $545,500; joint $98,900 and $613,700; head of household $66,200 and $579,600. 20% above.
- Short-term: "If you held the digital asset as a capital asset for one year or less before selling, exchanging, or otherwise disposing of the digital asset." Taxed at your normal bracket rates.
- Losses: net losses come off other income up to $3,000 a year ($1,500 married filing separately); the rest carries forward.
- Net investment income tax: 3.8% over $200,000 single, $250,000 joint.
- Broker forms: "Brokers must report gross proceeds for transactions effected on or after Jan. 1, 2025." "Brokers must report basis on certain transactions effected on or after Jan. 1, 2026."
Swaps, spending and the yes or no question
Swapping one coin for another is a sale of the first coin at its dollar value that day, and so is buying a laptop with crypto. Form 1040 asks every filer a yes or no digital asset question. You can answer no if your only move was this: "Purchased, but did not sell, digital assets using U.S. or other real currency, including through electronic platforms". Any sale, swap or spend means yes. The IRS adds: "If you have digital asset transactions, you must report them whether or not they result in a taxable gain or loss."
For coins held as an investment the IRS instruction is one line: "Use Form 8949, Sales and Other Dispositions of Capital Assets." Coins received as pay, from staking or from mining are ordinary income when you get them, and that value becomes their basis for the later sale.
What a 1099-DA does and does not cover
Custodial platforms now send Form 1099-DA. The IRS form page puts it plainly: "Use Form 1099-DA to report digital asset proceeds from broker transactions." Gross proceeds are reported from 2025 and basis on certain trades from 2026. One gap matters: "The final regulations do not include reporting requirements for brokers commonly known as decentralized or non-custodial brokers that do not take possession of the digital assets being sold or exchanged."
So the form can be missing, or show proceeds with no basis for coins you moved in from another wallet. Your own records still decide the number. A loss counts too: sell for $4,000 what cost $10,000, with $50 of fees, and $3,000 of the loss comes off this year's other income, cutting federal tax by $660.00 for a single filer earning $70,000. The rest carries forward.
Scam note from the same IRS page: letters asking you to register coins on a compliance portal are fake. "We don't require registration of digital assets and are not sending these letters." The capital gains tax calculator handles a full year of netted gains.
FAQ
How much tax do I pay on crypto gains?
It depends on how long you held and your other income. Long-term gains are taxed at 0%, 15% or 20%; short-term gains at your bracket rate. In our default example, a $5,900.00 long-term gain on top of $70,000 of wages adds $885.00 of federal tax, all at 15%. State tax comes on top in most states.
Do I pay tax if I just buy and hold crypto?
No federal tax is due just for buying with dollars and holding. Tax comes when you sell, swap for another coin or spend it, or when you receive coins as pay or rewards. Moving coins between your own wallets is not a sale, unless you pay the network fee in crypto.
Is swapping one crypto for another taxable?
Yes. In the IRS answers on virtual currency, exchanging a coin for other property, including another coin, gives a capital gain or loss: the dollar value of what you received minus your basis in the coin you gave up. No dollars need to reach your bank account for the gain to count.
Can crypto losses lower my taxes?
Yes. Losses first cancel gains from the same year, including stock gains. If losses are bigger, up to $3,000 a year comes off your other income ($1,500 if married filing separately) and the rest carries forward. Keep the records of the losing trade as carefully as the winning one.
What is Form 1099-DA?
A form custodial crypto platforms send to you and the IRS, showing gross proceeds from your sales starting with 2025 trades and cost basis on certain trades starting in 2026. Decentralized platforms that never hold your coins are not covered, so keep your own record of every buy, sale and swap.
Sources
- IRS, Digital assets, checked
- IRS, Frequently asked questions on virtual currency transactions, checked
- IRS, About Form 1099-DA, Digital Asset Proceeds From Broker Transactions, checked
- IRS Topic no. 559, Net investment income tax: 3.8% and MAGI thresholds, checked
- Rev. Proc. 2025-32: 2026 maximum zero and 15 percent capital gains rate amounts (section 4.03), child tax credit $2,200 and $1,700 (section 4.05), QBI threshold amounts (section 4.26), QBI minimum deduction (section 2.12), checked
- IRS Topic no. 409, Capital gains and losses: holding period, $3,000 loss limit, checked