Compound Interest Formula with Examples

Last updated August 5, 2026

What Is Compound Interest?

Compound interest is interest calculated on both the original principal and the interest already earned in previous periods. Unlike simple interest, which is calculated only on the principal, compound interest grows faster because you earn interest on top of interest.

This effect is often called the "power of compounding." Over time, even a small interest rate can turn a modest investment into a large sum — which is why compound interest is the foundation of long-term savings, investments, and retirement planning.

For example, if you invest $1,000 at 10% annual compound interest, after year one you earn $100. But in year two, you earn interest on $1,100 — not just $1,000. Each year, the base amount grows, and so does the interest.

Warren Buffett once described compound interest as one of the most powerful forces in finance — and the math proves it.

The Compound Interest Formula

The standard formula for compound interest is:

A = P (1 + R/N) ^ (N × T)

Where:

To find only the compound interest earned (not the total amount):

CI = A − P

Or written fully:

CI = P (1 + R/N) ^ (N × T) − P

Labeled diagram breaking down the compound interest formula A = P(1 + R/N)^(N×T), showing what A, P, R, N, and T each represent
Each letter in the formula represents one input you control (or already know) — matching them up correctly is the most common source of mistakes.

Compounding Frequency Table

The value of N changes depending on how often interest is compounded:

Compounding FrequencyValue of N
Annually1
Semi-Annually2
Quarterly4
Monthly12
Daily365

The more frequently interest is compounded, the more interest you earn over the same period — though as the chart below shows, the effect is smaller than most people expect.

Step-by-Step Examples

Example 1 — Compound Interest Compounded Annually

Problem: Find the compound interest on $5,000 at an annual interest rate of 8% for 3 years, compounded annually.

P = 5000, R = 8% = 0.08, N = 1, T = 3
A = 5000 × (1 + 0.08/1) ^ (1 × 3)
A = 5000 × (1.08) ^ 3
A = 5000 × 1.259712
A = $6,298.56
CI = A − P = 6298.56 − 5000
Answer: CI = $1,298.56

Example 2 — Compound Interest Compounded Quarterly

Problem: Calculate the compound interest on $10,000 at 6% per year for 2 years, compounded quarterly.

P = 10000, R = 6% = 0.06, N = 4, T = 2
A = 10000 × (1 + 0.06/4) ^ (4 × 2)
A = 10000 × (1 + 0.015) ^ 8
A = 10000 × (1.015) ^ 8
A = 10000 × 1.126493
A = $11,264.93
CI = 11264.93 − 10000
Answer: CI = $1,264.93

Example 3 — Compound Interest Compounded Monthly

Problem: A person invests $2,000 at 12% annual interest for 1 year, compounded monthly. What is the total amount?

P = 2000, R = 12% = 0.12, N = 12, T = 1
A = 2000 × (1 + 0.12/12) ^ (12 × 1)
A = 2000 × (1 + 0.01) ^ 12
A = 2000 × (1.01) ^ 12
A = 2000 × 1.126825
A = $2,253.65
CI = 2253.65 − 2000
Answer: CI = $253.65

