How much do you need to retire?
Enough that your savings, plus Social Security and any pension, cover your spending until the end of a long life. Enter your age, what you've saved, what you add each month, when you want to stop working and what you'll spend each year. We work out what you'd have on the day you retire, what you'd need for the money to last to 95, how long it really lasts, and the earliest age the plan works. Everything is in today's dollars, so $60,000 means what $60,000 buys now.
In the example, a 40-year-old with $150,000 saved adds $1,000 a month and retires at 65. At 7% returns and 3% inflation, that grows to about $889,504 in today's dollars. Spending $60,000 a year, with $24,000 a year from Social Security starting at 67, needs about $876,093 on the day you retire. That's just enough: the money lasts past 95 with about $13,400 of room. A plan with so little room is fragile, which is why the table under the answer matters more than the answer.
That table changes one thing at a time. If returns come in 2 points lower, the same plan runs out at 81. If inflation runs a point higher, it runs out at 86. Saving $250 more a month, or retiring at 67 instead of 65, turns the thin margin into real room. Retiring later works twice: two more years of saving, and two fewer years of spending before Social Security starts. Neither change alone survives returns 2 points lower, which is the case to plan around. The verdict line then checks your retirement years against every starting year since 1872, using real US stock, bond and inflation data. In the example, with 60% in stocks, the plan lasted in 116 of 125 past retirements. The worst start was 1966, when high inflation met a flat decade for stocks.
Under More options, set the age your plan must reach, separate returns before and after you retire, inflation, a yearly rise in what you save, and the stock share used for the history check. The bar above the calculator leads to tools for each step: what a 401(k) or Roth IRA grows to, what funds actually returned on our stock calculator, when you could stop on the FIRE calculator, and how much you can draw each year with the 4% rule calculator or the Monte Carlo retirement calculator.
Treat every answer as a range. Returns, inflation and your own lifespan are unknown, and a bad decade right after you retire does far more damage than one 20 years later. Rerun the plan every year or two, plan to a late age, and use more cautious returns than you hope for. Results are hypothetical and leave out taxes, which depend on the accounts you hold.