Embed a PiggyMath calculator
Free, versioned iframes for partners and newsletters — self-employment tax and quarterly estimates. No API, no ads inside the frame.
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)
Minimal sandbox for CSP-friendly hosts. Keep ?v=1 so partners can pin a known shell when we ship v2.
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 CMS strips raw iframes, drop this script where the widget should appear:
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.
Where to use this
Suggested hosts for a first distribution wave (outreach is separate — email contact@piggymath.com if you already published an embed):
- Freelance / gig-economy newsletters and blogs (DoorDash, rideshare, Etsy, Upwork explainers)
- CPA / EA firm resource pages that already link out to IRS Pub 505
- University career-services and small-business development center (SBDC) toolkits
- Community forums and Discord/Slack “resources” pins that allow iframes
Snippets also live on the high-traffic 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
Pin with the query string (?v=1). Asset URLs inside the widget also carry cache-bust query versions (embed.css?v=1, app.js?v=43, embed-widget.js?v=1). When we break the shell, we bump v and document the change here. robots.txt disallows the widget shells (/embed/se-tax/, /embed/quarterly/) so they stay out of the index; this hub remains crawlable.
Frequently asked questions
Does the embed send calculator inputs to PiggyMath?
Does the embed include ads or analytics?
Is there an API?
?v= on the iframe src.