Audited 05 Aug 2026·Last updated 28 Oct 2026·5 citations·Tier 1·0 uses

Retirement Shortfall Calculator

Project retirement savings from today's balance, yearly contributions, an expected return and years to go, then see the gap or surplus against your target.

Retirement Shortfall Calculator

$
%
years
$
Projected retirement shortfall
36,075.49
How far the projected balance falls short of your target on the retirement date, in dollars; zero when the projection meets or beats the target.
Projected retirement balance
1,463,924.51
Projected surplus above target
0.00

Background.

"Am I on track for retirement?" has no answer until it becomes two numbers: the balance your savings are heading for, and the balance you need on the day you stop working. The difference is the shortfall. Someone with $250,000 saved who adds $18,000 a year for 20 years at 6% is heading for about $1.46 million — close to a $1.5 million goal, yet roughly $36,000 short of it.

The projection grows two things. Today's balance compounds for every year until retirement, and each year's contribution compounds from the end of the year it goes in. Nothing else enters: no inflation, no taxes, no market swings, no fees beyond whatever you net out of the return. It is a straight line drawn through an uncertain future, and its real use is showing how far each lever moves the end point.

Those levers are far from equal. In the example, a return one percentage point lower (5%) turns the $36,000 gap into one of about $241,000, while one point higher (7%) produces a surplus of about $205,000. By comparison, saving an extra $981 a year closes the original gap exactly, and working one more year turns it into a surplus of about $70,000. The return you assume outweighs everything you control directly, so it deserves the most scrutiny, and a projection run at three rates tells you more than one run at your favourite.

The target is the other half of the comparison, and it is entirely your own figure. A target worked out in today's dollars and set against a projection in future dollars will flatter the plan; the questions further down show how to keep both on the same footing, and how a yearly spending need becomes a balance to aim for.

What is retirement shortfall calculator?

A retirement shortfall is the amount by which a projected retirement balance falls below a target balance on the planned retirement date: target minus projected balance, never less than zero. When the projection beats the target, the excess is reported as a surplus and the shortfall reads zero, so only one of the two is ever positive. Both are lump sums needed on the first day of retirement, not yearly amounts. They are measured in retirement-year dollars when you enter a nominal return such as 6%, and in today's dollars when you enter a real, after-inflation return. A gap can be closed with larger contributions, a bigger starting balance, a longer horizon, a higher return or a lower target, and the calculator lets you test each of those in turn.

How to use this calculator.

  1. Enter current retirement savings as the combined balance of every account you intend to live on: 401(k) or 403(b), traditional and Roth IRAs, and any brokerage account set aside for retirement. Leave out home equity and emergency cash.
  2. For the end-of-year annual contribution, add up a full year of money going in, including any employer match. Deferring $1,000 a month with a 4% match on an $80,000 salary is $12,000 + $3,200 = $15,200.
  3. Set the expected annual return to a compound rate after fund fees. If your target is in today's dollars, enter a real return — expected return minus expected inflation — so both sides are measured in the same dollars.
  4. Enter years to retirement as the time until contributions stop, and the target retirement balance you have worked out from your spending need.
  5. Read the shortfall or surplus, then rerun with a return one or two points lower to see how much margin the plan really has.

The formula.

project current savings and end-of-year contributions, then compare the projected balance with the entered retirement target

The projected balance is B = P × (1 + r)ⁿ + C × [(1 + r)ⁿ − 1] ÷ r, where P is current savings, C the contribution made at the end of each year, r the annual return as a decimal and n the number of years. The first term is a single sum compounding for n years. The second is the future value of an ordinary annuity: the payment made at the end of year one compounds for n − 1 years, the payment in the final year not at all, and the bracketed fraction sums that geometric series in one step. At a return of exactly zero the fraction cannot be evaluated, so contributions are simply added up as C × n. The shortfall is max(T − B, 0) and the surplus max(B − T, 0), where T is the target. Because n sits in an exponent, time and return dominate: at 6% over 20 years each extra dollar contributed yearly is worth $36.79 at retirement, and each extra dollar saved today is worth $3.21. One fixed return is applied every year, so the model is silent on volatility, and an average return that swings around compounds to less than the same average earned smoothly. Returns from −99% to 100% and horizons from 1 to 100 years are accepted.

A worked example.

Example

Take the defaults: $250,000 saved, $18,000 added at the end of each year, a 6% annual return, 20 years to go and a $1,500,000 target. The existing balance grows by 1.06²⁰ = 3.2071, to $801,783.87. The contributions form an annuity whose factor is (1.06²⁰ − 1) ÷ 0.06 = 36.7856, and 36.7856 × $18,000 = $662,140.64 — of which $360,000 is money paid in and $302,140.64 is growth on it. Together the two parts give a projected retirement balance of $1,463,924.51. Set against the $1,500,000 target, the projected retirement shortfall is $36,075.49 and the surplus is zero. A gap this size can be closed several ways, and the factors above price each one. Dividing the shortfall by the annuity factor, $36,075.49 ÷ 36.7856 = $980.70, gives the extra yearly saving that lands exactly on target. Dividing by the growth factor, $36,075.49 ÷ 3.2071 = $11,248.51, gives the one-off deposit today that does the same. Paying the same $18,000 on the first day of each year instead of the last, with no new money at all, gives every payment one more year of growth and lifts the balance to $1,503,652.95. A return of about 6.16% instead of 6% would also close it — which shows how thin a $36,000 margin is against ordinary uncertainty about markets.

