Crypto Tax Loss Harvesting Calculator
Calculate potential tax savings from harvesting crypto losses. Covers wash sale rules, capital gains offset limits, and net benefit after trading costs.
How Crypto Tax Loss Harvesting Works
Tax loss harvesting is the practice of selling an asset at a loss to realize a capital loss that offsets taxable gains elsewhere in your portfolio. In crypto, this strategy is especially powerful because the IRS wash sale rule does not currently apply to digital assets held directly, meaning you can sell a coin at a loss and immediately repurchase it without a mandatory waiting period.
The core formula is straightforward: Net Benefit = (Realized Loss × Marginal Tax Rate) − Trading Costs. If you hold $10,000 in unrealized losses on BTC and your combined federal and state marginal rate is 37%, harvesting those losses saves up to $3,700 in taxes. Subtract exchange fees and spread costs to find the actual benefit.
The tax savings depend on whether the loss offsets short-term gains, long-term gains, or ordinary income. Each category carries a different rate, so the effective value of a harvested loss varies based on what it offsets. Use the crypto tax calculator to estimate your total liability before deciding which lots to harvest.
2026 Federal Capital Gains Tax Rates
Short-term capital gains (assets held one year or less) are taxed at ordinary income rates. Long-term gains (held over one year) receive preferential rates. Harvested losses offset gains of the same type first: short-term losses reduce short-term gains before crossing over to reduce long-term gains, and vice versa. This netting order matters because short-term losses are more valuable when they offset short-term gains taxed at up to 37%.
| Rate | Short-Term (Ordinary Income) | Long-Term (Single Filer) | Long-Term (Married Filing Jointly) |
|---|---|---|---|
| 10% | Up to $11,925 | N/A (see 0% rate below) | |
| 12% | $11,926 to $48,475 | N/A | |
| 0% | N/A | Up to $49,450 | Up to $98,900 |
| 15% | N/A | $49,451 to $545,500 | $98,901 to $613,700 |
| 20% | N/A | Above $545,500 | Above $613,700 |
| 22% | $48,476 to $103,350 | N/A | |
| 24% | $103,351 to $197,300 | N/A | |
| 32% | $197,301 to $250,525 | N/A | |
| 35% | $250,526 to $626,350 | N/A | |
| 37% | Above $626,350 | N/A | |
| +3.8% NIIT | Applies to net investment income above $200,000 (single) or $250,000 (married filing jointly) | ||
All brackets are from IRS Revenue Procedure 2025-32. High earners also pay the 3.8% Net Investment Income Tax (NIIT) on investment income above $200,000 (single) or $250,000 (married filing jointly), bringing the effective top federal rate on short-term crypto gains to 40.8% and on long-term gains to 23.8%.
The Wash Sale Rule and Crypto in 2026
The wash sale rule (IRC §1091) disallows a capital loss if you purchase a "substantially identical" security within 30 days before or after the sale. For stocks and ETFs, this means you cannot sell shares at a loss and rebuy the same ticker within that window without losing the tax deduction.
Crypto held directly (not through an ETF) is classified as property under IRS Notice 2014-21, not as a security. As of November 2026, the IRS has issued no guidance extending the wash sale rule to property transactions. This means you can sell BTC at a loss, repurchase BTC seconds later, and still claim the full loss on your tax return.
Important: Bitcoin ETF shares (such as IBIT, FBTC, GBTC) are securities. The wash sale rule fully applies to ETF transactions. If you sell a Bitcoin ETF at a loss, you must wait 31 days or purchase a non-substantially-identical asset to preserve the deduction.
Pending Legislation
Congress has proposed extending the wash sale rule to digital assets in multiple bills since 2021. The most recent vehicle is H.R. 10357, the Digital Asset Tax Certainty Act, which cleared the House Ways and Means Committee in September 2026. A separate bill introduced by Rep. Jodey Arrington (R-TX) in June 2026 would also eliminate the crypto wash sale loophole. Neither bill has been signed into law, and legislative analysts consider passage unlikely before the 2026 midterm elections.
Draft provisions in the One Big Beautiful Bill Act would have applied wash sale treatment to crypto, but those provisions were removed before the bill was signed in July 2025. The takeaway: the loophole remains open, but its days may be numbered. Any harvesting strategy should account for the possibility that repurchase-and-claim may not remain available indefinitely.
Estimating Your Net Benefit
The value of a tax loss harvest is not the full loss amount: it is the tax savings minus the cost of executing the trades. Use this framework to estimate the net benefit:
- Identify unrealized losses by asset and holding period (short-term vs. long-term).
- Determine which gains (or ordinary income) each loss would offset, applying the netting rules: same-type offsets first.
- Multiply the usable loss by the applicable marginal tax rate (federal + state) to get gross tax savings.
- Subtract trading costs: exchange fees on both the sell and rebuy, plus spread costs if using a market order.
- If the net benefit exceeds zero, the harvest is worth executing.
For losses that exceed your current-year gains, up to $3,000 ($1,500 if married filing separately) of net capital loss can offset ordinary income. Unused losses carry forward indefinitely to future tax years. Use the cost basis calculator to determine the exact loss per lot under different accounting methods (FIFO, LIFO, specific identification).
Cost of Executing a Tax Loss Harvest
Every harvest involves at least two trades: selling the losing position and repurchasing it (or a correlated asset). The total cost depends on your exchange, order type, and the liquidity of the asset.
| Cost Component | Typical Range | How to Minimize |
|---|---|---|
| Exchange maker fee | 0.00% to 0.40% | Use limit orders on advanced trading interfaces |
| Exchange taker fee | 0.04% to 0.60% | Use maker orders when time permits |
| Spread (bid-ask) | 0.01% to 0.50% | Trade high-liquidity pairs (BTC/USD, ETH/USD) |
| Network/withdrawal fee | $0 to $30+ | Harvest on-exchange without withdrawing |
| Slippage (large orders) | 0.05% to 2.0%+ | Split large orders or use TWAP |
For a round-trip harvest of $50,000 in BTC on a major exchange using limit orders, total fees are typically 0.08% to 0.20%, or $40 to $100. If the unrealized loss is $10,000 and your marginal rate is 37%, the gross savings are $3,700: fees consume roughly 1% to 3% of the benefit. For small positions or illiquid altcoins, the cost-to-benefit ratio worsens significantly.
State Tax Considerations
State taxes add a meaningful layer to the calculation. States without income tax (Texas, Florida, Nevada, Wyoming, South Dakota, Alaska, Tennessee, New Hampshire) impose no state-level capital gains tax, making the federal rate the only consideration. Residents of high-tax states may see combined marginal rates that substantially increase the value of each harvested loss.
| State | Top Capital Gains Rate | Combined Top Rate (Federal + State + NIIT) |
|---|---|---|
| California | 13.3% | 54.1% (short-term) / 37.1% (long-term) |
| New York | 10.9% | 51.7% (short-term) / 34.7% (long-term) |
| New Jersey | 10.75% | 51.55% (short-term) / 34.55% (long-term) |
| Hawaii | 11.0% | 51.8% (short-term) / 34.8% (long-term) |
| Texas | 0% | 40.8% (short-term) / 23.8% (long-term) |
| Florida | 0% | 40.8% (short-term) / 23.8% (long-term) |
| Washington | 7.0% | 47.8% (short-term) / 30.8% (long-term) |
Washington's 7% capital gains tax applies only to long-term gains above $270,000 (as adjusted for 2026). Most states tax capital gains as ordinary income with no preferential rate for long-term holdings, so the state-level benefit of harvesting is the same regardless of holding period.
Capital Loss Deduction Limits and Carryforward
After netting short-term gains against short-term losses and long-term gains against long-term losses, any remaining net loss can offset gains in the other category. If a net loss still remains, up to $3,000 per year ($1,500 if married filing separately) can be deducted against ordinary income such as wages, interest, and business income.
Unused capital losses carry forward indefinitely. A $30,000 net loss harvested in 2026 would take 10 years to fully deduct against ordinary income alone (at $3,000 per year), unless future capital gains absorb the carryforward sooner. The carryforward preserves its character: short-term losses carried forward remain short-term, and long-term losses remain long-term.
Note: The $3,000 limit has not been adjusted for inflation since it was set in 1978. Proposals to increase it surface periodically but none have been enacted.
Strategic Considerations
Tax loss harvesting is not always optimal. Before executing, consider these factors:
- Resetting cost basis lower through an immediate repurchase means future gains on the repurchased asset will be larger, deferring (not eliminating) the tax liability.
- Short-term losses that offset short-term gains save more per dollar than losses offsetting long-term gains, because short-term rates are higher.
- Harvesting near year-end is common, but mid-year harvesting during drawdowns (such as market corrections) can capture larger unrealized losses.
- If you plan to hold for decades, the deferred tax from a lower cost basis may compound into a larger liability than the current-year savings.
- Crypto-to-crypto swaps (e.g., selling BTC to buy ETH) are taxable events. If both positions have losses, you can harvest both without wash sale concerns.
- For Bitcoin ETFs, consider swapping between non-identical funds (e.g., selling IBIT and buying FBTC) to maintain BTC exposure while respecting the 30-day wash sale window.
For investors managing UTXOs on Bitcoin, note that each UTXO can represent a distinct tax lot with its own cost basis and holding period. Wallets on Spark that support coin control allow precise selection of which lots to sell, enabling more targeted harvesting. For a deeper look at how institutional adoption of Bitcoin ETFs has changed the tax landscape for crypto investors, see our research analysis.
Reporting Requirements
Every crypto disposition must be reported on IRS Form 8949, with totals flowing to Schedule D. Starting in 2026, centralized exchanges issue Form 1099-DA, which reports gross proceeds and (where available) cost basis for each transaction. If you use multiple exchanges or self-custody wallets, you are responsible for tracking cost basis across all venues.
Tax loss harvesting generates additional line items on Form 8949: the sale of the losing position and the repurchase (which establishes a new cost basis). If wash sale rules are ever extended to crypto, the 1099-DA would also include wash sale adjustment codes. For now, the reporting burden is limited to accurate cost basis tracking across sell and rebuy transactions.
Frequently Asked Questions
Does the wash sale rule apply to cryptocurrency in 2026?
No. As of November 2026, the IRS wash sale rule (IRC §1091) applies only to "stock or securities." The IRS classifies crypto as property (Notice 2014-21), so you can sell crypto at a loss and immediately repurchase the same asset without disqualifying the loss. This does not apply to Bitcoin ETFs, which are securities and are subject to the wash sale rule.
How much capital loss can I deduct against ordinary income per year?
After offsetting capital gains, up to $3,000 of net capital loss ($1,500 if married filing separately) can be deducted against ordinary income per tax year. Any excess carries forward indefinitely to future years. There is no limit on the amount of capital loss that can offset capital gains in the same year.
Should I harvest short-term or long-term crypto losses first?
Short-term losses are generally more valuable because they first offset short-term gains taxed at ordinary income rates (up to 40.8% federal including NIIT). Long-term losses first offset long-term gains taxed at the lower preferential rates (up to 23.8%). Harvest short-term losses first if you have short-term gains to offset.
Can I sell Bitcoin and buy Ethereum to harvest a loss?
Yes. Selling BTC and buying ETH is a taxable event that realizes the BTC loss. Since BTC and ETH are different assets, there is no wash sale concern even if the rule were extended to crypto. However, you are now exposed to ETH's price action instead of BTC's, which changes your portfolio's risk profile.
Is crypto tax loss harvesting just deferring taxes, not eliminating them?
Mostly, yes. When you repurchase immediately at a lower cost basis, future gains on that position will be larger, resulting in a higher tax bill later. The benefit is the time value of the deferred tax and the possibility of realizing future gains at a lower rate (for example, in a year with lower income or after holding long enough to qualify for long-term rates). If you hold until death, the step-up in basis under current law can eliminate the deferred tax entirely.
What are the risks of aggressive tax loss harvesting?
Legislative risk is the primary concern: if Congress extends wash sale rules to crypto retroactively or with a near-term effective date, losses claimed through immediate repurchases could be disallowed. Execution risk also matters: volatile markets can move against you between the sell and rebuy, especially for illiquid altcoins. Finally, excessive harvesting creates complex tax reporting requirements and audit exposure.
Do I need to track cost basis separately for each crypto lot?
Yes. The IRS requires taxpayers to identify which specific units (lots) are being sold. Under the specific identification method, you choose the highest-cost lots to maximize the realized loss. FIFO (first in, first out) is the default if no method is specified. Use the cost basis calculator to compare cost basis methods and find the optimal lots to harvest.
This calculator is for informational purposes only and does not constitute tax or financial advice. Tax laws vary by jurisdiction and change frequently. Consult a qualified tax professional before making tax loss harvesting decisions. Data reflects federal tax law as of November 2026 and is based on publicly available IRS guidance.
Build with Spark
Integrate bitcoin, Lightning, and stablecoins into your app with a few lines of code.
Read the docs →
