Compound interest explained: what n in A = P(1 + r/n)^nt actually changes
The compound interest formula has four moving parts, and n — how often interest is credited — is the one people overestimate. Here is what each term does, with worked numbers for annual, monthly, and daily compounding.
Compound interest gets a reputation for being complicated, and the formula that carries it — A = P(1 + r/n)^nt — looks like the reason. But the formula is really four knobs, and only three of them move the outcome much. Understanding which is which is the difference between a number you can predict and a number that surprises you in year twenty.
The formula, term by term
- P is the starting amount — the principal. In a savings account this is your deposit; in a loan it is the balance you borrowed.
- r is the annual interest rate written as a decimal. A 5% rate is r = 0.05.
- n is the number of compounding periods per year: 1 for annual, 12 for monthly, 365 for daily.
- t is the time in years.
The formula multiplies your principal by the growth factor (1 + r/n) once per period, n × t times in total. The parenthetical is the interesting piece: each period, the balance grows by a fraction of the annual rate — r/n — so the interest earned in one period starts earning interest in the next. That is the entire mechanism of compounding: interest on interest.
What n actually changes — and what it does not
The most common instinct is that n is the main lever: surely daily compounding beats annual by a mile? The arithmetic says otherwise. Take $10,000 at 5% for 20 years:
| Compounding | Formula | Balance after 20 years |
|---|---|---|
| Annual (n = 1) | 10,000 × 1.05^20 | $26,533 |
| Monthly (n = 12) | 10,000 × (1.004167)^240 | $27,126 |
| Daily (n = 365) | 10,000 × (1.000137)^7,300 | $27,181 |
| Continuous (limit) | 10,000 × e^1.00 | $27,183 |
Daily compounding beats annual by about $648 on this example — roughly 2.4%. And the ceiling is visible in the table: continuous compounding, the mathematical limit of compounding infinitely often, lands only $2 higher than daily. Nobody offers continuous compounding; it is the asymptote that proves the point. Compounding more often is real, but it is a rounding error compared to the two knobs that actually matter.
The two knobs that matter: rate and time
Double the rate and the 20-year balance changes dramatically: at 10% the same $10,000 becomes $67,275 annually compounded — more than double the 5% result, because the extra growth itself compounds. Stretch the time and the effect is even more striking: $10,000 at 5% for 40 years is $70,400 annually compounded. In the first decade the balance grows by roughly half its starting value; in the fourth decade it grows by more than the entire starting amount. Growth is not linear in time — it is exponential, and the exponential only becomes visible in the later years.
The practical reading of the table is this: when you are choosing between accounts, the rate dominates the compounding frequency. A 5.05% annually compounded account beats a 5.00% daily compounded one, and the difference is not close. When you are choosing whether to start early, time dominates everything: ten extra years at the same rate beats any realistic n.
When compounding works against you
Every rule above flips when the balance is a debt. A credit card quoting 24% APR compounded daily costs more than 24%: the effective annual rate is (1 + 0.24/365)^365 − 1 ≈ 27.1%, because each day’s interest joins the balance and is charged again tomorrow. The compounding frequency that barely mattered for savings adds roughly three percentage points here, and it compounds on the full unpaid balance — which is why minimum payments are a treadmill. The same formula runs the loan amortization calculator, where monthly compounding on a car or home loan produces a schedule you can see month by month.
The sanity check
The Rule of 72 estimates doubling time: 72 ÷ rate. At 5% that is about 14.4 years; at 8%, 9 years. It is an approximation, accurate to within a year across normal rates, and it is the fastest way to catch a claim that cannot be true — an offer that “doubles your money in five years” implies a rate near 14.4%, which should make you read the terms twice.
Let the calculator do it
Our compound interest calculator runs this exact formula: it takes your principal, the annual rate, the compounding frequency, and the time, and returns the ending balance plus the interest earned — no manual exponent required. It keeps full decimal precision internally, handles monthly contributions alongside a lump sum, and shows the growth broken out by year so the curve is visible instead of abstract.
The one rule
Pick the rate, then the time, then the compounding frequency — in that order of importance — and let the formula do the arithmetic. n is the knob everyone worries about and the one that matters least; the rate is the contract, and time is the real multiplier.
Related tools
Frequently asked questions
Does daily compounding make a big difference compared to annual compounding?
Much smaller than most people expect. On $10,000 at 5% over 20 years, annual compounding gives $26,533 and daily compounding gives $27,181 — a difference of about 2.4%. The gap matters less than the rate, the time, or whether anything is compounding at all.
What does n mean in the compound interest formula?
n is the number of compounding periods per year: 1 for annual, 12 for monthly, 365 for daily. It changes how often interest is calculated and added to the balance, which changes the total — but the effect shrinks as n grows, because compounding more often can never exceed continuous compounding.
How do I calculate compound interest?
Use A = P × (1 + r/n)^(n × t), where P is the starting amount, r is the annual rate written as a decimal, n is compounding periods per year, and t is the number of years. A is the ending balance, including the original principal.
Does compound interest work against me on debt?
Yes, and this is where it bites hardest. A credit card at 24% APR compounded daily costs about 27.1% effective interest per year — the compounding adds roughly three percentage points on top of the advertised rate, and it grows on the unpaid balance every day.
What is the Rule of 72?
A quick mental check: divide 72 by the annual rate to estimate how many years a balance takes to double. At 5%, 72 ÷ 5 ≈ 14.4 years. It is an approximation that is most accurate around 8% and drifts at extremes, but it is excellent for sanity-checking any compound interest claim.
Last reviewed August 25, 2026 · Version 1.0.0 · Toolivaro does not guarantee external content.
Found a mistake or have a correction? Report it — we review every correction.