annual Benefit4,000
annual Ongoing Cost500
initial Cost20,000
annual Return Percent6
current Retirement Savings250,000
target Retirement Balance1,500,000
annual Contribution18,000
years To Retirement20

Frequently asked questions.

Should my retirement target be in today's dollars or future dollars?
Either works, provided the return matches. With a nominal return such as 6%, the projected balance is in retirement-year dollars, and a $1.5 million target compared on that basis is worth about $915,000 of today's spending power after 20 years of 2.5% inflation. If you derived the target from what you spend now, enter a real return instead — 6% less 2.5% inflation is roughly 3.4% — so both sides are in today's dollars. Pairing a today's-dollar target with a nominal return makes any plan look better than it is.
How do I turn a spending goal into a target balance?
Start with the yearly spending you expect in retirement, subtract guaranteed income such as Social Security or a pension, and divide what remains by a withdrawal rate. A household planning to spend $85,000 a year with $25,000 of Social Security needs $60,000 a year from savings; at a 4% first-year withdrawal rate that is $60,000 ÷ 0.04 = $1,500,000, the default target here. A more cautious 3.5% rate, suited to an early or unusually long retirement, raises the same need to about $1.71 million.
What expected return should I use?
A long-run compound rate for your actual mix of investments, after fund expenses and advisory fees. Two adjustments are easy to miss. A quoted average is often an arithmetic mean, which overstates growth when returns vary: +20% one year and −8% the next averages 6% but compounds at about 5.07% a year. And most people shift toward bonds as retirement approaches, so the last decade may earn less than the first. Running the projection at 4%, 5% and 6% gives a better picture than any single figure.
I contribute monthly from my paycheck. Does the end-of-year assumption understate my balance?
Slightly, yes. The formula assumes each year's money arrives on the last day of the year and earns nothing until the next. Twelve monthly payments of $1,500 at a 6% annual return are worth about $18,489.79 by year end rather than $18,000, which lifts the example's projected balance to about $1,481,941.82. Paying the whole $18,000 on the first day of each year lifts it to $1,503,652.95. Year-end timing is the conservative choice, so a small shortfall may partly reflect it.
How much more would I need to save each year to close the gap?
Divide the shortfall by the annuity factor, [(1 + r)ⁿ − 1] ÷ r. At 6% over 20 years the factor is 36.7856, so the example's $36,075.49 gap needs an extra $980.70 a year. For a single deposit today, divide by (1 + r)ⁿ instead — 3.2071 in the example, giving $11,248.51. Both factors shrink quickly as the horizon shortens: over 10 years at 6% the annuity factor is about 13.18, so each dollar of gap costs nearly three times as much in yearly saving.
Should Social Security or a pension be added to current savings?
No. They are income streams rather than balances you can draw down, and adding a lump-sum value for them to current savings would have it compounded at your investment return, which they do not earn. Count them on the target side instead, by subtracting the yearly benefit from your spending need before converting the remainder into a balance. An online my Social Security account at ssa.gov shows benefit estimates at different claiming ages, and the age you choose changes how much the portfolio has to cover.
Does a surplus mean I can stop saving?
Not by itself. The surplus comes from one assumed return earned smoothly every year. In the example, 7% produces a surplus of about $205,000 and 5% a shortfall of about $241,000, a spread roughly twelve times the default gap. A surplus that survives a projection run one or two points below your central estimate is a much stronger signal than one that appears only at the rate you hope for.
Is a balance in a pre-tax 401(k) worth as much as the same balance in a Roth IRA?
No, and the projection treats them alike. Withdrawals from a traditional 401(k) or IRA are taxed as ordinary income, and required minimum distributions start at age 73, so $1.5 million of pre-tax money supports less spending than $1.5 million in a Roth IRA, whose qualified withdrawals are tax-free and which requires no distributions during the owner's lifetime. If most of your savings are pre-tax, aim for a higher target or plan around the after-tax amount you expect to keep.
Does the order of returns matter while I am still saving?
It does once money is being added. A single lump sum ends at the same value whatever order its returns arrive in, but contributions make the balance larger in later years, so late returns act on more money. Starting with $100,000 and adding $50,000 at the end of each of two years, a −20% year followed by +30% ends at $219,000, while +30% followed by −20% ends at $194,000. A single average rate cannot show this, and it bites hardest in the last few years before retirement.
What does the projection look like with no growth at all?
At a 0% return it is simply today's balance plus the contributions: $250,000 + 20 × $18,000 = $610,000 in the example. That is a useful reference point, because it shows how much of the plan rests on investment growth — here $853,924.51, more than half of the projected $1.46 million. Negative rates are accepted too, but they apply the same loss every year for the whole horizon, so they describe a long decline rather than a single crash.

How this page was produced

Published by
Quanta Calculator
Primary sources
5 cited below
Method
project current savings and end-of-year contributions, then compare the projected balance with the entered retirement target
Published
Last verified

Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.

Embed

Quanta Pro

Paid features are coming later.

  • All 1560 calculators remain free
  • No billing is enabled
Coming soon