Skip to content

Wash Sale Risk Checker

Check whether a loss sale may be affected by the wash-sale rule, including purchases 30 days before or after the sale, partial replacements, DRIPs, options, spouse accounts, controlled corporations, IRA/Roth IRA buys, basis adjustments, and Form 8949 code W reporting.

Last Updated: May 31, 2026

Loss sale details

Enter the sale that created the loss and identify the asset type before checking the 61-day replacement window.

Classic wash-sale rules focus on stock or securities. Digital assets need separate review.

The closer the replacement is to the sold security, the higher the risk.

The checker looks 30 days before and 30 days after this date.

$
$

Use adjusted basis after commissions, prior wash sales, corporate actions, and broker corrections.

Replacement lot 1

Add the most important replacement purchase, including purchases before the loss sale.

$

Replacement lot 2

Optional second replacement lot for partial rebuys, DRIP activity, spouse accounts, options, or another broker.

$

Risk Level

High risk

Potential Disallowed Loss

$3,000.00

Deductible Loss After Estimate

$0.00

Taxable Basis Adjustment

$3,000.00

Matched Replacement Shares

100

Risk Score

85 / 100

61-Day Window

Sale date
2026-03-15
Window starts
2026-02-13
Window ends
2026-04-14
Standard safe repurchase date
2026-04-15

Loss Math

Sale gain/loss
-$3,000.00
Loss before wash sale
$3,000.00
Loss per share
$30.00
IRA / related loss risk
$0.00

Filing Readout

$3,000.00 of loss is potentially nondeductible now, leaving $0.00 potentially deductible before other capital-loss limits.

For a wash sale, Form 8949 generally uses adjustment code W in column (f) and enters the nondeductible loss as a positive number in column (g).

Replacement Lot Review

Same CUSIP or ticker selected. Treat replacement lots inside the 61-day window as high-risk wash-sale matches.

LotDateDaysSharesMatchedPotential LossRisk
Lot 12026-03-2510100100$3,000.00same taxable account
Lot 2Not enteredn/a00$0.00outside window
  • Inside the window. The allocated disallowed loss is generally deferred into the replacement lot basis when the replacement is in a taxable account.
  • Outside the 30-day before/after wash-sale window for this sale date.

Action items

  • Compare all accounts, not only the broker that issued the Form 1099-B.
  • Review purchases, DRIP reinvestments, option contracts, short-sale closings, spouse accounts, controlled corporations, and IRA/Roth IRA trades.
  • If a wash-sale amount is correct, report the nondeductible loss adjustment on Form 8949 and carry basis support forward to the replacement lot.
  • If your Form 1099-B or 1099-DA wash-sale amount is wrong, keep a written reconciliation explaining the adjustment used on the return.

Records to keep

  • Sale confirmation showing date, proceeds, basis, units sold, holding period, CUSIP/ticker, and realized loss.
  • Replacement purchase confirmations for the 30 days before and 30 days after the sale date.
  • Statements from every taxable broker, IRA/Roth IRA, spouse account, DRIP program, option account, and controlled entity that could hold the replacement.
  • Substantial-identity support, including CUSIP, issuer, index, option terms, fund objective, conversion rights, and written rationale for non-identical substitutes.
  • Form 1099-B, Form 1099-DA where relevant, Form 8949 code W adjustments, Schedule D totals, and carryforward basis notes.

This checker is for wash-sale planning and filing reconciliation only. It is not tax, legal, investment, brokerage, basis-method, retirement-account, or filing advice. Final treatment depends on exact tax lots, all accounts, substantially identical facts, corrected broker forms, Form 8949 instructions, Schedule D instructions, and professional review where needed.

Professional Review Status

This YMYL page has internal methodology review, but no external credentialed professional review is recorded yet.

Internal methodology review only
Reliance status
Credentialed tax review required before professional reliance
Required credentials
CPA, Enrolled Agent, licensed tax professional
Review scope
tax formulas, jurisdiction assumptions, withholding language, filing-sensitive examples, and compliance caveats

Current reviewer: Iliyas Khan, Internal tax and sales-tax methodology reviewer.

This page is educational planning support. A named CPA, EA, or licensed tax professional should review the page before it is positioned as tax advice or used for filing decisions.

Tax credentialed review: professional reliance limit

This page is educational planning support. A named CPA, EA, or licensed tax professional should review the page before it is positioned as tax advice or used for filing decisions. Results should be treated as a preliminary estimate, not a filing instruction, diagnosis, product recommendation, eligibility decision, or compliance sign-off. Required professional review: CPA, Enrolled Agent, licensed tax professional. Source expectation: Review should cite current IRS, state revenue department, payroll-tax, or official tax authority sources where applicable.

Checked by Iliyas Khan

Wash Sale Risk Checker is checked for formula labels, source links, and result limits.

Iliyas Khan, Chief Operating Officer. Updated May 31, 2026. Scope: tax calculators.

