Sub topic 1
How a savings account earns interest
A savings account pays you interest, which is a share of your balance that the bank adds to your account. This chapter explains how that interest is calculated so you can compare accounts fairly.
Prerequisites
You should understand what a bank account is, be comfortable with percentages, and know that interest is calculated on a balance. The code examples use Python 3.
How a savings account earns interest
The bank uses your deposit to fund its lending and investing, then pays you part of that income. The bank sets the rate, and it can change. Your interest equals your balance multiplied by the rate, for the time you keep the money in the account.
A 1,000 balance at 2% earns about 20 over one year.
Compounding: how interest earns interest
Compounding means the bank adds interest to your balance, so later interest is calculated on the larger amount. Banks compound daily, monthly, or yearly. More frequent compounding produces slightly more interest.
balance = 1000
for month in range(12):
balance += balance * 0.02 / 12
print(round(balance, 2))The output is 1020.18, which is more than the 1020.00 that simple interest would give.
Stated rate versus APY: comparing like with like
The stated rate is the percentage the bank advertises. It ignores compounding. The annual percentage yield (APY) includes compounding, so APY is the fair basis for comparison. The formula is APY = (1 + rate / n)^n - 1, where n is the number of compounding periods per year.
def apy(rate, periods_per_year):
return (1 + rate / periods_per_year) ** periods_per_year - 1
print(f"{apy(0.04, 1):.4%}")
print(f"{apy(0.04, 12):.4%}")
print(f"{apy(0.04, 365):.4%}")A 4% stated rate gives 4.0000% APY with yearly compounding, 4.0741% with monthly, and 4.0808% with daily.
Types of accounts and how they trade rate for access
Accounts that pay more usually restrict access more. The table shows typical trade-offs. Terms vary by institution, so check each account's disclosure.
| Account type | Typical rate | Access |
|---|---|---|
| Standard savings | Low | Easy, often unlimited |
| High-yield savings | Higher | Easy, may have transfer limits |
| Money market | Moderate to high | Limited check or debit use |
| Notice account | Higher | Notice required before withdrawal |
| Term deposit | Highest fixed | Penalty for early withdrawal |
Exercise
An account pays a 5% stated rate, compounded monthly. What is its APY, rounded to two decimal places?
Show answer
APY = (1 + 0.05 / 12)^12 - 1 ≈ 0.0512, so the APY is 5.12%.