Audited 05 Aug 2026·Last updated 08 Aug 2026·5 citations·Tier 1·0 uses

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

Estimated wash-sale loss disallowed
4,000.00
Estimated wash-sale loss disallowed under the page's named tax convention.
Replacement-share basis after disallowed loss
24,000.00
Loss not deferred by entered replacement shares
6,000.00

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.

  1. 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.
  2. 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.
  3. Keep all currencies, measurement units and time periods on the same basis before calculating.
  4. 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.

disallowed loss = realized loss × min(replacement shares ÷ loss shares sold, 1); disallowed amount is added to replacement basis

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.

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.

replacement Shares400
shares Sold At Loss1,000
replacement Shares Cost Basis20,000
realized Loss10,000

Frequently asked questions.

What exactly does the estimated wash-sale loss disallowed represent?
For Wash Sale, it represents the result of disallowed loss = realized loss × min(replacement shares ÷ loss shares sold, 1); disallowed amount is added to replacement basis under the entered facts. The disallowed loss is attached to replacement-share basis rather than disappearing, while replacement-share holding periods can also carry over; the 4,000 fixture should be read on that basis.
Which wash sale convention does this page choose?
It chooses “disallowed loss = realized loss × min(replacement shares ÷ loss shares sold, 1); disallowed amount is added to replacement basis.” That wash sale variant is supported by IRS Publication 550, Investment Income and Expenses; capital losses, wash sales and investment income; a governing contract, policy, tax year or locally adopted rule that specifies another treatment must take priority.
What is the easiest way to get this wash sale result wrong?
This model uses share counts and one loss lot; options, spouse purchases, IRAs and substantially identical securities require transaction-level review. Check that wash sale issue before interpreting the output or comparing it with another model.
Can the worked wash sale example be checked without this site?
Yes. Use 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, follow disallowed loss = realized loss × min(replacement shares ÷ loss shares sold, 1); disallowed amount is added to replacement basis, and compare your final figures with Estimated wash-sale loss disallowed = 4,000; Replacement-share basis after disallowed loss = 24,000; Loss not deferred by entered replacement shares = 6,000. Keep the wash sale intermediates unrounded so formatting does not create a false difference.

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.

Embed

Quanta Pro

Paid features are coming later.

  • All 1560 calculators remain free
  • No billing is enabled
Coming soon