Tax credentialed review: Named internal reviewer: Iliyas Khan, Chief Operating Officer. External credentialed professional review is still required before this page is treated as professional advice.

Internal tax and sales-tax methodology reviewer. Review scope: calculator assumptions, labels, source context, workflow clarity, and compliance-sensitive disclaimers.

Relevant review context: CalculatorWallah tax and sales-tax calculator workflow owner; Source-first review of IRS, state revenue, rate, and filing-sensitive references; Compliance-sensitive labels, assumptions, and user-facing disclaimer review.

Required professional credentials: CPA, Enrolled Agent, licensed tax professional. Scope: tax formulas, jurisdiction assumptions, withholding language, filing-sensitive examples, and compliance caveats.

This page is educational planning support. A named CPA, EA, or licensed tax professional should review the page before it is positioned as tax advice or used for filing decisions.

Sources & methodology · Review standards

How To Use The Wash Sale Risk Checker

  1. Step 1: Enter the loss sale

    Add the sale date, shares or units sold, sale proceeds, and adjusted basis of the lot that produced a loss.

  2. Step 2: Classify the asset and replacement

    Choose stock/security, option, short sale, digital asset review, or other property, then select how similar the replacement is to the sold position.

  3. Step 3: Add replacement lots

    Enter purchases in the 30 days before and after the sale, including other brokers, DRIPs, spouse accounts, controlled corporations, IRAs, Roth IRAs, options, and contracts.

  4. Step 4: Review partial allocation

    Compare shares sold with replacement shares to estimate the potentially disallowed loss and deductible loss that remains before normal capital-loss limits.

  5. Step 5: Reconcile Form 8949

    Use the output to review code W, column (g), basis adjustments, broker-reported wash-sale amounts, and records to keep.

How This Calculator Works

The checker starts with the loss sale. If the sale does not produce a loss, there is no wash-sale loss to disallow. If there is a loss, it calculates loss per share and builds the 61-day review period: 30 days before the sale, the sale date, and 30 days after the sale.

It then tests replacement lots against that window and the selected substantial-identity assumption. Matching replacement shares are capped at the number of shares sold, so a partial rebuy only disallows the matched portion of the loss. Taxable-account replacements show a potential basis adjustment, while IRA, spouse, controlled corporation, and option cases are flagged separately for review.

The result is a filing-prep estimate. Use it before relying on a harvested loss, before importing broker data into tax software, or when one broker did not see activity in another account.

Wash Sale Rule Guide: 30-Day Window, Substantially Identical Securities, Partial Rebuys, IRA Purchases, Form 8949 Code W, And Basis Adjustments

The wash-sale window is 61 days, not just 30 days after the sale

Many investors only check whether they bought back the position after a loss sale. The IRS rule is wider. It looks at the period beginning 30 days before the sale and ending 30 days after the sale. That means a pre-sale purchase, an automatic dividend reinvestment, or a replacement purchase in another account can affect the loss.

The checker displays the start date, end date, and a standard next-day repurchase date. That date is not a portfolio recommendation. It is simply a timing reference for the wash-sale window around the sale entered in the tool.

Wash-sale risk depends on both timing and replacement identity

ScenarioRisk TreatmentFiling Consequence
Same ticker rebuy in taxable accountHigh risk when the replacement is inside the 30-day before/after window.Loss is generally disallowed now and added to taxable replacement-share basis.
Partial replacementOnly matched replacement shares are modeled as wash-sale shares.The unmatched part of the loss may remain available before normal capital-loss limits.
IRA or Roth IRA replacementHigh-severity risk under Revenue Ruling 2008-5.Loss is disallowed and IRA/Roth IRA basis is not increased.
Spouse or controlled corporationPub. 550 flags these related buyers as wash-sale triggers.Broker software may not see the full household or entity picture.
ETF or mutual fund substituteNeeds facts-and-circumstances substantial-identity review.Index, issuer, objective, holdings, and option terms matter.
Digital asset quick rebuyNot treated as a classic stock/securities wash sale by this checker.Still review 1099-DA, basis, tokenized-security facts, and current guidance.

Partial replacements create partial disallowed losses

If you sell 100 shares at a $3,000 loss and buy 40 substantially identical shares inside the window, the checker allocates loss per share to 40 matched shares. The remaining 60-share portion may still be deductible before the usual capital-loss netting rules, assuming no other replacement lots apply.

That allocation matters because broker summaries can hide lot-level details. A household with multiple brokers, dividend reinvestment, and option trades can easily create a different wash-sale result than one line on one Form 1099-B suggests.

Taxable-account wash sales usually defer the loss into replacement basis

In a standard taxable-account wash sale, the loss is not currently deductible. Instead, the disallowed loss is generally added to the basis of the replacement shares. That means the loss may be recovered later when the replacement shares are sold, assuming the later sale is not itself affected by another wash sale.

Pair this checker with the Stock Loss Tax Calculator after you decide which losses are actually deductible this year.

IRA and Roth IRA replacements are the highest-severity review case

