How to Calculate Bitcoin Taxes 2026: Step-by-Step Guide with Examples

On this page
  1. How Bitcoin tax works in the US
  2. Step 1: Figure out your cost basis
  3. Step 2: Figure out your proceeds
  4. Step 3: Calculate your gain or loss
  5. Step 4: Determine your holding period
  6. Step 5: Apply the right tax rate
  7. Worked example 1: Short-term Bitcoin sale
  8. Worked example 2: Long-term Bitcoin sale
  9. Worked example 3: Bitcoin swap
  10. What if you have a loss?
  11. What about staking, mining, or earning Bitcoin?
  12. Form 1099-DA: brokers now report your Bitcoin activity
  13. Common mistakes to avoid
  14. Quick Bitcoin tax checklist
  15. Frequently asked questions
  16. Bottom line
Quick answer

Bitcoin tax is your gain, proceeds minus cost basis, multiplied by your rate. In the US, Bitcoin held a year or less is taxed at ordinary rates of 10% to 37%; held longer, at 0%, 15% or 20%. For a single filer in 2026 the 0% rate covers taxable income up to $49,450 and 20% starts above $545,500. Mined, staked or earned Bitcoin is ordinary income when you receive it.

If you bought, sold, traded, or earned Bitcoin in 2026, you likely owe tax — and calculating it correctly isn't as complicated as it sounds. This guide walks you through exactly how to calculate Bitcoin taxes step by step, with real worked examples, the 2026 IRS rates, and the common mistakes that cost holders thousands of dollars every year.

TaxOnCrypto

Crypto tax calculator

2026 estimate for the US, Canada and the UK. Not a filed return.

Part IWhere you file and what happened in 2026
  1. Sets the tax rules and currency
  2. Adds an estimate of regional tax
  3. Salary, wages or business income. Leave blank if none.
  4. Profit from selling, swapping or spending crypto
  5. Crypto sold for less than you paid
  6. US only. Over a year gets lower rates.
  7. Rewards from staking, lending or earn programs
  8. Value on the day you received them
  9. Freelance or self-employed income received in crypto

Single filer, 2026 rates. Runs in your browser: nothing is sent or saved. How it is calculated

How Bitcoin tax works in the US

The IRS treats Bitcoin as property, not currency. That means every time you sell, trade, or spend Bitcoin, you trigger a taxable event — just like selling a stock. The amount of tax depends on three things:

  • Your gain or loss (sale price minus cost basis)
  • How long you held the Bitcoin (short-term vs long-term)
  • Your total taxable income for the year

You only pay tax when you realise the gain — meaning you actually sold, swapped, or spent the Bitcoin. Holding it, even as the price climbs, creates no tax bill on its own.

Step 1: Figure out your cost basis

Your cost basis is what you originally paid for the Bitcoin, including any allowable fees (exchange fees, network fees you paid at purchase). This number stays with the Bitcoin until you sell it.

Example: You bought 0.5 BTC in January 2024 for $30,000. The exchange charged a $50 fee. Your cost basis = $30,050.

If you bought Bitcoin in multiple lots at different prices, the IRS default method is FIFO (First In, First Out). The oldest lots are treated as sold first. You can also use Specific Identification (HIFO or LIFO) if you keep detailed lot-level records.

Step 2: Figure out your proceeds

Proceeds are what you received when you sold or disposed of the Bitcoin — minus any selling fees.

  • If you sold for cash: The dollar amount you received.
  • If you swapped for another crypto: The fair market value of what you received, in USD on the day of the swap.
  • If you spent the Bitcoin on goods: The fair market value of the goods, in USD.

Step 3: Calculate your gain or loss

The formula is simple:

Proceeds − Cost basis = Capital gain or loss

Example: You bought 0.5 BTC at $30,050 cost basis. You sold it for $50,000 (minus $50 exchange fee = $49,950 net proceeds). Your gain = $49,950 − $30,050 = $19,900.

Step 4: Determine your holding period

