Embed a PiggyMath tax calculator
Add a calculator to a website that allows iframe embeds. For email newsletters and messages, share a normal link instead.
For other blogs — copy this first
Full snippets with copy buttons are below. Public URL of this page: https://piggymath.com/embed/
What’s available (v1)
Two partner widgets, both reusing the same browser-only math as the full tools, with minimal chrome (logo + “open full tool”) and no gtag / AdSense in the frame. Widget shells are noindex; this docs page is indexable.
- Self-employment tax
https://piggymath.com/embed/se-tax/?v=1(noindex shell) · full tool: /self-employment-tax-calculator/ - Quarterly estimated tax
https://piggymath.com/embed/quarterly/?v=1(noindex shell) · full tool: /quarterly-tax-calculator/ - Press kit /press/
Copy-paste iframe (SE tax)
Use this snippet on a web page that permits iframes. The v=1 parameter identifies the embed format; it does not freeze the tax calculation or create an immutable snapshot.
Snippet
<iframe src="https://piggymath.com/embed/se-tax/?v=1" title="PiggyMath self-employment tax calculator (2026)" loading="lazy" referrerpolicy="strict-origin-when-cross-origin" sandbox="allow-scripts allow-same-origin" width="100%" height="680" style="border:0;border-radius:12px;max-width:720px;background:#f9f9f7"> </iframe> <p style="font:12px/1.4 system-ui,sans-serif;color:#52514e;max-width:720px"> Calculator by <a href="https://piggymath.com/">PiggyMath</a> — browser-only estimate; not tax advice. </p>
Script loader (optional)
If your website editor supports custom script blocks, you can use this loader. It still inserts an iframe; it cannot bypass your host’s content policy. If scripts or iframes are blocked, share a link.
Script
<script src="https://piggymath.com/assets/embed-widget.js?v=1" async data-widget="se-tax" data-height="680"></script>
Use data-widget="quarterly" for the estimated-tax widget.
Live preview
Quarterly widget snippet
Snippet
<iframe src="https://piggymath.com/embed/quarterly/?v=1" title="PiggyMath quarterly estimated tax calculator (2026)" loading="lazy" referrerpolicy="strict-origin-when-cross-origin" sandbox="allow-scripts allow-same-origin" width="100%" height="740" style="border:0;border-radius:12px;max-width:720px;background:#f9f9f7"> </iframe>
Allowed origins
There is no origin allowlist. Widget pages do not send X-Frame-Options or a frame-ancestors CSP, so any HTTPS site may iframe them. Math stays inside the visitor’s browser; we do not receive calculator inputs. Keep the PiggyMath credit line (or logo in the chrome) when you embed. Your website editor or content security policy can still block iframes.
Where to use this
Use the widget on website pages that permit embedded calculators. Use a normal link for email newsletters, chat messages and hosts that strip scripts or iframes.
- Freelance and gig-economy website articles that allow iframe embeds.
- CPA / EA firm resource pages that already link out to IRS Pub 505
- University career-services and small-business development center (SBDC) toolkits
- Community resource web pages that permit iframes. For forums, Discord and Slack messages, share a calculator link.
Snippets also live on the SE tax, quarterly, freelancer estimator, and 1099 hub pages.
Privacy & terms for embeds
- Browser-only math. Inputs stay in the visitor’s browser; there is no calculator API.
- No tracking in the frame. The widget HTML does not load Google Analytics or AdSense. Your host page may still run its own scripts outside the iframe.
- Attribution. Keep the PiggyMath mark or the short credit line under the iframe.
- Educational use. Estimates are not filings or licensed advice — same disclaimer as the rest of the site.
See also Privacy Policy and Terms of Use.
Versioning
The v=1 URL identifies the current widget format. It is not a frozen version of the calculation. The embedded pages now load the shared calculator engine with the cache version embed20261024. Tax-year maintenance can update the calculation while preserving the format. The widget shells remain noindex; robots.txt allows crawling so search engines can read that instruction. This documentation page stays indexable.