Home / Blog / Bitcoin
Bitcoin

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

Updated for the 2026 tax year · ~11 min read

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.

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:

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.

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:

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 $47,0250%
$47,026 – $518,90015%
Over $518,90020%

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

Same as ordinary income tax brackets:

Single filer taxable incomeRate
Up to $11,92510%
$11,925 – $48,47512%
$48,475 – $103,35022%
$103,350 – $197,30024%
$197,300 – $250,52532%
$250,525 – $626,35035%
Over $626,35037%

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 $48,475–$103,350 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:

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:

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

Starting with 2026 transactions, US crypto brokers (Coinbase, Kraken, Gemini, etc.) issue Form 1099-DA to both you and the IRS. The IRS will match what brokers report against what you report. Mismatches lead to notices and potential penalties.

What this means in practice:

Common mistakes to avoid

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)

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.

Estimate your crypto tax in 30 seconds

Free, private, and updated for the 2026 tax year — US, Canada & UK.

Open the calculator →
Disclaimer: This article is general educational information for the 2026 tax year, not personal tax advice. Crypto tax rules are complex and change often. Always confirm your situation with a qualified CPA, accountant, or tax professional before filing.