Bar chart comparing compound interest earned in the three worked examples: $1,298.56, $1,264.93, and $253.65
Example 3 earns the least interest not because its rate is low (it's the highest, at 12%) but because it runs for only 1 year — a reminder that time matters as much as rate.

Example 4 — Finding the Principal

Problem: What principal amount will grow to $8,000 in 2 years at 10% annual interest, compounded annually?

A = 8000, R = 0.10, N = 1, T = 2
P = A / (1 + R/N) ^ (N × T)
P = 8000 / (1.10) ^ 2
P = 8000 / 1.21
Answer: P = $6,611.57

Example 5 — Simple vs Compound Interest Comparison

Problem: Compare simple and compound interest on $5,000 at 10% for 4 years.

Simple Interest:

SI = (5000 × 10 × 4) / 100 = $2,000
Total Amount = $7,000

Compound Interest (annually):

A = 5000 × (1.10) ^ 4
A = 5000 × 1.4641
A = $7,320.50
CI = $2,320.50

Simple InterestCompound Interest
Interest Earned$2,000$2,320.50
Total Amount$7,000$7,320.50
Difference$320.50 more with CI

Over 4 years, compound interest earns $320.50 more than simple interest on the same principal. Want the full formula and more examples? See our Simple Interest Formula guide.

How Much Does Compounding Frequency Really Matter?

Revisiting Example 2 — $10,000 at 6% for 2 years — here's the final amount at every compounding frequency, side by side:

Bar chart showing final amount for $10,000 at 6% for 2 years across annual, semi-annual, quarterly, monthly, and daily compounding
The full range from annual to daily compounding spans just $38.86 on this example. Frequency is real, but rate and time do the heavy lifting.

Continuous Compounding

Continuous compounding is the theoretical limit as N approaches infinity — interest compounding at every possible instant. It uses a different, simpler formula built on Euler's number, e (approximately 2.71828):

A = P × e(R × T)

Worked example: $1,000 invested at 5% annual interest for 10 years, compounded continuously.

P = 1000, R = 0.05, T = 10
A = 1000 × e(0.05 × 10)
A = 1000 × e0.5
A = 1000 × 1.648721
A = $1,648.72
CI = $648.72

In practice, few real accounts compound continuously — but it's a useful ceiling. Daily compounding is already extremely close to the continuous limit, which is why banks rarely bother compounding any more frequently than daily.

Effective Annual Rate (EAR): Nominal Rate vs. Real Return

Banks often advertise a nominal rate — the stated annual percentage before compounding is applied. But if that rate compounds more than once a year, your actual return is higher. That real return is the Effective Annual Rate (EAR):

EAR = (1 + R/N)N − 1

Worked example: A credit card or loan advertises a 12% nominal annual rate, compounded monthly. What's the effective annual rate?

R = 0.12, N = 12
EAR = (1 + 0.12/12)12 − 1
EAR = (1.01)12 − 1
EAR = 1.126825 − 1
EAR = 12.683%

This is why the interest rate you're quoted isn't always the interest rate you actually pay or earn. Always check whether a rate is nominal or effective before comparing two savings accounts or loans — a 12% nominal rate compounded monthly costs more than a 12.5% rate compounded annually.

Common Mistakes When Using the Compound Interest Formula

  • Forgetting to convert the rate to a decimal. Using 8 instead of 0.08 for R will produce a wildly wrong result.
  • Mismatching N and T units. If N is monthly (12), T must stay in years — don't also convert T to months, or you'll compound twice.
  • Using the nominal rate when the effective rate is what's being compared. Two accounts with the same nominal rate but different compounding frequency don't pay the same amount — see the EAR section above.
  • Assuming compounding frequency changes the outcome dramatically. As shown above, going from annual to daily compounding usually changes the result by well under 1%. Time and rate matter far more.
  • Ignoring taxes and fees. The formula computes gross growth only; real-world taxable accounts and fee-bearing investments will compound at a lower effective rate than the formula predicts.

Compound Interest for Different Periods

When time is given in months
Convert months to years by dividing by 12.
Example: 18 months = 18/12 = 1.5 years

When rate is given per month
Multiply the monthly rate by 12 to get the annual rate, or apply the formula directly with the monthly rate and time in months.

Quick Reference — Compound Interest Formulas

What to FindFormula
Total AmountA = P (1 + R/N) ^ (N × T)
Compound InterestCI = A − P
PrincipalP = A / (1 + R/N) ^ (N × T)
Rate (approx)R = (A/P) ^ (1/T) − 1
Time (approx)T = log(A/P) / log(1 + R)
Continuous CompoundingA = P × e ^ (R × T)
Effective Annual RateEAR = (1 + R/N) ^ N − 1
Rule of 72 (doubling time, approx)Years ≈ 72 / (R × 100)

Related Formulas

Compound interest connects directly to several other important financial and mathematical formulas:

Related Calculators and Pages

Frequently Asked Questions (FAQ)

Q1. What is the compound interest formula?
The compound interest formula is: A = P (1 + R/N) ^ (N × T). Where A is the final amount, P is the principal, R is the annual interest rate in decimal, N is the number of compounding periods per year, and T is the time in years. The compound interest earned is CI = A − P.

Q2. What is the difference between simple interest and compound interest?
Simple interest is calculated only on the original principal each period. Compound interest is calculated on the principal plus previously earned interest. This means compound interest grows faster, especially over long periods.

Q3. What are the types of compounding?
Common types include annual, semi-annual, quarterly, monthly, daily, and continuous compounding. More frequent compounding results in slightly more interest earned over the same period.

Q4. Where is compound interest used?
Compound interest is used in savings accounts, fixed deposits, mutual funds, stock market investments, retirement accounts, credit card debt, and mortgage loans. It is the core concept behind long-term wealth building.

Q5. What is continuous compounding?
Continuous compounding is the theoretical limit of compounding frequency, where interest compounds an infinite number of times per year. It uses the formula A = P × e^(R×T), where e is approximately 2.71828.

Q6. What is the effective annual rate and how is it different from the nominal rate?
The nominal rate is the stated annual interest rate before accounting for compounding. The effective annual rate reflects the actual yearly return after compounding is applied, and is always equal to or higher than the nominal rate when compounding occurs more than once a year.

Summary

The compound interest formula — A = P (1 + R/N) ^ (N × T) — is one of the most powerful formulas in finance and mathematics. Unlike simple interest, it grows exponentially because interest is earned on previously accumulated interest.

Understanding compound interest helps you make smarter decisions — whether you are saving for retirement, taking out a loan, or evaluating an investment. Time and rate drive most of the outcome; compounding frequency matters, but far less than people assume.

Pair this knowledge with the simple interest formula, percentage formula, and EMI formula for a complete understanding of financial mathematics — or plug your own numbers into our free Compound Interest Calculator to see the result instantly.