Skip to main content
Logo image

Section 3.4 Compound Interest

Subsection 3.4.1 Introduction to Compound Interest

In a standard bank account, any interest we earn is automatically added to our balance, and we earn interest on that interest. This reinvestment of interest is called compounding. We will develop the mathematical formula for compound interest and then show the equivalent spreadsheet function.
Suppose that we deposit $1000 in a bank account offering 3% interest, compounded monthly. How will our money grow?
The 3% interest is an annual percentage rate (APR) – the total interest to be paid during the year. Since interest is being paid monthly, each month, we will earn \(\frac{0.03}{12}=0.0025\) per month.
In the first month,
\begin{align*} P\amp= \$1000\\ r\amp=0.0025\\ I\amp= \$1000 (0.0025)= \$2.50\\ A\amp= \$1000 + \$2.50 = \$1002.50 \end{align*}
In the first month, we will earn $2.50 in interest, raising our account balance to $1002.50.
In the second month,
\begin{align*} P\amp=\$1002.50\\ I\amp=\$1002.50(0.0025)=\$2.51 \text{ (rounded)}\\ A\amp=\$1002.50+\$2.51=\$1005.01 \end{align*}
Notice that in the second month we earned more interest than we did in the first month. This is because we earned interest not only on the original $1000 we deposited, but we also earned interest on the $2.50 of interest we earned the first month. This is the key advantage that compounding gives us.
Calculating out a few more months in a table or a spreadsheet we have:
Month Starting balance Interest earned Ending Balance
1 1000.00 2.50 1002.50
2 1002.50 2.51 1005.01
3 1005.01 2.51 1007.52
4 1007.52 2.52 1010.04
5 1010.04 2.53 1012.57
6 1012.57 2.53 1015.10
7 1015.10 2.54 1017.64
8 1017.64 2.54 1020.18
9 1020.18 2.55 1022.73
10 1022.73 2.56 1025.29
11 1025.29 2.56 1027.85
12 1027.85 2.56 1030.42

Note 3.4.1. About Rounding.

When completing the table above, we rounded each interest amount to the nearest cent and used the rounded value in subsequent calculations. This is how banking institutions calculate and apply or charge interest.
Next in this section, we will develop and use a formula to calculate future value in one step without making a table. Using this formula bypasses the intermediate rounding steps and can result in values that may be slightly different from the correct value. Don’t worry: the results typically are off by a few cents at most, so using the formula provides a highly efficient way to make long-term predictions.
Since banks use mathematical formulas to calculate loan payments, these small differences affect us in "real life", too! If you or someone you know is paying off a loan, the bank may have adjusted the payment size by a few cents to account for rounding.
To find an equation to calculate future balances more efficiently, we will go through a few months to see the pattern:
Initial Amount: \(P=\$1000\)
\(1^{\text{st}} \text{ Month } A=1.0025(\$1000)\)
\(2^{\text{nd}} \text{ Month } A=1.0025(1.0025(\$1000))=1.0025^{2}(\$1000)\)
\(3^{\text{rd}} \text{ Month } A=1.0025(1.0025^{2}(\$1000))=1.0025^{3}(\$1000)\)
\(4^{\text{th}} \text{ Month } A=1.0025(1.0025^{3}(\$1000))=1.0025^{4}(\$1000)\)
Observing a pattern, we could conclude
\(m^{\text{th}} \text{ Month } A=1.0025^{m}(\$1000)\)
If we wanted to calculate the balance after 15 years, we observe that 15 years is equal to \(15\cdot12=180\) months. This results in
\begin{equation*} 1.0025^{180}(\$1000)\approx\$1567.43 \end{equation*}
Notice that the $1000 in the equation was P, the starting amount. We found 1.0025 by adding one to the interest rate divided by 12, since we were compounding 12 times per year. This approach is generalized to the formula that follows.

Compound Interest.

\begin{equation*} A=P\left(1+\frac{r}{n}\right)^{nt} \text{ or } P=\frac{A}{\left(1+\frac{r}{n}\right)^{nt}} \end{equation*}
A
is the future value balance in the account after \(t\) years
P
is the principal or present value
r
is the annual interest rate in decimal form
n
is the number of compounding periods in one year
t
is the number of years
Note that the exponent \(nt\) is equal to the total number of periods.
If the compounding is done annually (once a year), \(n = 1\text{.}\)
If the compounding is done quarterly, \(n = 4\text{.}\)
If the compounding is done monthly, \(n = 12\text{.}\)
If the compounding is done weekly, \(n = 52\text{.}\)
If the compounding is done daily, \(n = 365\text{.}\)
The most important thing to remember about using this formula is that it assumes that we put money in the account once and let it sit there earning interest.

