I'm trying to calculate how much money I'd have to put away each month for the next 20 years, to be able to withdraw 50,000 a year for 20 years after that (a retirement calculation).

The issue that's throwing me off is that the money will be annually compounded with 10% interest; and I'm not sure how to take that into account. I vagually understand there are formulas which allow compound interest with a changing principal, but I can't seem to make any I've come across work.

Note, I do need the formulas, not a calculator.

2 Answers 2


The equation is the same one used for mortgage amortization.

You first want to calculate the PV (present value) for a stream of $50K payments over 20 years at a10% rate.

Then that value is the FV (future value) that you want to save for, and you are looking to solve the payment stream needed to create that future value.

Good luck achieving the 10% return, and in knowing your mortality down to the exact year. Unless this is a homework assignment, which need not reflect real life.

Edit - as indicated above, the first step is to get that value in 20 years:

Present Value

The image is the user-friendly entry screen for the PV calculation. It walks you though the need to enter rate as per period, therefore I enter .1/12 as the rate. The payment you desire is $50K/yr, and since it's a payment, it's a negative number. The equation in excel that results is:


and the sum calculated is $431,769

Next you wish to know the payments to make to arrive at this number:

Payment calculation

In this case, you start at zero PV with a known FV calculated above, and known rate. This solves for the payment needed to get this number, $568.59

The excel equation is:


Most people have access to excel or a public domain spreadsheet application (e.g. Openoffice). If you are often needing to perform such calculations, a business finance calculator is recommended. TI used to make a model BA-35 finance calculator, no longer in production, still on eBay, used.

One more update- these equations whether in excel or a calculator are geared toward per period interest, i.e. when you state 10%, they assume a monthly 10/12%. With that said, you required a 20 year deposit period and 20 year withdrawal period. We know you wish to take out $4166.67 per month. The equation to calculate deposit required becomes - 4166.67/(1.00833333)^240= 568.59


Exact same answer, far less work. To be clear, this works only because you required 240 deposits to produce 240 withdrawals in the future.

  • It's actually for a client, but they were very specific when they said to copy somebody elses; I just wish they included the formulas...
    – Jess
    Jan 2, 2013 at 3:54

I've found the systems that seem to work.

Firstly, you need to find how much money is required to pay for the withdrawals after retirement, while still accruing interest. I couldn't seem to do this with an equation, but this bit of javascript worked:

var amount = 0;
for (var i = 0; i < yearsToLast; i++)
    amount += yearlyWithdrawl;
    amount /= interest + 1;

yearsToLast: Number of years of yearly withdrawals
yearlyWithdrawal: Amount to withdraw each year
interest: Decimal form of yearly compounding interest

Now that we have how much is required at the beginning of the retirement, to figure out how much to add yearly to hit this mark, you'd use:

(amount * interest) / ( (1 + interest) ^ yearsSaving - 1 )

amount: Previously found required amount to reach
interest: Decimal form of yearly compounding interest
yearsSaving: Number of years saving till amount needs to be hit

I hope this helps some other poor soul, because I could find squat on how to do this.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .