US Wash Sale Rule Calculator 2026

See how a replacement purchase affects your deductible loss, taxable share basis, and the tax benefit you could lose through an IRA.

Key takeaways

Enter your trades

Taxable sale
Substantially identical replacement

Enter zero replacement shares if you did not repurchase.

Federal tax estimate

Your wash sale estimate

Results update as you edit your trades.

Loss-aversion warning

A tax deduction offsets only part of an investment loss. Before repurchasing to regain exposure, check pending orders and automatic dividend reinvestments across your taxable and retirement accounts. An IRA or Roth IRA purchase of substantially identical securities can permanently eliminate the deduction on matched shares.

2026 federal tax parameters

ParameterFederal treatment
Wash sale windowDay −30 through Day +30, inclusive. 26 U.S.C. § 1091
Taxable replacementAdd disallowed loss to matched basis and carry over the sold shares’ holding period. IRS Publication 550
IRA or Roth IRAMatched loss disallowed with no increase to IRA basis. IRS Revenue Ruling 2008-5
Net loss against other incomeGenerally up to $3,000 per year or $1,500 if married filing separately. Unused net loss generally carries forward. IRS Topic 409
Wash sale reportingCode W in column (f) and a positive disallowed-loss adjustment in column (g). Form 8949 instructions

What this estimate covers

This calculator assumes one taxable sale lot and one substantially identical replacement lot. Include any applicable fees in your per-share tax basis and net sale price. Multiple lots, automatic purchases, spouse or cross-account activity, and successive wash sales can change the share matching.

Carryforward assumes the entered gains are available for netting and that you can use the ordinary-income deduction. The Schedule D carryover worksheet accounts for taxable income and short- and long-term loss categories. For an IRA match, the displayed per-share cost is the purchase price. Your basis in the IRA receives no increase from the wash sale.

Frequently asked questions

What dates count toward the 61-day wash sale window?

Count 30 calendar days before the sale, the sale date itself, and 30 calendar days after it. Day +31 is the first post-sale day outside this sale’s window. An earlier purchase can still trigger a wash sale, and the window can span two tax years.

How much loss is disallowed if I replace only some shares?

For one sale lot at a single loss per share, multiply the loss per share by the number of shares matched to qualifying purchases, up to the quantity sold. For example, replacing 75 of 200 shares sold at a $40 loss per share disallows $3,000 of the $8,000 loss.

What happens to basis and the holding period in a taxable account?

Add the disallowed loss per matched share to the replacement share’s cost. The matched replacement shares also inherit the original holding period. The calculator displays an effective acquisition date by subtracting the inherited days from the replacement purchase date.

Why is a Traditional or Roth IRA replacement different?

Revenue Ruling 2008-5 disallows the matched loss on the taxable sale without increasing your basis in the IRA or Roth IRA. The loss is permanently unavailable. The displayed tax impact uses the marginal rate you enter as an estimate.

How do Form 8949 and the annual capital-loss limit work?

For a wash sale, enter code W in Form 8949 column (f) and the disallowed loss as a positive adjustment in column (g). Eligible capital losses offset capital gains first. Excess net loss can generally offset up to $3,000 of other income, or $1,500 if married filing separately. An unused amount generally carries forward.

2026 United States Tax & Financial Calculators

Explore official 2026 statutory planning tools for United States:

IRS / 2026 Statutory Washington 9.9% vs. Massachusetts 4% Surtax Calculator 2026 Compare 2026 Washington capital gains tax, Massachusetts Fair Share surtax, and California i... IRS / 2026 Statutory 2026 US Workers' Compensation Insurance Premium Calculator | NCCI Class Code & EMR Calculate 2026 US workers IRS / 2026 Statutory US Year-End Bonus Tax Withholding 22% vs 37% vs Aggregate Refund Calculator 2026 Calculate 2026 IRS year-end bonus tax withholding. Compare Flat 22% vs Aggregate Method over... IRS / 2026 Statutory 2026 1031 Exchange Calculator | Boot, Tax & Carryover Basis Estimate 2026 Section 1031 cash and mortgage boot, taxable gain, unrecaptured Section 1250 t...
Explore All 2026 Global Tax & Finance Calculators →