Subsection 3.4.2 Applications of the Compound Interest Formula

Example 3.4.2. Finding a Future Value.

A certificate of deposit (CD) is a savings instrument that many banks offer. It usually gives a higher interest rate, but you cannot access your investment for a specified length of time. Suppose you deposit $3000 in a CD paying 6% APR, compounded monthly. How much will you have in the account after 20 years?
\(P = \$3\,000\text{,}\) the initial deposit
\(r = 0.06\text{,}\) 6% annual rate
\(n = 12\text{,}\) 12 months in 1 year
\(t = 20\text{,}\) since we’re looking for how much we’ll have after 20 years
\begin{equation*} A=P\left(1+\frac{r}{n}\right)^{nt}=3000\left(1+\frac{0.06}{12}\right)^{12\cdot 20}\approx$9930.61 \end{equation*}
Therefore, we will end up with approximately $9,930.61 after 20 years.
The calculation in the example above also can be done using the future value formula on a spreadsheet. The format is as follows:
=FV(rate per period, number of periods, payment amount, present value)
where the rate per period is \(\frac{r}{n}\text{,}\) the number of periods is \(nt\text{,}\) and the present value is the principal \(P\text{.}\) In this section, we only deal with one-time investments, so the payment amount will be $0.
In the exercise, we would type
=FV(0.06/12, 12*20, 0, 3000)
and get a result of $9,930.61, rounded to the nearest cent.

Subsection 3.4.3 Comparing Simple and Compound Interest

