Categories

Mortgage & Real EstateDebt & LoansInvestments & CryptoRetirement & SavingsTax & BusinessCareerReal EstateCost GuidesHome ImprovementLegal & BusinessAuto & VehicleEducationPetsImmigrationMilitary

Related Calculators

Crypto Tax Calculator 2026 →Capital Gains Tax Calculator 2026 →
HomeCrypto & AlternativeCrypto Tax Liability Calculator — What Do You Owe?

Crypto Tax Liability Calculator — What Do You Owe?

Estimate your total crypto tax bill with gain/loss netting.

Auto-updated May 8, 2026 · Verified daily against IRS, Fed & Treasury sources

Instant resultsNo signupVerified formula
Free · No signup · Verified
Crypto Tax Liability Calculator — What Do You Owe?

Enter your numbers below

$
$
$
$
$

Assumptions· 2026

  • ·IRS property classification (Notice 2014-21): each disposal triggers capital gain/loss
  • ·Short-term gains at ordinary income rate; long-term at 0%/15%/20% LTCG rates
  • ·Net capital loss up to $3,000 deductible against ordinary income; excess carries forward
  • ·FIFO cost basis as default; specific identification available where optimal
When this is wrong
  • ·Wash sale gap: crypto losses harvestable immediately without 30-day wait — legislation may close this
  • ·Staking and airdrop income taxable as ordinary income at FMV on receipt date
  • ·NIIT 3.8% surtax on crypto gains above $200k single / $250k MFJ
  • ·Form 8949 required for every transaction; 1099-DA expected from exchanges in 2026
Assumptions· 2026▾
  • ·IRS property classification (Notice 2014-21): each disposal triggers capital gain/loss
  • ·Short-term gains at ordinary income rate; long-term at 0%/15%/20% LTCG rates
  • ·Net capital loss up to $3,000 deductible against ordinary income; excess carries forward
  • ·FIFO cost basis as default; specific identification available where optimal
When this is wrong
  • ·Wash sale gap: crypto losses harvestable immediately without 30-day wait — legislation may close this
  • ·Staking and airdrop income taxable as ordinary income at FMV on receipt date
  • ·NIIT 3.8% surtax on crypto gains above $200k single / $250k MFJ
  • ·Form 8949 required for every transaction; 1099-DA expected from exchanges in 2026

Related Calculators

Crypto Tax Calculator 2026 →Capital Gains Tax Calculator 2026 →
Your Results

Based on your inputs

ℹ️Demo numbers — replace inputs to see yours
Total Crypto Tax
$1,710positive

ST: $660 · LT: $1,050

Net Taxable Gains
$10,000positive

Ordinary loss deduction: $0

Tax Summary

Reality Score:save 3 numbers across housing, debt & cash to see how your full picture holds up (0–100). One calc alone can't tell you that.

Stays in your browser. Never sent to us.

More actions
Embed

Your next step

📊 Analyze 3+ calcs to unlock your Financial Picture dashboard (cross-analysis of all your numbers).

Continue with Crypto Staking
Email a copy of this result →

Email a copy of this result to yourself. We don't store it server-side; the email is the only copy.

Decision guides

Crypto Tax Guide 2026
IRS rules on gains, mining, staking, and DeFi.
Capital Gains Tax Rates 2026
Short vs. long-term rates — crypto included.
Capital Gains Tax Guide
What triggers gains and how to reduce them.

Deep-dive articles

⚡ Key Takeaways

  • Capital gains netting is the IRS rule that automatically combines all your gains and losses to calculate your net tax liability—you don't pay taxes on $100k in gains if you also have $100k in losses
  • Short-term and long-term gains are netted separately first: $10k short-term gain minus $8k short-term loss = $2k net short-term gain, completely independent of long-term netting
  • Only after separate netting do excess losses from one category offset gains in another: a $15k short-term loss offsets a $10k long-term gain, leaving $5k of short-term loss available
  • Once you've offset all your capital gains, you can deduct up to $3,000 of remaining net loss against ordinary income (salary, wages) each year, with excess losses carrying forward indefinitely
  • Understanding netting rules is critical: knowing which trades to realize as losses and which to hold can save thousands in taxes annually

