Skip to main content
Viralrang

How Does Compound Interest Work? The Math That Grows Money

Interest that earns interest — the formula, the frequency gap, and why steady deposits and time do most of the work.

By Mohamed Zakrya

Updated · 7 min read

Share
How does compound interest work — inputs, growth factor and result How does compound interest work? Interest joins the balance, then earns interest of its own — 120 times over STEP 1 — THE INPUTS P $1,000 starting principal r 5% annual rate t 10 years — slider runs 1–50 n monthly → 12 compounds a year $1,000 at 5%, compounded monthly, for 10 years STEP 2 — THE GROWTH FACTOR each month the balance is multiplied by (1 + 0.05 ÷ 12) 12 a year × 10 years = 120 times 120 multiplications each one on a balance the earlier ones grew STEP 3 — THE RESULT principal — $1,000 interest — $647.01 1000 × (1 + 0.05 ÷ 12)^120 $1,647.01 $647.01 of it is interest THE MATH balance = P × (1 + r/n)^(n × years) interest = balance − principal − total deposits with deposits: + PMT × [((1 + r/n)^(n × yrs) − 1) ÷ (r/n)] n = 12 monthly · 4 quarterly · 365 daily · 1 annually Worked example — $1,000 principal, 5% rate, 10 years, compounded monthly ENDING BALANCE $1,647.01 INTEREST EARNED $647.01 ADD $100 A MONTH $17,175.23
Interest that earns interest — the formula, the frequency gap, and why steady deposits and time do most of the work.

Compound interest is interest that earns interest. Put $1,000 in an account paying 5% and the first slice of interest joins the balance, so the next slice is calculated on slightly more than you deposited. Let that repeat every month for 10 years and the $1,000 becomes $1,647.01 — $647.01 of growth, against the flat $500 that simple interest would have paid on the same money. The extra $147.01 was earned entirely by earlier interest.

The mechanism matters more than the formula. Because each period's interest is figured on a balance that already includes past interest, growth accelerates: the line bends upward instead of climbing in even steps, and the bend gets steeper the longer the money sits. Everything else — compounding frequency, monthly deposits, the Rule of 72 — is a variation on that one idea, and this guide works through each piece with the same numbers the calculator uses.

The formula

Four inputs drive everything: the principal P, the annual rate r as a decimal, the term in years, and n, how many times per year the interest compounds.

  • n = compounds per year — 12 monthly, 365 daily, 4 quarterly, 1 annually
  • balance = P × (1 + r/n)^(n × years)
  • with deposits: + PMT × [((1 + r/n)^(n × years) − 1) ÷ (r/n)]
  • interest = balance − principal − total deposits

Run the defaults through it: $1,000 at 5% for 10 years, compounded monthly. Here n = 12, r = 0.05, and the exponent n × years = 120, so balance = 1000 × (1 + 0.05 ÷ 12)^120 = $1,647.01. Subtract the $1,000 principal and the interest is $647.01.

That exponent is the part worth staring at. The balance gets multiplied by the same small growth factor 120 times, and every multiplication acts on a balance the earlier ones already grew. That is the entire trick — there is no other moving part.

Compound vs. simple: why the line bends

Simple interest is figured on the original principal alone. The same $1,000 at 5% earns the same $50 every year, so after 10 years it has added 1000 × 0.05 × 10 = $500 and sits at $1,500 — a straight line in equal steps. Compound interest adds each period's interest back into the balance, so the base keeps growing and the payments keep getting bigger: $647.01 over the same decade.

Compound vs simple interest — the curve and the straight line Same $1,000, same 5% — two different lines Simple interest climbs in equal steps; compound interest bends upward compound simple year 0 year 10 $1,000 start $1,647.01 $1,500 SIMPLE — $500 $1,500 1000 × 0.05 × 10 = $500 on the principal only COMPOUND — $647.01 $1,647.01 each period’s interest joins the balance Nearly identical for the first years — then the gap widens to $147.01 and keeps growing.
The same $1,000 at 5% for 10 years: simple interest walks a straight line to $1,500; compounding curves to $1,647.01.

The two are nearly identical for the first couple of years — which is why compounding feels underwhelming at first — and then the gap widens without limit. If what you actually have is interest figured on the principal alone, a loan from a relative, say, or a fixed payout, the simple interest calculator is built for that flat version.

Step by step

  1. Enter the principal, the annual rate, and the years — the years input doubles as a slider from 1 to 50.
  2. Pick the compounding frequency. Monthly is the default; daily, quarterly, and annually are the alternatives.
  3. Add a monthly contribution if you plan to keep depositing.
  4. Read the three outputs: ending balance, total deposits, and the interest earned on top.

Does compounding frequency matter?

Yes — but less than people expect. At the same 5% over 10 years, $1,000 grows to $1,628.89 compounded annually, $1,647.01 compounded monthly, and a hair more compounded daily. Monthly beats annual by $18.12 over the decade.

