Finance Tools
How to Calculate Compound Interest (Formula + Real Examples)
Understand compound interest with the full formula, worked examples, and the rule of 72. See how compounding frequency changes the result — plus a free calculator.
- #compound interest
- #savings
- #investing
- #finance basics
Compound interest is the reason a modest amount saved early can outgrow a larger amount saved late. It is also the reason credit card debt is so hard to escape. The mechanism is the same in both directions: interest earns interest. Understanding the formula turns it from a vague idea into a number you can plan around.
The formula
The standard compound interest formula is:
A = P × (1 + r/n)^(n × t)
Where:
- A is the final amount.
- P is the principal — the starting amount.
- r is the annual interest rate, written as a decimal (5% becomes 0.05).
- n is the number of times interest compounds per year.
- t is the time in years.
The interest earned is simply A minus P.
A worked example
Say you invest 10,000 at 6% annual interest, compounded monthly, for 10 years.
- P = 10,000
- r = 0.06
- n = 12 (monthly)
- t = 10
A = 10,000 × (1 + 0.06/12)^(12 × 10) A = 10,000 × (1.005)^120 A = 10,000 × 1.8194 A = 18,194
You contributed 10,000 and earned 8,194 in interest — without adding a single extra deposit. The Compound Interest section of the Loan Calculator runs this math instantly and lets you add regular contributions on top.
Why compounding frequency matters
The same rate compounds to different totals depending on how often it is applied. Take 10,000 at 6% for 10 years:
- Annually (n = 1): 17,908
- Monthly (n = 12): 18,194
- Daily (n = 365): 18,221
More frequent compounding always wins, but the gap narrows quickly. The jump from annual to monthly is meaningful; from monthly to daily is almost nothing. This is why "compounded daily" in marketing copy is technically true but barely matters.
Simple vs compound interest
Simple interest is calculated only on the original principal. Compound interest is calculated on the principal plus all previously accumulated interest. Over 10 years at 6%:
- Simple interest on 10,000 earns 6,000.
- Compound interest (monthly) earns 8,194.
That 2,194 difference is interest earning its own interest. Over 30 years the gap becomes enormous — which is the entire argument for starting to save early.
The rule of 72
For a fast mental estimate, the rule of 72 tells you how long money takes to double: divide 72 by the interest rate.
- At 6%: 72 ÷ 6 = 12 years to double.
- At 8%: 72 ÷ 8 = 9 years.
- At 4%: 72 ÷ 4 = 18 years.
It is an approximation, but for rates between 4% and 12% it is accurate enough for back-of-envelope planning.
Compounding works against you too
Everything above applies in reverse to debt. A credit card at 22% APR, compounded daily, on a balance you only partly pay down, grows with exactly the same mathematics — just pointed at you instead of for you. The rule of 72 says a 22% balance left untouched would double in roughly three years.
This is why high-interest debt is the first thing financial advice tells you to clear: no investment reliably beats the guaranteed return of not paying 22% interest.
Putting it to use
To make compound interest work for you:
- Start early. Time is the most powerful variable in the formula — it sits in the exponent.
- Contribute regularly. Adding to the principal each month compounds alongside the interest. A calculator that supports recurring contributions, like the Loan Calculator, shows this clearly.
- Mind the rate, but mind the fees too. A 1% annual fee quietly eats a large share of long-run compounding.
- Clear high-interest debt first. It is compounding you can switch off with a guaranteed return.
The short version
Compound interest is A = P × (1 + r/n)^(n × t). The exponent is where the magic — or the damage — lives, which is why time matters more than the rate. Run your own numbers with the Loan Calculator and the Mortgage Calculator to see how a few years and a few percentage points reshape the final figure.
DEV-IN-ARTICLE · fluidWritten by
UtilityApps Team
We build free utility tools and write about the math, science, and trade-offs behind them. Got feedback or a tool request? Get in touch.
Related articles
More from the blogGet weekly tool recommendations
One short email each Friday: the tools that saved us time this week, plus a short tip you can use the next morning.
By subscribing you agree to our Privacy Policy. We never share your email and you can unsubscribe in one click. GDPR compliant.
DEV-BOTTOM · horizontal