Investment Simulator: Monte Carlo retirement calculator with withdrawals
Your inputs
Starting point & contributions
Work backward from a goal
Taxable vs. tax-advantaged
What if the market crashes early or late?
Compare stock and bond mixes
Inflation adjustment
Withdrawal phase
Investment fees
Recessions & booms
What if the market doesn't behave as expected?
Growth over time
How compounding produces this chart
Growth can itself earn growth. The model steps through the investment period one day at a time, applies contributions or withdrawals on their real schedule, then applies that day's return to the whole balance.
The math behind the settings
Expected annual return, converted to a daily rate and compounded every day:
Taxable account, each year:
Stock and bond mix:
Inflation adjustment:
The Investment Simulator is a Monte Carlo retirement calculator with withdrawals. It follows your money through the years you save and the years you spend, then runs 150 randomized markets to show how often it lasts.
How to use the Investment Simulator
- Enter your starting amount and what you'll add each month, week or two weeks.
- Set an expected return and a timeline. The graph and headline balance update as you type.
- Open the other sections to layer on inflation, fees, taxes, a market crash, a withdrawal phase or randomized markets.
How this calculator works
The simulator moves one day at a time. Each day it adds any deposit that's due, then grows the whole balance by your expected return, converted to a daily rate. Repeat that for decades and growth starts earning growth of its own.
Turn on the withdrawal phase and, when your timeline ends, deposits stop and withdrawals begin. A percentage withdrawal is set from your balance on the day you retire, then held steady in buying power if inflation adjustment is on.
One smooth average return is a comforting fiction, though. Monte Carlo simulation means running the same plan through many random futures. Here, each day's return gets a random swing sized by your volatility, a measure of how much returns bounce around (16% is close to the U.S. stock market's long-run figure), across 150 paths.
You'll see the median path, the range the middle 80% of paths fall in, and the share of paths where the money lasted every year of retirement. That last number is the one to watch.
A worked example
Say you're five years from retiring with $450,000 saved, and you'll add $1,000 a month until then. You assume a 6% return and 3% inflation, and you plan to withdraw 4% a year for 30 years. Every figure below is in today's dollars.
On the smooth, fixed-return line, you retire with $579,409, withdraw $23,176 in the first year, and still have about $284,094 left after 30 years. It looks comfortable.
With randomized markets on, across 40 runs of 150 paths each, the money lasted all 30 years in 59% to 74% of paths, about two in three on a typical run. Drop the withdrawal rate to 3.5% and that rose to 71% to 82%, about three in four. (Illustrative figures from this simulator's own runs; randomized results shift a little each time.)
Why isn't it 100%? Half the paths do worse than typical, and a slump right after you retire does lasting damage, because you're selling while prices are down.
Methodology and sources
Returns compound daily: daily rate = (1 + annual return)^(1/365) − 1. Randomized markets add a bell-curve swing of volatility ÷ √365 to each day's rate, centered so the typical path still grows at your expected return.
The Social Security estimate uses SSA's 2026 early and delayed claiming rules and assumes a full retirement age of 67. The model doesn't handle taxes on withdrawals, required minimum distributions, or how stocks and bonds move together. It shows how a plan behaves under its assumptions, not what markets will do.
- SSA: Benefit reduction for early retirement
- SSA: Delayed retirement credits
- Bureau of Labor Statistics: Consumer Price Index
- SEC Investor.gov compound interest calculator
Last updated: October 2026
Frequently asked questions
What is a Monte Carlo retirement calculator?
It runs your plan through many randomized market paths, 150 here, instead of one smooth average. It reports the middle result, the range most outcomes fall in and how often the money lasted. That shows how much luck and timing can change a retirement.
What's a good Monte Carlo success rate for retirement?
Many planners aim for roughly 75% to 90% of paths lasting. Higher feels safer but can mean working longer or spending less than you could. A lower number isn't doom; it means you'd likely need to trim spending if markets disappoint early.
Is the 4% rule still safe?
It held up over 30-year retirements in most of past U.S. market history, but it isn't a promise. Here you can test 4% with randomized markets on, then 3.5%, and compare how often the money lasts.
How does compound growth work?
Your investments earn returns, and those returns start earning returns of their own. Over long periods that snowball does most of the work, which is why the timeline is usually the biggest lever in this simulator.
What return should I assume?
There's no single right answer. Broad U.S. stock indexes have averaged roughly 10% a year before inflation over long periods, with big swings along the way, and mixes with bonds have grown more slowly. Many people plan with a more conservative figure and turn on inflation adjustment.
Related tools
Related reading: Am I Ready to Retire? and What Investing Actually Is, and Why Anyone Bothers