How Capital Gains Netting Works: The Step-by-Step Process

The IRS doesn't tax your gross gains. It nets (combines) all your gains and losses to find your net capital gain, then applies tax rates to that net amount.

Step 1: Separate short-term and long-term transactions

First, categorize every transaction you made this year:

• Short-term: Assets held ≤1 year (taxed as ordinary income, 10-37%)
• Long-term: Assets held >1 year (taxed at preferential rates, 0-20%)

These are kept completely separate for netting purposes.

Step 2: Net within each category

Add up all your short-term gains and losses, then subtract to find your net short-term result. Do the same for long-term.

Example:**
Short-term transactions: $20k gain + $5k loss = $15k net short-term gain
Long-term transactions: $50k gain + $30k loss = $20k net long-term gain

These are treated independently. You have both a net short-term gain AND a net long-term gain.

Step 3: Cross-netting (if one category has a loss)

If one category (short-term or long-term) results in a net loss, that loss can offset gains in the other category.

Example:**
Short-term: $10k net loss (more losses than gains)
Long-term: $25k net gain
Cross-netting: $10k long-term loss absorbs $10k long-term gain = $15k net long-term gain remains
Total capital gain: $15k (not $25k)

You've reduced your taxable capital gain from $25k to $15k just by properly netting your losses.

Step 4: Remaining losses offset ordinary income

If you've netted all capital gains and still have losses remaining, up to $3,000 of that net loss can offset ordinary income (wages, salary, business income) in the current year.

Example:**
After all netting: $0 net capital gain, $8k remaining net loss
Ordinary income deduction: $3k (the maximum allowed)
Carryforward loss: $5k (to be used in future years)

Assuming 37% tax bracket, this $3k deduction saves $1,110 in taxes this year. The $5k carryforward will save another $1,850 in future years when used.

Why Netting Favors Tax Planning

Understanding netting gives you a strategic advantage. Instead of thinking"I have gains worth $50k, I'll owe $10k in taxes," consider think"I have $50k gains and $30k losses available; can I realize those losses to net down to $20k taxable gain and save $4k in taxes?"

This is the foundation of tax-loss harvesting and strategic portfolio management.

Example of the advantage:**

You have two positions in your portfolio:
Position A: $50k unrealized gain (held 14 months, long-term)
Position B: $30k unrealized loss (held 6 months, short-term)

Scenario 1: Realize only Position A
Capital gain: $50k long-term
Tax at 15%: $7,500
Net proceeds: $42,500

Scenario 2: Realize both A and B
Capital gain: $50k long-term − $30k short-term loss = $20k net capital gain
Tax at 15%: $3,000
Net proceeds: $47,000

By realizing the loss alongside the gain, you pocket $4,500 more after taxes. The loss"paid for itself" in tax savings.

The $3,000 Annual Ordinary Income Offset and Carryforwards

This rule is crucial for managing multi-year tax liability.

Once all your capital gains and losses are netted, if you have excess losses remaining, you can deduct up to $3,000 against ordinary income. Any remaining loss carries forward to next year (and every subsequent year), where it can be used again.

Example of a multi-year loss:**

Year 1: Total capital loss of $10k (no offsetting gains)
Deduction against ordinary income: $3k
Carryforward to Year 2: $7k

Year 2: Another $2k loss + $7k carryforward = $9k total loss (no gains)
Deduction against ordinary income: $3k
Carryforward to Year 3: $6k

Year 3: $50k in long-term gains + $6k carryforward loss
Net capital gain: $44k
Tax at 15% on $44k: $6,600
Deduction against ordinary income: $0 (no remaining losses)

Total tax savings over 3 years: ($3k + $3k) × 37% + $6k × 15% = $2,220 + $900 = $3,120 in total tax reductions from the initial $10k loss.

The $10k loss spread over multiple years provided $3,120 in tax benefits (31% effective benefit rate). This is why not realizing losses immediately is sometimes counterproductive—you're delaying tax benefits that compound over time.

