How Compound Interest Works
Compound interest pays interest on earlier interest. Learn the formula, see worked examples and learn why time and frequency matter.
By the tools4free.dev team · Last reviewed 4 December 2026
What compound interest is
Interest is the price of using money. When you save, a bank pays you interest. When you borrow, you pay it. Simple interest is calculated only on the original amount, the principal. Compound interest is calculated on the principal plus all the interest already added. Each period, the balance grows a little, and the next period's interest is worked out on that larger balance.
The effect looks small at first and large later. In the first year, simple and compound interest are nearly the same. After ten or twenty years the gap is wide, because the interest has been earning interest for a long time. The same mechanism works against you on a debt that you leave unpaid, which is why credit card balances can grow quickly.
The formula
For a single deposit with no further contributions, the balance after a number of years is:
A = P × (1 + r / m) ^ (m × t)
A = final balance
P = principal (the starting amount)
r = annual rate as a decimal (5% = 0.05)
m = compounding periods per year (1 yearly, 4 quarterly, 12 monthly, 365 daily)
t = time in years
If you also add the same amount at the end of every period, the balance is the first part plus the future value of those contributions:
A = P × (1 + i) ^ n + C × ((1 + i) ^ n − 1) / i
i = r / m (the rate for one period)
n = m × t (the number of periods)
C = contribution added at the end of each period
Simple interest, for comparison, is just P × r × t. It grows in a straight line. Compound interest grows along a curve that bends upward.
Worked example 1: one deposit, 10 years
You deposit 10,000 at 5% a year, compounded once a year, and leave it for 10 years.
A = 10,000 × (1.05) ^ 10
= 10,000 × 1.628895
= 16,288.95
You can check the power by hand: 1.05² = 1.1025, so 1.05⁴ = 1.21550625, so 1.05⁸ is about 1.477455, and multiplying by 1.1025 gives about 1.628895. The interest earned is 6,288.95. Simple interest on the same deposit would be 10,000 × 0.05 × 10 = 5,000, so compounding added 1,288.95 on top.
Here is how the same deposit grows year by year when interest is added monthly (each month earns 5% ÷ 12):
| End of year | Balance | Interest earned so far |
|---|---|---|
| 1 | 10,511.62 | 511.62 |
| 2 | 11,049.41 | 1,049.41 |
| 3 | 11,614.72 | 1,614.72 |
The interest in year 1 is 511.62. In year 3 it is 565.31 (11,614.72 − 11,049.41). Same rate, larger balance, so more interest each year.
Worked example 2: saving a fixed amount each month
You start with nothing and save 200 at the end of every month for 20 years, earning 6% a year compounded monthly. Here i = 0.06 ÷ 12 = 0.005 and n = 240.
(1.005) ^ 240 = 3.310204
A = 200 × (3.310204 − 1) / 0.005
= 200 × 462.0409
= 92,408.18
You paid in 200 × 240 = 48,000. The remaining 44,408.18 is interest. After the first ten years the balance is 32,775.87 and only 8,775.87 of it is interest. So about four-fifths of the total interest (35,632.31 of 44,408.18) arrives in the second ten years, because the balance is largest then.
Worked example 3: the cost of starting late
Take a single deposit of 5,000 at 4% a year, compounded yearly, and compare how long it is left to grow:
| Time left invested | Final balance | Interest earned |
|---|---|---|
| 10 years | 7,401.22 | 2,401.22 |
| 20 years | 10,955.62 | 5,955.62 |
| 30 years | 16,216.99 | 11,216.99 |
Doubling the time from 10 to 20 years more than doubles the interest (2,401.22 becomes 5,955.62). Tripling it to 30 years multiplies the interest by nearly five. Time matters more than most people expect.
Compounding frequency compared
The same 10,000 at 5% a year for 10 years, with different compounding frequencies:
| Compounded | Periods per year | Final balance | Interest |
|---|---|---|---|
| Simple interest | none | 15,000.00 | 5,000.00 |
| Yearly | 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 |
More frequent compounding helps, but with sharply diminishing returns. Going from yearly to monthly adds about 181. Going from monthly to daily adds only about 17. The rate and the time matter far more than the frequency.
How to use these numbers
Treat a compound interest result as a scenario that answers a question: what happens if the rate stays where it is and I keep doing the same thing? Change one input at a time. Raise the rate by one point and see the effect. Add ten more years and see the effect. Increase the monthly contribution by 50 and see the effect. Comparing the changes shows which lever matters most for your situation, and the answer is often the length of time.
When you read an account's advertised figure, check three things: whether it is nominal or effective, how often interest is credited, and whether the rate is fixed or can change. These three details explain most of the small differences you will see between an advertisement and the balance on your statement.
Quick estimates: the rule of 72
To estimate how long money takes to double, divide 72 by the annual rate in per cent. At 5%, 72 ÷ 5 = 14.4 years. The exact figure for yearly compounding is about 14.21 years, so the rule is a good shortcut but not exact. It works best for rates between about 4% and 12%.
Nominal rate and effective rate
A quoted annual rate with monthly compounding is a nominal rate. What you actually earn over a year is the effective annual rate: (1 + r/m)^m − 1. A nominal 5% compounded monthly is an effective 5.116% a year. Comparing accounts by effective rate removes the confusion caused by different compounding schedules.
Common mistakes
- Using the rate as a monthly rate. A 6% annual rate compounded monthly is 0.5% per month, not 6%. Divide by the number of periods.
- Forgetting the time unit. If you compound monthly, n counts months. Ten years is 120 periods.
- Ignoring inflation and tax. A balance that grows 5% a year while prices rise 3% a year grows in buying power by only about 2%. Interest may also be taxable.
- Assuming rates stay fixed. Many savings rates change. A projection at one rate is a scenario, not a promise.
- Mixing up contribution timing. Adding money at the start of each period earns slightly more than adding it at the end. The formula above assumes the end.
- Treating investment returns as guaranteed. Compound interest on a savings account is a contract. Investment returns vary and can be negative, so they do not follow a smooth curve.
Frequently asked questions
Is compound interest always good?
It is good when you are the saver and bad when you are the borrower. The mathematics is the same in both directions. Interest that is not paid on a debt is usually added to the balance, and then it earns interest for the lender.
Does a higher compounding frequency make a big difference?
Usually not. As the table shows, moving from monthly to daily compounding adds a small amount. The annual rate and the number of years are the bigger levers.
What is the difference between APY and APR?
APY (annual percentage yield) is the effective yearly return after compounding. APR (annual percentage rate) is usually the nominal yearly cost of borrowing, which may include fees. See our guide to APR vs interest rate.
How do regular contributions change the result?
They add to the principal each period, and every contribution then compounds from the date it is paid. In example 2, the contributions of 48,000 grew to 92,408.18.
Why do my results differ slightly from my bank's?
Banks may round each period, use a day-count convention, compound on different dates, or pay interest on the daily balance. Small differences are normal.
Sources and further reading
- Investor.gov: Compound Interest Calculator (US Securities and Exchange Commission)
- Consumer Financial Protection Bureau