Compound interest explained (with the formula)
Why money grows faster than a straight line — and how to put numbers on it.
Compound interest is the reason a modest amount left alone for decades can turn into a small fortune — and the reason an unpaid credit-card balance can quietly spiral. The mechanism is simple: you earn interest, then in the next period you earn interest on that interest too. Each cycle the base grows, so the growth itself grows. Albert Einstein supposedly called it the eighth wonder of the world; whether or not he did, the maths is genuinely worth understanding.
Simple interest vs compound interest
With simple interest, you earn a fixed amount each period based only on your original principal. Put $1,000 at 5% simple interest and you earn $50 every year, forever — $50 in year one, $50 in year ten. After 10 years you have $1,500.
With compound interest, each year's interest is added to the balance and starts earning too. The same $1,000 at 5% compounded annually earns $50 the first year, but $52.50 the second year (5% of $1,050), and so on. After 10 years you have about $1,629 — $129 more, purely because the interest kept re-investing itself. Over longer horizons that gap becomes enormous.
| Years | Simple (5%) | Compound (5%) |
|---|---|---|
| 10 | $1,500 | $1,629 |
| 20 | $2,000 | $2,653 |
| 30 | $2,500 | $4,322 |
| 40 | $3,000 | $7,040 |
Starting balance $1,000. Compound figures rounded to the nearest dollar.
The formula
The standard compound-interest formula is:
A = P(1 + r/n)^(nt) A— the final amount (principal plus interest).P— the principal (your starting amount).r— the annual interest rate as a decimal (5% is0.05, not5).n— how many times interest is compounded per year.t— the number of years.
The key is the exponent nt: the total number of compounding periods. The more
often you compound, the more times that little "interest on interest" effect fires.
Why compounding frequency nudges the result up
Take $1,000 at 6% for one year and vary only n. The rate per period shrinks,
but the number of periods grows, and the net effect favours more frequent compounding:
| Compounding | n | After 1 year |
|---|---|---|
| Annually | 1 | $1,060.00 |
| Quarterly | 4 | $1,061.36 |
| Monthly | 12 | $1,061.68 |
| Daily | 365 | $1,061.83 |
The gains shrink as you compound more often — daily versus monthly barely moves the needle.
There's even a theoretical ceiling: compound infinitely often ("continuous compounding") and
the formula becomes A = Pe^(rt), giving $1,061.84 here. This is also why a
quoted nominal rate and the effective annual rate (APY) differ: 6%
compounded monthly is really about 6.17% effective. When you compare accounts or loans,
always compare effective rates. The fastest way to see all of this is to change the
frequency in our compound interest calculator
and watch the final figure shift.
Regular contributions and the rule of 72
Most people don't just deposit once and wait — they add money regularly. Each contribution compounds for however long it stays invested, so the early ones do the heavy lifting. The future value of a stream of equal payments is given by the future value of an annuity:
FV = PMT * (((1 + i)^N - 1) / i)
where PMT is the payment each period, i is the rate per period and
N is the number of payments. Add it to the lump-sum formula above and you have
the engine behind most savings and retirement projections. Rather than wrangle the algebra
by hand, plug your monthly contribution into the
calculator and let it do the arithmetic.
For quick mental estimates there's the rule of 72: divide 72 by the annual
percentage rate to approximate how many years it takes your money to double. At 6%, that's
72 / 6 = 12 years; at 9%, just 8 years. It's an approximation (it works best for
rates between roughly 4% and 12%), but it's remarkably handy for sanity-checking a claim
without a spreadsheet.
Time is the biggest lever
Invest $200/month at 7% from age 25 and you reach about $525,000 by 65. Start at 35 and you get roughly $245,000 — less than half, for waiting just ten years.
It cuts both ways
On debt, compounding works against you. A balance at 22% APR roughly doubles in under 3.3 years if left unpaid (72 / 22). The same force, pointed the wrong direction.
A worked example
Suppose you invest P = $5,000 at an annual rate of r = 0.07 (7%),
compounded monthly so n = 12, for t = 15 years. Plug in:
A = 5000 * (1 + 0.07/12)^(12 * 15)
A = 5000 * (1.0058333...)^180
A = 5000 * 2.8489
A ≈ $14,245
Your $5,000 more than doubles without you adding a cent — and the rule of 72 agrees it should
double in about 72 / 7 ≈ 10.3 years, with the extra time pushing it well past 2×.
Now flip the perspective: a $5,000 loan left at the same terms grows the same way, which is
exactly why high-interest debt is so dangerous. If you're weighing a loan, run the numbers in
our loan calculator to see the total interest you'd actually
pay over the life of the balance.
This is general educational information, not financial advice. Investment returns vary and are not guaranteed; figures above are illustrative. Consider speaking with a qualified professional before making financial decisions.
Related tools: Compound interest calculator · Loan calculator