Retirement Calculator
Free retirement calculator: project your nest egg from current savings, monthly contributions, and expected returns. See what compounding can do.
About this tool
Retirement feels far away until you run the numbers - then it becomes the most motivating math you will ever do. Thanks to compound growth, money saved in your 20s and 30s does far more work than money saved later.
Enter your age, savings, monthly contributions, and expected return, and this retirement calculator projects what you will have when you stop working — and, if you add your planned spending, how much you will need, whether you are on track, what monthly income your savings can support, and how long the money lasts. Enter amounts in your own currency — the math is the same, and the dollar figures in the examples are only illustrative.
By Azhar Hussain · Last updated: 12 November 2026
How to use
Type your current age and the age you plan to retire, your current retirement savings, how much you can contribute each month, and a realistic annual return percentage. Results update as you type: your projected nest egg, your total contributions, and how much came from investment growth.
For the full picture, add the optional inputs: life expectancy, the return you expect after retiring, a withdrawal rate, inflation, your monthly retirement spending, and any pension or other monthly income. The tool then shows your savings target, any shortfall or surplus, the extra monthly saving needed to close a gap, your monthly retirement income, how long the savings last, a have-vs-need comparison, and a year-by-year table covering both the saving years and the spending years.
Use the 'Show values in' selector to switch the retirement-date figures between future dollars and today's dollars, try the scenario cards to see retiring five years earlier or later or saving $100 a month more, and add an employer match or an annual contribution increase if your saving rises over time.
The math behind it
Future value combines two parts: your current savings growing untouched, plus your monthly contributions compounding. FV = PV(1+r)^n + PMT x (((1+r)^n - 1) / r), with r the monthly return and n the months until retirement. The savings target is your monthly spending minus other monthly income, inflated to retirement at your inflation rate, times 12, times the years in retirement — which assumes savings roughly keep pace with inflation once you stop working. The withdrawal simulation then spends that monthly gap from the balance, month by month, at the post-retirement return.
For example, $10,000 saved plus $500/month at 7% for 30 years grows to roughly $691,000 - with only $190,000 of that being your own contributions.
How much will you need? The savings target
A projection of what you will have is only half the question. The other half is what you will need. Enter your monthly retirement spending and any pension or other monthly income, and the tool builds your target: the monthly spending gap (spending minus other income), inflated to your retirement age at your inflation rate, multiplied by the years you expect to spend in retirement. Spending and other income are entered in today's dollars and inflated together, which assumes other income broadly keeps pace with inflation — if yours does not, enter a lower figure for it.
The target assumes your savings roughly keep pace with inflation after you stop working — a cautious simplification. Alongside it, the tool shows the 25x check: 25 times your annual spending gap, which is the arithmetic inverse of withdrawing 4% a year. If the two figures disagree wildly, the gap is usually the retirement length: the 25x rule assumes a 30-year retirement, while your target uses your own life-expectancy input.
Not sure what spending figure to use? A commonly cited planning rule of thumb is to aim to replace 70–80% of your pre-retirement income (some guides say 70–85%). These are heuristics, not measured facts — your own spending matters more than any percentage. Budget health costs separately from that percentage: health spending typically rises in the later retirement years, and it is the budget line most often underestimated. This page quotes no health-cost dollar figure, because costs vary so much by country and health system.
The withdrawal phase: turning savings into income
Retirement has two phases: building the pot, then spending it. The withdrawal phase uses its own return assumption — the post-retirement return, which defaults to 4% because portfolios in retirement are usually invested more conservatively — and your life-expectancy input sets how many years the money must cover.
Two outputs describe the spending phase. Monthly income from savings is your projected balance times your withdrawal rate, divided by 12 — at the default 4%, a $600,000 balance supports $2,000 a month from savings, before any pension. How long savings last comes from a month-by-month simulation: each month the balance grows at the post-retirement return and the monthly spending gap is withdrawn, with the gap rising with inflation each year. If the balance reaches zero before your life expectancy, the tool reports the age it runs out; otherwise it reports the balance left at life expectancy.
One risk the simulation cannot show is sequence-of-returns risk: when you are withdrawing, the order of returns matters. Two retirements with the same average return can end very differently if one hits bad years early. A constant return hides that danger, which is one more reason to treat every figure here as a planning sketch, not a promise.
The 4% rule, properly
The 4% rule is the most quoted rule in retirement planning, and the most misquoted. It comes from financial planner William Bengen's 1994 paper in the Journal of Financial Planning, 'Determining Withdrawal Rates Using Historical Data'. Bengen tested a portfolio of 50% US stocks (S&P 500) and 50% intermediate-term US Treasury bonds, rebalanced annually, against actual US returns and inflation for every retirement start year from 1926 to 1976. He found that withdrawing 4% of the starting balance in the first year, then adjusting the withdrawal for inflation each year after, lasted at least 30 years in every historical window — the worst case lasted 33 years.
The Trinity Study (Philip Cooley, Carl Hubbard, and Daniel Walz, 'Retirement Savings: Choosing a Withdrawal Rate That Is Sustainable', AAII Journal, February 1998) back-tested S&P 500 and long-term bond returns from 1926–1995 and found a 4% inflation-adjusted withdrawal succeeded in 95% of historical 30-year periods for balanced portfolios holding 50% to 75% stocks.
The caveats matter as much as the headline. The studies used US historical data only — other countries' markets have different histories, and the figure may not transfer. The horizon is 30 years — longer retirements need lower starting rates, and researchers have suggested roughly 3.3–3.5% for 40-year retirements (a reported range, not a settled figure). The original studies deducted no investment fees and no taxes. Withdrawals rise with inflation every year with no adjustment for market conditions, while real retirees usually flex their spending. And sequence risk applies: bad early years hurt far more than bad late years. The 4% figure is a worst-case historical finding, not a guarantee and not a forecast — in the median historical window, the portfolio ended with roughly twice its starting value. Use it as a starting framework, and adjust the withdrawal-rate input above to test lower rates.
Social Security (United States only)
This box is about the United States only. Every country has its own state pension rules; if you live elsewhere, use the generic pension / other monthly income input above with your own country's figures.
Under US Social Security rules (Social Security Administration), full retirement age is 67 for anyone born in 1960 or later. Benefits can be claimed from age 62, permanently reduced — by 30% for workers with a full retirement age of 67 who claim at 62. Delaying past full retirement age adds delayed retirement credits of 8% per year, up to age 70 — a 24% permanent increase for waiting from 67 to 70 — and credits stop accruing at 70. Claiming later is not automatically better: it depends on your health, other income, and how long you expect to live.
Whatever your country, guaranteed income changes the target directly: every dollar of monthly pension or benefit is a dollar your savings do not have to provide, so it is subtracted from your spending before the target is calculated. Enter it in the pension / other monthly income field and watch the target fall.
Worked example: the full gap calculation
Suppose you are 35, plan to retire at 65, have $20,000 saved, contribute $600 a month, and earn 7% a year. You expect to spend $4,000 a month in retirement, receive $1,000 a month from a pension, face 3% inflation, live to 90, earn 4% after retiring, and withdraw at 4%.
Your savings grow to $894,313 by 65, from $236,000 of your own contributions plus $658,313 of growth. The monthly spending gap is $3,000 in today's dollars, which inflates to $7,282 a month by 65. Over 25 years of retirement that needs a target of $2,184,536 — the 25x check gives $2,184,536. You face a shortfall of $1,290,224, which would take about $1,058 a month of extra saving from today to close (before any employer match).
At retirement, your savings support $2,981 a month at the 4% withdrawal rate, plus $2,427 of pension income in retirement-age dollars, against $9,709 of monthly spending — a monthly shortfall of $4,301. Spending the gap from the balance, the money lasts about 11.1 years, running out at about age 76.1 — before the assumed life expectancy of 90. Retiring five years later, or saving more, changes every one of these figures; try the scenario cards above. Every figure in this example was computed by the calculator at the stated inputs.
Assumptions and limitations
- One constant annual return before retirement and one constant return after. Real returns fluctuate, and the sequence of returns matters once withdrawals begin — this tool does not model sequence-of-returns risk or market crashes.
- No taxes are modelled, on gains or on withdrawals. Real tax depends on your country and account type.
- Figures are nominal (future dollars) unless you switch to today's dollars, which deflates retirement-date figures by inflation over the years until retirement. Contributions and growth are always shown in the dollars actually paid and earned.
- Spending and other income are entered in today's dollars and inflated to retirement at your inflation rate. If your pension does not rise with inflation, enter a lower figure for it.
- The withdrawal rate is a planning input, not a guarantee. The 4% default comes from US historical back-tests (see the 4% rule section) and may not fit your country, horizon, or portfolio.
- Life expectancy is an assumption, not a prediction. Planning to a longer age than you expect is the cautious choice.
- No account-type rules are modelled: no pension, 401(k), IRA, or ISA limits, no required withdrawals, and no benefit-timing optimisation.
Frequently asked questions
What return should I assume?
How much do I need to retire?
Is it too late to start saving?
What is the 4% rule, where did it come from, and is it still safe?
How long will my retirement savings last once I stop working?
How does Social Security (or my pension) change how much I need to save?
What percentage of my pre-retirement income should I aim to replace?
What happens if I retire five years earlier — or five years later — than planned?
Related tools
Compound Interest Calculator
Investment Calculator
Savings Calculator
BMI Calculator
Age Calculator
Percentage Calculator
💬 Comments
Have a question about this page, or an idea to make it better? Share it below — your feedback helps everyone who uses this site.