Home › Calculators › Retirement Calculator
🏖️

Retirement Calculator

Free retirement calculator: project your nest egg from current savings, monthly contributions, and expected returns. See what compounding can do.

Disclaimer: The results are estimates only, not financial advice. Talk to a qualified financial adviser before making any financial decision.

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

Frequently asked questions

What return should I assume?
Long-term stock market returns average 7-10% per year before inflation. For planning, 6-7% is a sensible conservative assumption for a stock-heavy portfolio; use 4-5% if you invest conservatively. Always think in after-inflation terms too: 7% nominal with 3% inflation is about 3.9% real, by the Fisher equation. If you enter a negative return, the tool computes a declining balance rather than rejecting it, so you can use it as a stress case for bad markets.
How much do I need to retire?
It depends on your spending, not your salary. This tool builds your target from your monthly retirement spending minus pension or other income, inflated to retirement, times the years in retirement. A common cross-check is 25 times your annual spending gap (the 4% rule): if you spend $40,000 a year, that suggests about $1,000,000 invested. The 4% rule comes from US historical back-tests (Bengen 1994 and the Trinity Study 1998) and is a planning framework, not a guarantee — read the 4% rule section on this page for its origins and caveats before relying on it.
Is it too late to start saving?
No - the best time was years ago, but the second-best time is today. Even starting at 40 or 50, consistent contributions plus compound growth build meaningful savings. This calculator shows exactly what catching up looks like for your situation.
What is the 4% rule, where did it come from, and is it still safe?
The 4% rule says you can withdraw 4% of your starting balance in the first year of retirement, then adjust for inflation each year, and the money should last 30 years. It comes from William Bengen's 1994 study of US stock and bond returns from 1926-1976, confirmed by the 1998 Trinity Study, which found a 4% withdrawal succeeded in 95% of historical 30-year periods for balanced portfolios. It is not a guarantee: it rests on US history only, assumes 30 years, ignores fees and taxes, and assumes rigid inflation-adjusted withdrawals. Longer retirements need lower rates, and researchers have suggested roughly 3.3-3.5% for 40-year retirements. Treat it as a starting framework and test lower withdrawal rates with the tool above.
How long will my retirement savings last once I stop working?
It depends on your balance at retirement, your spending, the return you earn after retiring, and inflation. This tool simulates it month by month: the balance grows at your post-retirement return while your monthly spending gap is withdrawn, rising with inflation each year. It reports the age your money runs out, or the balance left at your life expectancy if it lasts. Remember that a constant return hides sequence-of-returns risk: bad market years early in retirement hurt far more than bad years later.
How does Social Security (or my pension) change how much I need to save?
Every dollar of guaranteed monthly income 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. For the United States only: full retirement age is 67 for those born in 1960 or later, claiming at 62 permanently reduces benefits by 30%, and delaying to 70 adds 8% a year, up to 24%. Other countries have their own state-pension ages and rules; the generic income input covers them with your own figures.
What percentage of my pre-retirement income should I aim to replace?
A commonly cited planning rule of thumb is 70-80% of pre-retirement income (some guides say 70-85%). These are heuristics, not measured facts: some costs fall in retirement (commuting, mortgage payments) while others rise, especially health costs, which should be budgeted as a separate line. Your own spending matters more than any percentage — track what you actually spend, adjust for the retirement lifestyle you want, and enter that figure as your monthly retirement spending above.
What happens if I retire five years earlier — or five years later — than planned?
Both directions move every number: retiring earlier means fewer saving years and more spending years, so the balance is smaller and the target is bigger; retiring later reverses both. The scenario cards above show your own figures for both cases. Starting early matters even more than retiring late: $200 a month at 7% from age 25 to 65 grows to about $524,963, but from age 35 it grows to only about $243,994 — the same monthly amount, half the result, from ten fewer years of compounding.

Related tools

💬 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.