Sub topic 6
How Interest and Compounding Work
Assume you already understand basic budgeting, percentages, and bank savings accounts. This chapter uses fixed interest rates and regular deposits. Real rates can change, and investments can lose value.
Interest earns more interest
Interest is money paid for keeping your money in an account or lending it. The original amount is the principal. If you deposit $1,000 at 4% annual interest, the first year's interest is:
\[ \$1{,}000 \times 0.04 = \$40 \]
With simple interest, interest is always calculated on the original principal. After three years, the balance would be $1,120.
With compound interest, each interest payment stays in the account and can earn more interest later. After three years, the balance is slightly higher:
\[ A=P(1+r)^t \]
- \(A\) is the ending balance.
- \(P\) is the principal.
- \(r\) is the annual interest rate as a decimal.
- \(t\) is the number of years.
For $1,000 at 4% compounded annually:
\[ \$1{,}000(1.04)^3=\$1{,}124.86 \]
The difference is small over three years, but it grows over longer periods.
Compounding frequency matters
Banks may compound interest daily, monthly, or annually. More frequent compounding usually produces a slightly higher balance when the stated rate is the same.
The general formula is:
\[ A=P\left(1+\frac{r}{n}\right)^{nt} \]
Here, \(n\) is the number of compounding periods per year. For monthly compounding, \(n=12\).
| Compounding schedule | Periods per year | Effect |
|---|---|---|
| Annual | 1 | Interest added once each year |
| Monthly | 12 | Interest added each month |
| Daily | 365 | Interest added each day |
The annual percentage yield (APY) includes the effect of compounding. Use APY when comparing deposit accounts, because it shows the effective yearly growth more directly than a nominal interest rate.
def compound_balance(principal, annual_rate, years, periods_per_year=12):
"""Return a balance with fixed-rate compound interest."""
periods = periods_per_year * years
period_rate = annual_rate / periods_per_year
return principal * (1 + period_rate) ** periods
balance = compound_balance(1000, 0.04, 3)
print(round(balance, 2))This prints 1127.25. The result differs from annual compounding because interest is added monthly.
Regular contributions also compound
Savings goals usually involve deposits each month, not one initial deposit. For equal deposits made at the end of each month, the future value is:
\[ FV=C\frac{(1+r)^m-1}{r} \]
- \(FV\) is the future value.
- \(C\) is the monthly contribution.
- \(r\) is the monthly interest rate.
- \(m\) is the number of months.
To find the required contribution, rearrange the formula:
\[ C=FV\frac{r}{(1+r)^m-1} \]
def monthly_contribution(target, annual_rate, months):
"""Monthly deposit made at month end needed to reach target."""
r = annual_rate / 12
if r == 0:
return target / months
return target * r / ((1 + r) ** months - 1)
print(round(monthly_contribution(12000, 0.04, 36), 2))The result is about $314.75 per month. Without interest, the same target would require $333.33 per month. Interest helps, but the contribution still does most of the work over a three-year period.
Follow the money
Compounding is most useful when money remains invested or deposited for a long time. For a short-term goal, the interest rate matters, but protecting the principal and having reliable access matter more.
Exercise
You need $6,000 in 24 months. How much must you save each month if the account earns no interest, and why would a positive interest rate reduce that amount?
Show answer
You must save $250 per month because $6,000 divided by 24 is $250. With interest, the account earns additional money, so your deposits need to provide less of the final balance.