The compound interest formula
Compounding means interest is added to the balance at regular intervals, and from then on earns interest itself. The more often that happens, the sooner each piece of interest starts working, so a higher compounding frequency gives a slightly higher balance at the same quoted rate.
A = P × (1 + r ÷ n)n × t
A is the closing balance, P is the starting amount, r is the nominal yearly rate as a decimal (5% is 0.05), n is the number of times interest is compounded each year and t is the time in years. As n grows without limit the formula settles on continuous compounding, which uses the constant e (about 2.71828):
Continuous compounding: A = P × er × t
Because the quoted rate ignores compounding, two accounts with the same nominal rate can pay different amounts. The effective annual rate is the single yearly rate that would give the same result with no compounding inside the year, and it is the fair way to compare them.
Effective annual rate = (1 + r ÷ n)n − 1, or er − 1 for continuous compounding
Worked example: $10,000 at 5% for 10 years, compounded monthly
- Rate per period. 0.05 ÷ 12 = 0.0041667 a month.
- Number of periods. 12 × 10 = 120 months.
- Growth factor. (1 + 0.05 ÷ 12)120 = 1.647009. Use the unrounded monthly rate here: over 120 periods, the rounding in 0.0041667 is enough to shift the last digits.
- Balance. $10,000 × 1.647009 = $16,470.09, of which $6,470.09 is interest.
- Effective annual rate. (1 + 0.05 ÷ 12)12 − 1 = 0.05116, or 5.116%. A rate of 5% compounded monthly earns the same as 5.116% compounded once a year.
How much the frequency really matters
Here is the same $10,000 at 5% for 10 years at each frequency.
| Compounded | Balance | Effective annual rate |
|---|---|---|
| Yearly | $16,288.95 | 5.000% |
| Half-yearly | $16,386.16 | 5.063% |
| Quarterly | $16,436.19 | 5.095% |
| Monthly | $16,470.09 | 5.116% |
| Daily | $16,486.65 | 5.127% |
| Continuously | $16,487.21 | 5.127% |
The gains shrink quickly. Moving from yearly to monthly adds about $181. Moving from monthly to daily adds less than $17, and going from daily to continuous adds 56 cents. Continuous compounding is a ceiling, not a jackpot: no frequency can beat it. Frequency matters more as the rate rises. At a nominal 20%, monthly compounding gives an effective rate of 21.94% and daily gives 22.13%, which is one reason the frequency deserves a look on high-rate debts, where compounding works against you.
Doubling time and the rule of 72
The time for a balance to double does not depend on the amount, only on the rate and the frequency.
Exact doubling time = ln 2 ÷ (n × ln(1 + r ÷ n)) years
Rule of 72: doubling time ≈ 72 ÷ rate in per cent
Here ln is the natural logarithm and ln 2 is about 0.6931. The rule of 72 is a mental shortcut for the exact formula. At 7% compounded yearly, the exact answer is ln 2 ÷ ln 1.07 = 10.24 years, and the rule gives 72 ÷ 7 = 10.29 years. The rule is tuned for yearly compounding at everyday rates and is closest near 8%, where it gives 9.00 years against an exact 9.01. It drifts at the extremes: at 2% it says 36 years when the exact figure is 35.00, and at 20% it says 3.6 years when the exact figure is 3.80. For continuous compounding the exact numerator is 69.3, so the rule of 72 overstates the doubling time a little whenever interest compounds frequently. In the worked example the balance doubles in 13.89 years, while the rule of 72 gives 14.4.
Common mistakes
The first is mixing up nominal and effective rates. If a rate is already quoted as an effective or “per annum, compounded annually” figure, enter it with yearly compounding; applying monthly compounding on top would count the compounding twice. The second is comparing two offers on the quoted rate alone when they compound at different frequencies: compare effective annual rates instead. The third is expecting frequency to do the heavy lifting. Over long periods, time and rate dominate. Over 30 years, the same $10,000 at 5% reaches $43,219.42 with yearly compounding and $44,677.44 with monthly compounding. Both are far above the 10-year figures, and the gap between them is small by comparison.