The compound interest formula
The formula used for calculating compound interest is:
Where:
- A = the future value of the investment
- P = the principal balance (initial investment)
- r = the annual interest rate (as a decimal)
- n = number of times interest is compounded per year
- t = the time in years
Step-by-step calculation example
Let's say you invest $10,000 at a 5% annual interest rate, compounded monthly, for 20 years.
- P = $10,000
- r = 0.05 (5% as a decimal)
- n = 12 (compounded monthly)
- t = 20 years
Calculation:
Total interest earned: $17,126.40
Yearly breakdown
Here's how your investment grows year by year:
| Year | Interest Calculation | Interest Earned | End Balance |
|---|---|---|---|
| 1 | $10,000 × 5% | $500 | $10,500 |
| 2 | $10,500 × 5% | $525 | $11,025 |
| 3 | $11,025 × 5% | $551.25 | $11,576.25 |
| 5 | — | — | $12,762.82 |
| 10 | — | — | $16,288.95 |
| 15 | — | — | $20,789.28 |
| 20 | — | — | $26,532.98 |
26,532.98 after 20 years — a total return of 165%.
Compounding frequency comparison
The frequency of compounding affects your final balance. Here's how $10,000 at 5% for 10 years compares:
| Frequency | n | Final Balance | Interest Earned |
|---|---|---|---|
| Annually | 1 | $16,288.95 | $6,288.95 |
| Quarterly | 4 | $16,436.19 | $6,436.19 |
| Monthly | 12 | $16,470.09 | $6,470.09 |
| Daily | 365 | $16,486.65 | $6,486.65 |
The more frequently interest compounds, the more you earn — though the difference diminishes at lower rates.
Effective Annual Rate (APY)
The effective annual rate (also known as APY — Annual Percentage Yield) is the rate you actually earn after compounding has been factored in.
When interest compounding takes place, the effective annual rate becomes higher than the nominal annual interest rate. The more times interest is compounded within the year, the greater the difference.
Formula:
For example, 5% compounded monthly:
This means you earn slightly more than the stated 5% rate.
The Rule of 72
A quick mental shortcut to estimate how long it takes to double your money:
Examples:
- At 6%:
- At 8%:
- At 10%:
- At 12%: