Embed a calculator
Every calculator on this site can run inside an <iframe> on your own page. Add ?embed=1 to any calculator URL and the nav rail, header, and footer disappear — the calculator, its disclaimers, bylines, and source·asOf stamps stay. Nothing to add to your own page beyond the iframe, and no account. The embedded frame loads the same cookieless page counter the rest of the site uses.
The snippet
Copy this, swap the src for the calculator you want, and paste it into your post or page:
<iframe
src="https://compoundcoast.com/accumulate/dca-vs-lump-sum/?embed=1"
title="DCA vs Lump Sum Calculator — compoundcoast"
width="100%" height="1800" loading="lazy"
style="border:1px solid #2a3350; border-radius:12px"
sandbox="allow-scripts allow-same-origin allow-popups">
</iframe>
<p>Calculator by <a href="https://compoundcoast.com/accumulate/dca-vs-lump-sum/" rel="nofollow">compoundcoast</a></p>
- The credit line under the iframe is optional attribution in your page HTML. It carries
rel="nofollow"by default, and you're welcome to remove it entirely — the embed stays free either way. Every calculator page also has a "Embed this calculator" box with its snippet ready to copy. ?embed=1strips the site chrome (nav rail, app bar, tab bar, footer) via CSS. Everything substantive — the inputs, the distribution outputs, the "estimate, not advice" disclaimer, and the source stamps — renders exactly as on the full page.sandboxis illustrative, not required.allow-scriptsis needed for the calculator to run;allow-same-originlets it keep the visitor's light/dark theme choice in its own origin's storage;allow-popupslets "Methodology" links open. Everything is client-side — the page makes no external requests beyond its own assets and the cookieless Cloudflare Web Analytics beacon described on the privacy page.height— the calculators are dashboard-shaped and taller than they look. Measured at 1024 px wide, the estimate-not-advice line sits between 1510 and 1778 px down the page depending on the calculator, and the chart is a few hundred pixels above that. Use 1800 px if you want a reader to see the inputs, the result, the chart and the disclaimer without scrolling the frame. Shorter frames still work — the frame scrolls internally — but at 1000 px a reader who does not scroll sees only the input form.
Preset the inputs
Calculator inputs serialize into the query string, so an embed (or a plain link) can open on a specific scenario instead of the defaults. Set the inputs on the live calculator, copy the URL from the address bar, and append &embed=1. For example, $250k deployed over 5 years in a taxable account, real dollars:
https://compoundcoast.com/accumulate/dca-vs-lump-sum/?c=250000&y=5&fee=0&acct=taxable&div=1&cash=1&real=1&embed=1
Shared scenario URLs are regular canonical URLs with parameters — nothing is cloaked or gated, and the canonical link element always points at the clean calculator path.
Embeddable calculators
Every calculator page on the site embeds — each one carries its own “Embed this calculator” box with a ready snippet. The table below is the planning deck; the fund pages are listed underneath it.
| Calculator | URL |
|---|---|
| DCA vs Lump Sum (rolling-window backtest) | /accumulate/dca-vs-lump-sum/ |
| Investment Growth After Taxes & Fees | /accumulate/investment-growth-after-taxes-fees/ |
| Dividend Snowball | /accumulate/dividend-snowball/ |
| Coast FIRE | /reach-fi/coast-fire/ |
| Barista FIRE | /reach-fi/barista-fire/ |
| FIRE Number (Lean / Fat) | /reach-fi/lean-fat-fire-number/ |
| Savings Rate to FI | /reach-fi/savings-rate-to-fi/ |
| Safe Withdrawal Rate | /withdraw/safe-withdrawal-rate/ |
| Live Off Dividends | /withdraw/live-off-dividends/ |
| Roth Conversion Ladder | /withdraw/roth-conversion-ladder/ |
Fund pages
The dividend calculators embed the same way: 29 individual fund pages (/dividend-calculators/<ticker>/ — SCHD, VOO, JEPI, QQQI, O, MAIN and the rest) and 17 side-by-side comparisons (/dividend-calculators/compare/<a>-vs-<b>/ — schd-vs-voo, jepi-vs-qyld and so on). Rather than list 46 rows here, open the page you want and copy the snippet from its own embed box — that way the URL and the height come from the page itself.
Add ?embed=1 to any of them.
House rules
- Embed freely on blogs, forums, wikis, and course pages — attribution beyond the calculator's own branding is welcome but not required.
- Do not present the output as personalized financial advice. Every figure the calculators produce is an estimate shown as a range (historical percentiles or a low/base/high scenario band), with sources and as-of dates on the page — please keep that framing intact.
- Do not strip, cover, or crop out the disclaimer or source stamps inside the frame.
- The numbers update when the underlying datasets do (each input carries a
source · asOfstamp); an embed always serves the current data, never a frozen copy.
Something broken?
If an embed misbehaves — sizing, theme, a calculator error — say so via the contact page with the URL of the page it is embedded on. Corrections get priority.
See also
- All calculators
The full deck across accumulate, reach-FI, and withdraw.
- Methodology
How the engines, datasets, and ranges are built.
- Disclaimer
What these estimates are and are not.