ToolSlash LogoToolSlash
Tools →

Wash Sale Calculator

Guide

IRS Wash Sale Rule Guide

The IRS wash sale rule (IRC Section 1091) disallows claiming a capital loss if substantially identical stock or securities are acquired within 30 days before or after the sale.

Basis Adjustment Formula

Disallowed Loss = min(SoldShares, BoughtShares) * (CostBasis - SalePrice)
Adjusted Basis = PurchasePrice + (Disallowed Loss / ReplacementShares)

Frequently Asked Questions

What happens to the disallowed loss?
The disallowed loss is not permanently forfeited; it is added directly to the cost basis of the replacement shares, reducing future capital gains.
What is the 61-day wash sale window?
The window includes 30 days prior to the sale date, the sale day itself, and 30 days following the trade.