Wash-Sale Disallowed Loss Calculator

Estimate the disallowed and currently deductible portions of a stock loss under the IRS wash-sale rule from shares sold and repurchased. Free and instant.

Frequently Asked Questions

What is the wash-sale rule?

The wash-sale rule disallows a tax loss when you sell a security at a loss and buy a substantially identical one within 30 days before or after the sale.

Is the disallowed loss gone forever?

No. The disallowed loss is added to the cost basis of the replacement shares, so you recover the tax benefit when you eventually sell those shares.

How long is the wash-sale window?

The window spans 61 days in total: the 30 days before the sale, the day of the sale, and the 30 days after it.

How do I avoid triggering the wash-sale rule?

Stay out of the same or a substantially identical security for the full 61-day window: 30 days before and 30 days after the sale. You can sell at a loss and either wait 31 days to rebuy, or immediately buy a similar but not substantially identical asset (for example, a different fund tracking a comparable but distinct index) to keep market exposure.

Does the wash-sale rule apply to crypto?

As of 2026 the wash-sale rule still applies only to stocks and securities, not to cryptocurrency, because the IRS classifies crypto as property. That means a crypto loss can be harvested and the same coin rebought immediately. Congress has repeatedly proposed closing this gap, so treat it as a rule that could change.

What happens to the disallowed loss?

It is not lost, only deferred. The disallowed loss is added to the cost basis of the replacement shares and the original holding period carries over. You recover the tax benefit when you eventually sell the replacement shares in a non-wash transaction.

Investment Disclaimer: Estimates only. Not investment advice.

This calculator provides estimates for educational purposes only and is not investment advice. Past performance does not guarantee future results. Consult with a qualified financial advisor before making investment decisions. All investments carry risk, including potential loss of principal.