Retirement Calculator
Work out how much you need to retire, project your savings year by year, and see how long the money lasts once you stop working.
About you
Move this up or down to see how a few years changes the result.
Planning to 90 leaves a safety margin if you live longer than average.
What you save
Count workplace pensions, 401(k)s, IRAs, and any investment accounts.
Add your own payments plus whatever your employer puts in.
Raise your monthly saving by this much each year as your pay grows.
Growth and inflation
A mixed stock and bond portfolio has returned roughly 6% to 8% a year over long periods.
Most people shift to safer holdings once the paychecks stop.
Long-run inflation sits near 2% to 3% in most developed markets.
Income you want in retirement
In today's money. The calculator adjusts it for inflation for you.
Social Security, a state pension, rent, or part-time work, in today's money.
Your savings need to cover $2,200 a month once other income is counted.
Balance over time
Years left to save
35
Years in retirement
25
Total you pay in
$299,967
Growth on your money
$1,016,148
4% rule check
Taking 4% a year out of $1,341,115 gives roughly $53,645 a year before tax.
This calculator gives an estimate to help you plan. It is not financial advice. Tax rules, fees, and real market returns will change the outcome, so treat the figures as a starting point and speak to a qualified adviser before making a decision you cannot undo.
See the gap between the plan and the pot
Most people know they should save for retirement but have no idea whether the amount they put away each month actually gets them there. This calculator answers that in one screen. It grows your savings to your retirement date, works out the sum you need on that date to fund the life you described, and tells you which side of the line you are on.
What this calculator does differently
A target, not just a total
Other calculators show what you will have. This one also shows what you need, based on the monthly spending you entered and the pension or Social Security income you expect.
Inflation applied twice
Your target spending is inflated up to your retirement date, then every withdrawal keeps rising through retirement. That is how costs actually behave over a thirty-year plan.
The fix, in money terms
When you are short, you get a specific extra monthly amount that closes the gap, plus a year-by-year table showing where the balance goes.
Nothing leaves your device
Ages, balances, and income all stay in the browser. There is no account, no upload, and no record of your figures after you close the tab.
How this Retirement Calculator works
This calculator walks through your plan one month at a time rather than applying a single growth formula, which is why the year-by-year table always agrees with the headline numbers.
While you are still working, it adds your monthly saving to the balance and applies one month of growth, converted from the annual return you entered. If you set a yearly increase, the monthly amount steps up every twelve months. That loop produces the projected pot on your retirement date.
The target is built from the other direction. The tool takes the monthly spending you asked for, subtracts any pension or Social Security income, and raises what is left by inflation up to your retirement year. It then prices that inflation-linked income for the number of years you plan to be retired, discounted at your post-retirement return. The answer is the sum you need on day one, not a rule-of-thumb multiple of your salary.
Comparing the two figures gives a surplus or a shortfall. When you are short, the gap is divided by the future value of a monthly deposit over the years you have left, so you get a specific amount to save each month instead of a vague warning.
The tool then spends the pot down month by month, raising each withdrawal with inflation, and reports the age the money runs out. Everything runs in your browser, so no figure you type is uploaded or stored.
How to use this Retirement Calculator
Enter your age and savings
Put in your age now, the age you want to stop working, and the amount you have saved so far.
Add what you save and expect
Enter your monthly saving, then adjust the return and inflation rates if you prefer different assumptions.
Close the gap
Compare the projected pot against the target, then change your retirement age or monthly amount until the shortfall disappears.
Example Usage
A 32-year-old checking whether a $700 monthly habit is enough:
Frequently Asked Questions
How much money do I need to retire?
How much should I save each month?
What return rate should I put in?
Does the calculator include Social Security or a state pension?
Why does inflation matter so much here?
What is the 4% rule, and does this tool use it?
Can I use this to plan an early retirement?
Does it account for tax on withdrawals?
What should I change first if there is a shortfall?
Why does my money run out before the age I planned for?
Can I use a currency other than dollars?
Is anything I type saved or sent to a server?
Related Tools
Income Tax Calculator
Estimate US federal income tax, refund position, and effective rate.
Take Home Pay Calculator
See net pay per paycheck after federal tax, FICA, state tax, and deductions.
Salary Calculator
Convert salary between hourly, monthly, annual.
Auto Loan Calculator
Work out your monthly car payment, total interest, and payoff date.
Percentage Calculator
Work out what percent of a number, what percent one number is of another, percentage increase and decrease, and discounts or markups. Five calculators on one page.
Compound Interest Calculator
See how savings and investments grow with compound interest. Add regular deposits, pick a compounding frequency, and read the year-by-year balance breakdown.
The Retirement Calculator is maintained by CodeItBro. We aim to provide the best free developer tools on the web. If you have feedback or suggestions, please visit our contact page.

