I work on CalculatorManager, a library of free browser-based calculators for personal finance, tax and health math. This isn't a post about finance — it's about the two engineering bets the site is built on, and what it actually takes to keep them true.
Bet one: nothing you type leaves the browser
Every calculation runs in plain JavaScript, client-side. No account, no signup, no backend call when you hit calculate. You don't have to take my word for it — open your browser's Network tab, run any calculator on the site, and watch nothing happen. On a site handling mortgage numbers, income, and health data, "trust us" isn't good enough; "check for yourself" is the actual claim.
Bet two: one shared shell, not a template
An earlier version of this build (a different stack, since replaced) shipped each category page as a standalone ~400KB file with the entire CSS and JS library inlined — 92.9% of every page was duplicated payload across 44 pages. The current build loads shared CSS and JS once, cached, and every page gets only the markup specific to it. Boring fix, large effect: every calculator page is a fraction of the size it would be as a static template clone.
The annual-data problem
A chunk of these calculators depend on numbers that change every year — tax brackets, retirement contribution limits, Social Security wage bases. Hardcoding them means next January breaks last January's page. So every year's figures live in their own versioned file: this year's loads by default, older years stay queryable, and an archived year's file is hashed so a future edit to it fails the build. I'm mid-way through drafting next year's file right now, actually — the IRS published the 2027 retirement limits on Nov 12, and the draft is sitting in review before anything on the live site changes.
4,125 hand-worked assertions
Formulas get tested against independently worked examples, not just against themselves — oracle values computed by hand or cross-checked a different way, then asserted against the engine's output. Edge cases get the same treatment: a BMI calculator gets tested at the exact decimal boundary between "normal" and "overweight," not just in the middle of each band, because that's where a rounding bug actually shows up.
None of this is novel. It's just what "every figure sourced" has to mean mechanically, not just as a tagline. 102 calculators are live so far, out of a larger catalogue, published in batches on purpose — a new batch only ships once it's tested the same way as the first one.
If you want to see it: calculatormanager.com
Top comments (0)