How to build a retirement calculator with inflation in Excel

The 2026 elective deferral is $24,500. The limits are IRS news release IR-2025-111, checked on November 20, 2026. This is not tax, legal, or investment advice. A later notice can change a number.

The workbook with the paycheck split and the 10-year picture is the retirement calculator. The match in the sample is 0%, because the sheet does not know your plan. The 5% rate is the sample already used on the compound-interest pages. It is not a forecast.

The last check is $942.25

ROUND of 24,500 / 26 is $942.31. Twenty-six of those cents are $24,500.06, six cents over the limit. The first 25 checks are $23,557.75. The last check is 24,500 − 23,557.75 = $942.25.

ROUND
=24500-942.31*25
=942.31*26B5
Under 50, 26 paychecks
AB
1Value
2Paychecks26
3Limit24500
4Rounded942.31
5Times 2624500.06
6First 2523557.75
7Last check942.25
ROUND of 24,500 divided by 26 is $942.31. Twenty-six of those is $24,500.06. The first 25 are $23,557.75. The last check is $942.25.

Age 50 and older adds the $8,000 catch-up, so the limit is $32,500 and each check is $1,250. Ages 60 to 63 add $11,250, so the limit is $35,750 and each check is $1,375. Those two divide evenly. The same split is on How to plan 401(k) contributions per paycheck in Excel.

Formula
=32500/26
=32500/26C4
Catch-up by age
ABCD
1Under 5050 and older60 to 63
2Catch-up0800011250
3Deferral245003250035750
4Per check942.3112501375
Age 50 and older is $32,500, which is $1,250 on each of 26 paychecks. Ages 60 to 63 are $35,750, which is $1,375 a check.

Ten deposits at 5% are $308,158.37

FV of 5%, 10 years, and a year-end deposit of −$24,500 is $308,158.37 on screen. The full value is 308,158.36712…. The growth factor (1.05) ^ 10 is 1.628894627. That is the same 10-year path as $1,000 growing to $1,628.894627, which xl.cagr and RRI both call 5%. RRI needs a starting value, and this annuity starts at 0, so the file uses RATE instead of RRI. RATE of 10 years, a deposit of −$24,500, and the balance cell returns 5.00%.

PMT of 5%, 10 years, a starting balance of 0, and the negative of that balance returns the $24,500 deposit. NPER of the same rate and deposit, aimed at that balance, returns 10 years. Both read the balance cell, not the rounded display.

FV
=FV(0.05,10,-24500)
=FV(0.05,10,-24500)B5
Ten year-end deposits
AB
1Value
2Rate5%
3Years10
4Deposit24500
5Balance308158.37
6Deposit back24500
7Earned0.05
A sample 5% and a match of 0%. The balance displays as $308,158.37. PMT and RATE read that cell and return $24,500 and 5%. NPER returns 10.

A different picture on the FV page is $8,000 already saved and $300 a month at 5% for 15 years, which is $97,096.31. This file does not store that plan.

3% inflation is made up

Today’s dollars divide the balance by (1.03) ^ 10. The result is $229,298.77. Four percent of the nominal balance is $12,326.33. The $40,000 first-year withdrawal on a $1,000,000 portfolio is a different sample.

FV
=308158.367120947/(1.03)^10
=308158.367120947/(1.03)^10B3
Inflation and a 4% draw
AB
1Value
2Balance308158.37
3Today's dollars229298.77
4First-year draw12326.33
Inflation of 3% is made up. Today's dollars are $229,298.77. Four percent of the nominal balance is $12,326.33. That is not the $40,000 draw on $1,000,000.

Template for this article

Retirement Calculator with Inflation

More from the blog