Retirement Calculator
With saved so far 150000 usd, you add each month 800 usd, years until you retire 20 years, return before retirement 6.5 percent and 4 more fields, retirement comes to 20.0 years — years the savings last. It is reached in 9 steps, the last of which is max(0, -log(1 - 0.0012056 * 940803.75 / 4515.2781) / log(1 + 0.0012056) / 12), and each one is printed on the page with its numbers filled in. The formula is the one published by US SEC Investor.gov, not an approximation fitted to it.
What your savings reach by retirement and how many years they last against the spending you plan, with inflation applied to both sides.
Formula and sources checked · How we check
Saved so far 150000, You add each month 800, Years until you retire 20 years, Return before retirement 6.5
20.0 years
Years the savings last for the example below. Editing a field recomputes the calculator below; this figure holds the answer the page was loaded with.
It is written into the HTML rather than drawn by a script, so a search engine reading this page without running JavaScript still finds an answer.
- What today’s savings grow to
150000 * pow(1 + 0.0054167, 240)$548,467- What future contributions grow to
800 * (pow(1 + 0.0054167, 240) - 1) / 0.0054167$392,337- Savings at retirement
548467.01 + 392336.74$940,804- The same spending, in retirement-year dollars
4500 * 1.8061112$8,128- Social Security and pensions, in the same dollars
2000 * 1.8061112$3,612- What the savings have to cover each month
max(0, 8127.5006 - 3612.2225)$4,515- Years the savings last
max(0, -log(1 - 0.0012056 * 940803.75 / 4515.2781) / log(1 + 0.0012056) / 12)20.008 years- What the 4% rule would allow a month
940803.75 * 0.04 / 12$3,136- Monthly gap against that rule
4515.2781 - 3136.0125$1,379
Ask about this in the chatCompare: five more years of work
Worked example
$150,000 saved and $800 a month more for 20 years at 6.5% reaches $940,804. By then 3% inflation has turned $4,500 of monthly spending into $8,128 and $2,000 of Social Security into $3,612, so $4,515 a month has to come from savings — which lasts 20.0 years at a 4.5% return. The 4% rule would have allowed $3,136 a month, making this plan $1,379 a month heavier than that benchmark.
How to work it out yourself
- 1.Enter spending in today’s money, not a guess at future prices. The calculation inflates it for you, and it inflates Social Security with it, because benefits are indexed to wages before claiming and to prices after.
- 2.A result of 99 years means the withdrawal is smaller than what the pot earns after inflation, so on these assumptions it never runs out.
- 3.The 4% line is the rule of thumb from the retirement-withdrawal literature: draw 4% of the starting balance in year one, then raise it with inflation. It is a rough safety check on the number above, not a second opinion.
- 4.Nothing here models tax on withdrawals, market crashes, or care costs late in life. Each of those shortens the answer, and the first two by more than most people expect.
The formula
- What today’s savings grow to
150000 * pow(1 + 0.0054167, 240) - What future contributions grow to
800 * (pow(1 + 0.0054167, 240) - 1) / 0.0054167 - Savings at retirement
548467.01 + 392336.74 - The same spending, in retirement-year dollars
4500 * 1.8061112 - Social Security and pensions, in the same dollars
2000 * 1.8061112 - What the savings have to cover each month
max(0, 8127.5006 - 3612.2225) - Years the savings last
max(0, -log(1 - 0.0012056 * 940803.75 / 4515.2781) / log(1 + 0.0012056) / 12) - What the 4% rule would allow a month
940803.75 * 0.04 / 12 - Monthly gap against that rule
4515.2781 - 3136.0125
Source: US SEC Investor.gov — retirement planning, Social Security Administration — benefit calculators, US Bureau of Labor Statistics — Consumer Price Index
Questions people actually ask
- How much do I need to retire?
- Enough that the withdrawal line above stays under about 4% of the pot a year. On $4,500 a month of spending with $2,000 coming from Social Security, that means covering $2,500 a month from savings — around $750,000 in today’s money, before tax.
- Why does the answer change so much when I move the return by one point?
- Because it compounds twice: once over the years you save and again over the years you spend. A point of return over 20 years of saving is roughly a fifth more capital, and in drawdown it is the difference between a pot that shrinks and one that holds.
- Should I count my house?
- Not in the pot. A home you live in pays no income and cannot be spent a month at a time. It belongs in the plan as a fallback — downsizing, or a reverse mortgage — rather than as savings.
- What return should I assume after retiring?
- Lower than before. A portfolio being drawn from is usually shifted toward bonds, and a bad sequence of early returns does permanent damage in a way it does not while you are still contributing. The default here is two points below the accumulation rate for that reason.
Related
- 401(k) CalculatorWhat a 401(k) grows to, how much of it is the employer match, and whether your contribution rate leaves any of that match unclaimed.
- Roth IRA CalculatorWhat a Roth IRA grows to, how much of that balance is growth the IRS never taxes, and what the same money would be worth in a taxable account.
- Annuity Payout CalculatorThe monthly income a lump sum pays out over a fixed number of years at a given return, and how much of that income is interest rather than your own capital.
- Pension CalculatorA defined-benefit pension from years of service and final salary, with the age-62 multiplier cliff and the early-retirement reduction both priced.
- Investment CalculatorWhat regular contributions grow to over time, with the inflation-adjusted figure beside the nominal one.
- Estate Tax CalculatorWhether an estate owes federal tax at all, using the 2026 exclusion of $15,000,000 a person, and what the 40% rate costs on anything above it.
Part of a job
- Planning retirement — 9 pages, in the order the questions arrive
Put this calculator on your site
Free, no attribution required beyond the link.
<iframe src="https://rulecalculators.com/embed/retirement" width="100%" height="420" style="border:1px solid #e7e4de;border-radius:12px" title="Retirement Calculator"></iframe>