Skip to content
Investment Math
Investment Math

Currency and number style

Only changes how amounts look. There is no currency conversion.

Monte Carlo Retirement explained: formula, worked example and common mistakes

Run thousands of randomized market scenarios on your retirement plan and see the probability of success. No sign-up, your numbers stay in your browser.

Updated

What is a Monte Carlo retirement simulation?

A Monte Carlo simulation is a way to model outcomes when the future is uncertain. Instead of assuming your investments will return exactly 7% every year — which is what most retirement calculators do — a Monte Carlo simulation generates thousands of possible future paths for your portfolio, each one based on a random sequence of yearly returns drawn from a realistic distribution. The result is not a single number (“you’ll have 1.2 million”) but a probability (“there’s an 87% chance your money lasts to age 95”).

The reason this matters is sequence-of-returns risk. Two retirees with identical average returns can have wildly different outcomes depending on whether the bad years hit early or late in retirement. A retiree who experiences a 30% market drop in year one of retirement, then average returns afterward, can run out of money decades earlier than a retiree who gets average returns first and the 30% drop in year fifteen. Standard calculators that use a fixed average return cannot see this difference — Monte Carlo can.

Here’s how the simulation works in practice. You tell the calculator your starting balance, your monthly contributions, your expected average annual return, and the volatility (standard deviation) of those returns. The calculator generates, say, 1,000 different 30-year paths. In each path, every year’s return is drawn randomly from a normal distribution with your expected return as the mean and your volatility as the standard deviation. Some paths will have great years early and bad years late. Others will have bad years early and great years late. Some will be mostly flat with a few spikes. The calculator counts how many of the 1,000 paths end with money still in the account at the end of your time horizon — that count, divided by 1,000, is your probability of success.

A 90% success rate means 900 of the 1,000 simulated paths ended with money left. A 70% rate means 700 did. Financial planners generally consider 85% or higher a “safe” plan, though this is a judgment call — some planners insist on 95%, others accept 80% if the downside scenarios are not catastrophic. The Monte Carlo method does not tell you what to do — it tells you the range of possible outcomes given your assumptions, so you can decide how much risk you are willing to accept.

The Monte Carlo method (without the math getting scary)

The core idea is repeated random sampling. Here is the step-by-step:

  1. Define your expected return (μ, mu) — say 7% per year.
  2. Define your volatility (σ, sigma) — say 15% per year. This is the standard deviation of annual returns, a measure of how much returns bounce around the average.
  3. For each simulated year, draw a random return from a normal distribution with mean μ and standard deviation σ. Most years will be close to 7%, but some years will be -20%, others +30%, in proportions that match the historical distribution.
  4. Apply that year’s return to your portfolio balance: new_balance = old_balance × (1 + drawn_return) + contribution.
  5. Repeat for every year of the time horizon.
  6. That is one simulated path. Repeat the entire process 1,000 times to get 1,000 different paths.
  7. Count how many paths end with a positive balance. Divide by 1,000 to get the success probability.

The formula for the random return in each year is:

r_year = μ + σ × Z

Where Z is a random draw from the standard normal distribution (mean 0, standard deviation 1). Z is what produces the variation from year to year — when Z is -2, the year’s return is roughly μ - 2σ (a bad year); when Z is +2, the return is roughly μ + 2σ (a great year). About 68% of years will fall within ±1σ of the mean, 95% within ±2σ, and 99.7% within ±3σ.

Worked example with μ = 7% and σ = 15%:

  • A typical “average” year (Z = 0): return = 7%
  • A mildly good year (Z = +1): return = 7% + 15% = 22%
  • A mildly bad year (Z = -1): return = 7% - 15% = -8%
  • A very bad year (Z = -2): return = 7% - 30% = -23%
  • A once-in-a-century crash (Z = -3): return = 7% - 45% = -38%

The simulation runs the same math 30 times (one per year) for each of 1,000 paths. The calculator does this every time you press “Run simulation.” On a modern browser, 1,000 paths of 30 years each runs in well under a second.

One important caveat: real-world market returns are not perfectly normally distributed. They have “fat tails” — extreme crashes happen more often than the normal distribution predicts. Some Monte Carlo tools use a lognormal distribution or bootstrap from historical returns instead. For most retirement planning purposes, the normal distribution is a reasonable approximation, but it will slightly understate the probability of extreme crashes.

When to use a Monte Carlo retirement calculator (and when not to)

Use this calculator when:

  • You are 5 to 30 years from retirement and want a realistic probability of reaching your goal, not a single optimistic number.
  • You want to compare two strategies — say, retiring at 62 vs. 65, or saving 10% vs. 15% of income — and see which one moves the success probability more.
  • You are in retirement and want to test withdrawal rates — what happens to your success probability if you withdraw 3% vs. 4% vs. 5% of your starting balance each year.
  • You want to stress-test whether your asset allocation is risky enough (too little equity = low returns, plan fails) or too risky (too much equity = high volatility, plan fails in a bad sequence).
  • You are deciding whether to delay a state pension, take a pension lump sum, or work a few more years — these are all changes the Monte Carlo can model.

When NOT to use this calculator:

  • If you want a simple future-value projection at a fixed rate, use the Compound Interest Calculator. It runs instantly, gives a single number, and is appropriate when you are years from retirement and just need a rough target.
  • If you want to find the monthly contribution needed to hit a specific dollar goal, use the Goal Planner or Required Return Calculator. Monte Carlo tells you probability; the planner tells you the required savings rate.
  • If you are analyzing a single stock investment (not a diversified portfolio), Monte Carlo with normally distributed returns is the wrong tool — individual stock returns are far too skewed for the normal distribution to fit well.
  • If you need a legally defensible retirement projection (for a pension plan, court case, or formal financial advice), hire a CFP who uses institutional-grade Monte Carlo software with fat-tailed distributions and historical bootstrapping. This calculator is educational.

