📚 Math in Society
⇩ Download ▾

9.4 Annuities

For most of us, we aren’t able to put a large sum of money in the bank today. Instead, we save for the future by depositing a smaller amount of money from each paycheck into the bank. This idea is called a savings annuity. Most retirement plans like 401k plans or IRA plans are examples of savings annuities.

An annuity can be described recursively in a fairly simple way. Recall that basic compound interest follows from the relationship

P m = ( 1 + r k ) P m 1

For a savings annuity, we simply need to add a deposit, d, to the account with each compounding period:

P m = ( 1 + r k ) P m 1 + d

Taking this equation from recursive form to explicit form is a bit trickier than with compound interest. It will be easiest to see by working with an example rather than working in general.

Suppose we will deposit $100 each month into an account paying 6% interest. We assume that the account is compounded with the same frequency as we make deposits unless stated otherwise. In this example:

r=0.06 (6%)

k=12 (12 compounds/deposits per year)

d=$100 (our deposit per month)

Writing out the recursive equation gives

P m = ( 1 + 0.06 12 ) P m 1 + 100 = ( 1.005 ) P m 1 + 100

Assuming we start with an empty account, we can begin using this relationship:

P 0 = 0

P 1 = ( 1.005 ) P 0 + 100 = 100

P 2 = ( 1.005 ) P 1 + 100 = ( 1.005 ) ( 100 ) + 100 = 100 ( 1.005 ) + 100

P 3 = ( 1.005 ) P 2 + 100 = ( 1.005 ) ( 100 ( 1.005 ) + 100 ) + 100 = 100 ( 1.005 ) 2 + 100 ( 1.005 ) + 100

Continuing this pattern, after m deposits, we’d have saved:

P m = 100 ( 1.005 ) m 1 + 100 ( 1.005 ) m 2 + + 100 ( 1.005 ) + 100

In other words, after m months, the first deposit will have earned compound interest for m1 months. The second deposit will have earned interest for m­2 months. Last months deposit would have earned only one month worth of interest. The most recent deposit will have earned no interest yet.

This equation leaves a lot to be desired, though – it doesn’t make calculating the ending balance any easier! To simplify things, multiply both sides of the equation by 1.005:

1.005 P m = 1.005 ( 100 ( 1.005 ) m 1 + 100 ( 1.005 ) m 2 + + 100 ( 1.005 ) + 100 )

Distributing on the right side of the equation gives

1.005 P m = 100 ( 1.005 ) m + 100 ( 1.005 ) m 1 + + 100 ( 1.005 ) 2 + 100 ( 1.005 )

Now we’ll line this up with like terms from our original equation, and subtract each side

1.005 P m = 100 ( 1.005 ) m + 100 ( 1.005 ) m 1 + + 100 ( 1.005 ) P m = 100 ( 1.005 ) m 1 + + 100 ( 1.005 ) + 100

Almost all the terms cancel on the right hand side when we subtract, leaving

1.005 P m P m = 100 ( 1.005 ) m 100

Solving for Pm

0.005 P m = 100 ( ( 1.005 ) m 1 )

P m = 100 ( ( 1.005 ) m 1 ) 0.005

Replacing m months with 12N, where N is measured in years, gives

P N = 100 ( ( 1.005 ) 12 V 1 ) 0.005

Recall 0.005 was rk and 100 was the deposit d. 12 was k, the number of deposit each year. Generalizing this result, we get the saving annuity formula.

If the compounding frequency is not explicitly stated, assume there are the same number of compounds in a year as there are deposits made in a year.

For example, if the compounding frequency isn’t stated:

If you make your deposits every month, use monthly compounding, k=12.

If you make your deposits every year, use yearly compounding, k=1.

If you make your deposits every quarter, use quarterly compounding, k=4.

Etc.

Adapted from Math in Society by David Lippman, hosted on LibreTexts (math.libretexts.org) and licensed under CC BY-SA 3.0. Changes were made. License: CC-BY-SA-3.0.

These eBooks are a prerelease and are not yet certified conformant with WCAG 2.1 AA or ADA Title II. Every page is built against an automated accessibility gate, and the published editions will meet ADA Title II requirements when they release in late September 2026. If something is unusable, please tell us.