Skip to main content

Data & Methodology

Every calculator on this site runs on real historical data, not numbers I made up to make a point. This page shows exactly what is under the hood: the datasets, the assumptions baked into each tool, and where the limits are.

The historical datasets
#

The backtesting tools (the SWR backtester and the Monte Carlo simulator) run on long-run monthly series covering 1871 through 2025, roughly 154 years of market history. Each series is a total-return index normalized to 100 at January 1871, so a value of 8,000 means that asset grew 80x over the period, dividends and reinvestment included.

Asset classPeriodFrequencyWhat it represents
US equities1871-2025MonthlyBroad US stock market, total return
Ex-US equities1871-2025MonthlyInternational developed-market stocks, total return (proxy)
US bonds1871-2025MonthlyLong-term US government bonds, total return
Gold1871-2025MonthlyGold spot price, in nominal terms
Commodities1871-2025MonthlyBroad commodity basket (proxy)
Cash1871-2025MonthlyShort-term rates / money market, total return
US inflation (CPI)1871-2025MonthlyConsumer Price Index, used to convert nominal to real

The US equity, bond and inflation series derive from the long-run dataset compiled by Robert Shiller at Yale, the same 1871-to-present data used across the academic safe-withdrawal-rate literature (Bengen's original 4% work, the Trinity Study, and the deep retirement-research blogs). The ex-US equity, gold, commodity and cash series are proxy extensions assembled over the same window. Where a series is a reconstruction or proxy rather than a direct historical record, I have flagged it as such above.

How each calculator works
#

SWR Backtester
#

This is not a simulation. It runs your withdrawal plan across every historical rolling window in the 1871-2025 data and reports how the plan would actually have fared. Real returns, real inflation, real sequence-of-returns risk. If a 4% withdrawal rate failed in the 1906 or 1966 retiree's window, you will see it fail here.

Monte Carlo Simulator
#

Where the backtester replays history, the Monte Carlo tool generates thousands of possible futures. It draws on the historical return, volatility and correlation of the asset classes above, then runs 10,000 simulated paths by default (selectable from 1,000 up to 100,000). Defaults: a 50-year horizon and a 3% withdrawal rate, both adjustable, with an optional advisor-fee drag. The output is a success probability: the share of simulated retirements that never ran out of money.

Savings Rate Calculator
#

The "Years to FIRE" estimate assumes a 7% annual return and a 4% safe withdrawal rate (the 25x-expenses rule). These are deliberately simple round assumptions for a quick estimate. Your real timeline depends on actual market returns, taxes, currency drift and life changes, which is exactly why the backtester and Monte Carlo tools exist.

Compound Interest Calculator
#

Standard compound-growth formula. You set the rate, the contribution amount and the compounding frequency; it projects the balance forward. No hidden assumptions beyond the inputs you provide.

FIRE Calculator
#

Built on the 25x rule: your FI number is 25 times your annual expenses, the inverse of a 4% withdrawal rate.

Emergency Fund Calculator
#

Months of essential expenses times your monthly burn. No market assumptions; it is a budgeting tool, not a projection.

Portfolio Rebalancer
#

Compares your current allocation against your target, shows the drift, and lists the trades that bring you back in line. UI-only, nothing is stored.

Currency-Aware FIRE Calculator
#

This one carries its own data, because it has to. Your FI number is 25 times your annual expenses (the inverse of a 4% withdrawal rate), but if you earn in one currency and plan to retire in another, that number lives in two currencies at once. The calculator prices your target in the currency you will spend, then converts it into the one you save in.

Two exchange-rate datasets sit underneath it, both refreshed when the site is built and then stored with the site, so the tool runs in your browser with no live calls, no tracking, and no account:

  • Today's rates come from a free public exchange-rate feed (open.er-api.com), stored as the value of 1 AED in each supported currency.
  • The historical reality check uses European Central Bank reference rates, published every business day since 1999, via the Frankfurter dataset. For each currency pair the tool reads year-end rates back to 2000 and fits a long-run trend through every annual point (a log-linear regression, so one unusual start or end year cannot skew the result). That trend is the real annualized drift it reports, which lets you check your own drift assumption against what the pair actually did over the last 25 years instead of guessing. The UAE dirham is not published by the ECB, so where it is involved the rate is derived from its fixed peg of 1 USD to 3.6725 AED.

The honest limit: real currencies move in jumps, not smooth lines. The historical drift is a long-run average, not a forecast, and the next 20 years will not replay the last 25. Treat it as a sanity check on your assumption, not a prediction.

UAE Gratuity Calculator
#

This is a legal calculation, not a market projection, so it contains no return assumptions at all. It follows the UAE private-sector end-of-service rule under Federal Decree-Law No. 33 of 2021:

  • Your daily wage is your monthly basic salary divided by 30. Housing, transport and other allowances are not counted.
  • You earn 21 days of basic pay for each of your first five years of service, then 30 days for every year after that.
  • You must complete one continuous year to qualify. Beyond that, part-years are paid pro-rata, and any unpaid leave is deducted from your service time.
  • The total is capped at two years' basic wage, the legal maximum.
  • Resigning and being let go pay the same under the current law. The old rule that docked a third or two-thirds of the benefit for resigning was scrapped in 2021.

The payout is a dirham figure by law, so the headline is always in AED. The optional conversion to another currency, and the inflation-adjusted "today's money" view of the invested figure, use exchange rates baked into the site at build time from a free public feed (open.er-api.com), stored as the value of 1 AED in each currency. As always this is the general rule, not tailored advice: specific contracts, free-zone employers and disputes can differ, so treat it as a close estimate.

Honest limitations
#

A few things I want stated plainly rather than buried:

  • Past performance is not a forecast. 154 years of data is a strong guide but doesn't predict the future. The next 30 years will not be a clean replay of the last 150.
  • The history is mostly US. It is the deepest, cleanest long-run dataset available, but a globally mobile investor faces currency moves, foreign withholding tax, residency rules and estate-tax exposure that no return series captures. Treat US history as a baseline, then adjust for your own situation.
  • These are planning tools, not advice. They help you reason about ranges and tradeoffs. They do not know your tax residency, your broker, or your risk tolerance. Nothing here is financial advice. See the full disclaimer.

If you spot something that looks wrong in the data or the math, tell me.

Last reviewed: July 2026.