How to Calculate Compound Interest (With Worked Examples)

To calculate compound interest, use the formula A = P × (1 + r/n)nt. P is your starting amount, r is the annual interest rate as a decimal, n is how many times per year interest is added, and t is the number of years. A is the amount you end up with. For example, $1,000 at 5% interest compounded once a year for 10 years grows to $1,628.89.

That is the whole method in one paragraph. The rest of this guide explains what each part means, works through two full examples — one for savings, one for debt — and shows why how often interest is added matters more than most people expect.

Glass jar filled with saved coins

What Compound Interest Actually Means (Simple vs Compound)

Compound interest is interest paid on your original amount and on the interest you have already earned. The US Securities and Exchange Commission’s Investor.gov puts it exactly that way: compound interest is interest earned on both the initial principal and the accumulated interest from prior periods. Simple interest, by contrast, is paid only on the original amount, so it stays the same every year.

Take $1,000 at 5%. With simple interest, you earn $50 every year — $50 in year 1, $50 in year 10. After 10 years you have $1,500. With compound interest, year 1 still earns $50, but year 2 earns 5% of $1,050, which is $52.50. Year 3 earns 5% of $1,102.50, which is $55.13. Each year’s interest is a little bigger than the last, because the balance it is calculated on keeps growing. After 10 years you have $1,628.89 — $128.89 more than simple interest, from the exact same rate.

The gap looks small over a year or two. Over decades it is the whole story. That is why the same maths that quietly grows savings also makes unpaid card balances swell — compounding does not care which side of the loan you are on.

The Compound Interest Formula, in Plain English

Here is the formula again, with each symbol explained:

A = P × (1 + r/n)nt

  • A — the final amount: what you end up with, principal plus all interest.
  • P — the principal: the amount you start with.
  • r — the annual interest rate, written as a decimal. 5% becomes 0.05, 24% becomes 0.24.
  • n — how many times per year interest is added to the balance. 1 for yearly, 4 for quarterly, 12 for monthly, 365 for daily.
  • t — the time in years.

The heart of the formula is (1 + r/n). Each compounding period, your balance is multiplied by one plus a small slice of the annual rate. The exponent nt is the total number of periods: monthly compounding over 10 years means 120 multiplications in a row. Because each multiplication acts on a balance that already includes past interest, the growth speeds up instead of staying flat. That acceleration is the entire difference from simple interest, whose formula is A = P × (1 + r × t) — time multiplied, not exponentiated.

When interest is added only once a year, n is 1 and the formula simplifies to A = P × (1 + r)t. That is the version used in the first worked example below.

Calculator and financial papers on a desk

Worked Example 1: Savings Growing Over 10 Years

You put $1,000 in a savings account paying 5% a year, with interest added once a year, and you leave it untouched for 10 years. No deposits, no withdrawals.

Plug the numbers into the formula: P = 1,000, r = 0.05, n = 1, t = 10.

A = 1,000 × (1 + 0.05)10 = 1,000 × 1.0510 = 1,000 × 1.62889 = $1,628.89

Your $1,000 earned $628.89 in interest. Here is how the balance grows year by year:

Year Balance at start Interest earned Balance at end
1 $1,000.00 $50.00 $1,050.00
2 $1,050.00 $52.50 $1,102.50
3 $1,102.50 $55.13 $1,157.62
4 $1,157.62 $57.88 $1,215.51
5 $1,215.51 $60.78 $1,276.28
6 $1,276.28 $63.81 $1,340.10
7 $1,340.10 $67.00 $1,407.10
8 $1,407.10 $70.36 $1,477.46
9 $1,477.46 $73.87 $1,551.33
10 $1,551.33 $77.57 $1,628.89

Notice the pattern in the interest column: $50.00 in year 1, $77.57 in year 10. The rate never changed. The balance did. That is compounding in one table.

This is general information only. It is not financial advice.

Worked Example 2: What Compounding Does to Debt

Now the same maths, on the other side. Suppose you owe $2,000 on a credit card charging 24% APR, with interest added monthly, and you make no payments at all. (This is a maths illustration, not a plan — in real life, missing payments brings fees and credit damage on top of the interest.)

