Methodology
The formulas behind every calculator, in plain math
Last updated: November 9, 2026 Β· Written by Satyajit Srichandan
All calculators run in your browser. Below are the exact formulas, so you can reproduce any result in a spreadsheet.
FIRE number
FIRE number = annual expenses Γ 25 (equivalent to a 4% withdrawal rate). To use another rate: annual expenses Γ· withdrawal rate.
Coast FIRE number
Coast FIRE number = FIRE number Γ· (1 + r)n, where r is the expected annual return and n is years until your target retirement age. In a spreadsheet: =PV(r, n, 0, -FIRE).
Years to Coast FIRE: we grow your balance year by year as balance Γ (1 + r) + monthly savings Γ 12 and report the first year the balance reaches the Coast FIRE number.
Years to FIRE
Monthly compounding: balance = balance Γ (1 + r/12) + monthly savings, repeated until balance β₯ FIRE number (capped at 100 years). "Monthly needed in 20 years" solves the future-value-of-annuity equation: (FIRE β savings Γ (1 + i)240) Γ i Γ· ((1 + i)240 β 1), with i = r/12.
Retirement corpus
FV = savings Γ (1 + i)N + monthly Γ ((1 + i)N β 1) Γ· i, where i = r/12 and N = months to retirement. Estimated monthly income = FV Γ 4% Γ· 12.
Investment growth
Monthly compounding, same future-value formula as above, with total contributions = principal + monthly Γ 12 Γ years. Growth = FV β contributions.
Safe withdrawal rate
Annual income = portfolio Γ rate. Portfolio needed = annual expenses Γ· rate.
Limits you should know
- Returns are constant. Real markets are volatile, and the order of returns matters (sequence-of-returns risk).
- No taxes, fees, inflation or changing expenses are modelled unless you build them into your inputs.
- The 4% rule is based on US history and 30-year retirements. Longer horizons or other countries may need a lower rate.
Spotted an error? Tell us and we will verify and fix it.
Methodology FAQ
Do the calculators use inflation?
No. Results are in nominal terms using the return rate you enter. To get approximate real (inflation-adjusted) results, enter a real return, for example 7% nominal minus 2.5% inflation is about 4.4% real.
Are my numbers stored?
No. All calculations run in your browser with JavaScript. Only your chosen currency is saved in your browser's local storage.
Why 25Γ expenses?
25Γ is the inverse of a 4% withdrawal rate. The 4% rule comes from historical US data (Bengen 1994; the Trinity Study). Results for other countries and longer retirements can differ, which is why our SWR calculator lets you test other rates.