How compound interest works, with worked examples
The compound interest formula in plain English, why starting early matters, APR vs APY, the rule of 72, and how the same maths works against you on debt.
Compound interest means earning interest on interest. Each period, the return is added to the balance, and the next period's return is calculated on the larger balance. Over a few years the effect is modest. Over decades it dominates everything else, which is why time is the single most powerful input in any savings plan, and why high-interest debt is so hard to escape.
Simple versus compound
With simple interest, you earn the same amount every year because interest is calculated only on the original sum. $10,000 at 6% simple interest earns $600 a year, so after 10 years you have $16,000.
With compound interest, each year's interest is added to the balance. After the first year you have $10,600; the second year's 6% is calculated on $10,600, giving $636; and so on. After 10 years you have $17,908.48.
The formula for a single sum is:
Future value = P × (1 + r)^n
where P is the starting amount, r the rate per period and n the number of periods. For the example: 10,000 × 1.06^10 = 17,908.48.
Compounding frequency, APR and APY
Interest can be compounded yearly, monthly, daily or continuously. The more often it compounds, the slightly higher the result. The same $10,000 at a 6% annual rate compounded monthly (0.5% a month for 120 months) grows to $18,193.97, about $285 more than with yearly compounding.
That is the difference between two numbers you see on financial products:
- APR (annual percentage rate) is the stated yearly rate, without the effect of compounding within the year. For loans, the APR also includes certain fees.
- APY (annual percentage yield) includes compounding. Under the US Truth in Savings rules, banks must quote APY on deposit accounts so that you can compare them.
A 6% rate compounded monthly gives an APY of (1 + 0.06/12)^12 − 1 = 6.17%.
When comparing savings accounts, compare APYs. When comparing loans, compare APRs, and remember the effective cost of a monthly-compounding loan is higher than its APR.
A worked example: regular saving over 20 years
The compound interest calculator on this site starts with these inputs: $5,000 today, $300 added each month, 6% a year, 20 years. Each month the balance earns one twelfth of the annual rate, then the contribution is added.
| Amount | |
|---|---|
| Money you put in | $5,000 + $300 × 240 = $77,000 |
| Balance after 20 years | $155,163 |
| Growth from compounding | $78,163 |
More than half of the final balance is growth, not contributions. Try changing one input at a time. Raising the rate from 6% to 7% adds more than going from $300 to $330 a month, and adding five more years adds more than either.
Why starting early matters so much
Compare two savers, both earning 6% a year compounded monthly:
- Saver A puts $300 a month into savings from age 25 to 35, then stops completely and leaves the money invested until 65. Total contributions: $36,000.
- Saver B starts at 35 and puts $300 a month in every month until 65. Total contributions: $108,000.
| Contributed | Balance at 65 | |
|---|---|---|
| Saver A (10 years, then stops) | $36,000 | $296,093 |
| Saver B (30 years) | $108,000 | $301,355 |
Saver A put in a third as much and ends up with almost the same amount, because the first $49,164 saved by age 35 had 30 extra years to compound. The example uses a constant 6% to show the mechanism; real investment returns vary from year to year, and stock returns can be negative for several years in a row.
The rule of 72
A quick mental shortcut: divide 72 by the annual percentage rate to estimate how many years it takes for money to double.
| Rate | Rule of 72 | Exact doubling time |
|---|---|---|
| 3% | 24 years | 23.4 years |
| 6% | 12 years | 11.9 years |
| 8% | 9 years | 9.0 years |
| 12% | 6 years | 6.1 years |
The rule works in reverse for inflation: at 3% inflation, prices double in about 24 years, so the purchasing power of cash halves.
Compounding against you: debt
The same maths works for lenders. Credit cards typically compound interest monthly on unpaid balances, and their rates are much higher than what savings earn.
With the inputs of the credit card payoff calculator, a $6,000 balance at 22% APR paid down at $250 a month takes 32 months to clear, and the interest adds up to about $1,979. Raising the payment shortens both the time and the total interest sharply, because each extra dollar stops compounding at 22%.
Paying off a 22% debt is, mathematically, a guaranteed 22% return on that money, something no savings account offers.
What compounding does not promise
- Rates are not fixed. Savings rates change with central bank policy; investment returns vary and can be negative.
- Inflation erodes real value. A 5% return with 3% inflation is about a 1.9% real return: 1.05 ÷ 1.03 − 1. The inflation calculator shows what a sum will buy in the future.
- Taxes and fees reduce the rate that compounds. A 1% annual fee on a 7% return leaves roughly 6% to compound, and over decades that gap becomes large; the ETFs vs mutual funds guide has an example.
- Withdrawals reset the clock. Money taken out stops compounding.
How to work backwards from a goal
If you know the target, you can solve for the monthly amount needed. The savings goal calculator does this: with its default inputs ($50,000 target, $5,000 already saved, 4% a year, 8 years) it shows the monthly contribution required. To check what average rate a past investment actually achieved, use the CAGR calculator.
Compounding in reverse: discounting
Compounding answers "what will this grow to?". Discounting answers the opposite: "what is a future sum worth today?". It uses the same formula turned around:
Present value = Future value ÷ (1 + r)^n
Worked example. A payment of $10,000 promised in 10 years, with a 6% annual discount rate, is worth 10,000 ÷ 1.06^10 = $5,583.95 today. If you could earn 6% elsewhere, $5,584 invested now would grow to the same $10,000.
Discounting is how bond prices, pension obligations and company valuations are calculated. The DCF calculator applies it to a stream of growing cash flows, and the bond yields guide shows it applied to coupons. The higher the discount rate, the less distant money is worth today, which is why rising interest rates tend to hit the prices of long bonds and of companies whose profits lie far in the future hardest.
Frequently asked questions
How often should interest compound for the best result?
More frequent compounding gives a slightly higher yield at the same stated rate, but the difference between monthly and daily is tiny. The rate itself and the time invested matter far more.
Is compound interest the same as investment growth?
The maths is the same, but investments do not pay a fixed rate. A stock fund's value rises and falls. The average growth rate over a period, the CAGR, describes what happened after the fact; it is not a promise.
What is continuous compounding?
The limit as compounding becomes infinitely frequent: Future value = P × e^(r × t). At 6% for 10 years it gives $18,221.19 on $10,000, only a little more than monthly compounding.
Why do savings accounts show both an interest rate and an APY?
The interest rate is the nominal rate; the APY includes compounding over a year and is the figure US rules require for comparison.
Does the rule of 72 work for any rate?
It is most accurate for rates between about 6% and 10%. For very low or very high rates the error grows, but it remains a useful estimate.
Related on this site
Sources
- Investor.gov, Compound interest calculator and explanation
- Consumer Financial Protection Bureau, Regulation DD (Truth in Savings), Appendix A: annual percentage yield
- Consumer Financial Protection Bureau, What is the difference between a mortgage interest rate and an APR?
- Investor.gov, Compound interest
This guide explains how things work. It is general information, not financial, tax or legal advice, and it does not recommend any investment. Rules, rates and figures change; check the source before you act. Found an error? See the corrections policy.