Monthly compounding means n = 12, so each month the balance is multiplied by (1 + 0.24/12) = 1.02 — a 2% rise every month.

After 1 year: A = 2,000 × (1.02)12 = $2,536.48. Interest added: $536.48.
After 2 years: A = 2,000 × (1.02)24 = $3,216.87. Interest added so far: $1,216.87.
After 3 years: A = 2,000 × (1.02)36 = $4,079.77. The debt has more than doubled.

Two things stand out. First, the interest in year 1 alone ($536.48) is more than a quarter of the original balance — at 24%, monthly compounding adds up fast. Second, the growth accelerates: the second year adds $680.39, the third adds $862.90. The same force that added $128.89 to the savings example over a decade adds thousands here, because the rate is higher and the compounding is monthly.

One honest caveat: real card statements are messier than this example. Minimum payments, fees, penalty rates, and grace periods all change the numbers. The example isolates the compounding itself so you can see what it does.

Piggy bank with scattered coins

Monthly vs Yearly Compounding: Why Frequency Matters

How often interest is added — the n in the formula — changes the result even when the rate and the time stay the same. The more often interest joins the balance, the sooner it starts earning interest of its own.

Take $5,000 at 4% for 5 years:

  • Yearly compounding (n = 1): 5,000 × (1.04)5 = $6,083.26
  • Monthly compounding (n = 12): 5,000 × (1 + 0.04/12)60 = $6,104.98

Monthly compounding wins by $21.72. On the $1,000 savings example from earlier, monthly compounding at 5% over 10 years gives $1,647.01 instead of $1,628.89 — an extra $18.12. These are small numbers at these rates and balances, but they scale: on larger amounts and longer timelines, the frequency gap becomes real money. Banks know this, which is why savings accounts advertise an annual percentage yield (APY) — a single figure that already includes the compounding effect — rather than just the headline rate.

A useful shortcut for doubling time is the Rule of 72: divide 72 by the annual rate to estimate how many years it takes money to double. At 5%, 72 ÷ 5 = 14.4 years. The exact answer is about 14.2 years, so the rule is close enough for a quick estimate. It gets less accurate at very high rates, but for ordinary savings and loan rates it is a handy check.

Calculate It Yourself (Free Calculator)

The formula is simple, but the arithmetic gets tedious once you start comparing rates, frequencies, and timelines. The free compound interest calculator does the same calculation instantly: enter your principal, rate, compounding frequency, and years, and it shows the final amount and the interest earned. Try it with the examples above — $1,000 at 5% for 10 years should give $1,628.89 — then change one number at a time to see which input moves the result most. You will find that time and rate matter far more than frequency.

If you need the percentage side of the maths — what share of the final amount is interest, or how much a rate change is worth in percent terms — the percentage calculator handles those quick sums.

Hands using a calculator at a desk

This is general information only. It is not financial advice.

Frequently Asked Questions

What is the compound interest formula?

A = P × (1 + r/n)nt. A is the final amount, P is the starting principal, r is the annual rate as a decimal, n is how many times per year interest compounds, and t is the number of years. With yearly compounding it simplifies to A = P × (1 + r)t.

How do I calculate compound interest with an example?

Take $1,000 at 5% compounded yearly for 10 years: 1,000 × 1.0510 = $1,628.89. The $628.89 of interest includes interest earned on earlier interest, which is why the total beats the $1,500 that simple interest would give.

Is compound interest better monthly or yearly?

For savings, monthly is slightly better: on $5,000 at 4% over 5 years, monthly compounding gives $6,104.98 versus $6,083.26 yearly. For debt, monthly compounding works against you in exactly the same way, so the same frequency that helps savings hurts borrowers.

What is the difference between simple and compound interest?

Simple interest is calculated only on the original principal, so it pays the same amount every year. Compound interest is calculated on the principal plus all interest already earned, so each year’s interest is bigger than the last. Over 10 years at 5%, $1,000 earns $500 with simple interest and $628.89 with compound interest.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top