Skip to main content
ToolsHub
4 min read

Understanding Compound Interest: Formula and Examples

Learn how compound interest works, the formula behind it, a verified worked example, why compounding frequency matters, and the rule of 72.

What Compound Interest Actually Means

Compound interest is interest earned on both your original money and on the interest that money has already earned. Simple interest only ever pays you on the starting balance, but compounding lets your returns generate further returns — a snowball effect that becomes dramatic over long periods. Imagine you deposit money in an account that pays interest each month. In month one you earn interest on your deposit. In month two you earn interest on the deposit plus the interest from month one. Repeat that for years and the growth curve bends sharply upward. This is why time in the market matters so much: the earlier you start, the more compounding cycles your money goes through. This guide is educational and not financial advice. For decisions about your own money, consider speaking with a qualified financial professional. To experiment with the numbers yourself, the compound interest calculator runs entirely in your browser — instant, private, and free.

The Compound Interest Formula

The standard formula is A = P(1 + r/n)^(nt), where each letter has a clear meaning: A is the final amount, including interest. P is the principal — the money you start with. r is the annual interest rate written as a decimal, so 5% becomes 0.05. n is the number of times interest is compounded per year (12 for monthly, 4 for quarterly, 365 for daily). t is the number of years. The expression r/n is the interest rate applied in each individual period, and nt is the total number of compounding periods over the whole term. Raising (1 + r/n) to the power of nt captures how each period builds on the last. Once you understand those five inputs, you can model almost any savings or investment scenario.

A Worked Example You Can Verify

Say you invest $10,000 (P) at an annual rate of 5% (r = 0.05), compounded monthly (n = 12), for 10 years (t = 10). 1. Divide the rate by the periods: 0.05 / 12 = 0.0041667. 2. Add one: 1 + 0.0041667 = 1.0041667. 3. Find the total number of periods: 12 × 10 = 120. 4. Raise the base to that power: 1.0041667^120 ≈ 1.6470095. 5. Multiply by the principal: 10,000 × 1.6470095 = $16,470.09. So your $10,000 grows to about $16,470.09 — roughly $6,470 of that is interest, and a meaningful slice of it is interest earned on earlier interest. By contrast, simple interest of 5% per year on $10,000 would add just $500 a year, or $5,000 over the decade, leaving you with $15,000. Compounding adds nearly $1,500 more without you doing anything. Try longer horizons in the investment calculator to see how the gap widens over 20 or 30 years.

Why Compounding Frequency Matters

The more often interest compounds, the more you earn, because gains are reinvested sooner. Using the same $10,000 at 5% over 10 years, compounding annually produces about $16,288.95, compounding monthly produces about $16,470.09, and compounding daily produces about $16,486.45. The differences look small here, but they grow with larger balances, higher rates, and longer time frames. Notice there is a ceiling: as frequency increases toward infinity you approach continuous compounding, which for this example tops out near $16,487. So daily compounding is already very close to the theoretical maximum. When comparing accounts, look at the annual percentage yield (APY) rather than the headline rate, because APY already bakes in the compounding frequency and lets you compare offers fairly. A savings goal is easier to plan once you know your real yield — map it out with the savings goal calculator.

The Rule of 72

The rule of 72 is a fast mental shortcut for estimating how long an investment takes to double. Divide 72 by the annual rate of return (as a whole number) and the result is roughly the number of years to double your money. At 6% a year, 72 ÷ 6 = 12 years to double. At 8%, 72 ÷ 8 = 9 years. At 3%, 72 ÷ 3 = 24 years. The rule is an approximation that works best for rates between about 4% and 12%, but it is remarkably handy for sanity-checking claims and setting expectations. Flip it around and the rule also reveals the cost of inflation: if prices rise 3% a year, your money loses half its purchasing power in about 24 years. That is why simply leaving cash idle can quietly erode wealth, and why understanding compounding helps on both the growth and the protection side of your finances. Always treat these figures as illustrative estimates rather than guaranteed outcomes.

Frequently Asked Questions

What is the difference between simple and compound interest?

Simple interest is calculated only on your original principal, so it grows in a straight line. Compound interest is calculated on the principal plus previously earned interest, so it grows faster and faster over time.

How often is interest usually compounded?

It varies by product. Many savings accounts compound daily or monthly, bonds may compound semi-annually, and some investments are quoted annually. Always check the compounding frequency and the APY when comparing options.

Is the rule of 72 accurate?

It is a close approximation, most reliable for annual rates between roughly 4% and 12%. For precise figures use the full compound interest formula or a calculator, but the rule of 72 is excellent for quick mental estimates.

Does this calculator store my financial data?

No. The ToolsHub compound interest calculator runs entirely in your browser. Your numbers are never uploaded to a server, so your financial planning stays completely private.