Let us compare the amount of money earned from compounding in the previous example against the amount you would earn from simple interest. From the table and graph below we can see that over a long period of time, compounding makes a large difference in the account balance. You may recognize this as the difference between linear growth and exponential growth.
Year Simple Interest
($15 per month)
Compound Interest (6% compounded
monthly or 0.5% each month
0 $3,000 $3,000
5 $3,900 $4,046.55
10 $4,800 $5,458.19
15 $5,700 $7,362.28
20 $6,600 $9,930.61
25 $7,500 $13,394.91
30 $8,400 $18,067.73
35 $9,300 $24,370.65
A coordinate graph with years on the x-axis and account balance on the y-axis. The simple interest increases in a straight line; the compound interest curves up faster because it is an exponential function.

Subsection 3.4.4 Finding the Principal, or Present Value

When we know the amount of money we want to have in the future, we can use the formula that is solved for P. It requires a little algebra to divide both sides of the formula by the quantity that was multiplied by P. There is also a spreadsheet formula which we will introduce now, and then do an example using both methods.

Subsection 3.4.5 The Present Value Spreadsheet Formula

The present value spreadsheet formula will calculate how much you need to deposit in the present to get a specified future value.

Present Value Spreadsheet Formula.

=PV(rate per period, number of periods, payment amount, future value)
rate per period
is the interest rate per compounding period, \(r/n\)
number of periods
is the total number of periods, \(n*t\)
payment amount
is the amount of regular payments. If none, enter \(0\)
future value
is the amount desired in the future, \(A\)

Example 3.4.3.

You know that you will need $40,000 for your child’s education in 18 years. If your account earns 4% APR compounded quarterly, how much would you need to deposit now to reach your goal?
Solution.
We are looking for what we need to deposit now so we will use the present value formula. We type the formula and inputs the same way we used the future value formula.
=PV(rate per period, number of periods, payment amount, future value)
=PV(0.04/4, 4*18, 0, 40000)
which gives a value of $19,539.84. You would need to deposit $19,539.84 now and keep the same interest rate to have $40,000 in 18 years.
An image of the spreadsheet showing the formula used and the result.
Note that we cannot enter commas in numbers in a spreadsheet. Commas are used to separate the input values, so we would not get the same answer if we put in $40,000 for an input.
To use the mathematical formula, we use the one that is solved for P.
\(r = 0.04\text{,}\) 4% APR
\(n = 4\text{,}\) 4 quarters in 1 year
\(t = 18\text{,}\) since we know the balance in 18 years
\(A = \$40{,}000\text{,}\) the amount we have in 18 years
In this case, we’re going to have to set up the equation, and solve for P.
\begin{align*} P\amp=\frac{40000}{\left(1+\frac{0.04}{4}\right)^{4\cdot 18}}\\ \amp\approx19{,}539.84 \end{align*}
You would need to deposit $19,539.84 now to have $40,000 in 18 years.

Subsection 3.4.6 Continuously Compounded Interest

In many bank accounts your interest is compounded continuously, or at each moment in time. The number of times per year, n, is infinite. As n approaches infinity the compound interest formula changes to the continuously compounded interest formula.

Continuously Compounded Interest.

\begin{equation*} A=Pe^{rt} \text{ or } P=\frac{A}{e^{rt}} \end{equation*}
A
is the future value or desired balance in the account
P
is the principal or present value
r
is the annual interest rate in decimal form
t
is the number of years
e
is an irrational number that is approximately 2.718281828… Find \(e\) on your calculator to use this formula
To calculate this on a spreadsheet we use the =EXP function. The spreadsheet formulas are
=Principal*EXP(r*t) or =A/EXP(r*t)

Example 3.4.4.

You deposit $4000 in an account that earns 2.75% APR compounded continuously. How much will you have after 7 years? How much interest did you earn? What percentage of the final balance is interest?
Solution.
To use a spreadsheet, we look at the formula solved for A, the future value. We enter
=4000*EXP(0.0275*7)
and get a result of $4,849.11.
An image of the spreadsheet showing the formula used and the result.
To use the formula, we have:
\(A=Pe^{rt}\)
\(P = 4000\text{,}\) amount invested
\(r = 0.0275\text{,}\) interest rate
\(t = 7\text{,}\) number of years
\begin{align*} A\amp=4000e^{(0.0275\cdot 7)}\\ \amp\approx\$4{,}849.11 \end{align*}
After 7 years your account would be worth $4,849.11. Next, we will calculate the amount of interest earned and the percentage.

Subsection 3.4.7 Finding the Amount of Interest Earned and the Percentage

In the previous example we also want to know how much interest was earned and what percentage of the final balance is from interest. The future value of the investment is $4,849.11. Now to figure out how much of that was interest, we need to subtract the amount initially deposited.

Example 3.4.5.

Continued: To find the total amount of interest earned, we subtract the principal from the total balance.
\begin{equation*} \$4{,}849.11-\$4{,}000=\$849.11 \end{equation*}
The spreadsheet calculation is
=4849.11-4000
which gives a result of $849.11. You would earn $849.11 in interest.
To find the percentage that is interest, divide the amount of interest by the total amount.
\begin{equation*} \frac{\$849.11}{4{,}849.11}\approx0.1751\text{ or } 17.5\% \end{equation*}
The spreadsheet calculation is the same:
=849.11/4849.11
which is 0.1751 or 17.5%. This tells us that after 7 years, 17.5% of the account was earned as interest.

Subsection 3.4.8 Effective Rate

If you are shopping around for different investments, you might need to compare different rates that have different compounding periods. If the rate and period are different, it’s hard to know which account will give the better result. There is a spreadsheet formula called =EFFECT which will allow us to compare accounts. This is also sometimes called the annual percentage yield, or APY.

Effective Rate Formula.

=EFFECT(stated rate, number of compounding periods)
stated rate
is the interest rate given (APR)
number of compounding periods
is the number of times the account is compounded per year, \(n\)

Example 3.4.6.

You are comparing an account that pays 5.25% APR compounded monthly, with an account that pays 5% APR compounded daily. Which account will earn you more interest?
Solution.
It is hard to tell whether the higher interest rate will be better or the higher compounding rate in this case. We will find the effective rate of both accounts.
For the 5.25% APR account compounded monthly:
=EFFECT(0.0525,12)
which gives 0.05378 or 5.38%
An image of the spreadsheet showing the formula used and the result.
For the 5% APR account compounded daily:
=EFFECT(0.05,365)
which gives 0.05127 or 5.13%
An image of the spreadsheet showing the formula used and the result.
Now we can compare the effective rates of 5.38% and 5.13% and see that the account with the higher interest rate will earn more interest in this case. This is not always true, so we will show another example.

Example 3.4.7.

Find the effective rates to compare an account that earns 6% APR compounded quarterly with an account that earns 5.975% APR compounded daily. Which one would you choose?
Solution.
Using the effective rate formula for each, we have:
For the 6% APR account compounded quarterly:
=EFFECT(0.06,4)
which gives 0.06136 or 6.14%
An image of the spreadsheet showing the formula used and the result.
For the 5.975% APR account compounded daily:
=EFFECT(0.05975,365)
which gives 0.06157 or 6.16%
An image of the spreadsheet showing the formula used and the result.
The account that was compounded more often has a slightly higher rate in this case.

Exercises 3.4.9 Exercises

1.

A friend lends you $200 for a week, which you agree to repay with 5% one-time interest. How much will you have to repay?

2.

You loan your friend $100. They agree to pay an annual interest rate of 3%, simple interest. Six months later they repay that loan.
  1. How much did they pay you?
  2. How much was interest?

3.

Consider a simple interest loan of $200 with an annual interest rate of 6%. If that loan is paid off 1 year and 3 months later, how much was repaid?

4.

You deposit $1,000 in an account that earns simple interest. The annual interest rate is 2.5%.
  1. How much interest will you earn in 5 years?
  2. How much will you have in the account in 5 years?

5.

Consider an investment of $20000 with an annual interest rate of 5%.
  1. If that investment is earning simple interest, how much will the investment be worth in 10 years?
  2. If that investment is getting annually compounding interest, how much will the investment be worth in 10 years?

6.

Nico invests $4,500 into an account that has an annual interest rate of 8.5%. The interest is compounding monthly. Twenty years later what is the account balance?

7.

How much will $1,000 deposited in an account earning 7% APR compounded weekly be worth in 20 years?

8.

Suppose you obtain a $3,000 Certificate of Deposit (CD) with a 3% APR, paid quarterly, with maturity in 5 years.
  1. What is the future value of the CD in 5 years?
  2. How much interest will you earn?
  3. What percent of the balance is interest?

9.

You deposit $300 in an account earning 5% APR compounded annually. How much will you have in the account in 10 years?
  1. How much will you have in the account in 10 years?
  2. How much interest will you earn?
  3. What percent of the balance is interest?

10.

You deposit $2,000 in an account earning 3% APR compounded monthly.
  1. How much will you have in the account in 20 years?
  2. How much interest will you earn?
  3. What percent of the balance is interest?
  4. What percent of the balance is the principal?

11.

You deposit $10,000 in an account earning 4% APR compounded weekly.
  1. How much will you have in the account in 25 years?
  2. How much interest will you earn?
  3. What percent of the balance is interest?
  4. What percent of the balance is the principal?

12.

How much would you need to deposit in an account now in order to have $6,000 in the account in 8 years? Assume the account earns 6% APR compounded monthly.

13.

How much would you need to deposit in an account now in order to have $20,000 in the account in 4 years? Assume the account earns 5% APR compounded quarterly.

14.

Breylan invests $1,200 in an account that earns 4.6% APR compounded quarterly and Angad invests the same amount in an account that earns 4.55% APR compounded weekly.
  1. What will their balances be after 15 years?
  2. What will their balances be after 30 years?
  3. What is the effective rate for each account?

15.

Bill invests $6,700 in a savings account that compounds interest monthly at 3.75% APR. Ted invests $6,500 in a savings account that compound interest annually at 3.8% APR.
  1. Find the effective rate for each account.
  2. Who will have the higher accumulated balance after 5 years?

16.

Bassel is comparing two accounts where one pays 3.45% APR quarterly and the second pays 3.4% APR daily.
  1. What is the effect rate for each?
  2. If he has $5,000 to deposit how much will the balance be in 10 years?

17.

You deposit $2,500 into an account earning 4% APR compounded continuously.
  1. How much will you have in the account in 10 years?
  2. How much total interest will you earn?
  3. What percent of the balance is interest?

18.

You deposit $1,000 into an account earning 5.75% APR compounded continuously.
  1. How much will you have in the account in 15 years?
  2. How much total interest will you earn?
  3. What percent of the balance is interest?

19.

You deposit $5,000 in an account earning 4.5% APR compounded continuously.
  1. How much will you have in the account in 5 years?
  2. How much total interest will you earn?
  3. What percent of the balance is interest?

20.

You deposit $10,000 in an account that earns 5.5% APR compounded continuously and your friend deposits $10,000 in an account that earns 5.5% APR compounded annually.
  1. How much more will you have in the account in 10 years?
  2. How much more interest did you earn in the 10 years?