Wash Sale Calculator

Check whether selling a stock at a loss and buying it back triggers the 30-day wash-sale rule, the disallowed loss and the new cost basis.

Results

Enter your details and click Calculate to see your results.
About This Calculator

A loss is a wash sale if you buy substantially identical shares 30 days before or after the sale. The disallowed loss is added to the new shares' basis.

Example

Example: buying back 15 days after a $1,500 loss → Result: Wash sale — repurchase 15 days after the sale (within 30).

Assumptions

Purchases in IRAs and a spouse's account also count. Uses 2026 US federal figures (IRS Rev. Proc. 2025-32, SSA). Estimates only — not tax advice; check with a tax professional.

Frequently Asked Questions

Is a wash-sale loss gone forever?

No — it's deferred into the new shares' basis.

Does the wash-sale rule apply to crypto?

Not currently for US taxes, though proposals exist.

Related Calculators

About the Author

Imran Hossain
Imran Hossain

Professional SEO, Digital Marketer Specialist

I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist

View full profile