Sold a stock or ETF at a loss? Tell us the trade and we'll show the first day you can buy it back without a wash sale. Save your trades and every trade on a ticker is checked against your other trades on it, so a buy that would wash an earlier loss gets flagged in red before it costs you.

Your trade

What did you do?

Enter a ticker and date

Is it a wash sale?

Enter your trade — the first day you can buy back shows here.

Save every trade you check — get flagged before a buy washes a loss.

Free keeps your last 3 trades, in this browser only. Every DRIPCALC plan keeps them all — from $11.40/mo (40% launch sale) · yearly = 3 months free.

  • Counts weekends and NYSE holidays
  • Saved trades on a ticker check each other
  • Your trades stay in this browser

Wash sale questions

When can I buy a stock back after selling it at a loss?

On the 31st calendar day after the trade date of your loss sale. The wash sale rule (IRC §1091) looks at the 30 days before the sale, the sale day itself and the 30 days after it. A purchase of the same or a substantially identical security anywhere in that span disallows the loss for now. When day 31 lands on a weekend or an NYSE holiday, the first day you can actually trade is the next market day. The calculator shows both dates.

Do purchases made before the sale count?

Yes. The window reaches back 30 days before the loss sale, so a buy made a few weeks earlier can wash the loss you take today. The exception is selling those same recently bought shares in full: nothing is left over to act as the replacement. Add your buys to the trade and the calculator checks the look-back for you.

Does dividend reinvestment trigger a wash sale?

It can. An automatic dividend reinvestment is a purchase. If the stock pays a dividend inside your window, the reinvested shares wash part of the loss, matched share for share. Weekly and monthly payers almost always pay inside a 61-day window. Turning off DRIP for that stock before you sell, until the window closes, avoids it.

What happens if I buy the stock back in an IRA?

The loss is gone for good. Under IRS Revenue Ruling 2008-5, a repurchase in your IRA or Roth IRA, or your spouse's, disallows the loss and does not add it to the IRA's basis, so it never comes back. An ordinary wash sale only defers the loss into the cost basis of the new shares.

Can I use this for tax-loss harvesting?

Yes — that is the main job. In a tax harvest you sell at a loss to capture the deduction, and the wash sale rule is what can cancel it. Run every tax-loss harvest sale through this page: enter the sale, get the first safe buy-back day, and save the trade so any later buy on that ticker is checked against your tax loss harvesting plan automatically.

Which date counts: the trade date or the settlement date?

The trade date: the day your order executed, as printed on your broker confirmation. Pre-market and after-hours fills keep that calendar day. Trades in overnight sessions (8 PM to 4 AM Eastern) are usually booked to the next trading day, so check the confirmation.

NYSE market closures 2026 and 2027

Weekends and these full-day closures move your first trading day, never the 30-day window itself.

2026 (10 closures)
DateClosure
Thu, Jan 1New Year's Day
Mon, Jan 19Martin Luther King Jr. Day
Mon, Feb 16Washington's Birthday
Fri, Apr 3Good Friday
Mon, May 25Memorial Day
Fri, Jun 19Juneteenth
Fri, Jul 3Independence Day (observed)
Mon, Sep 7Labor Day
Thu, Nov 26Thanksgiving Day
Fri, Dec 25Christmas Day
2027 (10 closures)
DateClosure
Fri, Jan 1New Year's Day
Mon, Jan 18Martin Luther King Jr. Day
Mon, Feb 15Washington's Birthday
Fri, Mar 26Good Friday
Mon, May 31Memorial Day
Fri, Jun 18Juneteenth (observed)
Mon, Jul 5Independence Day (observed)
Mon, Sep 6Labor Day
Thu, Nov 25Thanksgiving Day
Fri, Dec 24Christmas Day (observed)

Early-close days (1 PM) are full trading days. Our calendar covers 2024–2040.

For education only. Not tax, legal, or investment advice. Verify with IRS Publication 550 or a tax professional before acting.

Wash Sale Calculator is an educational tool. It estimates wash-sale windows under IRC §1091 using the dates you enter and a calendar of U.S. market holidays. It is not tax advice, legal advice, or investment advice; it does not know your full tax situation, and it cannot determine whether two securities are "substantially identical" in your specific case. Wash-sale treatment across accounts, household members, and retirement accounts is your responsibility regardless of what any broker or this app reports. DRIPCALC and its authors accept no liability for tax outcomes. Always confirm dates against your broker's trade confirmations and consult IRS Publication 550 (irs.gov/publications/p550) or a qualified tax professional before trading.