The Complete Guide to Compound Interest
The basic idea
Simple interest is computed only on the original principal. Put $1,000 in an account paying 5% simple interest and every year you earn $50. After 30 years you have $2,500 — the $1,000 principal plus $1,500 in interest.
Compound interest is computed on the principal plus all previously accumulated interest. Put the same $1,000 at 5% compounded annually and the first year you earn $50 (same as simple). The second year you earn 5% of $1,050, which is $52.50. The third year you earn 5% of $1,102.50, which is $55.13. The interest you earn keeps earning interest. After 30 years you have $4,322 — $1,822 more than simple interest produced.
Over short periods the difference is trivial. Over multi-decade horizons it is the single most powerful force in personal finance — for better when you are investing, and for worse when you are in debt.
The formula
The standard compound-interest formula:
A = P × (1 + r/n)^(n × t)
Where:
- A = final amount
- P = principal (initial deposit)
- r = annual interest rate as a decimal (5% = 0.05)
- n = number of compounding periods per year
- t = time in years
For annual compounding, n = 1, and the formula simplifies to A = P × (1 + r)^t. For continuous compounding — the theoretical limit — the formula becomes A = P × e^(r × t), where e is Euler's number (≈ 2.71828). In practice, the difference between daily compounding and continuous compounding is negligible.
When you are making regular contributions, the formula expands. For a monthly contribution C added at the end of each period:
A = P × (1 + r/n)^(n × t) + C × [((1 + r/n)^(n × t) − 1) / (r/n)]
That second term is the future value of a series of deposits (an annuity). This is the formula that sits inside most compound-interest and savings-goal calculators.
Worked examples
Example 1: lump sum, no contributions. $10,000 at 7% annually for various horizons.
- After 10 years: $10,000 × (1.07)^10 = $19,672
- After 20 years: $10,000 × (1.07)^20 = $38,697
- After 30 years: $10,000 × (1.07)^30 = $76,123
- After 40 years: $10,000 × (1.07)^40 = $149,745
Note the acceleration: the first decade adds $9,672. The fourth decade adds $73,622 — nearly eight times as much. The money made in the last 10 years is more than the money made in the first 30 combined. That is the shape of compounding.
Example 2: monthly contributions, no starting balance. $500/month at 7%.
- After 10 years: ~$86,000 ($60,000 contributed, $26,000 growth)
- After 20 years: ~$260,000 ($120,000 contributed, $140,000 growth)
- After 30 years: ~$610,000 ($180,000 contributed, $430,000 growth)
At year 10, most of the balance is your contributions. At year 30, most of the balance is growth. The crossover is around year 18 at 7% returns — the point at which compounding starts doing more of the work than you do.
The three levers
The formula has three inputs you can influence, each with different characteristics:
- Principal / contributions. Linear. Double your contributions, roughly double your final amount. The variable you have the most direct control over.
- Rate. Powerful but risky. Moving from 5% to 8% over 30 years turns $10,000 into $100,627 instead of $43,219 — more than doubles. But chasing higher returns usually means higher risk, higher fees, or both. Most people overestimate how much control they have here.
- Time. The most powerful lever, and the one you cannot recover. A decade started at age 25 is worth multiples of a decade started at age 45. Starting early and then contributing less can beat starting late and contributing more.
The oft-cited "latte factor" argument — skip the $5 coffee and become a millionaire — is directionally right but exaggerated. $5/day is $150/month. At 7% for 40 years that becomes about $395,000 — a meaningful sum, but "emergency fund" meaningful, not "retired in luxury" meaningful. Consistent saving plus long time horizons plus avoiding catastrophic mistakes is the honest recipe.
Compounding and inflation
A naive compound-interest calculation ignores inflation. If your investment grows at 7% per year and inflation is 3%, your real return is roughly 4%, not 7%. Over long periods that difference is enormous: $10,000 at 7% nominal for 40 years becomes $149,745 nominal, but that $149,745 will buy only about $45,900 of today's goods if inflation averaged 3%.
When planning for a long horizon — retirement, a child's education 20 years out — run the numbers in real terms: use an expected real return (historical equity real return is about 6 to 7%) rather than the nominal return. Otherwise you systematically overstate your future purchasing power.
Where compounding works against you
The same math that builds wealth on assets destroys wealth on debt. High-interest debt — credit cards, payday loans, some personal loans — compounds daily and typically at 18 to 28% APR.
- $5,000 on a credit card at 22% APR, minimum payments only: roughly $17,000 paid over the life of the debt, most of it interest.
- $30,000 student loan at 6% over 20 years with no extra payments: about $51,000 repaid, $21,000 of it interest.
- $300,000 mortgage at 6.5% over 30 years: about $682,000 repaid, more than double the principal.
Paying off high-interest debt is often the highest-return risk-free "investment" available. Paying off a 22% APR credit card is the mathematical equivalent of earning a guaranteed 22% tax-free return on the balance paid — a return you will not find in any legitimate investment.
Common mistakes
- Using nominal rates for long-term planning. Inflation erodes nominal returns; always plan with real rates for horizons over 10 years.
- Assuming 10%+ returns. Long-run historical real equity returns are 6 to 7%. Plans built on 10%+ tend to miss reality.
- Neglecting fees. A 1% annual fee on a portfolio sounds small. Over 30 years at 7% gross returns, it eats about 20% of your final balance. Match 7% minus 1% compounded against 7% minus 0.1% and the difference is enormous.
- Interrupting compounding. Selling and re-buying creates tax events that compress the compounding machine. The lowest-friction strategy is usually consistent buying and long holding.
- Chasing yield. A 2 percentage point higher rate with 10× the risk is not a better deal. High compounding rates are scarce; reasonable rates compounded for a long time beat high rates compounded for a short time.
Related calculators
Frequently Asked Questions
How often does compounding actually happen in real accounts?
Does compounding more frequently make a big difference?
Is compound interest the same as compound growth?
What rate should I assume for long-term investing?
Can compound interest work against me?
What is the real "secret" to building wealth with compounding?
Jonah covers the math of money — compound interest, savings goals, inflation, and the small number of decisions that actually move the needle on long-term wealth. His background is in financial analysis, and he approaches personal-finance writing the same way: with worked examples, explicit assumptions, and a strong preference for showing his work. He does not sell courses, recommend stocks, or run an investment newsletter.
Related reading
Compound vs Simple Interest: What's the Difference
At 7% for 30 years, simple interest triples your money. Compound interest multiplies it by eight. Here is why, and where each one shows up.
FinanceThe Rule of 72 Explained (With Examples)
Divide 72 by your interest rate. That is how many years it takes your money to double. It is not exact — it is better than exact.