This is the single biggest factor in how much tax you owe:

  • Held one year or less = short-term: Taxed at your ordinary income rate (10% to 37%)
  • Held more than one year = long-term: Taxed at preferential rates (0%, 15%, or 20%)

The clock starts the day after you acquired the Bitcoin and ends the day you disposed of it. Even one day past the 12-month mark counts as long-term — and can cut your tax bill in half or more.

Step 5: Apply the right tax rate

2026 long-term capital gains rates (held over 1 year)

Single filer taxable incomeLTCG rate
Up to $49,4500%
$49,451 – $545,50015%
Over $545,50020%

2026 short-term rates (held 1 year or less)

Same as ordinary income tax brackets:

Single filer taxable incomeRate
Up to $12,40010%
$12,400 – $50,40012%
$50,400 – $105,70022%
$105,700 – $201,77524%
$201,775 – $256,22532%
$256,225 – $640,60035%
Over $640,60037%

State tax

Most US states tax capital gains as ordinary income, including crypto. State rates range from 0% (Texas, Florida, Wyoming, Nevada, South Dakota, Tennessee, Alaska, New Hampshire) up to 13.3% in California. Most states do not offer a long-term preferential rate — the federal rule is a federal-only benefit.

Net Investment Income Tax (NIIT)

High earners owe an additional 3.8% NIIT on net investment income if total income exceeds $200,000 single / $250,000 married. This stacks on top of your capital gains tax.

Worked example 1: Short-term Bitcoin sale

Scenario: You bought 0.1 BTC in March 2026 for $7,000. You sold it in September 2026 for $9,500. Your total annual income is $60,000. You live in Texas (no state tax).

  1. Cost basis: $7,000
  2. Proceeds: $9,500
  3. Gain: $9,500 − $7,000 = $2,500
  4. Holding period: 6 months — short-term
  5. Your ordinary income bracket: 22% (income $60k is in $50,400–$105,700 range)
  6. Federal tax: $2,500 × 22% = $550
  7. State tax: $0 (Texas)
  8. Total tax: $550

Worked example 2: Long-term Bitcoin sale

Scenario: You bought 0.5 BTC in January 2023 for $20,000. You sold it in February 2026 for $50,000. Your total annual income is $80,000. You live in California.

  1. Cost basis: $20,000
  2. Proceeds: $50,000
  3. Gain: $50,000 − $20,000 = $30,000
  4. Holding period: 3+ years — long-term
  5. Federal LTCG rate at this income: 15%
  6. Federal tax: $30,000 × 15% = $4,500
  7. California state tax: $30,000 × ~9.3% = $2,790 (CA taxes all gains as ordinary income)
  8. Total tax: $7,290

If this same person had sold after holding less than a year, the federal short-term rate would have been 22%, making the total tax $6,600 (federal) + $2,790 (CA) = $9,390. Waiting an extra month past the 1-year mark saved $2,100.

Worked example 3: Bitcoin swap (BTC to ETH)

Even though no cash changed hands, this is still a taxable disposal:

Scenario: You bought 0.2 BTC in 2023 at $30,000 each (cost basis $6,000). In 2026, BTC is worth $80,000 each, so your 0.2 BTC is worth $16,000. You swap it all for ETH.

  1. Cost basis: $6,000
  2. Proceeds (FMV of ETH received): $16,000
  3. Gain: $10,000
  4. Tax due even though you never touched cash
  5. Your ETH now has a cost basis of $16,000 going forward

What if you have a loss?

If you sold Bitcoin for less than you paid, you have a capital loss. Losses are valuable:

  • They offset capital gains dollar-for-dollar
  • Up to $3,000 of excess losses can offset ordinary income each year
  • Any remaining loss carries forward indefinitely to future years

Strategic selling of losing positions before December 31 ("tax-loss harvesting") is a legal way to reduce your overall bill.

What about staking, mining, or earning Bitcoin?

This is different from capital gains. Earned Bitcoin is ordinary income at fair market value the day you receive it:

  • Mining rewards: Ordinary income at FMV when mined
  • Staking rewards: Ordinary income at FMV when received
  • Bitcoin received as payment for work: Ordinary income + 15.3% self-employment tax if you're a freelancer

