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
- Day +31 is outside this sale’s window. Review purchases from Day −30 through Day +30, including the sale date.
- Shares are matched by quantity. The loss on matched taxable shares moves into their replacement basis.
- IRA and Roth IRA matches permanently disallow the loss. The IRA receives no basis increase.
- Eligible losses offset capital gains first. A remaining net loss can generally offset up to $3,000 of other income, or $1,500 if married filing separately.
Enter your trades
Your wash sale estimate
Results update as you edit your trades.
Window and share matching
- Inclusive window
- —
- Purchase relative to sale
- —
- Safe buy-back date (Day +31)
- —
- Matched shares
- Realized loss per share
- Total realized loss
- —
- Disallowed loss
- —
- Loss eligible for current-year netting
- —
Basis and holding period
- Adjusted basis per matched share
- Holding days carried over
- —
- Effective acquisition date
- —
- Form 8949 code W, column (g)
- —
- Estimated deferred tax benefit
- —
- Estimated tax benefit permanently lost
- —
Annual capital-loss treatment
- Loss offsetting capital gains
- —
- Remaining net capital loss
- —
- Ordinary-income limit
- —
- Ordinary-income deduction
- —
- Estimated carryforward
- —
Day +31 applies to this sale’s forward window. A prior purchase or another loss sale can still affect the result. The estimated tax benefits multiply disallowed loss by the rate you enter. Actual benefits depend on gain or loss character, rates, and your ability to use the deduction.
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
| Parameter | Federal treatment |
|---|---|
| Wash sale window | Day −30 through Day +30, inclusive. 26 U.S.C. § 1091 |
| Taxable replacement | Add disallowed loss to matched basis and carry over the sold shares’ holding period. IRS Publication 550 |
| IRA or Roth IRA | Matched loss disallowed with no increase to IRA basis. IRS Revenue Ruling 2008-5 |
| Net loss against other income | Generally up to $3,000 per year or $1,500 if married filing separately. Unused net loss generally carries forward. IRS Topic 409 |
| Wash sale reporting | Code 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: