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
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.
- 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.
- 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.
- 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.
- Enter years to retirement as the time until contributions stop, and the target retirement balance you have worked out from your spending need.
- 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.
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.
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.
Frequently asked questions.
Should my retirement target be in today's dollars or future dollars?
How do I turn a spending goal into a target balance?
What expected return should I use?
I contribute monthly from my paycheck. Does the end-of-year assumption understate my balance?
How much more would I need to save each year to close the gap?
Should Social Security or a pension be added to current savings?
Does a surplus mean I can stop saving?
Is a balance in a pre-tax 401(k) worth as much as the same balance in a Roth IRA?
Does the order of returns matter while I am still saving?
What does the projection look like with no growth at all?
References& sources.
- [1]U.S. SEC Investor.gov, Stocks; shares, market value and corporate actions. Retrieved 2026-08-07.
- [2]U.S. Social Security Administration. Plan for retirement. Retrieved 2026-08-07.
- [3]U.S. Internal Revenue Service. Publication 590-B, Distributions from Individual Retirement Arrangements. Retrieved 2026-08-07.
- [4]U.S. Securities and Exchange Commission. Investor.gov: Assessing your risk tolerance. Retrieved 2026-08-07.
- [5]U.S. Securities and Exchange Commission. Investor.gov compound interest calculator. Retrieved 2026-08-07.
How this page was produced
- Published by
- Quanta Calculator
- Overseen by
- Daniel, Quanta Calculator Researcher
- 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.
In this category
Embed
Quanta Pro
Paid features are coming later.
- All 1560 calculators remain free
- No billing is enabled