Guide
How Much Do You Need to Retire, and How Long Will It Last?
A retirement calculator answers three linked questions: how big your savings get by the day you stop working, how many years they can pay your bills after that, and what you would have to change if the answer is "not long enough." The math is simple year by year; what makes it hard is that it runs for 50 years or more, through inflation and markets nobody can predict.
How much you need to retire
Start with what you expect to spend in a year, then subtract the income you will get anyway: Social Security, a pension, rent from a property. The rest is the gap your savings must fill every year, and it grows with inflation. A common shortcut divides the yearly gap by a withdrawal rate: at 4%, you need 25 times the gap.
| Yearly gap after other income | At 4% (×25) | At 3.5% (×28.6) | At 3% (×33.3) |
|---|---|---|---|
| $20,000 | $500,000 | $571,429 | $666,667 |
| $30,000 | $750,000 | $857,143 | $1,000,000 |
| $40,000 | $1,000,000 | $1,142,857 | $1,333,333 |
| $60,000 | $1,500,000 | $1,714,286 | $2,000,000 |
Lower rates are the cautious choice for an early or long retirement. The calculator skips the shortcut and runs your actual plan, year by year.
The math in plain words
While you work, each year adds your contributions and your employer's, and the balance earns your pre-retirement return; money added during the year earns about half a year of it. Once you retire, each year starts with your spending, raised by inflation since today. Social Security (from your claiming age, raised with inflation) and any pension are subtracted, the rest is grossed up for the tax setting and withdrawn at the start of the year, and what remains earns your retirement return. If a year's withdrawal is more than what is left, that is the age your money runs out. Today's dollars divide each future amount by the inflation since now, so $1 million in 30 years at 2.5% inflation buys what about $477,000 buys today.
The 4% rule and its limits
The 4% rule comes from a 1994 study by financial planner William Bengen. Using US stock and bond returns going back to 1926, he found that a retiree who withdrew 4% of the starting balance in year one, then raised that dollar amount with inflation each year, would not have run out within 30 years in any period he tested, with roughly half to three-quarters in stocks. It is a finding about the past, not a promise: it assumes 30 years, no fees or taxes, spending that never adapts, and US history, which was unusually good. The withdrawal rate card compares your first year with 4%; if Social Security starts later, the rate drops once it does, and the calculator shows both.
Social Security timing
You can claim from 62 to 70. Claiming before your full retirement age (67 if you were born in 1960 or later) cuts your benefit, by 30% at 62, and each year you wait past it adds 8%, up to 70 (20 CFR 404.409, 404.410 and 404.313). Waiting means drawing more from savings early on and less later, which this calculator shows year by year. The Social Security calculator estimates your benefit at each age. Benefits rise each year with a cost-of-living adjustment (3.6% for 2027); this calculator assumes it equals your inflation rate.
Planning as a couple
Choose Me and my spouse or partner at the top of the calculator to plan one combined pot with two people's timelines. Couples rarely stop working in the same year, so each of you gets your own retirement age, monthly saving and employer match, and contributions stop when each person retires. You choose when spending from savings begins: by default once you have both retired, on the assumption that the working spouse's pay covers the bills until then, or as soon as the first of you retires. The plan runs until the younger of you reaches the plan-to age, because that is the longest the money may need to last.
Two Social Security claims. Each benefit starts at its owner's own claiming age, so the household's income often steps up twice. The survivor benefit. When one spouse dies, Social Security pays the survivor their own benefit or the survivor benefit, whichever is higher, not both, so household income drops by the smaller check. A pension may stop or continue at a reduced share, depending on the option chosen when it started. Spending after a death usually falls less than you might expect, because housing and many other costs stay; the calculator starts at 75% of the couple's spending and lets you change it. Turn on the survivor scenario to see whether the money still lasts if one of you dies early, and try both people as the first to go. The calculator simplifies the survivor benefit to the larger of your two entered benefits from the survivor's own claiming age; your actual amount depends on SSA's rules and claiming ages.
Worked example
What this calculator simplifies
- One step per year, constant returns in the main projection; the stress test replays history only for the retirement years.
- Taxes are one effective rate on the pre-tax share of withdrawals; no brackets, no required minimum distributions (IRS Publication 590-B), no tax on Social Security (up to 85% of benefits can be taxable under 26 U.S.C. 86). Enter after-tax Social Security and pension amounts for a closer estimate.
- Income above your spending is spent, not reinvested. Spending stays level in real terms; real spending often changes with age.
- No fees beyond the returns you enter, no health-care shocks, no early-withdrawal penalties.
- Couples: one combined balance; Social Security or a pension paid before spending starts is assumed spent; the survivor benefit is the larger of the two entered benefits from the survivor's own claiming age, without SSA's early-claiming reductions or spousal benefits.
For the details of each piece, use the 401(k) calculator for match formulas and IRS limits, the Roth IRA calculator for tax-free savings, the Coast FIRE calculator to see when you could stop contributing, and the compound interest calculator for growth on its own.
Frequently asked questions
How much do I need to retire?
Start with the yearly spending you expect in retirement, subtract the income you will get anyway (Social Security, a pension), and the gap is what your savings must cover. A common rule of thumb is 25 times that yearly gap, which is the 4% rule turned around: a $40,000 gap needs about $1 million. It is a starting point from historical studies, not a guarantee; this calculator runs the year-by-year math for your own ages, returns and income instead.
How long will my retirement savings last?
It depends on four things: how much you have when you retire, how much you take out each year after other income, the return your savings earn, and inflation, which raises your spending every year. With no growth and no inflation the answer is simply savings divided by yearly withdrawals: $600,000 at $40,000 a year lasts 15 years. Growth stretches that and inflation shortens it; enter your numbers above to see the age your money would last to.
What is the 4% rule for retirement?
The 4% rule says that if you withdraw 4% of your savings in your first year of retirement and raise that dollar amount with inflation every year after, your money would have lasted at least 30 years in every historical period studied. It comes from William Bengen's 1994 study of US stock and bond returns. It is a historical finding, not a guarantee: it assumes a 30-year retirement, a stock and bond mix, no fees or taxes, and US market history, and the future can be worse.
What rate of return should I use for retirement planning?
Nobody knows future returns, so use a range. From 1928 through 2025 the S&P 500 with dividends compounded at about 10.0% a year before inflation, but with large swings, and bonds earned less. Many planners use a lower figure, such as 5% to 7% before retirement and 4% to 5% after, to allow for fees, a more conservative mix later in life and the chance of weaker markets. Try several rates and look at the historical stress test, not just one number.
Should I count Social Security in my retirement plan?
Yes, for most people it is the largest source of guaranteed income, and it rises with a cost-of-living adjustment each year. Your benefit depends on when you claim: claiming at 62 can cut it by up to 30% if your full retirement age is 67, and waiting past full retirement age adds 8% a year up to 70. Use your my Social Security estimate or the Social Security calculator, and enter the monthly amount in today's dollars with your planned claiming age.
Does this retirement calculator account for inflation and taxes?
Inflation, yes: your spending and Social Security rise with the inflation rate you enter every year, and results are shown in both future dollars and today's dollars. Taxes are simplified: you can set an effective tax rate on the share of withdrawals that comes from pre-tax accounts, and the calculator withdraws enough extra to cover it. It does not model tax brackets, required minimum distributions or how much of your Social Security is taxable.
How do I plan retirement as a couple?
Plan from one combined pot but two timelines. Enter each person's age, retirement age, savings rate and Social Security claim, because the two of you rarely retire or claim in the same year. Decide when spending from savings starts, often once both have stopped working, and plan until the younger of you reaches an old age such as 95. Then test the years after one of you dies: the survivor keeps only the larger Social Security benefit, may lose part of a pension, and usually still needs most of the couple's spending. This calculator's household mode does all of that year by year.