A taxable brokerage loss followed by a substantially identical IRA or Roth IRA purchase inside the window can be worse than an ordinary taxable-account wash sale. IRS Revenue Ruling 2008-5 says the loss is disallowed and the basis of the IRA or Roth IRA is not increased by that disallowed loss.

This is why the checker separates IRA/Roth IRA risk from normal taxable-account basis adjustments. A broker may not consolidate retirement-account activity with the taxable account that produced the loss.

ETFs, mutual funds, and options need substantial-identity support

The term substantially identical is not a simple ticker-similarity test. Two securities can be economically similar without necessarily being substantially identical, and some instruments can be close enough to require review. For ETFs and mutual funds, look at index, issuer, objective, holdings, and strategy. For options and convertible securities, review contract terms, strike, expiration, conversion rights, and the underlying security.

The checker treats a similar ETF or fund as a review case. It is designed to stop a premature deduction, not to certify that a substitute fund is safe.

Crypto and digital assets need a separate workflow

IRS digital asset guidance treats digital assets as property and requires reporting of sales, exchanges, and other dispositions. This checker does not automatically apply the classic stock/securities wash-sale rule to ordinary crypto or NFT lots. However, tokenized securities, broker-reported Form 1099-DA fields, economic substance, and future law changes can still matter.

Use the Crypto 1099-DA Tax Calculator and the NFT/Digital Asset Cost Basis Calculator for digital-asset basis and 1099-DA reconciliation after this wash-sale review.

Form 8949 code W is a reconciliation step, not the whole analysis

IRS Form 8949 instructions use code W when there is a nondeductible wash-sale loss and put the adjustment amount in column (g). But the form entry only follows the analysis. You still need to know which lot was sold, which replacement lots were acquired, whether the replacement was substantially identical, and whether a broker-reported amount is incomplete because activity occurred in another account.

Keep the broker statement, replacement trade confirmations, DRIP records, option confirmations, spouse or controlled-entity records, IRA activity, and any written substantial-identity memo with the return file.

Last reviewed: May 31, 2026. The checker uses public IRS guidance for Publication 550 wash sales, Form 8949 code W reporting, capital gains and losses, Revenue Ruling 2008-5 IRA treatment, and digital-asset reporting. It intentionally flags cross-account and substantially identical questions instead of treating broker output as final.

Keep the research moving with Stock Loss Tax Calculator, Capital Gains Tax Calculator, NFT/Digital Asset Cost Basis Calculator, and Crypto 1099-DA Tax Calculator.

Frequently Asked Questions

A wash sale generally occurs when you sell stock or securities at a loss and buy, acquire, or contract to acquire substantially identical stock or securities within the period beginning 30 days before and ending 30 days after the sale date.

Yes. The review window includes 30 days before the loss sale, the sale date, and 30 days after the sale. A pre-sale purchase can create a wash sale if it is substantially identical and matches the loss shares.

Only the matched portion is modeled as potentially disallowed. For example, if you sell 100 shares at a loss and buy back 40 substantially identical shares inside the window, the checker allocates loss to 40 replacement shares.

For taxable-account replacements, the disallowed loss is generally deferred by adding it to the basis of the replacement shares. IRA and Roth IRA replacements are more severe because IRS Revenue Ruling 2008-5 says the IRA basis is not increased.

Yes. IRS Publication 550 lists substantially identical stock acquired for an IRA or Roth IRA as a wash-sale trigger, and Revenue Ruling 2008-5 addresses the IRA basis consequence.

Yes. IRS Publication 550 says a wash sale can exist if your spouse or a corporation you control buys substantially identical stock after your loss sale.

It can. Automatic dividend reinvestments can buy replacement shares during the 61-day window, so the checker includes a DRIP replacement-account option.

They can apply when the replacement is substantially identical. The hard part is identifying whether two funds are substantially identical, especially when they track the same index, issuer, objective, or holdings.

This checker does not apply the classic stock/securities wash-sale disallowance to ordinary crypto or digital assets by default. Digital asset transactions still need basis, proceeds, Form 1099-DA, and current-law review, especially for tokenized securities or broker-reported wash-sale fields.

IRS Form 8949 instructions generally use adjustment code W in column (f) and the nondeductible wash-sale loss as a positive amount in column (g). Broker-reported amounts should be reconciled to all account activity.

Related Calculators

Related Guides

Sources & References

  1. 1.IRS Publication 550 - Investment Income and Expenses(Accessed May 2026)
  2. 2.IRS - Instructions for Form 8949(Accessed May 2026)
  3. 3.IRS - Schedule D Instructions(Accessed May 2026)
  4. 4.IRS - Capital Gains and Losses, Topic No. 409(Accessed May 2026)
  5. 5.IRS Internal Revenue Bulletin 2008-3 - Revenue Ruling 2008-5(Accessed May 2026)
  6. 6.IRS - Digital Assets(Accessed May 2026)
  7. 7.IRS - Understanding Your Form 1099-DA(Accessed May 2026)