The compound interest formula
Compound interest pays interest on interest. In the first year, $10,000 at 5% compounded yearly earns $500. In the second year it earns 5% of $10,500, which is $525, and each year's interest is a little bigger than the last. After 10 years the balance is $16,288.95, so $6,288.95 is interest, against the $5,000 that simple interest on the starting $10,000 would have paid.
How compounding frequency changes the result
| Compounding | Times a year | Balance after 10 years | Effective yearly rate (APY) |
|---|---|---|---|
| Yearly | 1 | $16,288.95 | 5.000% |
| Quarterly | 4 | $16,436.19 | 5.095% |
| Monthly | 12 | $16,470.09 | 5.116% |
| Daily | 365 | $16,486.65 | 5.127% |
| Continuous | No limit | $16,487.21 | 5.127% |
Compounding more often helps, but the gains shrink fast. Going from yearly to monthly adds $181.14 here; going from monthly to daily adds only $16.56. Continuous compounding, A = P × e^(r × t), is the mathematical limit and finishes just 56 cents ahead of daily.
That's why savings accounts quote an APY. It folds the compounding schedule into one yearly rate, so you can compare an account that compounds daily with one that compounds monthly. A 5% rate compounded monthly is a 5.116% APY.
Adding regular contributions
Most people add money as they go, and each deposit starts compounding when it goes in. For deposits made at the end of each period, the deposits alone grow to:
Example: $10,000 plus $200 a month at 7%, compounded monthly, for 20 years
- The starting $10,000 grows to $40,387.39 on its own
- 240 deposits of $200 add $48,000 of your money
- Together they reach $144,572.72
- You put in $58,000, so $86,572.72 is interest
Interest makes up about 60% of the final balance. Making each deposit at the start of the month instead lifts it to $145,180.47.
When deposits and compounding don't line up, such as monthly deposits into an account that compounds daily, the calculator converts the rate to its equivalent for each deposit period. Canada's Financial Consumer Agency uses the same idea in its savings example: $100 at the start of each month at 2%, compounded monthly, earns about $13.08 in the first year, which is exactly what the calculator gives.
The rule of 72 for doubling money
To estimate how long money takes to double, divide 72 by the yearly rate. At 8% that's 72 ÷ 8 = 9 years. The exact answer with yearly compounding is ln 2 ÷ ln(1 + r), and for everyday rates it lands close to the shortcut:
| Yearly rate | Rule of 72 | Exact, compounded yearly |
|---|---|---|
| 2% | 36 years | 35.0 years |
| 3% | 24 years | 23.4 years |
| 4% | 18 years | 17.7 years |
| 6% | 12 years | 11.9 years |
| 8% | 9 years | 9.0 years |
| 10% | 7.2 years | 7.3 years |
| 12% | 6 years | 6.1 years |
The rule is sharpest around 8% and drifts a little at very low or very high rates. It works for debt too: a balance charged 24% a year doubles in about three years if nothing is paid.
Why starting early beats saving more later
Example: $200 a month at 6%, compounded monthly
- Saver A puts in $200 a month for 10 years, from age 25 to 35, then stops: $24,000 in total
- Saver A's $32,775.87 grows untouched for 30 more years, to about $197,395
- Saver B starts at 35 and puts in $200 a month for 30 years: $72,000 in total
- Saver B ends with $200,903.01
Saver B finishes only about $3,500 ahead after putting in three times as much, because Saver A's money had 30 extra years to compound.
The lesson isn't that late starters should give up. It's that time does a large share of the work, so even small amounts are worth starting now, and raising contributions later still adds up.
Taxes, fees and inflation
The calculator shows growth before tax, fees and inflation. Interest in an ordinary taxable account is usually taxed every year, which slows compounding. Tax-advantaged accounts let it compound without a yearly tax bill: a TFSA or RRSP in Canada, for example, or a 401(k) or IRA in the US. Each has its own contribution limits and withdrawal rules.
Fees compound too. $10,000 plus $300 a month for 30 years grows to $447,156.27 at 7%, but to $361,580.26 at 6%, so a 1% yearly fee costs $85,576.01 on $118,000 of deposits. Inflation works the same way in reverse; for a rough sense of future buying power, subtract expected inflation from the rate. To watch interest work against you instead, open the loan calculator.