English

How to Calculate Compound Interest: Formula and Worked Examples

By the 555649.xyz team · Published · 5 min read

Compound interest is the reason a savings account or long-term investment can grow much faster than you might expect – and also the reason credit card debt can spiral. Understanding how it is calculated helps you compare savings products, estimate how long it will take to reach a goal and see the real cost of borrowing.

This guide explains the formula in plain language, walks through worked examples and shows how to check your numbers with a free calculator.

Note: the examples are illustrations of the maths only, not financial advice. Real returns vary and are affected by fees, taxes and inflation.

Simple interest vs compound interest

With simple interest, you earn interest only on the original amount (the principal). With compound interest, the interest you earn is added to the balance, and future interest is calculated on that larger balance. You earn “interest on interest”.

Example: you deposit 1,000 at 5% per year.

  • Simple interest: you earn 50 every year. After 10 years you have 1,500.
  • Compound interest (yearly): year one earns 50, year two earns 52.50 (5% of 1,050), and so on. After 10 years you have about 1,628.89.

The gap widens dramatically over longer periods.

The compound interest formula

The standard formula for a single deposit is:

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

  • A – the final amount (principal plus interest)
  • P – the principal, the starting amount
  • r – the annual nominal interest rate as a decimal (5% = 0.05)
  • n – the number of times interest is compounded per year (1 yearly, 12 monthly, 365 daily)
  • t – the time in years

The interest earned is simply A − P.

Worked example 1: yearly compounding

P = 10,000, r = 0.04, n = 1, t = 15.

A = 10,000 × (1.04)^15 ≈ 10,000 × 1.8009 ≈ 18,009.44. Interest earned ≈ 8,009.44.

Worked example 2: monthly compounding

Same numbers but compounded monthly: n = 12.

A = 10,000 × (1 + 0.04/12)^(180) ≈ 10,000 × 1.8203 ≈ 18,203.02.

Monthly compounding adds roughly 194 compared with yearly compounding – noticeable, but much smaller than the effect of the rate or the time period.

Adding regular contributions

Most people do not invest a single lump sum; they add money every month. For a regular deposit PMT made at the end of each compounding period, the future value of those contributions is:

FV = PMT × [((1 + r/n)^(n × t) − 1) ÷ (r/n)]

Add this to the lump-sum formula to get the total.

Worked example 3: monthly savings

You start with 0 and save 200 per month at 6% per year, compounded monthly, for 20 years.

r/n = 0.005 and n × t = 240. (1.005)^240 ≈ 3.3102.

FV = 200 × (3.3102 − 1) ÷ 0.005 ≈ 200 × 462.04 ≈ 92,408.

You contributed 200 × 240 = 48,000, so roughly 44,400 came from compound growth.

How to calculate compound interest with a calculator

Doing exponents by hand is error-prone. Our free compound interest calculator handles it instantly:

  1. Open the compound interest calculator.
  2. Enter the initial deposit (principal).
  3. Enter the annual interest rate in percent.
  4. Choose the compounding frequency – yearly, monthly or daily.
  5. Enter the number of years.
  6. Optionally add a monthly contribution.
  7. Read the future value, the total amount you contributed and the total interest earned.

Try changing one input at a time to see what really drives the result.

Advertisement

What makes the biggest difference?

Time

Because growth builds on itself, the final years of a long period add the most. Starting earlier generally has a larger effect than any other single factor.

Interest rate

A difference of one or two percentage points per year looks small but becomes very large over decades. Equally, fees reduce your effective rate.

Contributions

Regular deposits keep adding to the base on which interest is earned.

Compounding frequency

More frequent compounding helps slightly. Compare products by their APY (annual percentage yield), which already includes the effect of compounding:

APY = (1 + r/n)^n − 1

For 5% compounded monthly, APY = (1 + 0.05/12)^12 − 1 ≈ 5.12%.

The rule of 72

For a quick mental estimate, divide 72 by the annual rate to get the approximate number of years for money to double. At 8%, about 9 years; at 3%, about 24 years. It is a handy check on whether a calculator result looks plausible.

Compound interest on debt

The same maths works against you when you borrow. Unpaid credit card balances accumulate interest on previous interest, which is why paying only the minimum can take years. For loans with fixed monthly payments, use our loan calculator to see the monthly payment and the total interest over the life of the loan.

Common mistakes

  • Entering the rate as 5 instead of 0.05 when using the formula by hand (the calculator takes percent directly).
  • Mixing monthly contributions with yearly compounding without adjusting the formula.
  • Forgetting that results are before inflation and tax.
  • Assuming a fixed rate of return for investments whose returns actually vary year to year.

Summary

Compound interest is calculated with A = P × (1 + r/n)^(n × t), plus an extra term for regular deposits. Time, rate and contributions matter most; compounding frequency matters a little. To skip the arithmetic and explore scenarios, use the free compound interest calculator, and the percentage calculator for quick percentage questions.

Frequently asked questions

What is the difference between simple and compound interest?

Simple interest is calculated only on the original principal. Compound interest is calculated on the principal plus all interest already earned, so the balance grows faster over time.

How often should interest compound?

More frequent compounding gives a slightly higher result for the same nominal rate, but the effect between monthly and daily compounding is small. The interest rate and time invested matter far more.

What is the rule of 72?

A quick estimate of how long it takes money to double: divide 72 by the annual interest rate in percent. At 6% per year, money doubles in roughly 72 ÷ 6 = 12 years. It is an approximation, not an exact result.

Does the calculator account for inflation or taxes?

No. It shows nominal growth before inflation, taxes and fees. Those can significantly reduce real returns, so treat results as illustrations, not financial advice.

What is APY?

Annual percentage yield is the effective yearly rate after compounding. For a nominal rate r compounded n times a year, APY = (1 + r/n)^n − 1.

Advertisement

Related tools

More guides