Crypto tax-loss harvesting calculator
- Pick your filing status and enter your other taxable income after the deduction.
- Enter the short-term and long-term gains you have already realized this year, from crypto and stocks together.
- Enter the unrealized short-term and long-term losses you could sell. The page shows the tax saved and where each loss goes.
- $4,000.00 of short-term loss offsets short-term gains.
- $2,000.00 of short-term loss offsets long-term gains after your long-term losses are used up.
Find the lots that are down
Hodl1099's Holdings view lists every open lot with its unrealized gain or loss and whether it is short or long term if sold today. Free for up to 15 transactions per tax year.
This is an estimate, not tax advice. It runs in your browser and nothing you type is sent to us.
How harvested losses are applied
The calculator nets gains and losses the way Schedule D does. Short-term losses first cancel short-term gains, long-term losses first cancel long-term gains, and whatever is left crosses over to the other term. If the year still ends with a net loss, up to $3,000 of it reduces your other income and the rest carries over.
This order matters for the value of a loss. Short-term gains are taxed at your ordinary rate, up to 37% in 2026, while long-term gains are taxed at 0%, 15% or 20%. A loss that cancels a short-term gain usually saves more than one that cancels a long-term gain. The tax figures are the same 2026 brackets used by the capital gains tax calculator.
The wash-sale question
For stocks, the wash-sale rule disallows a loss if you buy the same or a substantially identical security within 30 days before or after the sale. As of October 21, 2026, that rule has not been applied to crypto, so selling a coin at a loss and buying it back has been allowed. That may change: the Digital Asset Tax Certainty Act cleared the House Ways and Means Committee on September 16, 2026, and as approved it would cover digital asset sales after September 14, 2026. It has not passed the House or the Senate. This calculator does not apply any wash-sale adjustment. Sources: EY Tax News on the committee vote, IRS Topic 409.
Before you sell
You need to know which lots are actually down and how long you have held each one; use the holding period calculator for single lots. Which lots a sale uses depends on your cost basis method, so a sale under FIFO may realize a gain even when your newest lot is at a loss. The crypto cost basis calculator shows the difference.
Questions
Do short-term losses offset short-term gains first?
Yes. Short-term losses net against short-term gains and long-term losses against long-term gains. If one side ends with a net loss, it then offsets a net gain on the other side. A harvested short-term crypto loss reduces short-term gains first, which are taxed at ordinary rates, before it reaches long-term gains from stocks or crypto.
Can crypto losses offset stock gains?
Yes. Capital gains and losses from crypto, stocks and other capital assets go on the same Schedule D, so a crypto loss can offset a stock gain.
Does the wash-sale rule apply to crypto?
As of October 21, 2026, the wash-sale rule in Internal Revenue Code section 1091 covers stock and securities and has not been extended to crypto. The Digital Asset Tax Certainty Act, approved by the House Ways and Means Committee on September 16, 2026, would extend it to digital assets sold after September 14, 2026 if it becomes law in that form. Check the current status before you sell and buy back.
What happens if my losses are bigger than my gains?
Up to $3,000 of net capital loss ($1,500 married filing separately) offsets other income each year. The rest carries forward to later years.
When do I need to sell to harvest a loss for 2026?
The sale has to happen in the 2026 tax year, so by December 31, 2026. Check your exchange’s cut-off times for that day.
More free crypto tax tools
- Crypto cost basis calculator Paste your buys, enter a sale, and compare FIFO, LIFO, HIFO and specific identification side by side.
- Crypto capital gains tax calculator (2026) Estimate 2026 federal tax on short-term and long-term crypto gains with the IRS 2026 brackets and 0%, 15%, 20% rates.
- Crypto holding period calculator Check whether a sale is short term or long term and the first day each lot turns long term.