CalcOpenly

Retirement calculator

Calculate how much you need to retire on inflation-adjusted expenses, the monthly saving that gets you there, and how the money runs down.

Updated Checked against 4 worked examples

years
years
years
Planning to a later age covers the risk of outliving your savings
$
What your retirement lifestyle would cost per month at today's prices
%
%
%
$
Try
Corpus needed at retirement
$
Corpus needed at retirement: $2,314,301.01
Shown to 2 decimal places, half-even
Monthly savings needed
$1,644.20
Monthly expenses when you retire
$9,709.05
Current savings grown to retirement
$380,612.75
Gap to fill by saving
$1,933,688.26
Corpus in today's money
$953,461.37
Years until retirement
30
Years in retirement
25

To draw $9,709.05 a month from age 60 (today's $4,000.00 after 30 years of inflation), rising with inflation until 85, you need $2,314,301.01 at retirement — $953,461.37 in today's money. Saving $1,644.20 a month on top of your current savings gets you there.

Savings build up, then run down through retirement

$0$500K$1M$1.5M$2M304050607080AgeRetire at 60Corpus needed
Year-by-year plan (55 rows)
AgePhaseSavedWithdrawnGrowthBalance
31Saving$19,730.42$0.00$4,240.38$73,970.80
32Saving$19,730.42$0.00$5,918.34$99,619.56
33Saving$19,730.42$0.00$7,713.75$127,063.74
34Saving$19,730.42$0.00$9,634.84$156,429.00
35Saving$19,730.42$0.00$11,690.41$187,849.84
36Saving$19,730.42$0.00$13,889.87$221,470.13
37Saving$19,730.42$0.00$16,243.29$257,443.84
38Saving$19,730.42$0.00$18,761.45$295,935.72
39Saving$19,730.42$0.00$21,455.88$337,122.02
40Saving$19,730.42$0.00$24,338.92$381,191.37
How it's calculated S
  1. Time frame

    Y=60−30=30 years to save,H=85−60=25 years retiredY = 60 - 30 = 30\ \text{years to save},\quad H = 85 - 60 = 25\ \text{years retired}
  2. Monthly expenses when you retire

    ER=4,000×(1+0.03)30=9,709.05E_R = 4{,}000 \times (1 + 0.03)^{30} = 9{,}709.05
  3. Monthly rates

    g=(1+0.03)1/12−1=0.002466269772,j=(1+0.05)1/12−1=0.004074123784g = (1 + 0.03)^{1/12} - 1 = 0.002466269772,\quad j = (1 + 0.05)^{1/12} - 1 = 0.004074123784

    Effective monthly rates, so twelve months compound exactly to the yearly rate.

  4. Corpus needed (growing withdrawals at the start of each month)

    Corpus=9,709.05×1−(1.03/1.05)251−q=2,314,301.01,q=0.99839867\text{Corpus} = 9{,}709.05 \times \frac{1 - (1.03/1.05)^{25}}{1 - q} = 2{,}314{,}301.01,\quad q = 0.99839867

    Present value at retirement of 12H withdrawals that rise with inflation, discounted at the retirement return.

  5. What your current savings grow to

    50,000×(1+0.07)30=380,612.7550{,}000 \times (1 + 0.07)^{30} = 380{,}612.75
  6. Monthly saving to close the gap

    P=1,933,688.26[(1+i)360−1i](1+i)=1,644.20,i=0.005654145387P = \frac{1{,}933{,}688.26}{\left[\frac{(1+i)^{360} - 1}{i}\right](1+i)} = 1{,}644.20,\quad i = 0.005654145387

    Deposits at the start of each month, earning the pre-retirement return.

About the retirement calculator

The plan works backwards from spending. Today's monthly expenses are grown by inflation to the retirement date. The corpus is the value at retirement of withdrawals that start at that amount and rise with inflation every month until the planning age, discounted at the return you expect during retirement. Your current savings are grown to retirement, and a monthly saving, invested at the start of each month, closes the rest of the gap.

With the defaults, age 30, retiring at 60 and planning to 85, expenses of 4,000 a month become 9,709.05 at 3% inflation. Funding 25 years of rising withdrawals at a 5% return needs a corpus of 2,314,301.01, or 953,461.37 in today's money. The 50,000 already saved grows to 380,612.75 at 7%, and saving 1,644.20 a month covers the rest.

Returns and inflation are held constant. Taxes, pensions and Social Security are not modeled, so subtract any guaranteed income from the expenses before you enter them.

How the corpus is calculated, step by step

Take someone aged 35 who wants to retire at 65 and plan to 90, on 3,000 a month at today's prices, with 2.5% inflation, a 6% return while saving, 4% during retirement and 40,000 already saved.

  1. Spending at retirement: 3,000 × 1.025^30 = 6,292.70 a month.
  2. Monthly rates that compound exactly to the yearly ones: g = 1.025^(1/12) − 1 = 0.20598% for inflation and j = 1.04^(1/12) − 1 = 0.32737% for the return.
  3. Ratio of one month's withdrawal to the next, in present-value terms: q = (1 + g) ÷ (1 + j) = 0.998790. Over 300 months, q^300 = (1.025 ÷ 1.04)^25 = 0.695446.
  4. Corpus, the sum of 300 rising withdrawals discounted to age 65: 6,292.70 × (1 − 0.695446) ÷ (1 − 0.998790) = 1,583,935.15.
  5. Current savings at 65: 40,000 × 1.06^30 = 229,739.65, leaving a gap of 1,354,195.51.
  6. Monthly saving: the gap divided by the value of 360 start-of-month deposits of 1 at i = 1.06^(1/12) − 1, which is 979.2565, gives 1,382.88.

At today's prices the corpus is 755,129.50. It is also 21.0 times a year of spending at the first month's rate (12 × 6,292.70 = 75,512.43), and that multiple is what rules of thumb such as the 4% rule state.

Corpus as a multiple of annual spending

The corpus depends on only two things once spending is fixed: the years in retirement and the real return, which is (1 + return) ÷ (1 + inflation) − 1. The worked example's 4% return and 2.5% inflation give 1.46% real. The table shows the corpus as a multiple of 12 first-month withdrawals, for withdrawals that rise with inflation and are taken at the start of each month:

Years in retirement0% real1% real2% real3% real4% real
2020.018.116.515.113.9
2525.022.119.717.716.0
3030.025.922.619.917.7
3535.029.625.321.819.1
4040.033.027.723.520.2

Dividing 1 by the multiple gives the first-year withdrawal rate. The 4% rule's multiple of 25 funds 30 years only if the portfolio earns a steady 1.27% above inflation, or 40 years at 2.61%. That is well below what stocks and bonds have averaged, and the gap is deliberate, as the next section explains.

The 4% rule: where it comes from and where it breaks

William Bengen, a financial planner, tested withdrawal rates against actual US returns and inflation for retirements starting in each year from 1926 (Journal of Financial Planning, October 1994, reprinted 2004). His portfolio was half common stocks and half intermediate-term Treasury notes, continually rebalanced, with all assets in tax-deferred accounts. A first-year withdrawal of 3%, raised with inflation each year, never lasted less than 50 years. At 4% no portfolio ran out in under 33 years, while 4.25% could run out in 28.

The paper opens with a fictional planner who expects a 60/40 portfolio to keep earning its historical 8.2% a year, subtracts 3% inflation and lets clients draw the 5% real return. Bengen calls that a fallacy: average returns and average inflation are not a sound basis for a safe withdrawal rate, because a severe market fall combined with high inflation can drain a portfolio first. In his data, people who retired in the late 1960s and early 1970s would have had only about 20 years of income at 5%, after the 1973–74 crash hit during high inflation. This calculator also assumes constant averages, so treat its corpus as a minimum and use a cautious return for the retirement years.

The rule has limits of its own:

  • It rests on one country's history, and nothing guarantees future returns will match it.
  • It ignores fees and taxes. A 1% yearly fee comes straight off the return, which can move you a full column to the left in the table above.
  • It targets 30 years. Someone retiring at 50 who plans to 95 needs 45 years, and at 2% real even 40 years needs 27.7 times spending, a 3.6% first-year rate.

What today's spending will cost later

Inflation compounds exactly like interest. What 1,000 a month of spending today will cost:

InflationAfter 10 yearsAfter 20 yearsAfter 30 yearsAfter 40 years
2%1,218.991,485.951,811.362,208.04
3%1,343.921,806.112,427.263,262.04
4%1,480.242,191.123,243.404,801.02
6%1,790.853,207.145,743.4910,285.72

Central bank targets give a starting point for the inflation field. The US Federal Reserve, the Bank of England and the European Central Bank target 2%. The Reserve Bank of India targets 4% CPI inflation within a 2% to 6% band, a target the government retained in March 2026 for April 2026 to March 2031. Targets are not forecasts: US consumer prices rose 3.4% in the year to August 2026 (BLS CPI). A plan that holds up at a point or two above target is safer than one built on the target itself.

Monthly saving needed for every 1,000,000

The saving required to build 1,000,000, deposited at the start of each month from zero, at three yearly returns:

Years to retirement4% return6% return8% return
106,794.586,125.045,516.23
154,074.023,468.512,943.09
202,739.482,194.691,746.24
251,958.811,471.501,093.09
301,454.521,021.18705.41
351,107.59724.49463.75
40858.47521.66308.47

Scale by your own gap: a 1,354,195.51 gap over 30 years at 6% needs 1.3542 × 1,021.18 = 1,382.88 a month, the worked example's answer. In this table, starting ten years earlier cuts the monthly amount by 41% to 68%.

Mistakes that distort the plan

  • A retirement return copied from the saving years. If you will hold more bonds and cash once withdrawals start, the return during retirement should sit below the return before it.
  • Returns quoted before fees. Enter what you expect to keep.
  • A planning age set at life expectancy. Life expectancy is an average, so many people live past it. Plan to an age you are unlikely to pass.
  • A pension that starts after you retire. UK State Pension age is 66 for people born before 6 April 1960 and rises to 67 between 2026 and 2028. If you stop work before your pension starts, run the plan once with full expenses for the gap years and again with expenses net of the pension from the date it begins.

To turn the monthly saving into a fund investment plan with yearly increases, use the SIP calculator. The inflation calculator converts any figure between today's money and future money, and the savings goal calculator solves for the time needed at a saving you can afford.

Worked examples

Age 30, retire at 60, plan to 85

Current age
30 years
Retirement age
60 years
Plan until age
85 years
Monthly expenses today
4000
Inflation (per year)
3%
Return before retirement (per year)
7%
Return during retirement (per year)
5%
Savings so far
50,000
Corpus needed at retirement
2,314,301.01
Monthly savings needed
1,644.20
Monthly expenses when you retire
9,709.05
Current savings grown to retirement
380,612.75
Corpus in today's money
953,461.37

Checked against: Python decimal (prec 50) month-by-month sum of discounted start-of-month withdrawals, and a simulated start-of-month deposit schedule

Return in retirement equals inflation

Current age
40 years
Retirement age
60 years
Plan until age
80 years
Monthly expenses today
1000
Inflation (per year)
6%
Return before retirement (per year)
8%
Return during retirement (per year)
6%
Savings so far
0
Corpus needed at retirement
769,712.51
Corpus in today's money
240,000.00
Monthly savings needed
1,344.10

Checked against: Python decimal: when return = inflation the corpus is 240 months × first withdrawal 1000 × 1.06²⁰ = 769,712.51; 240,000 in today's money

All rates zero

Current age
50 years
Retirement age
60 years
Plan until age
70 years
Monthly expenses today
2000
Inflation (per year)
0%
Return before retirement (per year)
0%
Return during retirement (per year)
0%
Savings so far
40,000
Corpus needed at retirement
240,000.00
Gap to fill by saving
200,000.00
Monthly savings needed
1,666.67

Checked against: Hand calculation: 2000 × 120 months = 240,000; (240,000 − 40,000) / 120 = 1,666.67

Existing savings already cover the plan

Current age
55 years
Retirement age
65 years
Plan until age
75 years
Monthly expenses today
1000
Inflation (per year)
2%
Return before retirement (per year)
5%
Return during retirement (per year)
4%
Savings so far
500,000
Corpus needed at retirement
133,060.93
Current savings grown to retirement
814,447.31
Gap to fill by saving
0.00
Monthly savings needed
0.00

Checked against: Python decimal month-by-month model: 500,000 × 1.05¹⁰ = 814,447.31 exceeds the 133,060.93 needed

Questions

How much money do I need to retire?

Enough to fund your spending, rising with inflation, for as long as you plan to live. The default plan, 4,000 a month in today's money for 25 years from age 60, needs 2,314,301.01 at retirement (953,461.37 in today's money) with a 5% return and 3% inflation. Planning to age 95 instead of 85 raises the corpus to 2,970,163.44.

