Crypto Loss Harvesting Calculator
Identify crypto positions with unrealized losses for tax-loss harvesting opportunities. Enter values for instant results with step-by-step formulas.
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer
Crypto Loss Harvesting Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser โ no data is sent to any server.
Formula: Tax Savings = (Loss Offsetting Gains x Cap Gains Rate) + (min(Remaining Loss, $3,000) x Income Tax Rate)
Worked example โ Tax Savings: $5,220 | Carry Forward: $2,000 | Effective Savings Rate: 26.1%
Formula
Tax Savings = (Loss Offsetting Gains x Cap Gains Rate) + (min(Remaining Loss, $3,000) x Income Tax Rate)
Realized crypto losses first offset capital gains at the applicable capital gains rate. Remaining net losses offset up to $3,000 of ordinary income per year. Any excess carries forward indefinitely to future tax years.
Worked Examples
Example 1: Harvesting Losses to Offset Gains
Problem:You bought crypto for $50,000 (now worth $30,000) and have $15,000 in realized gains this year. You are in the 24% bracket with 5% state tax. Calculate tax savings from harvesting the $20,000 loss.
Solution:Unrealized loss = $50,000 - $30,000 = $20,000 Offset against gains: min($20,000, $15,000) = $15,000 Remaining loss: $20,000 - $15,000 = $5,000 Ordinary income offset: min($5,000, $3,000) = $3,000 Carry forward: $5,000 - $3,000 = $2,000 Tax savings from gain offset = $15,000 x (24% + 5%) = $4,350 Tax savings from income offset = $3,000 x (24% + 5%) = $870 Total current-year savings = $4,350 + $870 = $5,220
Result:Tax Savings: $5,220 | Carry Forward: $2,000 | Effective Savings Rate: 26.1%
Example 2: Large Loss Carry-Forward Scenario
Problem:You have $80,000 in unrealized crypto losses and only $5,000 in gains. At a 32% bracket, how much saves this year and how long to use the remaining loss?
Solution:Offset gains: $5,000 Remaining loss: $80,000 - $5,000 = $75,000 Ordinary income offset (year 1): $3,000 Carry forward: $75,000 - $3,000 = $72,000 Years to carry forward: $72,000 / $3,000 = 24 years Year 1 tax savings: Gain offset = $5,000 x 0.32 = $1,600 Income offset = $3,000 x 0.32 = $960 Year 1 total = $2,560 Total future savings = $72,000 x 0.32 = $23,040 (over 24 years)
Result:Year 1 Savings: $2,560 | Carry Forward: $72,000 | Full Recovery: ~24 years
Frequently Asked Questions
What is crypto tax-loss harvesting and how does it work?
Crypto tax-loss harvesting is the strategy of selling cryptocurrency positions that are currently at a loss to realize those losses for tax purposes. These realized losses can then be used to offset capital gains from other crypto trades or investments, reducing your overall tax bill. For example, if you bought Bitcoin at $50,000 and it dropped to $30,000, you have a $20,000 unrealized loss. By selling at $30,000, you realize the loss and can use it to offset $20,000 in gains from other trades. If your total losses exceed your gains, you can deduct up to $3,000 per year against ordinary income and carry forward any remaining losses to future tax years indefinitely. This strategy is entirely legal and commonly used by sophisticated crypto investors.
Is there a wash sale rule for cryptocurrency?
As of 2024, the IRS wash sale rule technically does not apply to cryptocurrency because crypto is classified as property rather than a security. The wash sale rule prevents investors from selling a stock at a loss and repurchasing it within 30 days to claim the tax deduction. Since crypto is not classified as a security under current IRS guidance, you can theoretically sell crypto at a loss and immediately repurchase the same asset to harvest the tax loss while maintaining your position. However, proposed legislation (including provisions in the Build Back Better Act and the 2024 budget proposal) seeks to extend wash sale rules to cryptocurrency. Tax professionals recommend monitoring legislative changes closely because retroactive application is possible. Some conservative advisors already recommend waiting 30 days to avoid potential future complications.
How much can crypto losses offset against ordinary income?
Under current US tax law, net capital losses (after offsetting all capital gains) can offset up to $3,000 per year of ordinary income ($1,500 if married filing separately). Any losses exceeding the $3,000 limit carry forward to future tax years indefinitely. For example, if you have $25,000 in crypto losses and only $10,000 in gains, you have $15,000 in net losses. In the current year, $3,000 offsets ordinary income, and $12,000 carries forward. Over the next 4 years, you can offset $3,000 per year, with no expiration on the remaining balance. The $3,000 annual limit applies to the total of all net capital losses across all asset classes, not just crypto. This means crypto losses also offset stock gains and vice versa.
When is the best time to harvest crypto losses?
The optimal timing for crypto tax-loss harvesting depends on several factors including market conditions, your overall tax situation, and your investment outlook. Many investors harvest losses in December to maximize deductions for the current tax year before the December 31 deadline. However, harvesting throughout the year can be more effective because you capture losses during market dips that may recover before year-end. Significant market downturns (30%+ drops) present excellent harvesting opportunities because unrealized losses are largest. Consider harvesting when you have substantial realized gains from other sales that need offsetting, when your tax bracket is unusually high for the year, or when you want to rebalance your portfolio anyway. Avoid harvesting losses just to save on taxes if it conflicts with your long-term investment strategy.
Can I harvest losses on multiple crypto positions simultaneously?
Yes, you can harvest losses across multiple crypto positions at the same time. In fact, reviewing your entire crypto portfolio for loss harvesting opportunities is recommended rather than focusing on a single position. Different positions may have different cost bases, holding periods, and unrealized loss amounts. A systematic approach involves listing all positions with unrealized losses, calculating the tax savings from each, and prioritizing positions where the loss is largest relative to the remaining position value. Be aware that harvesting losses on many positions simultaneously can trigger significant trading fees on some platforms. Also consider whether you want to repurchase these assets after selling, as maintaining your desired portfolio allocation requires reinvestment. Some investors use similar but not identical assets as substitutes while waiting.
How do short-term versus long-term losses differ for tax purposes?
Short-term and long-term capital losses are treated differently for tax purposes. Short-term losses (from assets held one year or less) first offset short-term gains, which are taxed at your ordinary income rate. Long-term losses (from assets held over one year) first offset long-term gains, which are taxed at the lower capital gains rate of 0%, 15%, or 20%. After netting within each category, any remaining net losses from one category can offset gains in the other. From a pure tax savings perspective, short-term losses are generally more valuable because they offset gains taxed at higher ordinary income rates. However, the IRS netting rules require losses to first offset gains of the same type before crossing over. Strategic planning around holding periods can maximize the tax benefit of loss harvesting.
What are the risks and downsides of crypto tax-loss harvesting?
While tax-loss harvesting is generally beneficial, several risks should be considered. First, selling at a loss means you exit a position that might recover, potentially missing significant gains if the market rebounds quickly. Second, if wash sale rules are extended to crypto retroactively, previously harvested losses could be disallowed. Third, frequent trading to harvest losses generates transaction fees and may trigger additional taxable events if you are not careful. Fourth, resetting your cost basis to a lower amount means future sales will generate larger taxable gains, effectively deferring taxes rather than eliminating them. Fifth, the $3,000 ordinary income deduction limit means large losses take many years to fully utilize against income. Finally, managing the tax records for multiple harvest transactions adds complexity to your tax filing.
How does crypto loss harvesting affect my cost basis?
When you sell crypto to harvest a loss and then repurchase the same asset, your cost basis resets to the new purchase price. This has important long-term implications. For example, if you bought Bitcoin at $50,000 and sold at $30,000 to harvest a $20,000 loss, then repurchased at $30,000, your new cost basis is $30,000. If Bitcoin later rises to $50,000 and you sell, you owe capital gains tax on $20,000 of gain. Without harvesting, selling at $50,000 would have resulted in zero gain. This means tax-loss harvesting does not eliminate taxes but rather defers them to the future while providing immediate tax savings. The time value of money makes this generally advantageous because tax dollars saved today are worth more than tax dollars paid in the future.
Can I use crypto losses to offset stock market gains?
Yes, capital losses from cryptocurrency can offset capital gains from stocks, bonds, real estate, and any other capital asset. The IRS treats all capital gains and losses together regardless of the asset type. This cross-asset offset capability makes crypto loss harvesting particularly valuable during years when you have significant stock market gains. For example, if you have $30,000 in stock gains and $20,000 in crypto losses, harvesting the crypto losses reduces your taxable capital gains to $10,000. This saves you $3,000 to $5,000 in taxes depending on your rate. Similarly, stock losses can offset crypto gains. This comprehensive approach to tax planning across all asset classes maximizes the benefit of loss harvesting and is why reviewing your entire investment portfolio holistically during tax planning season is essential.
What tools and software help with crypto tax-loss harvesting?
Several specialized tools help identify and execute crypto tax-loss harvesting opportunities. Koinly, CoinTracker, and TokenTax automatically import transactions from exchanges and wallets, calculate unrealized gains and losses, and flag harvesting opportunities. CoinLedger and ZenLedger offer similar portfolio-wide analysis features. These tools typically cost $49 to $199 per year depending on transaction volume. For real-time monitoring, some platforms offer tax-loss harvesting alerts that notify you when positions hit predetermined loss thresholds. More sophisticated tools like TaxBit (now used by several major exchanges) integrate directly with exchange APIs to provide institutional-grade tax optimization. Manual tracking using spreadsheets is possible but becomes impractical with more than a handful of positions across multiple exchanges. The cost of professional crypto tax software typically pays for itself many times over through identified tax savings.
References
Background & Theory
History
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer ยท Editorial policy
Related Calculators
๐งฎCrypto Position Size Calculator
Calculate optimal crypto position size from account balance, risk percentage, and stop loss.
๐งฎCrypto Tax Lot Calculator
Calculate capital gains using FIFO, LIFO, HIFO, and specific identification for crypto trades.
๐งฎCrypto Airdrop Tax Calculator
Calculate tax liability on crypto airdrops based on fair market value at time of receipt.
๐งฎCrypto Leverage Calculator
Calculate crypto leveraged position size, liquidation price, and risk from margin and leverage.
๐งฎCrypto Dollar Cost Average Calculator
Calculate DCA results for any crypto from start date, frequency, and amount.
๐งฎCrypto Portfolio Allocation Calculator
Build a crypto portfolio allocation from risk tolerance, market cap tiers, and sector exposure.
๐งฎCrypto Whale Alert Calculator
Calculate at what trade size you become a whale relative to order book depth.
๐งฎCrypto Exchange Fee Comparison Calculator
Compare trading fees across Binance, Coinbase, Kraken, and Bybit for your volume tier.