How to Calculate Compound Interest (Formula + Examples)
July 20, 2026 6 min read

Reviewed and updated by the ToolBlur editorial team on August 1, 2026.

How to Calculate Compound Interest (Formula + Examples)

Learn how to calculate compound interest with the exact formula, a worked example, and the Rule of 72 shortcut.

Learning how to calculate compound interest is one of the most valuable money skills you can build, because it explains how a modest amount of savings can grow into a substantial sum over time. In this guide you will see the exact formula, a step-by-step example, and a simple trick to estimate growth in your head.

What compound interest actually means

Compound interest is the interest you earn on both your original money — the principal — and on the interest that has already been added. Simple interest is calculated only on the principal, but compound interest earns "interest on interest." That snowball effect is exactly what makes long-term saving and investing so powerful.

The compound interest formula

The standard formula is: A = P × (1 + r/n)^(n·t). Each letter stands for one input:

  • A — the final amount you end up with.
  • P — the principal, or starting amount.
  • r — the annual interest rate written as a decimal (8% becomes 0.08).
  • n — how many times interest is added per year (monthly is 12).
  • t — the number of years the money stays invested.

A step-by-step example

Suppose you invest 1,000 dollars at an 8% annual rate, compounded monthly, for 10 years. Plug the numbers in: P is 1,000, r is 0.08, n is 12, and t is 10. Working the formula out gives A = 1,000 × (1 + 0.08/12)^(120), which comes to about 2,219 dollars. You contributed 1,000 and earned roughly 1,219 in interest — more than doubling your money without adding a single extra deposit.

Simple vs. compound over time

The gap between simple and compound interest is small at first, then grows dramatically. Here is 1,000 dollars at 8% per year, compared side by side:

YearsSimple interestCompound interest
51,4001,469
101,8002,159
202,6004,661
303,40010,063

After 30 years the compound total is nearly three times the simple one. Time, not luck, does the heavy lifting.

Compound interest is the reward for patience: the longer you leave your money alone, the harder it works for you.

The Rule of 72: a mental shortcut

To estimate how long it takes your money to double, divide 72 by the annual rate. At 8%, that is 72 ÷ 8 = 9 years to double. At 6% it takes 12 years. It is not perfectly exact, but it is close enough to make quick decisions without a calculator.

Does compounding frequency matter?

Yes, but less than most people expect. Daily compounding beats monthly, which beats yearly, because interest is added more often. At everyday rates the difference is real but modest, so the two variables that matter most remain the rate and the number of years. When you are ready to run your own numbers, our compound interest calculator handles every input instantly, and if you are comparing borrowing costs instead, the loan calculator shows the flip side of the same math.

Put it to work

Compound interest rewards two things above all: starting early and staying consistent. Even small, regular contributions can outgrow a larger one-time deposit made years later. For a trustworthy second opinion, the U.S. Securities and Exchange Commission offers a free calculator on Investor.gov. Understand the formula once, let time do the rest, and your future self will thank you.

The compound interest formula

For a single starting deposit, the common formula is A = P(1 + r/n)^(nt). P is the principal, r the annual rate as a decimal, n the number of compounding periods per year and t the number of years. A is the estimated future balance before taxes, fees or withdrawals.

At 6% compounded monthly, use 0.06 for r and 12 for n. Entering 6 instead of 0.06 is a hundredfold rate error. The ToolBlur calculator handles the conversion from a percentage field, but understanding the formula helps you spot unrealistic results.

Example with no additional contributions

Investing $5,000 for ten years at a hypothetical 6% compounded monthly produces approximately $9,096 before fees and taxes. The gain is not $3,000 from simple interest; earlier interest also earns later interest. This example illustrates the mathematics and is not a promised return.

Regular contributions change the picture

Real saving plans often add money monthly. A future-value calculation for a series of deposits is different from the single-principal formula and depends on whether contributions occur at the beginning or end of each period. Compare calculators only after confirming they use the same timing assumption.

Nominal rate versus effective annual rate

A nominal annual rate states the quoted rate before within-year compounding. The effective annual rate includes the compounding effect. Two products with the same nominal rate can differ if they compound at different frequencies, although fees and withdrawal rules can matter much more than a small frequency difference.

Inflation and purchasing power

A larger future balance does not necessarily buy proportionally more. If prices rise over the same period, part of the nominal growth merely preserves purchasing power. A “real” return roughly adjusts the investment return for inflation. Long-range plans should test more than one return and inflation scenario.

Fees compound too

Annual product fees, advisory charges and fund expenses reduce the amount left to grow. A fee that looks small in one year can have a meaningful long-term effect because both the fee and the missed future growth accumulate. Compare net outcomes rather than advertised headline rates alone.

Scenario analysis instead of prediction

ScenarioWhat to varyWhy
ConservativeLower return, higher fees or inflationTests resilience
ExpectedReasonable central assumptionsProvides a planning baseline
OptimisticHigher returnShows upside without treating it as guaranteed

Run all three and focus on decisions you control: contribution amount, time horizon, diversification and cost. Market returns are uncertain, so a calculator should support planning rather than manufacture confidence.

Check the product details

For a bank deposit, confirm whether the rate can change, how often interest is credited, withdrawal penalties and deposit-protection rules in your country. For investments, understand that values can fall and that past performance does not guarantee future results. Independent regulated advice may be appropriate for important decisions.

Frequently asked questions

What is the difference between simple and compound interest?

Simple interest is calculated on the original principal. Compound interest is calculated on principal plus previously added interest, so growth can accelerate over time.

Does daily compounding always mean the best product?

No. Compare effective yield, fees, access rules, risk and taxes. A small frequency advantage can be outweighed by a lower rate or higher cost.

Why does my bank’s result differ?

The institution may use specific day-count rules, variable rates, contribution timing, rounding, fees or taxes. Read the product terms and use the official statement for actual balances.

Can the calculator predict investment returns?

No. It projects a constant hypothetical rate. Market returns vary and can be negative, so use several scenarios rather than one forecast.

How do monthly contributions affect growth?

They increase the amount invested and each deposit has its own time to compound. Timing at the beginning versus end of a month changes the result slightly.

Is a higher rate always better?

Higher expected return often comes with higher risk. Compare liquidity, protection, volatility, costs and suitability—not only the projected final number.

Tools mentioned in this article

More articles