Common Netting Mistakes to Avoid

Mistake 1: Forgetting to account for holding period

A gain held 11 months is short-term and taxed at ordinary rates (potentially 37%). A gain held 13 months is long-term and taxed at 15%. The 2-month difference is worth 22% of the gain. Many traders don't realize they're 3 months away from long-term treatment and sell early, paying excessive taxes.

Mistake 2: Realizing all winners and avoiding losers

The opposite problem: you realize your winning trades (gains) but hold onto your losing trades, hoping they'll recover. Meanwhile, the gains are taxed without netting. If the losers eventually do get sold (or worse, go to zero), you lose the chance to offset past gains. Realize losses strategically.

Mistake 3: Not tracking cost basis carefully

Without precise cost basis records, you can't calculate gains vs losses accurately. This isn't just a math mistake—the IRS can challenge your netting if documentation is poor. Use crypto tax software (Koinly, CoinTracker) to automatically track cost basis for every transaction.

Mistake 4: Ignoring state taxes

Netting works for federal taxes, but many states calculate capital gains taxes separately or apply state income tax on top of federal. California, New York, and other high-tax states can add 10-15% on top of the federal capital gains rate. Account for your state taxes when planning netting strategy.

Mistake 5: Forgetting to file Form 8949

The IRS requires reporting all capital gains and losses on Form 8949 (Sales of Capital Assets). Without proper reporting, the IRS may disallow your losses even if you had them. File meticulously, especially if you have losses exceeding gains.

Strategic Netting: Timing Your Gains and Losses

Strategy 1: Year-end loss harvesting

In November-December, review your portfolio for any unrealized losses. Realize them before year-end to net against gains realized earlier in the year. This is the most common and effective strategy. Many traders save thousands this way.

Strategy 2: Staged realization across years

If you have massive gains in Year 1 and expect losses in Year 2, you could realize some gains in Year 1 and most losses in Year 2 to net them. This requires prediction and discipline but can spread tax liability across multiple years favorably.

Strategy 3: Offsetting in low-income years