Does compounding frequency matter — annual vs monthly vs daily Same rate, same decade — the frequency gap $1,000 at 5% for 10 years, by how often the interest compounds Annually n = 1 → growth factor applied 10 times $1,628.89 $628.89 interest Monthly n = 12 → applied 120 times — the default $1,647.01 $647.01 interest — +$18.12 vs annual Daily n = 365 → growth factor applied 3,650 times a hair more still just past the monthly figure The gaps are modest at ordinary rates — and they widen as the rate or the term grows.
Annual, monthly, and daily compounding on the same $1,000 at 5% for 10 years — the gaps are real but modest.

The reason for the gap: annual compounding applies its growth factor 10 times, monthly applies a smaller factor 120 times, and the monthly schedule puts interest to work sooner — interest starts earning its own interest with an eleven-month head start each year. The gaps stay small at ordinary rates, but they are real, and they widen as the rate or the term grows. When you compare two accounts, check the compounding frequency along with the rate.

Free calculator

Compound Interest Calculator

Growth with interest on interest — principal, rate, time, compounding frequency, and optional monthly deposits.

Open the compound interest calculator

Contributions are the real engine

The rate gets all the attention; the deposits do most of the work. Keep the same $1,000 at 5% for 10 years, compounded monthly, and add $100 a month. The balance climbs to $17,175.23.

Break that down. The deposits account for $12,000 — 120 payments of $100 — and the original $1,000 principal is still in there. The remaining $4,175.23 is interest: $647.01 earned by the principal on its own, plus $3,528.22 earned by the deposits, each of which gets its own stretch of compounding — the first $100 rides almost the whole decade, the last one barely compounds at all. That staggered growth is exactly what the annuity term in the formula adds up.

What a $100 monthly deposit does to the balance Add $100 a month and the balance really moves $1,000 at 5% for 10 years, compounded monthly — with and without deposits No deposits $1,647.01 $100 every month $17,175.23 principal $1,000 deposits $12,000 — 120 × $100 interest $4,175.23 Each deposit gets its own stretch of compounding — the first $100 rides almost the whole decade, the last one barely at all.
With $100 a month, $17,175.23 breaks into $1,000 principal, $12,000 of deposits, and $4,175.23 of interest.

The calculator breaks total deposits out as its own figure, so you always see how much of the ending balance you put in versus how much the account earned. And if you are working the problem in the other direction — starting from a target amount and solving for the deposit that gets you there — the savings goal calculator runs that math.

The Rule of 72

For a fast estimate of doubling time, divide 72 by the interest rate. At 5%, that is 72 ÷ 5 ≈ 14.4 years for money to double. It is an approximation, not a substitute for the exact formula — use it to sanity-check a result at a glance, the way you would eyeball a restaurant bill. If the calculator says your balance roughly doubled and the Rule of 72 agrees on the timeline, the inputs are probably right.

Time is the input that matters most

Drag the years slider and watch the shape of the result, not just the number. Early on the gains are modest — that near-flat stretch where compound and simple interest are still neighbors. Each year after that, the interest is calculated on a larger balance, so the curve bends steeper the longer it runs, all the way out to the slider's 50-year limit. The steepest, most productive part of the curve is always the part furthest out, which is why trimming years off the term costs so much — and why time in the market tends to matter more than almost anything else.

The same math runs in reverse on debt

Compound interest has no loyalty. On a savings balance it works for you; on borrowed money, unpaid interest joins the balance and starts accruing interest of its own, and the same curve that grows an account grows a debt. That is the case for paying compounding debt down early: you are un-bending the curve. To see the borrowing side of the ledger — what a fixed monthly payment does against principal and interest — the loan payment calculator handles that math.

Common mistakes to avoid

  • Comparing accounts on rate alone. At the same rate, $1,628.89 annually versus $1,647.01 monthly — check the frequency too.
  • Expecting straight-line growth. That is simple interest. Compound growth looks disappointing early and dramatic late; judge it at the end of the term, not year two.
  • Reading the ending balance as all earnings. Of $17,175.23, $12,000 is your own deposits — the breakout matters.
  • Treating the Rule of 72 as exact. 72 ÷ 5 ≈ 14.4 years is an estimate; the formula is the answer.
  • Waiting to start. Every year trimmed off the term comes out of the steep end of the curve, where the balance grows fastest.

The formula fits on one line: balance = P × (1 + r/n)^(n × years), plus an annuity term if you keep depositing. The behavior takes longer to internalize — interest joining the balance, deposits each compounding on their own clock, and a curve that saves its best years for last. Put your own numbers in and watch which input actually moves the result.

Free calculator

See your balance curve in seconds

Enter a principal, rate, and term, pick a compounding frequency, add a monthly deposit — and get the ending balance, total deposits, and interest earned.

Open the compound interest calculator

How Many Rolls of Wallpaper Do I Need? Pattern Repeat Math

The wall-area takeoff, the usable yield of a roll, and why the pattern repeat decides your order.

July 20, 2026 · 6 min read

How Many Tiles Do I Need? Sizes, Waste & Boxes

The formula, the waste allowance that actually fits your layout, and how to turn a tile count into whole boxes.

July 20, 2026 · 7 min read

How Much Does Electricity Cost? Reading Your Bill in kWh

The kWh formula, the rate your bill actually charges, and what a heater, an always-on device, and standby power really cost.

July 20, 2026 · 6 min read