Retirement Calculator

Find out if you are on track for retirement, and how long your savings will last.

Written and reviewed by Arslan SarwarUpdated General information, not financial advice
At retirement$2,621,512
years
years
$
$
%
As a percentage of your own contribution, e.g. 50% means a $0.50 match per $1.

Assumptions

%
%
Usually lower, reflecting a more conservative portfolio.
%
$
In today's money: this calculator inflates it to your retirement date.
years

Your retirement outlook

Balance at retirement

$2,621,512

Behind target

Total contributed

$376,000

Employer match

$168,000

Target portfolio

$3,383,276

Shortfall

$761,764

At this rate, your savings are projected to run out at age 84.

Savings growth before retirement

Over 35 ages, contributions grow to $544,000 and investment growth adds $2,077,512, for a total of $2,621,512.

Portfolio balance during retirement

Balance goes from $2,575,314 to $0.

"Am I saving enough for retirement?" is really two questions: how much will you have, and how much will you need. This calculator answers both, and then goes a step further by simulating what happens after retirement, when your portfolio switches from growing to being drawn down.

How to Use This Retirement Calculator

Enter your current age, planned retirement age, current savings, and monthly contribution, along with any employer match as a percentage of your own contribution (a 50% match on an $800 contribution adds $400 a month). In the assumptions section, set your expected returns before and after retirement (often lower after, reflecting a more conservative portfolio), inflation, your desired annual income in retirement in today's dollars, and the age you want your plan to cover.

How This Calculator Determines If You're "On Track"

First, it projects your balance forward to your retirement date using your contributions, employer match, and expected pre-retirement return. Separately, it takes your desired income (entered in today's dollars) and inflates it to what that same purchasing power will cost by your retirement date. From there, it calculates the lump sum needed at retirement to fund that inflating income stream for every year until your planned life expectancy, given your expected post-retirement return. If your projected balance meets or exceeds that target, you're on track.

Retirement Formulas

Balance each month = Balance × (1 + Rpre / 12) + C × (1 + M)
Income at retirement = D × (1 + g)^Y
Target = Income × [ 1 − ((1 + g) / (1 + Rpost))^N ] / (Rpost − g) × (1 + Rpost)
  • Rpre and Rpost are your expected annual returns before and after retirement, as decimals.
  • C is your monthly contribution and M is the employer match as a decimal (50% is 0.5).
  • D is your desired annual income in today's dollars, g is the inflation rate, and Y is the number of years until retirement.
  • N is the number of years from retirement to your life expectancy.

The third line is the present value of a growing annuity due: the lump sum that can pay an income rising with inflation each year for N years, with each withdrawal taken at the start of the year, while the unspent balance keeps earning the post-retirement return. When the post-retirement return equals inflation, the target is simply income × N.

Why the Drawdown Phase Matters

A portfolio in retirement is simultaneously growing (from continued investment return) and shrinking (from withdrawals that themselves rise with inflation each year). Whether the money lasts depends on the balance between those two forces, which is why this calculator simulates retirement year by year rather than applying a flat withdrawal-rate rule. Each year's withdrawal is taken at the start of the year and the remainder grows at your post-retirement return. If withdrawals outpace growth, it reports the age your money is projected to run out.

Example Calculation

Take someone aged 30 with $40,000 saved, contributing $800 a month with a 50% employer match, expecting 7% before retirement and 5% after, 3% inflation, and a $60,000 income in today's dollars through age 90.

By 65 the projected balance is $2,621,511.60. Of that, $376,000 is their own money (including the $40,000 starting balance), $168,000 is employer match, and the rest is investment growth. But 35 years of 3% inflation turns the $60,000 income goal into $168,831.75 a year at retirement, and funding that rising income for 25 years requires $3,383,275.60. The plan is $761,764.00 short, and the year-by-year simulation projects the money running out at age 84.

Small changes move the result a lot. Retiring at 67 instead lifts the balance to $3,045,047.04 and shrinks the shortfall to $316,285.70, with the money lasting to 88. Without the employer match, the balance at 65 is only $1,901,089.75, and the money runs out at 78.

What Affects Your Retirement Outlook

  • Time until retirement: more years means more compounding on both your contributions and your employer's match.
  • Return assumptions: small changes to expected return compound significantly over a multi-decade horizon.
  • Desired retirement income: a higher target requires a proportionally larger portfolio to sustain it through a full retirement.
  • Inflation: it raises both the income you'll need and every year's withdrawal. The Federal Reserve aims for 2% inflation over the longer run; the 3% default builds in a margin above that.
  • Life expectancy: planning to 95 instead of 90 raises the target in the example to $3,885,709.26, because the income must last five more years.

Common Mistakes to Avoid

  • Entering desired income in future dollars. The calculator inflates the figure for you. Entering $168,000 when you mean $60,000 in today's money would count inflation twice.
  • Contributing less than the full employer match. A match is effectively a guaranteed return. In the example it's the difference between running out at 78 and at 84.
  • Using the same return before and after retirement without thinking. Many retirees hold a more conservative mix once withdrawals begin. A lower post-retirement return is a more cautious assumption.
  • Planning only to average life expectancy. An average is just that: many people outlive it, and running out of money late in life is hard to fix. Test a later age to see how much more you'd need.
  • Treating the target as income replacement only. The desired income figure should cover everything your savings must fund. Subtract expected Social Security or pension income from it so the target reflects only what the portfolio has to provide.
  • Overlooking contribution limits. The IRS caps how much you can defer into a 401(k) each year ($24,500 for 2026) so a large planned contribution may need to be split across account types.

Sources

Frequently Asked Questions

How does this calculator know if I am "on track"?

It projects your balance at retirement, then works out the lump sum needed to fund your desired income for every year from retirement to your planned life expectancy, accounting for continued growth and inflation. If your projected balance meets or exceeds that target, you are on track.

What does an employer match do?

A match adds free money on top of your own contribution: entering 50%, for example, adds fifty cents for every dollar you contribute. That extra amount compounds alongside your own savings for the rest of your working years.

Why does desired income get inflated to my retirement date?

You enter your desired income in today's dollars because that's a figure you can reason about. The calculator then inflates it forward to what that same purchasing power will cost in nominal dollars by the time you retire, which is the number actually used to size your target portfolio.

What happens if my money runs out before life expectancy?

The calculator simulates your portfolio being drawn down year by year in retirement. If withdrawals exceed what the remaining balance can sustain, it reports the age at which the money is projected to run out, so you can see the shortfall clearly rather than assuming a flat 4% rule always works.

Why is the pre-retirement return higher than the post-retirement return by default?

Many people shift toward a more conservative, lower-risk portfolio as they approach and enter retirement to reduce the chance of a market downturn derailing withdrawals. You can set both rates equal if you plan to stay invested the same way throughout.