Retirement Calculator

This page does three constant-return calculations. Nest-egg mode finds the present value of a level annual withdrawal over a stated number of years at a real annual return you type. Savings mode projects a current balance and a monthly addition forward with the same month-by-month compound engine as the compound-interest calculator. Gap mode runs both and subtracts. Figures are estimates only. They are not a forecast, a pension quote, a Social Security estimate, or investment, tax or retirement advice. Fees, tax, inflation as a separate series, guaranteed income and sequence-of-returns risk are omitted. Confirm any plan with a qualified adviser.

By Rashid MehmoodLast updated and reviewed Free, no sign-up

Retirement calculator

%
%
–

How to use the retirement calculator – nest egg, savings and gap

  1. Choose need, savings, or both. Need asks for an annual withdrawal, years in retirement and a real return. Savings asks for a current balance, a monthly addition, years until retirement and a return while saving. Gap uses both sets.
  2. Type rates as percents you are willing to assume. The page will not invent a market return or an inflation rate. If you want a real nest-egg result, enter today’s spending and a real return, not a nominal return plus a hidden inflation guess.
  3. Read the gap as arithmetic, not a plan. A shortfall or surplus is the difference between two constant-return models. It is not a recommendation to save more, retire later, or buy a product.
Embed this calculator

Paste this iframe on your own site. The embed view already includes a visible “Calculator by CalcTen” credit, which must stay visible. See the developers page for the conditions.

Formulas on this page

The nest-egg figure is the present value of an ordinary annuity. For an annual withdrawal W, n years and a constant real return r (as a decimal):

need = W × (1 − (1 + r)^−n) / r,

or need = W × n when r is zero. That identity answers a narrow question: how large a pot, growing at a constant real rate, can pay a level amount at the end of each year and reach about zero after n payments. It does not say that markets will deliver r, or that you will live exactly n years.

The savings projection is not a closed-form future-value shortcut. It reuses CalcTen’s existing growth engine: a nominal annual rate compounded monthly, with the monthly addition applied at the end of each month. Because the same function powers the compound-interest and investment calculators, a shared example will agree across those pages.

Gap mode subtracts the projected balance from the nest-egg estimate. A positive difference is labelled a shortfall; a negative difference is labelled a surplus. Both labels describe the arithmetic, not a judgement about whether you should retire.

What is deliberately left out

No Monte Carlo range, no historical sequence-of-returns test, no fee schedule, no tax wrapper, no required minimum distribution, and no official benefit table. Inflation is not applied as a second series. If you need a real result, type a real return and today’s prices. If you need a nominal result, type a nominal return and a withdrawal that already includes the inflation you want to assume.

Workplace 401(k) and IRA contribution limits are handled on their own pages, with the official 2026 IRS figures cited there. This calculator will accept any monthly addition you type, including zero, without checking a statutory cap.

Worked figures

  • Withdrawal 40,000 a year for 25 years at a 3% real return: nest egg ≈ 696,525.91.
  • A zero real return for the same withdrawal and term: nest egg = 1,000,000.
  • The savings mode is the same identity as the compound-interest calculator on a shared deposit, rate and term.

Copy result, Copy link and Reset work as on the other GenericCalc tools. Report a mistake from the about box if a nest-egg figure disagrees with the annuity identity above.

Frequently asked questions

How large a nest egg supports 40,000 a year for 25 years at a 3% real return?

About 696,525.91. That is the present value of a level annual withdrawal: 40,000 × (1 − 1.03^−25) / 0.03. It assumes the withdrawal is taken at the end of each year and the return is constant. It is not a safe-withdrawal rule.

Is this the “4% rule”?

No. This page does not apply a withdrawal rule, a success rate or a historical back-test. If you want to spend 4% of a pot, type that annual amount yourself. The engine will not invent the rule or claim that any rate is safe.

How is the savings projection calculated?

The same month-by-month compound growth used on the compound-interest calculator: a quoted annual return, monthly steps, and an addition at the end of each month. A constant rate is an assumption, not a prediction.

Does this include Social Security or a workplace pension?

Not automatically. If you already expect a fixed annual income, you can lower the withdrawal you type by that amount. This page does not look up Social Security or pension benefits and will not invent them.

What return should I type?

That is your assumption. This page has no default market forecast. A higher typed return shrinks the nest egg and grows the projection; it also increases the chance that a real path will miss the model. Use a figure you can defend, and treat the output as a sketch.

Is this retirement advice?

No. It is arithmetic on the numbers you type. Longevity, healthcare costs, tax, fees, required distributions and investment risk are not modelled. Speak to a qualified adviser and, where relevant, the official Social Security or pension administrator.

Sources and references

About this calculator

Written and maintained by Rashid Mehmood, founder of CalcTen. The formulas are unit-tested against hand-worked examples, and the content is reviewed whenever product sizes or guidance change. Last updated and reviewed 15 November 2026. See our editorial policy. If you spot a mistake, report it.

This calculator gives general information and is not financial, tax or investment advice. It assumes a fixed rate and ignores fees, taxes and inflation, and real products differ. Check the terms with your bank or lender before making decisions. Read the disclaimer.

Calculator by CalcTen — free online calculators.