Put the wash sale calculator on your site
By Wash-Sale Guardian (who's behind it) · Published 2026-11-15 · Last updated 2026-11-15 · How the checker works
Paste the code below into your page's HTML and your readers get the wash sale date calculator in a frame. They enter the date of a loss sale and see the first and last day of its 61-day window and the first clean re-buy date, the same dates as our wash sale calculator. It is free, with no signup and no key, and what a reader types stays in their browser.
The code
<iframe src="https://washsaleguardian.com/embed/wash-sale-calculator" title="Wash sale date calculator" height="760" loading="lazy" style="border:0;width:100%;max-width:640px"></iframe>
<p>Wash sale calculator by <a href="https://washsaleguardian.com/learn/wash-sale-calculator">Wash-Sale Guardian</a></p>
The first line is the frame. The second is a plain link to the full calculator, outside the frame. The frame is 760 pixels tall, which holds the longest answer in a column 560 pixels wide or more, and it grows to 640 pixels wide. In a narrower column, such as on a phone, the calculator scrolls inside its frame. You may change the height and the width.
What your readers see
Wash sale calculator by Wash-Sale Guardian
The credit link
The code puts a plain link to Wash-Sale Guardian under the frame, and the frame shows a small credit line of its own.
What the frame sends and stores
- Nothing a reader types leaves their browser. The dates are worked out inside the frame, and the frame sends no request with them.
- No cookie, no saved data, no analytics and no script from anyone else. The frame's code sets no cookie and saves nothing, and the frame's own rules tell the browser to block analytics and any script from another site.
- A page load, like any other. The reader's browser asks our site for the frame and its files, which sends what every request carries: the IP address, the browser's name and version, its language, and the address of your site (most browsers send only its domain).
- Your page and the frame can't read each other. Your site doesn't see what a reader types into the calculator, and the calculator doesn't see your page.
Our privacy policy covers the rest of the site.
What the calculator does, and what it leaves out
It counts the dates for one loss sale, as the full wash sale calculator does, without its share boxes: 30 calendar days before the sale's trade date through 30 after, both ends counted, and day 31 as the first clean re-buy date. That page quotes IRS Publication 550, the text the count rests on. It can't see anyone's trades: a purchase in another account, an IRA or a spouse's account can count too, and another loss sale has its own window. The free checker reads broker CSV files for that, in the browser, and the methodology page says how it works. Where a case is unclear, ask a CPA or EA.
Terms of use
Embedding the calculator is free: no fee, no signup and no key. The calculator itself remains Wash-Sale Guardian's: show it through the frame as provided, without copying or changing the calculator. It is an informational tool, not tax advice, and is provided as is; confirm anything important with a CPA or enrolled agent. We may change or withdraw the frame at any time.
Frequently asked questions
Is it free to put the wash sale calculator on my site?
Yes. There is no fee, no signup and no key. Paste the two lines of code into your page and the calculator shows in a frame.
Does the calculator send what my readers type anywhere?
No. The dates are worked out in the reader’s browser, inside the frame. The frame sets no cookie, stores nothing, loads no analytics and no script from anyone else, and your page can’t read what is typed into it.
Why does the frame show only the dates?
It shows the dates part of the calculator: the 61-day window and the first clean re-buy date for one loss sale. The full calculator page adds how much of a loss is washed when someone buys back fewer or more shares than they sold, with the IRS text that arithmetic rests on, which needs more room than a frame has.
Will the frame load on my site?
On a page served over HTTPS, yes: the frame is set to load inside HTTPS pages only, not inside a page served over plain HTTP. Some site builders remove frames from pasted code; the plain link under it still works there.