Embed easyfi.app calculators
Drop the Rent vs Buy calculator into any page with one iframe tag. Free for any site, attribution required (set hideShare=1 only with prior arrangement). Inputs stay in the reader's browser; we set no third-party cookies.
Drop-in snippet
<iframe src="https://easyfi.app/embed/rent-vs-buy?loc=austin-tx" width="100%" height="900" style="border:0" loading="lazy"></iframe>Swap austin-tx for any metro slug on the Rent vs Buy page, or omit it for a blank-default calculator.
Live preview
The exact iframe above, rendered against this page so you can see what readers see.
URL parameters
| Param | Type | Default | Description |
|---|---|---|---|
| d | string | (none) | Compact-encoded scenario produced by the Share button on easyfi.app. Use this to preload a specific set of numbers. |
| loc | metro slug | (none) | Prefills home price, rent, property tax, insurance from the metro defaults. Example: austin-tx, new-york-ny, san-francisco-ca. |
| theme | light | dark | light | Sets the outer shell background. The calculator internals are styled for light backgrounds; dark mode v1 only re-themes the shell (see limitations below). |
| accent | indigo | rose | emerald | indigo | Preset accent palette (no free-form hex, to block CSS injection). v1 wires this as a CSS custom property; fuller accent re-theming is v2. |
| lock | comma-separated keys | (none) | Renders the listed inputs read-only. Supported in v1: homePrice, monthlyRent, years. Other keys from the share schema are accepted but inert in v1. |
| hideShare | 0 | 1 | 0 | Hides the "Powered by easyfi.app" attribution row. Attribution is required by default; only set hideShare=1 with prior arrangement. |
v1 limitations
- Dark theme is shell-only. The outer container respects
theme=dark, but the calculator cards inside are still styled for light backgrounds. Expect rough edges on dark in v1; full dark re-theme is v2. - Accent is one-spot in v1. The wrapper sets a CSS custom property (
--ezfi-accent) that the verdict header reads. The rest of the calculator stays indigo. Full accent re-theme is v2. - Lock covers homePrice, monthlyRent, years in v1. The full share schema has 17 numeric keys; locking the remaining 14 is v2. The most common partner ask (lock the top three so the embed reflects the partner's context) works today.
Why we built this
Free for any site. Saves your readers a half-baked calculator and saves you a maintenance burden. Inputs stay in the reader's browser; we set no third-party cookies and run no embed-side analytics.