Compound interest is interest paid on both the original amount and the interest already earned. Because each period's interest is added to the balance before the next period is calculated, the balance grows faster and faster over time instead of by a fixed amount.
The compound interest formula
- A is the final amount, including interest.
- P is the principal, the amount you start with.
- r is the annual interest rate as a decimal (6% is 0.06).
- n is the number of times interest is compounded per year.
- t is the time in years.
The interest earned is simply A − P. The fraction r ÷ n is the rate applied each period, and n × t is the total number of periods. You can run any combination of these inputs in the compound interest calculator.
Worked example 1: annual compounding
You deposit $10,000 at 4% per year, compounded once a year, for 5 years.
- Rate per period: 0.04 ÷ 1 = 0.04
- Number of periods: 1 × 5 = 5
- Growth factor: 1.04^5 ≈ 1.216653
- A = 10,000 × 1.216653 ≈ $12,166.53
The interest earned is $2,166.53. With simple interest you would have earned 10,000 × 0.04 × 5 = $2,000, so compounding added $166.53.
Worked example 2: monthly compounding
You deposit $5,000 at 6% per year, compounded monthly, for 10 years.
- Rate per period: 0.06 ÷ 12 = 0.005
- Number of periods: 12 × 10 = 120
- Growth factor: 1.005^120 ≈ 1.819397
- A = 5,000 × 1.819397 ≈ $9,096.98
The balance nearly doubles, and $4,096.98 of it is interest.
How compounding frequency changes the result
The more often interest is added, the more you end up with, but the gain from each step up in frequency gets smaller. Here is $10,000 at 5% for 10 years:
| Compounding | Periods per year | Final amount |
|---|---|---|
| Annually | 1 | $16,288.95 |
| Quarterly | 4 | $16,436.19 |
| Monthly | 12 | $16,470.09 |
| Daily | 365 | $16,486.65 |
| Continuously | no limit | $16,487.21 |
Moving from annual to monthly compounding adds about $181. Moving from monthly to daily adds less than $17. Continuous compounding is the mathematical limit and uses the formula A = P × e^(r × t), where e ≈ 2.71828.
Because frequency matters, lenders and banks often quote an effective annual rate (also called APY) so that products with different compounding schedules can be compared directly. A 5% nominal rate compounded monthly is an effective rate of about 5.12%.
The rule of 72
To estimate how many years it takes money to double, divide 72 by the annual interest rate in percent.
| Rate | Rule of 72 | Exact (annual compounding) |
|---|---|---|
| 3% | 24 years | 23.4 years |
| 6% | 12 years | 11.9 years |
| 9% | 8 years | 8.0 years |
The shortcut is most accurate for rates between about 5% and 10%. It also works in reverse: to double your money in 10 years you need roughly 72 ÷ 10 = 7.2% per year.
Compound interest on debt
The same maths applies to money you owe. A credit card balance that compounds at 20% a year doubles in roughly 72 ÷ 20 = 3.6 years if nothing is paid off. Compounding helps savers and costs borrowers, which is why the rate and the time period matter so much in both directions.
Common mistakes
- Using the percentage instead of the decimal. Enter 6% as 0.06, not 6.
- Forgetting to divide the rate by n. With monthly compounding, the monthly rate is the annual rate divided by 12.
- Mismatching time units. If t is 18 months, use t = 1.5 years.
- Confusing the final amount with the interest. The formula gives the total balance. Subtract the principal to get the interest alone.
- Applying the formula to regular deposits. The basic formula covers a single lump sum. Monthly contributions need a separate annuity formula, which the savings goal calculator handles.
To see how much compounding adds over a flat rate, compare your result with the simple interest calculator using the same inputs.
Run the numbers yourself
Common questions
What is the formula for compound interest?
A = P × (1 + r ÷ n)^(n × t), where P is the principal, r is the annual rate as a decimal, n is the number of compounding periods per year, and t is the time in years. Subtract P from A to get the interest earned.
Does daily compounding make a big difference compared with monthly?
Not much. On $10,000 at 5% for 10 years, daily compounding gives $16,486.65 and monthly gives $16,470.09, a difference of under $17.
How accurate is the rule of 72?
It is a close estimate for rates between roughly 5% and 10%. At 6% it predicts 12 years to double, and the exact answer with annual compounding is 11.9 years.