Wash Sale Calculator
Wash Sale Calculator: quantify how much loss is deferred when replacement shares are bought inside the wash-sale window.
Wash Sale Calculator
Background.
Use Wash Sale Calculator when you need to quantify how much loss is deferred when replacement shares are bought inside the wash-sale window. The disallowed loss is attached to replacement-share basis rather than disappearing, while replacement-share holding periods can also carry over. Here the arithmetic follows “disallowed loss = realized loss × min(replacement shares ÷ loss shares sold, 1); disallowed amount is added to replacement basis,” rather than silently mixing alternatives.
The editable entries are loss on shares sold, shares sold at a loss, substantially identical replacement shares, original basis of replacement shares. Use values from the document or measurement that governs this wash sale question; the defaults are only the worked fixture below. The most consequential input mistake would be to ignore that this model uses share counts and one loss lot; options, spouse purchases, IRAs and substantially identical securities require transaction-level review.
IRS Publication 550, Investment Income and Expenses; capital losses, wash sales and investment income documents the convention or governing rule used here. The wash sale output is a transparent scenario under those facts: it does not manufacture an unentered market price, professional determination, carrier quote, legal eligibility finding or locally adopted code value.
What is wash sale calculator?
Wash Sale is the relationship behind this decision: the disallowed loss is attached to replacement-share basis rather than disappearing, while replacement-share holding periods can also carry over. On this page it means disallowed loss = realized loss × min(replacement shares ÷ loss shares sold, 1); disallowed amount is added to replacement basis. This model uses share counts and one loss lot; options, spouse purchases, IRAs and substantially identical securities require transaction-level review; that is the line between the reported quantity and a broader tax analysis.
How to use this calculator.
- Confirm that “disallowed loss = realized loss × min(replacement shares ÷ loss shares sold, 1); disallowed amount is added to replacement basis” matches the wash sale convention you need.
- Replace the fixture values for loss on shares sold, shares sold at a loss, substantially identical replacement shares, original basis of replacement shares with dated values from the governing record.
- Keep all currencies, measurement units and time periods on the same basis before calculating.
- Read estimated wash-sale loss disallowed together with this boundary: This model uses share counts and one loss lot; options, spouse purchases, IRAs and substantially identical securities require transaction-level review.
The formula.
The calculation uses disallowed loss = realized loss × min(replacement shares ÷ loss shares sold, 1); disallowed amount is added to replacement basis. In this wash sale model, the entered terms are loss on shares sold, shares sold at a loss, substantially identical replacement shares, original basis of replacement shares. The disallowed loss is attached to replacement-share basis rather than disappearing, while replacement-share holding periods can also carry over, which is why the relationship is presented under this name rather than as a universal alternative. This model uses share counts and one loss lot; options, spouse purchases, IRAs and substantially identical securities require transaction-level review. Calculations keep full decimal precision through the relationship and round only the returned display values.
A worked example.
Start with Loss on shares sold = 10,000; Shares sold at a loss = 1,000; Substantially identical replacement shares = 400; Original basis of replacement shares = 20,000. Following “disallowed loss = realized loss × min(replacement shares ÷ loss shares sold, 1); disallowed amount is added to replacement basis” gives Estimated wash-sale loss disallowed = 4,000; Replacement-share basis after disallowed loss = 24,000; Loss not deferred by entered replacement shares = 6,000. The estimated wash-sale loss disallowed of 4,000 is therefore traceable to the visible entries rather than a hidden default. A hand check should perform the named operations in their printed order and keep intermediate values unrounded. This model uses share counts and one loss lot; options, spouse purchases, IRAs and substantially identical securities require transaction-level review.
Frequently asked questions.
What exactly does the estimated wash-sale loss disallowed represent?
Which wash sale convention does this page choose?
What is the easiest way to get this wash sale result wrong?
Can the worked wash sale example be checked without this site?
References& sources.
- [1]IRS Publication 550, Investment Income and Expenses; capital losses, wash sales and investment income. Retrieved 2026-08-07. access: open unless marked otherwise.
- [2]U.S. Internal Revenue Service. About Form 8949, Sales and Other Dispositions of Capital Assets. Retrieved 2026-08-07. independence: primary; access: open.
- [3]U.S. Internal Revenue Service. Publication 551, Basis of Assets. Retrieved 2026-08-07. independence: primary; access: open.
- [4]U.S. Internal Revenue Service. Topic no. 409, Capital gains and losses. Retrieved 2026-08-07. independence: primary; access: open.
- [5]U.S. Internal Revenue Service. Instructions for Schedule D (Form 1040) — includes the Capital Loss Carryover Worksheet. Retrieved 2026-08-07. independence: primary; access: open.
How this page was produced
- Published by
- Quanta Calculator
- Primary sources
- 5 cited below
- Method
- disallowed loss = realized loss × min(replacement shares ÷ loss shares sold, 1); disallowed amount is added to replacement basis
- Published
- Last verified
Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.
In this category
Embed
Quanta Pro
Paid features are coming later.
- All 1560 calculators remain free
- No billing is enabled