What is the 4% rule for retirement?

Withdraw 4% of your savings in the first year of retirement, then raise the amount with inflation each year. William Bengen (Journal of Financial Planning, October 1994) found that this rate lasted at least 33 years in the historical US returns he tested. By that rule, spending 48,000 a year needs 48,000 ÷ 0.04 = 1,200,000 at retirement.

How much can I put in a 401(k) and an IRA in 2026?

For 2026 the IRS limits are $24,500 for a 401(k) and $7,500 for an IRA. Workers 50 and over can add a catch-up of $8,000 to a 401(k), or $11,250 at ages 60 to 63, and $1,100 to an IRA. Contributing the full $24,500 is about 2,041.67 a month, more than the 1,644.20 the default plan needs.

How does retiring later change how much I need to save?

Retiring later adds years of saving and growth and removes years of withdrawals. In the default plan, retiring at 65 instead of 60 cuts the monthly saving from 1,644.20 to 993.81, while retiring at 55 raises it to 2,566.99. In the US, full retirement age for Social Security is 67 for anyone born in 1960 or later.

How does inflation affect retirement planning?

It raises both the first withdrawal and every later one. With the other defaults fixed, 2% inflation needs a corpus of 1,548,135.00 and 992.74 a month of saving; 3% needs 2,314,301.01 and 1,644.20; 4% needs 3,462,902.56 and 2,620.85. One percentage point of inflation either way changes the monthly saving by about 40% to 60% here.

