Compound Interest Formula (With Examples and Simple Interest)
Compound interest is interest earned on interest. Over time it makes savings grow faster, and debts more expensive. A compound interest calculator gives the answer in seconds; this guide explains the formula behind it.
Quick answer
A = P × (1 + r/n)n × t
- A = final amount
- P = starting amount (principal)
- r = annual interest rate as a decimal (5% = 0.05)
- n = times interest is compounded per year (12 for monthly)
- t = number of years
Interest earned = A − P.
Worked example
For example, say you put $10,000 into an account paying 5% a year, compounded monthly, for 10 years.
- First, divide the rate by 12: 0.05 ÷ 12 = 0.004167.
- Next, find the number of periods: 12 × 10 = 120.
- Then calculate: 10,000 × (1 + 0.004167)120 = $16,470.09.
- Finally, subtract the principal: you earned $6,470.09 in interest.
How compounding frequency matters
| Compounding | n | Value of $10,000 after 10 years at 5% |
|---|---|---|
| Yearly | 1 | $16,288.95 |
| Quarterly | 4 | $16,436.19 |
| Monthly | 12 | $16,470.09 |
| Daily | 365 | $16,486.65 |
| Continuous | ∞ | $16,487.21 |
More frequent compounding helps, but the effect is small next to the rate and the time. Continuous compounding uses A = P × ert.
Time is the biggest factor
| Years | Value of $10,000 at 5% (monthly) |
|---|---|
| 5 | $12,833.59 |
| 10 | $16,470.09 |
| 20 | $27,126.40 |
| 30 | $44,677.44 |
| 40 | $73,584.17 |
The Rule of 72
To estimate how long it takes money to double, divide 72 by the annual rate. At 6%, money doubles in about 72 ÷ 6 = 12 years (exact with yearly compounding: 11.9 years). It works best for rates between about 4% and 12%.
Simple interest vs compound interest
Simple interest = P × r × t: interest is earned only on the original amount. $10,000 at 5% simple interest for 10 years earns $5,000, compared with $6,470.09 compounded monthly. The gap widens every year.
Check your numbers
The US Securities and Exchange Commission offers a free compound interest calculator on Investor.gov that also handles regular monthly deposits. For loans, see how to calculate loan payments.
Frequently asked questions
What is the compound interest formula?
A = P(1 + r/n)^(nt).
How much is $10,000 at 5% for 10 years?
$16,470.09 with monthly compounding.
What’s the difference between simple and compound interest?
Simple interest is paid only on the principal; compound interest is also paid on interest already earned.
How long does it take to double money at 8%?
About 9 years, using the Rule of 72.
