How to model the 4% retirement rule in Excel

This is not tax, legal, or lending advice. It is also not a forecast of what a portfolio will earn.

William Bengen, “Determining Withdrawal Rates Using Historical Data,” Journal of Financial Planning, October 1994, tested an initial withdrawal of four percent of the portfolio, with later withdrawals adjusted for inflation. In the historical cases in that article, the four percent rate lasted through the periods he measured, including a 30-year span. The PDF copy posted by the Financial Planning Association is Determining Withdrawal Rates Using Historical Data. This sheet does that arithmetic for one set of inputs. It does not rerun the historical test.

The workbook for a longer drawdown is the FIRE calculator.

Year 1 is four percent

The sample portfolio on January 1, 2026 is $1,000,000. Four percent of it is $40,000. That first-year dollar amount is the number later years adjust. They do not each take four percent of whatever the balance happens to be.

NPER
=B1*B2
=B1*B2B3
Year 1
AB
1Portfolio$1,000,000
2First-year rate4%
3Year 1$40,000
4Monthly$3,333.33
A picture of the sample, not a retirement plan. B2 stores 4% as 0.04. Year 1 is $40,000. Divided by 12, the monthly figure stores 3,333.333… and a currency format shows $3,333.33.
=1000000*0.04
=40000/12

The first result is 40000. The second is 3333.333…, with 3 repeating. A currency format shows $3,333.33. Twelve times that displayed monthly amount is $39,999.96, four cents under the year. Twelve times the stored value of 40000/12 is $40,000. Use the cell.

The 2026 COLA is one inflation step, not the rule

Bengen adjusted the dollar withdrawal for inflation after year 1. This sheet uses the 2026 Social Security cost-of-living adjustment as that sample rate. The Social Security Administration’s press release of October 24, 2025 announced a 2.8 percent benefit increase for 2026. The COLA history page lists January 2026 as 2.8 percent. Type it as 2.8% so the cell stores 0.028.

=40000*(1+0.028)
=41120/12

Year 2 is $41,120. The monthly figure stores 3426.666…, and a currency format shows $3,426.67. This is the inflation step for the second withdrawal. It is not a claim that a retiree receives Social Security, and it is not a claim that prices will rise 2.8 percent in a later year. The next year would multiply $41,120 by whatever inflation rate you type for that year. NPER cannot take a withdrawal that changes every year. It assumes one payment amount.

How long a flat $40,000 lasts

Leave inflation out and the withdrawal stays $40,000. NPER then returns how many periods it takes to reach a zero balance.

NPER
=NPER(B4,B1,-B2)
=NPER(B4,B1,-B2)B5
A flat $40,000 until the balance is zero
AB
1Withdrawal$40,000
2Portfolio$1,000,000
3
4Return0%
5Years25
6Return2%
7Years35.0028
A picture with no inflation adjustment and no new savings. At a 0% return the $1,000,000 lasts 25 years. At 2% it lasts 35.0028 years. The withdrawal stays $40,000 in every year.
=NPER(0, 40000, -1000000)
=NPER(0.02, 40000, -1000000)
=1000000/40000

At a 0% return the result is 25. One million divided by forty thousand is the same 25. At 2% the result is 35.002788…. A display of two decimals shows 35.00 and hides the fraction. The cell still holds it.

The amount already saved is negative, and the withdrawal is positive. That is the sign convention on the NPER page: money you put in and money you take out point opposite directions, so the years come back positive. Flip either sign and the result flips with it.

A 5% return on $1,000,000 is $50,000 in the first year. The withdrawal is $40,000, which is less than the earnings, so a flat withdrawal at that rate does not run the balance to zero.

=NPER(0.05, 40000, -1000000)

That is #NUM!. The rate and the payment never reach the goal of zero. A zero in the payment argument, with a goal above the starting balance, is the same error on the NPER page.

What is left after 30 years at the sample 5%

The 5% here is the sample rate on the FV page, the one that turns $8,000 and $300 a month into $97,096.31 over 15 years. It is not a market forecast. How to calculate compound interest in Excel uses that same rate.

Withdraw $40,000 at the end of each year, earn 5% on the balance, and leave the withdrawal flat. Excel’s default for FV is that end-of-period timing.

FV
=FV(B2,B3,B4,-B1)
=FV(B2,B3,B4,-B1)B5
Thirty years at the sample 5%
AB
1Start$1,000,000
2Annual return5%
3Years30
4Withdrawal$40,000
5Ending balance$1,664,388.48
6Balance CAGR1.71%
A picture of the FV page's 5% sample, applied to this portfolio. The withdrawal is at the end of each year. After 30 withdrawals the balance displays as $1,664,388.48. The CAGR of the starting balance to that ending balance displays as 1.71%.
=FV(0.05, 30, 40000, -1000000)
=1000000*1.05-40000
=(FV(0.05, 30, 40000, -1000000)/1000000)^(1/30)-1

After one year the balance is $1,010,000. After 30 years FV returns 1664388.47503…, which a currency format shows as $1,664,388.48. The account earned 5%. The balance did not, because $40,000 left each year.

xl.cagr on the starting balance and that ending balance is the growth of the balance, not the 5% the account earned. The full result is 0.0171269…, and a percent format with two decimals shows 1.71%. Pass the FV cell, not the rounded currency display. The name needs Microsoft 365, Excel 2024, or Excel for the web. Excel 2021 returns #NAME?. The power formula is the same rate in Excel 2010.

A withdrawal at the beginning of the year is the last argument of FV set to 1. That is a different balance, and it is not the figure in the picture. The picture stays on the default, payment at the end of the year.


Template for this article

FIRE Calculator

More from the blog