Complete Guide to Compound Interest
How compound interest works, the math behind it, and how compounding frequency, time, and rate affect your money. Includes worked examples and common scenarios.
The compound interest formula
Compound interest is interest calculated on both the initial principal and the accumulated interest from previous periods. The formula is:
\[A = P\left(1 + \frac{r}{n}\right)^{nt}\]Where A is the estimated future value, P is the principal (starting amount), r is the annual interest rate as a decimal, n is the number of times interest compounds per year, and t is the number of years.
The difference between compound and simple interest is that simple interest pays only on the original principal. Compound interest pays interest on interest. That distinction seems small in the first year or two, but it grows dramatically over time because each period’s interest becomes part of the base for the next calculation.
Try it yourself
Estimate how your investments may grow over time with compound interest and regular contributions.
Open Compound Interest CalculatorWorked example: $10,000 at 5% for 20 years
Start with $10,000, an annual rate of 5%, compounded monthly, and no additional contributions. Using the formula with P = 10,000, r = 0.05, n = 12, and t = 20: A = 10,000 x (1.004167)^240 = approximately $27,126.
The original $10,000 earned approximately $17,126 in interest over 20 years. Compare that to simple interest at 5%, which would produce only $10,000 in interest ($20,000 total). Compounding added roughly $7,126 on top of what simple interest would have returned. The gap exists because each month’s interest gets folded into the balance, making next month’s interest slightly larger.
Worked example: $1,000 at 8% for 30 years
A smaller starting amount at a higher rate over a longer period shows the exponential nature of compounding more clearly. With P = 1,000, r = 0.08, n = 12, and t = 30: A = 1,000 x (1.006667)^360 = approximately $10,936.
The original $1,000 grew by nearly 11 times. Simple interest at 8% over 30 years would yield only $3,400 total (1,000 + 1,000 x 0.08 x 30). The compound version produced approximately $7,536 more than simple interest on the same terms. Most of that extra growth happened in the final decade. After 10 years the balance was approximately $2,220. After 20 years it was approximately $4,926. The last 10 years alone added over $6,000, which is more than the first 20 years combined. This acceleration is the core feature of compounding.
How compounding frequency changes results
The more frequently interest compounds, the more you earn, because interest gets added to the balance sooner and starts generating its own interest earlier. On $10,000 at 5% for 20 years:
| Compounding frequency | Estimated balance |
|---|---|
| Annually | $26,533 |
| Quarterly | $26,851 |
| Monthly | $27,126 |
| Daily | $27,181 |
The difference between annual and daily compounding on this amount is approximately $648. The gap is real but modest at a 5% rate. At higher rates or with larger principals the difference becomes more meaningful. Most savings accounts and investment returns compound daily or monthly. As discussed in how compound interest really works, the frequency matters less than the rate and time.
At 10% on $10,000 over 20 years, the frequency gap widens. Annual compounding produces approximately $67,275 while daily compounding produces approximately $73,891. That is a difference of approximately $6,616. The higher rate amplifies the effect of more frequent compounding because each compounding period adds a larger absolute amount to the balance.
The Rule of 72
The Rule of 72 is a mental math shortcut for estimating how long it takes money to double:
\[\text{Years to double} \approx \frac{72}{\text{interest rate}}\]| Interest rate | Approximate years to double |
|---|---|
| 3% | 24 years |
| 6% | 12 years |
| 8% | 9 years |
This approximation works best for rates between 2% and 12%. For a 5% return, the Rule of 72 predicts doubling in 14.4 years, and the actual answer (compounded annually) is about 14.2 years. The Rule of 72 calculator runs the exact calculation.
The Rule of 72 also works in reverse. If you know your money doubled in 9 years, the approximate annual return was 72 / 9 = 8%. This is useful for quickly evaluating investment performance without a calculator.
How regular contributions change the picture
Most people do not invest a lump sum and walk away. They add money regularly. The future value of regular contributions uses the ordinary annuity formula:
\[FV = PMT \times \frac{\left(1 + \frac{r}{n}\right)^{nt} - 1}{\frac{r}{n}}\]Where PMT is the regular contribution.
Consider $10,000 starting balance with $200 per month contributions at 5% compounded monthly for 20 years. The original $10,000 grows to approximately $27,126 (as calculated above). The $200/month contributions grow to approximately $82,207. The estimated total is approximately $109,333. You contributed $58,000 total ($10,000 initial plus $200 x 240 months). The remaining $51,333 came from compounding. Regular contributions give compound interest far more principal to work with, which accelerates the effect.
Try it yourself
Calculate how long to reach a savings goal, the monthly contribution needed, or the projected final balance.
Open Savings Goal CalculatorStarting early: a 10-year head start
Time is the most powerful variable in the compound interest formula, and the reason is that each year of growth builds on all previous years. Consider two scenarios, both contributing $200 per month at 5%:
| Person A | Person B | |
|---|---|---|
| Start age | 25 | 35 |
| Years investing | 35 | 25 |
| Total contributed | $84,000 | $60,000 |
| Estimated balance at 60 | $227,000 | $119,000 |
Person A contributed only $24,000 more but ended up with approximately $108,000 more. That extra 10 years of compounding nearly doubled the final balance. Each year of delay costs more than the last because it removes the year with the largest potential growth, which is always the final year when the balance is highest.
A third scenario makes the point even more sharply. Person C starts at age 25, contributes $200 per month for only 10 years (until age 35), then stops contributing entirely. Person B starts at 35 and contributes $200 per month for 25 years straight. Person C contributed $24,000 total. Person B contributed $60,000 total. At age 60, Person C’s balance is approximately $116,000 and Person B’s is approximately $119,000. Despite contributing less than half as much money, Person C nearly matched Person B because those early dollars had 35 years to compound rather than 25.
Inflation and real returns
Compound interest calculations typically use nominal rates, which do not account for inflation. If your investment returns 7% annually and inflation averages 3%, your real return is approximately 4%. Over 30 years, $10,000 at a 7% nominal rate grows to approximately $76,123, but in today’s purchasing power that is closer to $31,409 at a 4% real rate. The money still grew substantially, but the actual increase in buying power is smaller than the nominal number suggests. When planning long-term goals like retirement, using a real return (nominal return minus expected inflation) gives a more accurate picture of future purchasing power.
Common compounding scenarios
| Scenario | Principal | Monthly addition | Rate | Years | Estimated result |
|---|---|---|---|---|---|
| Emergency fund | $1,000 | $100 | 4% | 5 | $7,700 |
| College savings | $5,000 | $250 | 6% | 18 | $111,600 |
| Retirement (early start) | $0 | $500 | 7% | 40 | $1,197,000 |
| Retirement (late start) | $0 | $500 | 7% | 20 | $260,500 |
All figures are estimates. Actual returns vary. Investment returns are not guaranteed, and past performance does not predict future results.
When compounding works against you
The same math that grows savings also grows debt. Credit card balances compound daily, typically at rates between 18% and 28%. A $5,000 balance at 22% APR compounded daily grows to approximately $6,230 after one year with no payments. After two years with no payments, the balance reaches approximately $7,763. The interest earned on interest accelerates the growth of the debt in the same way it accelerates savings, but in the wrong direction. This is why paying down high-interest debt before investing is often the mathematically better move: eliminating a guaranteed 22% cost produces a better outcome than earning an uncertain 7% return.
Related Calculators
Compound Interest Calculator
Estimate how your investments may grow over time with compound interest and regular contributions.
Savings Goal Calculator
Calculate how long to reach a savings goal, the monthly contribution needed, or the projected final balance.
Rule of 72 Calculator
Quickly estimate how long it takes for an investment to double, or what rate is needed to double in a given time.
CalculateY