FigureCrunch

8 min read · Updated November 22, 2026

The compound interest formula: how it’s calculated, and how much the frequency really matters

The formula written out piece by piece, with checked numbers — and the honest ranking of what actually moves a balance: rate, time, contributions, and the compounding calendar that mostly doesn’t.

Everyone quotes compound interest; almost nobody writes the formula down. That is a shame, because the formula is short enough to fit on a napkin and it explains something no motivational quote can: which of the four levers — principal, rate, frequency and time — actually deserve your attention. This guide writes it out, runs real numbers through it, and then ranks the levers by how much they move a balance. Every figure below comes from the same engine that powers the compound interest calculator, so you can reproduce any of them by typing the inputs in.

The formula, piece by piece

For a single lump sum left alone, compound interest is:

A = P × (1 + r/n)n·t

  • P — the principal, the amount you start with
  • r — the annual rate as a decimal (5% is 0.05)
  • n — compounding periods per year (1 annual, 12 monthly, 365 daily)
  • t — years

The exponent is where the magic hides: the growth factor is applied once per period, so interest earned early in the year starts earning interest itself before the year is out. A worked example: $10,000 at 7%, compounded annually, for 10 years. That is 10,000 × 1.0710 = 10,000 × 1.96715 = $19,671.51. Simple interest would have paid $700 a year, or $7,000 total; compounding pays $9,671.51 — the extra $2,671 is interest that earned interest.

Compounding frequency: real, and smaller than advertised

Banks like to advertise daily compounding as if it were a feature worth switching for. Here is what the frequency is actually worth — $10,000 at a 5% nominal rate, held for 10 years:

  • Compounded annually — $16,288.95
  • Compounded monthly — $16,470.09 (+$181 over annual)
  • Compounded daily — $16,486.65 (+$17 over monthly)
  • Compounded continuously — $16,487.21 (+$0.56 over daily)

The whole ladder from annual to the mathematical limit of infinite compounding is worth about $198 on $10,000 over a decade. The steps shrink so fast because the effective annual yield converges: 5% nominal is 5.00% APY compounded annually, 5.12% compounded monthly, 5.13% compounded daily — and beyond daily there is nowhere to go. This is also why the honest comparison number on any savings product is the APY, not the advertised rate: APY already folds the frequency in, so a daily-compounding account and a monthly-compounding account at the same APY are identical products.

The formula nobody quotes: contributions

The lump-sum formula describes money you already have. Most savers build balances out of deposits, and each deposit compounds only for the time it is actually invested — so the balance is a stack of annuities of different lengths, not one lump sum. The textbook version for a fixed deposit at the end of each period is:

A = PMT × ((1 + i)n − 1) ÷ i

where i is the rate per period and n the number of periods. Worked example: $200 a month, 7% annual return compounded monthly, for 20 years. You deposit $48,000 in total — and end with $104,185. Interest contributed about $56,185, more than double your deposits. Notice what built that stack: not a spectacular rate, not exotic frequency — a boring deposit repeated 240 times. The contribution lever is the one the napkin formula hides, and it is usually the largest one a saver controls.

Continuous compounding: a limit, not a product

Keep slicing the year finer — hourly, by the second, infinitely — and the balance formula becomes A = P·ert, with e the base of natural logarithms. On our $10,000 at 5% for 10 years that is e0.5 × 10,000 = $16,487.21 — 56 cents above daily compounding. No bank offers it because there is nothing left to offer: it is the ceiling the other frequencies are converging toward. You will meet it in bond mathematics and option pricing, where continuous time makes the algebra cleaner, not because anyone’s savings account pays it.

What actually moves the needle

Rank the four levers by how much they moved the balances above: the rate separated $16,289 (5%) from $19,672 (7%) on the same decade; contributions added $56,185 of interest to a $48,000 deposit habit; time is what makes the exponent brutal in either direction; and frequency was worth $198 across its entire range. The practical order for most people: contribute more, earn a better net rate after fees, start earlier — and stop shopping for daily compounding.

One caveat travels with every number here: these are nominal dollars. At 3% inflation the cost of living doubles in about 24 years — the Rule of 72 run in reverse — so a balance projected in future dollars buys far less than its face suggests. The compound interest calculator shows the inflation-adjusted view alongside the nominal one, and the inflation calculator converts any single future dollar into today’s purchasing power. Plan in real terms; celebrate in nominal ones if you like.

Frequently asked questions

What is the compound interest formula?

For a lump sum: A = P(1 + r/n)^(nt), where P is the starting principal, r the annual rate, n the compounding periods per year and t the years. Once you add regular deposits the honest formula is longer — each contribution compounds for the time it is actually invested, which is why most people use a calculator for that case.

Does compounding frequency matter?

It matters, but by less than advertising suggests. On $10,000 at 5% for 10 years, annual compounding ends at $16,289 and monthly at $16,470 — a $181 difference. Monthly to daily adds another $17, and daily to true continuous compounding adds 56 cents. The rate and your contributions are the big levers; the calendar is a rounding error.

Is continuous compounding a real thing banks offer?

Not as a product. Continuous compounding is the mathematical limit of compounding more and more often — Pe^(rt) with e, the base of natural logarithms. It lives in textbooks and derivatives pricing. Banks stop at daily because beyond daily the extra pennies are not worth writing down.

How do monthly contributions change the math?

Each deposit compounds only for the time it is invested, so the balance is a stack of annuities of different lengths rather than one lump sum. $200 a month at 7% for 20 years deposits $48,000 and ends near $104,185 — the interest roughly doubles your money, and it is the deposit habit, not the rate, that built the stack.

What is the difference between simple and compound interest?

Simple interest pays only on the original principal: $10,000 at 5% simple earns $500 every year, forever. Compound interest pays on the principal plus everything already earned, so the interest itself starts earning. Over 10 years at 5%, that gap turns $5,000 of simple interest into $6,289 of compound interest on the same $10,000.

Run your own numbers

This guide is general information for planning purposes, not tax, legal or investment advice. Rules change and individual situations differ, so verify anything you plan to act on with the IRS instructions for your tax year or a qualified professional. Figures reflect the 2026 tax year unless stated otherwise.