If you anticipate a low-income year (sabbatical, job transition), realize gains then when your marginal rate is lower. Even at long-term rates, being in a lower income bracket reduces your tax significantly. A $50k gain in a 15% long-term bracket costs $7,500; the same gain in a 12% bracket (if you're in a lower income range for long-term gains) costs $6,000—a $1,500 savings.

FAQ: Capital Gains Netting

What if I have only losses and no gains?

You can deduct $3k of net loss against ordinary income this year. The remaining loss carries forward indefinitely to future years, where it will offset future gains or ordinary income (in $3k annual increments).

Does netting work between different asset types?

Yes. Losses in crypto can offset gains in stocks, real estate, and other capital assets. However, short-term and long-term are still separate. A short-term loss offsets short-term gains first, then long-term gains. A long-term loss offsets long-term gains first, then short-term gains.

Can I net gains from different years?

No. Netting only happens within the same tax year. However, carryforward losses from prior years can offset current-year gains. A loss from 2024 that you couldn't fully use can offset 2025 gains.

If I have $50k in gains and $50k in losses, do I owe $0 in taxes?

Yes, assuming proper netting. Your net capital gain is $0, so your capital gains tax is $0. You'll still file Form 8949 documenting all the transactions, but your tax liability from capital gains is zero. You can also deduct the first $3k of any excess loss (if the losses exceed gains) against ordinary income.

What happens if my short-term loss exceeds my short-term gains by a lot?

Excess short-term losses can offset long-term gains. If you have $20k short-term loss and $5k short-term gain, the $15k of remaining short-term loss can offset long-term gains. This is cross-netting and is very powerful for tax planning.

⚡ Key Takeaways

  • The IRS distinguishes between investors (hold crypto long-term) and traders (actively buy/sell frequently), with traders potentially qualifying for business income treatment instead of capital gains
  • Trader Status with IRS allows deducting trading expenses (software, education, equipment) and potentially converting short-term gains to more favorable treatment, but is difficult to establish
  • Trading income as self-employment business carries 15.3% self-employment tax on top of income tax, adding ~$7,650 on $50k net income—sometimes worse than capital gains treatment
  • Passive investment income avoids self-employment tax entirely—long-term capital gains are only taxed at capital gains rates (15%) without the extra 15.3% SE tax
  • For most crypto traders, capital gains treatment is actually better than business income treatment due to SE tax burden

Investor vs Trader: The IRS Distinction

The IRS distinguishes between two types of crypto participants:

Investors: Hold cryptocurrency as an investment. They realize capital gains when selling. They claim they're not in the business of trading; they're in the business of wealth building.

Traders: Frequently buy and sell cryptocurrency with the intent to profit from price swings. They claim they're in the business of trading crypto.

This distinction matters enormously for taxes.

Investors:
• Taxed on capital gains rates (0-20% long-term, or ordinary income rates for short-term)
• Cannot deduct trading expenses or losses
• No self-employment tax
• Dividends and interest count as investment income

Traders:
• Can potentially deduct trading expenses (software, education, equipment)
• Can classify as self-employed and carry losses forward
• Subject to self-employment tax (15.3%) on net income
• Subject to ordinary income tax rates on gains (not preferential capital gains rates)
• Must report on Schedule C (self-employment income)

On the surface, Trader Status sounds beneficial (more deductions). But the self-employment tax (15.3%) often makes it worse.

Establishing Trader Status: It's Difficult and Risky

The IRS doesn't grant"Trader Status" explicitly. Instead, it's a classification you claim on your tax return if you meet certain criteria:

Criteria for Trader Status (from IRS guidance):

1. Substantiality: Trading must be substantial in amount and frequency. The IRS looks for daily or weekly trading, not monthly or annual. More than 100+ trades per year is common evidence.

2. Regularity: Trading must be regular and continuous, not sporadic or occasional. You need documented trading activity throughout the year, not just during profitable periods.

3. Profit motive: You may want to demonstrate intent to make a profit. This means having a trading plan, record-keeping, and losses are acceptable (you can't claim gambling losses, but business losses are deductible).

4. Market participation: You may want to be an active participant in the crypto market, not a passive investor.

Meeting these criteria for stocks is hard. For crypto, it's harder because the IRS explicitly excludes crypto from certain trader-favorable rules (like Section 1256 treatment). Many CPAs recommend against claiming Trader Status for crypto because the IRS scrutinizes it heavily and crypto guidance is unclear.

If the IRS challenges your Trader Status claim, you could owe back taxes plus penalties and interest. This is risky for amateur traders.

Self-Employment Tax: The Hidden Cost of Trading

This is the critical factor most traders ignore.

If you claim Trader Status, your net trading profit is subject to self-employment (SE) tax of 15.3%:

• 12.4% for Social Security
• 2.9% for Medicare

This is on top of ordinary income tax. A trader in the 32% ordinary income bracket pays:

• 32% income tax
• 15.3% SE tax
• Total: 47.3% marginal rate

Example of SE tax burden:

Trader realizes $100k in net crypto trading profit and claims Trader Status.

Income tax (32% bracket): $32,000
Self-employment tax (15.3%): $15,300
Total tax: $47,300
After-tax profit: $52,700

Compare to capital gains treatment (long-term, 15% capital gains rate):

Long-term capital gains tax (15%): $15,000
Self-employment tax: $0
Total tax: $15,000
After-tax profit: $85,000

By claiming Trader Status, the trader paid $32,300 more in taxes on the same $100k profit. This is why many crypto traders avoid Trader Status intentionally.

When Trader Status Makes Sense

Trader Status is beneficial only in specific scenarios:

Scenario 1: You're claiming substantial trading losses

If you trade frequently and realize $50k in losses from unsuccessful trades offset by $100k in gains, you report $50k in net profit. With Trader Status, you can potentially deduct trading expenses (software, education) beyond typical investment expense limitations, reducing that $50k further.

However, passive investors can use capital losses to offset gains too (with the $3k ordinary income offset limit). So this advantage is modest.

Scenario 2: You're in a lower tax bracket

If you're self-employed and report modest income (below $50k/year), your ordinary income rate might be 12-22%. SE tax (15.3%) could be worth paying if it allows you to deduct trading-related business expenses that would otherwise be non-deductible.

Example: A part-time trader earning $30k in trading profit (12% bracket) + $10k in deductible trading expenses = $20k net. Tax at 12% + 15.3% SE tax = $5,460. Vs. long-term capital gains at 0% (if in the 0% long-term bracket for low income) = $0 tax. But Trader Status would cost $5,460.

This only makes sense if the $10k in deductible expenses wouldn't be deductible otherwise and the savings from those deductions exceed $5,460.

Scenario 3: You believe crypto will get favorable trader treatment in the future

Congress and the IRS may eventually extend Section 1256 treatment (more favorable trader rules) to crypto. If that happens, Trader Status would become valuable. This is speculative, but some traders document as traders"just in case."

The Practical Recommendation: Most Crypto Traders Should Be Investors

For most individual crypto traders, claiming capital gains treatment (investor status) is better than claiming Trader Status.

Here's why:

• Lower tax rates: 15% long-term capital gains beats 47.3% combined income + SE tax
• Simpler filing: Report on Schedule D (capital gains), not Schedule C (business income)
• Less audit risk: IRS scrutinizes Trader Status claims on crypto heavily
• Easier accounting: No need to separate business vs personal expenses

The only sacrifice: you can't deduct trading-related business expenses beyond the standard investment expense limitations (which are very limited under current law).

For most traders, avoiding $15k-$30k in SE taxes is worth not deducting $1k-$2k in trading software and education expenses.

Strategic Hybrid Approach

Some traders use a hybrid:

• Allocate 80% of capital to long-term hold (claim as investor, taxed as long-term capital gains)
• Allocate 20% of capital to active day trading (claim as trader, potentially deduct expenses on that portion)

This minimizes SE tax (applied only to the 20% portion) while allowing some business expense deductions on the active portion.

In practice, the 80/20 split means:

• 80% earns $40k (long-term capital gains, 15% rate = $6k tax)
• 20% earns $10k (trading income, subject to SE tax = $2,300 SE tax + $1,600 income tax = $3,900 tax)
• Total: $9,900 on $50k profit = 19.8% effective rate

This beats 100% Trader Status (47% rate) while still benefiting from some trading deductions.

FAQ: Trading Status and Tax Treatment

Can I change from investor to trader mid-year?

Technically yes, but the IRS will scrutinize the reason for the change. If you suddenly claim Trader Status after realizing huge gains (to try to reduce taxes), that looks suspicious. Changes should be well-documented with clear business justification.

If I'm a Trader, can I still claim long-term capital gains rates?

No. If the IRS accepts your Trader Status claim, gains are taxed as ordinary income (10-37%) regardless of holding period. This is a major disadvantage because you give up the preferential 15% long-term rate.

What records do I need to prove Trader Status?

Trading journal documenting daily/weekly trades, profit motive, trading plan, research notes, education in trading, and clear separation of trading activity from other activities. Without documentation, the IRS will deny Trader Status claims.

Is it worth consulting a CPA about Trader Status?

Yes, if you're trading $500k+ annually. A CPA can model the tax impact and help you document your position. For smaller traders, the cost of CPA consultation often exceeds the tax savings. Stick to capital gains treatment unless you have specific business deductions worth >$5k annually.

⚡ Key Takeaways

  • The Net Investment Income Tax (NIIT) is an additional 3.8% surtax on investment income (including crypto capital gains) for high-income earners, enacted in 2013 as part of the Affordable Care Act
  • NIIT applies only if your Modified Adjusted Gross Income (MAGI) exceeds $200k (single) or $250k (married), making it a tax on the wealthy but affecting many successful crypto traders and entrepreneurs
  • The 3.8% NIIT stacks on top of capital gains taxes: a long-term gain taxed at 15% plus 3.8% NIIT = 18.8% effective rate, cutting your take-home by nearly 20%
  • For high-income traders, the combined marginal rate is devastating: 37% (income tax) + 15.3% (SE tax if self-employed) + 3.8% (NIIT) = 56.1% marginal rate on trading income
  • There is no special deduction for NIIT; it applies to net investment income after all other deductions, making it a"floor" tax that can't be avoided if you hit the income threshold

What Is the Net Investment Income Tax?

The Net Investment Income Tax (NIIT) is a 3.8% federal surtax on investment income for high-income individuals. It was enacted in 2013 as part of the Affordable Care Act (ACA) to help fund healthcare reform.

While most of the ACA generated significant political debate, NIIT quietly became a major tax for crypto investors, real estate investors, and anyone with substantial investment income.

NIIT applies to:

• Capital gains (short-term and long-term)
• Dividends
• Interest income
• Rental income (in some cases)
• Passive business income

NIIT does NOT apply to:

• Wages and salary (ordinary employment income)
• Business income from a trade or business (self-employment active income)
• Most retirement account distributions
• Social Security benefits

Who Pays NIIT: Income Thresholds

NIIT applies only if your Modified Adjusted Gross Income (MAGI) exceeds specific thresholds:

• Single filers: $200,000
• Married filing jointly: $250,000
• Married filing separately: $125,000
• Head of household: $200,000

These thresholds have NOT been adjusted for inflation since 2013, so more and more people hit them as incomes rise.

Example:**

Single filer earning $180k in salary. Realizes $50k in long-term crypto capital gains. MAGI = $230k. NIIT threshold = $200k. Excess MAGI subject to NIIT = $30k.

NIIT = $30k × 3.8% = $1,140.

This $1,140 is in addition to the $7,500 in capital gains tax (15% on $50k). Total tax on the gain: $8,640, not $7,500.

How NIIT Is Calculated: It's Nuanced

NIIT isn't calculated on your entire net investment income if it's above the threshold. Instead, it's calculated on the lesser of:

1. Your net investment income, OR
2. The amount your MAGI exceeds the threshold

Example to clarify:**

Single filer:
Salary: $250k
Long-term capital gains: $100k
Deductions: $50k
MAGI = $300k
Net investment income (capital gains in this case): $100k
MAGI excess over $200k threshold: $100k

NIIT applies to the lesser of ($100k net investment income, $100k MAGI excess) = $100k.
NIIT = $100k × 3.8% = $3,800.

Now a different scenario:**

Same person, but with additional business deductions of $80k that bring MAGI to $220k (instead of $300k).

MAGI excess over $200k: $20k
NIIT applies to the lesser of ($100k net investment income, $20k MAGI excess) = $20k.
NIIT = $20k × 3.8% = $760.

This shows that business deductions that lower MAGI can reduce NIIT exposure significantly. This is a key planning opportunity for crypto traders who also have self-employment business income.

NIIT Stacking: The Real Tax Burden

The pain of NIIT comes from stacking. You don't pay 3.8% in isolation. You pay 3.8% on top of capital gains taxes, which are already on top of ordinary income taxes.

Example: High-income trader with $100k long-term crypto capital gain

Scenario 1: Below NIIT threshold (income $180k)
Capital gains tax (15% long-term): $15,000
NIIT (3.8%): $0
Total tax: $15,000
After-tax profit: $85,000

Scenario 2: Above NIIT threshold (income $250k)
Capital gains tax (15% long-term): $15,000
NIIT (3.8% on $50k excess): $1,900
Total tax: $16,900
After-tax profit: $83,100

The NIIT added $1,900 in taxes, reducing after-tax profit by 1.9%. While this seems small, it compounds. On a $500k portfolio with $100k annual gains, NIIT costs $5,000 annually—$50k over a decade.

For trading income (ordinary rates), it's much worse:**

High-income trader (37% bracket) with $100k trading gain (short-term, so ordinary income rate):

Ordinary income tax (37%): $37,000
Self-employment tax (15.3%, if trading is self-employment): $15,300
NIIT (3.8%): $3,800
Total tax: $56,100
After-tax profit: $43,900

This trader paid 56.1% in total taxes. That's worse than the historical top marginal rate (55%) from the 1950s-1980s.

NIIT Planning Strategies

Strategy 1: Harvest losses to reduce net investment income

Capital losses directly reduce net investment income for NIIT purposes. A $20k capital loss reduces net investment income by $20k, reducing NIIT by $760 (3.8% × $20k).

This makes tax-loss harvesting even more valuable for high-income investors. You get the benefit of the capital loss deduction PLUS the NIIT savings.

Strategy 2: Defer gains into lower-income years

If you have a sabbatical year, business loss year, or other low-income period coming, defer crypto gains to realize them then. A $100k gain in a year where you earn $150k total (below the $200k threshold) avoids NIIT entirely, saving $3,800.

Strategy 3: Use business deductions to lower MAGI

If you're self-employed or have a side business, maximizing deductions lowers your MAGI, which can reduce NIIT exposure. Every $1 of business deduction that lowers MAGI reduces NIIT by $0.038.

On $50k in business deductions, that's $1,900 in NIIT savings.

Strategy 4: Time portfolio rebalancing strategically

If you may want to rebalance your portfolio (sell some winners, buy others), do it in lower-income years or structure it over multiple years to stay below the NIIT threshold.

Strategy 5: Use tax-advantaged accounts

Gains in 401(k), Traditional IRA, Roth IRA, and Solo 401(k) accounts are not subject to NIIT. While these accounts have contribution limits, if you have access to a Solo 401(k) (self-employed), you can contribute up to $69k annually (2024) and all growth inside is NIIT-exempt.

For serious crypto investors, a Solo 401(k) with a self-directed custodian (allowing crypto) can eliminate NIIT on a portion of your portfolio.

NIIT and Your Estimated Taxes

If you expect to owe NIIT, you may want to include it when calculating estimated quarterly tax payments (Form 1040-ES).

Failure to pay estimated taxes including NIIT can result in:

• Underpayment penalties (IRS penalty of 8% annually on unpaid amounts)
• Interest on unpaid taxes
• Audit risk (large underpayments flag returns for review)

Estimate your MAGI, calculate expected net investment income, and estimate NIIT. Divide by 4 and pay quarterly. Most tax software handles this, but it's worth double-checking if you have significant investment income.

FAQ: Net Investment Income Tax

Does NIIT apply to unrealized gains?

No. NIIT applies only to realized income. Holding Bitcoin worth $100k profit doesn't trigger NIIT. Only when you sell and realize the gain does NIIT apply.

Can I avoid NIIT by staying below the income threshold intentionally?

Theoretically yes, if you can time income recognition. A $250k earner could defer $50k in crypto gains to a following year where they're below the threshold. However, this requires planning and liquidity management. Most high-income earners can't easily defer this much income.

Is NIIT permanent or temporary?

It was enacted in 2013 as permanent legislation. There's been political discussion about repealing it, but it remains law as of 2025. Assume it's permanent for planning purposes.

What if I'm in a state with state income tax? Does NIIT stack with it?

Yes. NIIT is federal; state taxes are separate. A Californian in the 37% federal bracket + 13.3% California state bracket + 3.8% NIIT = 54.1% marginal tax rate on investment income. This is why some high-income traders relocate to low-tax states (Nevada, Texas, Florida) or internationally.

Can I deduct NIIT as a business expense?

No. NIIT is a surtax; it's not deductible. You pay it on top of your other tax liabilities with no offsets available.

Sum all gains minus losses. Apply short-term or long-term rates based on holding period. Add state tax. High earners add 3.8% NIIT.

Currently crypto does NOT have a wash sale rule. You can sell at a loss and immediately repurchase, locking in the tax loss. Congress may change this.

Hold for 1+ year (long-term rate), tax-loss harvest, donate appreciated crypto to charity, use crypto in a self-directed IRA, time sales in low-income years.

Mining income is self-employment income — you pay SE tax (15.3%) plus income tax. Staking rewards are likely ordinary income but not SE taxable.

IRS receives 1099 data from major exchanges. Unreported crypto is considered tax fraud. File amended returns for past years if needed.

High earners pay an additional 3.8 percent net investment income tax on crypto gains if modified adjusted gross income exceeds $200,000 for single filers or $250,000 for married filing jointly. This is on top of regular capital gains tax.

Yes. Donating appreciated crypto held over one year to a qualified charity lets you deduct the full market value without paying capital gains tax on the appreciation. This is one of the most tax-efficient donation strategies available.

If you expect to owe $1,000 or more in crypto taxes, make quarterly estimated payments to avoid underpayment penalties. Calculate expected gains each quarter and pay 25 percent of your estimated annual crypto tax liability.

Short-term gains on crypto held one year or less are taxed at your ordinary income rate of 10 to 37 percent. Long-term gains on crypto held over one year are taxed at preferential rates of 0, 15, or 20 percent based on income.

A self-directed IRA allows buying crypto within a tax-advantaged account. Traditional IRAs defer taxes until withdrawal. Roth IRAs allow tax-free growth. Contribution limits and custodian fees apply, but gains compound without annual tax drag.

Net ST = ST Gains − ST Losses

Net LT = LT Gains − LT Losses

Cross-netting: Excess ST losses offset LT gains, and vice versa.

Published byJere Salmisto· Founder, CalcFiReviewed byCalcFi EditorialEditorial standardsMethodologyLast updated May 9, 2026

Primary sources & authoritative references

Every formula on this page traces to a federal agency, central bank, or peer-reviewed institution. We cite the rule-makers, not secondhand blogs.

  • IRS — Digital Assets (Cryptocurrency) Tax Guidance — Internal Revenue ServiceGoverning authority for crypto as property and taxable recognition events. (opens in new tab)
  • IRS Topic 409 — Capital Gains and Losses — Internal Revenue ServiceRate schedule (0/15/20%) and netting rules for crypto gain/loss. (opens in new tab)
  • IRS Publication 550 — Investment Income and Expenses — Internal Revenue ServiceBasis tracking, wash-sale interaction, and reporting for digital assets. (opens in new tab)

Found an error in a formula or source? Report it →

ST gains
$40,000
LT gains
$10,000
ST losses
$12,000
Income
$75K single

Result: Net: $28K ST + $10K LT → ~$7,660 total tax

Netting within categories first: ST $40K − $12K = $28K ST net. LT $10K unchanged. ST taxed at ordinary 22% = $6,160. LT at 15% = $1,500. Total $7,660.

Sold
1 BTC
Basis
$45K
Proceeds
$35K
Loss
-$10K
Income
$60K single

Result: $3K offsets ordinary income → $660 tax saved; $7K carries forward

Capital loss priority: ST loss > ST gain, LT loss > LT gain, then excess → $3K cap against ordinary income per §1211(b). Rest carries forward indefinitely.

LP entry
deposit $10K ETH
Rewards
$2K worth of tokens
Withdrawal
$11K ETH

Result: $2K ordinary income from rewards + $1K capital gain on LP exit

Rewards are ordinary income at FMV when earned. LP entry/exit is taxable if protocol swaps tokens. Tracking software essential — DeFi is hardest to manually account for.

Net capital losses exceed net capital gains? Up to $3,000 can offset ordinary income (§1211(b)). Rest carries forward.

Impact: Missing $3K offset at 22% = $660 lost tax savings per year.

Rules: ST vs ST first, LT vs LT first, THEN cross-netting. Order matters because ST is taxed higher.

Impact: Incorrect netting inflates tax by $500–$5K.

Post-TCJA: personal casualty/theft losses are NOT deductible (2018–2025). Abandoned crypto may qualify under §165(g) worthless security.

Impact: Expecting to deduct $10K hack loss and finding out you can't.

Calculations are for educational purposes only. Consult a qualified financial advisor for personalized advice.