Common mistakes people make

1. Treating the success probability as gospel. A Monte Carlo simulation is only as good as its inputs. If you set expected return to 10% and volatility to 5%, the calculator will tell you that you have a 99% chance of success — because you have told it returns are high and stable, which is not how markets actually behave. Use realistic inputs: for a globally diversified stock portfolio, expected return around 7% nominal (5% real) and volatility around 15-18%. For a 60/40 stock/bond mix, expected return around 6% nominal and volatility around 10%.

2. Setting volatility too low. Volatility (standard deviation) is the single most important input. If you set it to 3%, you are telling the calculator that annual returns almost never deviate more than 6% from the average — which would make the stock market as smooth as a savings account. Historical volatility of a broad market index is around 16-18%. Setting σ below 10% for an equity-heavy portfolio produces wildly optimistic results.

3. Running too few simulations. With 100 simulations, the result has a margin of error of roughly ±5 percentage points. With 1,000 simulations, the margin drops to ±1.5 points. With 10,000, it’s about ±0.5 points. Always run at least 1,000 — anything less is too noisy to be useful.

4. Ignoring the failure scenarios. A 90% success rate sounds great, but it means 10% of paths fail. Look at what those failing paths look like — how early does the money run out, and how bad is the worst case? A plan that fails in year 28 of 30 is very different from a plan that fails in year 12. The calculator shows the percentile outcomes (10th, 50th, 90th) so you can see the spread.

5. Using nominal returns without thinking about inflation. If you enter 7% expected return and the calculator shows you’ll have 2 million in 30 years, that 2 million is in future dollars — which will buy far less than 2 million buys today. Either enter a real (inflation-adjusted) return like 4% and let the calculator show you inflation-adjusted dollars, or run the result through the Inflation and Real Return calculator afterward.

Frequently asked questions

What is a good Monte Carlo success rate for retirement?

The conventional threshold is 85-90%. Below 80%, financial planners usually recommend saving more, working longer, or taking more investment risk. Above 95%, you may be over-saving and could retire earlier or spend more. The "right" number depends on your risk tolerance, your ability to adjust spending if markets go bad, and whether you have a fallback (pension, a state pension, part-time work).

How is Monte Carlo different from a normal retirement calculator?

A normal retirement calculator uses a single fixed annual return — say 7% every year for 30 years — and produces one number. This ignores the reality that markets have good and bad years in unpredictable order, which can dramatically change outcomes through sequence-of-returns risk. Monte Carlo runs thousands of randomized paths and tells you the probability of success across all of them.

How many simulations are enough?

At least 1,000 for a quick estimate, 10,000 for a more precise one. The trade-off is speed: 1,000 simulations run in under a second; 10,000 takes a few seconds; 100,000 can take 10+ seconds. For most planning purposes, 1,000-5,000 is sufficient — the difference between 85.2% and 85.7% success is not decision-relevant.

Which return and volatility go in?

Figures you can defend for the mix you actually hold, and none are stored here. More in shares raises both the expected return and the width of the swings; more in bonds lowers both. The useful test is to run it twice — once at the figures you believe and once at something more sober — and see how far apart the two success rates land.

Does Monte Carlo account for inflation?

Only if you enter inflation-adjusted inputs. If you enter a 7% nominal expected return, the calculator shows nominal dollars in the future. To see real (today's) purchasing power, enter a 4% real expected return (7% nominal minus 3% inflation) and the calculator will show you inflation-adjusted dollars.

Why does my plan fail even with a positive average return?

Because of sequence-of-returns risk. If a 30% market drop happens in the first three years of your retirement, you are withdrawing money from a much smaller balance — and that smaller balance cannot recover even when markets rebound, because you've already spent the principal. The order of returns matters as much as the average. This is why Monte Carlo is essential for retirement planning and not just for accumulation.

Can Monte Carlo predict black swan events?

No. Monte Carlo assumes returns follow a known distribution (usually normal). Real markets have fat tails — extreme crashes happen more often than the normal distribution predicts. Monte Carlo will understate the probability of a 2008-style 50% drop or a 1929-style 80% drop. To model worst-case scenarios explicitly, also run your plan through a deterministic crash scenario using the "What If Market Crashes" overlay on the Compound Interest Calculator.

Is Monte Carlo better than the 4% rule?

The 4% rule is a deterministic rule of thumb: withdraw 4% of your starting balance each year, adjusted for inflation, and your money will "probably" last 30 years. Monte Carlo is more flexible — it lets you test 3%, 4%, 5% withdrawal rates against thousands of randomized return paths and shows you the actual probability of success for each. For most retirees, Monte Carlo is more informative than the 4% rule because it lets you see the trade-off between spending and failure risk.

This tool shows math, not advice.

Cite this page

Copy this line into a reference list, a report or a spreadsheet note.

Investment Math Calculator. “Monte Carlo Retirement Calculator”. Updated 2026-10-27. https://investmentmathcalculator.com/guides/monte-carlo-retirement-calculator/

Disclaimer: For education only. These calculators show arithmetic and hypothetical scenarios. They are not investment, tax or legal advice and do not recommend any security or product. Consult a licensed adviser in your country before acting.