Skip to content
WorthCurve

How the calculators work

The formulas, the conventions every page shares, the data and its vintage, and a record of what changed.

Conventions shared by every calculator

  • Today's dollars unless a page says otherwise. Long-horizon calculators (independence date, savings rate, net worth by age, the life-insurance lump sum) work in real terms with a return after inflation, so results can be read against your current numbers. Calculators that model a specific price (college, tuition, the mortgage) work in nominal dollars because the price grows at its own rate.
  • Contributions at year end, compounding yearly, except the mortgage comparison, which runs monthly because that is how a loan works. Yearly compounding understates growth slightly compared with monthly; it is a conservative, simple convention.
  • Defaults are starting points, not recommendations. Return assumptions default to a balanced portfolio rather than an all-stock one. Every default can be changed on the page.
  • Zero-rate cases are handled exactly, not approximated, and every output is checked to be finite. Inputs are clamped to sensible ranges rather than producing nonsense.
  • Nothing is stored. Each calculator runs in your browser. A share link puts your inputs in the URL fragment, which the browser never sends to a server.

Each calculator

Net worth by age model 1.0

Looks up the median and mean net worth for your age bracket in the Federal Reserve's Survey of Consumer Finances, reports your household as a multiple of each, and projects your own net worth forward with NW[t+1] = NW[t] × (1 + r) + annual savings, contributions added at year end.

Emergency fund model 1.0

Target = months of cover × monthly essential spending. The balance builds month by month as balance × (1 + i) + contribution, with i the monthly rate equivalent to the account's annual yield and the contribution added at month end; months to fund is the first month the balance meets the target, and the same count at one and three months of essentials places the milestone markers. The contribution that finishes in 12 or 24 months is the annuity payment on the gap left after the current balance has grown for that long.

Term life coverage model 1.0

Coverage = present value of the income to replace over N years at a real return, plus mortgage balance, other debts, final expenses and the education goal, minus existing coverage and liquid assets. The need curve recomputes that sum each year as the years of income shrink, the mortgage amortizes and education is met; the suggested term is the shortest standard length (10–30 years) that outlasts the temporary needs.

College cost and 529 model 1.0

First-year cost = today's cost × (1 + g)^years until start; total = the sum over the years of attendance with g applied each year. Target = total × share to cover. Current savings grow at the expected return; the level monthly contribution that closes the gap by the start date is solved with the future-value-of-an-annuity formula at the monthly rate.

Private school vs. investing model 1.0

Path one pays tuition each year, growing at the tuition rate; the curve is cumulative tuition paid. Path two invests the same amount each year at the expected return and keeps compounding, with no further contributions, for a stated number of years after school ends. The output is the balance of each path at every year and the gap at the horizon.

Cost of raising a child model 1.0

Starts from the USDA birth-through-17 total for the chosen income tier, multiplies by the CPI-U change from the survey year to the latest full year, applies the USDA family-size multiplier (1.27 for an only child, 0.76 for three or more) and a regional factor, then spreads the total across ages with the report's rising-with-age shape and splits it by the report's category shares.

Mortgage payoff vs. investing model 1.0

Both paths run month by month to the original payoff date. Invest: the extra amount compounds at the monthly investment rate. Prepay: the extra goes to principal until the balance is zero, then the whole freed payment compounds for the remaining months. Each path is measured as extra wealth versus the scheduled payment alone, so they compare on one scale.

Financial independence date model 4.1

Target = annual spending ÷ withdrawal rate, in today's dollars. Invested assets grow at the real return with the year's savings added at year end; the independence age is the first year the balance meets the target, searched to age 95.

Savings rate model 1.0

With income I, savings rate s, withdrawal rate w, real return r and assets A: spending E = (1 − s)I, target T = E ÷ w, and years n solves A(1 + r)^n + sI((1 + r)^n − 1)/r = T, so n = ln((Tr + sI) ÷ (Ar + sI)) ÷ ln(1 + r). Evaluated at your rate and at every rate from 5% to 90%.

Data files and their vintages

Public data lives in dated files that are refreshed once a year and whenever a source publishes a new edition. Each calculator page lists the sources it uses with their vintage. At the moment:

  • Federal Reserve Survey of Consumer Finances — net worth by age of the household head (Net worth by age).
  • College Board, Trends in College Pricing — published prices by sector (College cost and 529).
  • USDA, Expenditures on Children by Families, 2015 edition, and BLS CPI-U annual averages (Cost of raising a child).
  • IRS annual contribution limits, kept for reference on the pages that mention them.

Testing

Every formula is a pure function with a unit test against values worked by hand or in a spreadsheet, and the compound-growth engine carries invariant tests: more assets or contributions never delay independence, higher spending never brings it forward, lower returns never help, and the zero-return case is exact. A change that breaks any of those does not ship. Every page is also rendered at phone and desktop widths before each release to catch layout and console errors.

Changelog

  • October 2026 — emergency fund. New calculator: months of essentials as a dollar target, the month-by-month build at a contribution and yield, milestone months for one month, three months and the full target, and the contribution that would finish in one or two years. Model 1.0.
  • October 2026 — WorthCurve 2.0. Site rebuilt as a library of single-question calculators. Six new models (term life, college and 529, private school versus investing, cost of raising a child, mortgage payoff versus investing, net worth by age). The independence-date model (4.1) and savings-rate model carried over from the previous site with their tests. The earlier multi-scenario planner was retired.

Corrections are noted here when they ship.