Account

What new tool do you want?

Investing & Retirement

Wash Sale Checker

Check a list of trades for possible wash sales — losses on sales where the same security was bought within 30 days before or after.

For information and education only — not financial advice. Results are estimates based on the numbers you enter; check important decisions with a qualified professional.

How to use

  1. 1Enter each trade on its own line: date, buy or sell, shares, price (e.g. 2025-03-01 sell 10 45).
  2. 2Loss sales with a purchase within 30 days are flagged.

How it's calculated

A loss sale is flagged if a purchase of the same security happened from 30 days before to 30 days after the sale date. Losses use the average cost of shares held before the sale.

Frequently asked questions

What is the wash sale rule?

US tax rules disallow a loss if you buy the same or a 'substantially identical' security within 30 days before or after selling it at a loss. The loss is added to the new shares' cost basis.

Does it apply across accounts?

Yes — including IRAs and a spouse's accounts. This checker only sees the trades you enter.

Is this tax advice?

No. Brokers report wash sales within one account on Form 1099-B; use this for planning and confirm with a tax professional.

Why the 30-day window counts in both directions, not just forward

The wash sale rule disallows a loss if a replacement purchase happens anywhere from 30 days before the loss sale to 30 days after it — a full 61-day window centered on the sale date, not just a forward-looking 30-day rule. This means a loss can be disallowed even by a purchase made before the loss-generating sale occurred, which is a detail many investors miss when they assume the rule only looks forward in time.

Worked example: Wash Sale Checker

Buying 10 shares at $50, selling 10 shares at $40 a loss (a $100 loss on 10 shares), then buying 10 more shares at $42 within 30 days of that sale: the wash sale rule disallows the $100 loss entirely, since a replacement purchase happened within the 30-day forward window. The identical trade sequence, but with the replacement purchase happening on day 46 instead — outside the 30-day window — leaves the loss fully allowed, with zero wash sales flagged, illustrating how sensitive this rule is to exact timing.

Why the disallowed loss isn't gone forever — it's added to the new position's basis

A wash sale doesn't permanently destroy the tax benefit of the loss — the disallowed amount gets added to the cost basis of the replacement shares that triggered the rule, meaning the loss effectively gets deferred until those replacement shares are eventually sold (assuming no further wash sale occurs at that point), rather than being eliminated outright. This is a timing rule more than a permanent penalty, though it can still complicate tax planning for active traders who frequently buy and sell the same security.

Why this checker only sees what's typed into it, not your whole financial life

The wash sale rule applies across every account you and your spouse hold for the same or substantially identical security — including IRAs, where a replacement purchase can trigger a permanently disallowed loss rather than just a deferred one, since there's no future taxable sale in an IRA to eventually recapture it against. This tool can only check wash sales within the specific list of trades entered for one security in one account; cross-account and cross-security 'substantially identical' situations require manually checking every account involved.

Related tools

More: Investing & Retirement