Then when you later sell those earned coins, you have a second taxable event — a capital gain or loss based on the price change since you received them.

Form 1099-DA: brokers now report your Bitcoin activity

Since 2025 transactions, US crypto brokers such as Coinbase, Kraken and Gemini send Form 1099-DA to you and the IRS, and from 2026 transactions the form also shows cost basis for coins bought and held on the platform. The IRS will match what brokers report against what you report. Mismatches lead to notices and potential penalties.

What this means in practice:

  • The IRS will receive details of every major Bitcoin sale you made through a US exchange in 2026
  • Your return must match what brokers reported, or expect a notice
  • Cost basis is now tracked per-wallet under IRS Rev. Proc. 2024-28 — universal cost basis tracking ended January 2025

Common mistakes to avoid

  • Forgetting that BTC swaps are taxable. Trading BTC for ETH is a disposal, not just a portfolio move.
  • Ignoring state tax. A federal-only calculation can miss thousands in state tax, especially in California, New York, or New Jersey.
  • Not tracking holding periods. A few extra days of holding can move you from 22% to 15% — one of the biggest legal levers in crypto tax.
  • Missing the $3,000 loss deduction. If you have losses, even a small amount, claim them.
  • Skipping fees. Exchange fees increase your cost basis (lowering gain) and decrease proceeds (also lowering gain). Both should be tracked.
  • Using outdated brackets. Federal brackets change yearly. Make sure you're using 2026 numbers for 2026 transactions.

Quick Bitcoin tax checklist

  1. Calculate cost basis (purchase price + fees) for each Bitcoin lot
  2. Calculate proceeds (sale price minus fees) for each disposal
  3. Subtract cost basis from proceeds for each disposal — that is your gain or loss
  4. Determine holding period for each lot (short-term or long-term)
  5. Apply federal rate based on holding period and total income
  6. Apply state rate (most states tax it as ordinary income)
  7. Add NIIT (3.8%) if applicable (high income)
  8. Report on Form 8949, Schedule D, and Form 1040
  9. Keep all records for at least 3 years (longer if you're claiming losses)

Frequently asked questions

Do I pay tax on Bitcoin if I don't sell it?

No. Buying and holding Bitcoin is not taxable, even if the price rises. Tax applies when you sell, swap or spend it, or when you receive Bitcoin as income from mining, staking or work.

What are the 2026 tax rates for Bitcoin held over a year?

Long-term gains are taxed at 0%, 15% or 20%. For single filers in 2026 the 0% rate applies up to $49,450 of taxable income and 20% above $545,500; for married couples filing jointly the limits are $98,900 and $613,700. High earners may also owe the 3.8% net investment income tax, and most states tax the gain as ordinary income.

Which cost basis method should I use for Bitcoin?

FIFO is the default. You can use specific identification, for example selling your highest-cost coins first, if you identify the units at or before the sale and keep records. Since 2025 this is applied wallet by wallet under Rev. Proc. 2024-28.

Is swapping Bitcoin for another coin taxable?

Yes. A swap is a disposal of your Bitcoin. The gain is the dollar value of the coin you receive minus your basis in the Bitcoin you gave up.

Where do I report Bitcoin sales on my tax return?

On Form 8949, which feeds Schedule D and then Form 1040. Our Form 8949 guide shows which box to check for each sale.

Bottom line

Calculating Bitcoin tax in 2026 comes down to five numbers: cost basis, proceeds, gain, holding period, and income bracket. Get those right and the math is straightforward. The biggest wins are legal: hold longer than a year for preferential rates, harvest losses before December 31, and use a calculator that includes state tax + NIIT, not just federal capital gains. Use the calculator below for a quick estimate based on your specific situation, then confirm complex scenarios with a qualified CPA before filing.

This guide is general information for the 2026 tax year, not tax, legal or financial advice. Tax rules change often, so confirm your situation with a qualified professional before you file. Spotted an error? Email taxoncrypto@gmail.com.