How accurate is the retirement calculator?

Accuracy depends on your inputs and the method's assumptions. Decimal arithmetic uses 50 significant digits, but estimates, numerical methods and source data can be less precise; the displayed rounding does not remove those limits. It is checked against 4 worked examples whose answers come from independent sources; for example, “Age 30, retire at 60, plan to 85” is checked against Python decimal (prec 50) month-by-month sum of discounted start-of-month withdrawals, and a simulated start-of-month deposit schedule.

Where does the method come from?

Brealey, Myers & Allen — Principles of Corporate Finance, ch. 2 (growing annuities); Microsoft Excel FV and PMT functions (type = 1, payments at the start of each period).

About this calculator

Corpus=ER 1−q12H1−q,q=1+g1+j,ER=E(1+π)Y\text{Corpus} = E_R\,\frac{1 - q^{12H}}{1 - q},\quad q = \frac{1+g}{1+j},\quad E_R = E(1+\pi)^{Y}

Sources

  1. Brealey, Myers & Allen — Principles of Corporate Finance, ch. 2 (growing annuities)
  2. Microsoft Excel FV and PMT functions (type = 1, payments at the start of each period)

For planning only. Lenders, tax authorities and markets apply their own rounding, fees and rules; confirm figures with them before you commit.

Checked against references

4 worked examples with independently sourced answers ship with this calculator. They run in the test suite; you can run them here too.

Related calculators

Allow optional Google Analytics to measure page visits? Calculators work either way. Privacy and choices

Optional analytics: off.