Investing8 min read• January 15, 2026

How to Calculate Compound Interest: Step-by-Step Guide with Examples

Master the compound interest formula A = P(1 + r/n)nt and understand how your money can grow exponentially over time. Includes real examples and a free calculator.

1. What is Compound Interest?

Compound interest is interest calculated on both the initial principal and the accumulated interest from previous periods. Unlike simple interest, which only grows linearly, compound interest grows exponentially—making it one of the most powerful concepts in personal finance.

Albert Einstein allegedly called compound interest the "eighth wonder of the world," stating that "he who understands it, earns it; he who doesn't, pays it."

💡 Key Insight: With compound interest, your money earns money, and then that money earns more money. It's the snowball effect of wealth building.

2. The Compound Interest Formula

The standard formula for compound interest is:

A = P(1 + r/n)nt

Where:

  • A= Final amount (principal + interest)
  • P= Principal (initial investment)
  • r= Annual interest rate (as a decimal)
  • n= Number of times interest compounds per year
  • t= Time in years

3. Step-by-Step Calculation

Step 1: Identify Your Principal (P)

This is your starting amount. For example, if you're investing $10,000, then P = 10,000.

Step 2: Convert Interest Rate to Decimal (r)

Divide the percentage by 100. For 7% interest, r = 7/100 = 0.07

Step 3: Determine Compounding Frequency (n)

• Annually = 1
• Semi-annually = 2
• Quarterly = 4
• Monthly = 12
• Daily = 365

Step 4: Set Time Period (t)

The number of years your money will be invested. For 10 years, t = 10.

Step 5: Apply the Formula

Plug all values into A = P(1 + r/n)nt and calculate.

4. Real-World Examples

Example 1: Basic Investment

You invest $10,000 at 7% annual interest, compounded monthly, for 10 years.

P = $10,000

r = 0.07

n = 12 (monthly)

t = 10 years

A = 10,000(1 + 0.07/12)12×10

A = 10,000(1.00583)120

A = 10,000 × 2.0097

A = $20,096.61

Your investment grew by $10,096.61 in interest! That's more than doubling your money.

Example 2: Long-Term Growth

Same investment but for 30 years instead of 10:

A = 10,000(1 + 0.07/12)12×30

A = 10,000(1.00583)360

A = 10,000 × 8.1165

A = $81,164.97

Over 30 years, your $10,000 becomes $81,164.97—that's the power of time in compound interest!

5. Impact of Compounding Frequency

The more frequently your interest compounds, the more you earn. Here's how $10,000 at 7% grows after 10 years with different compounding frequencies:

Frequencyn valueFinal AmountInterest Earned
Annually1$19,671.51$9,671.51
Semi-Annually2$19,897.89$9,897.89
Quarterly4$20,015.59$10,015.59
Monthly12$20,096.61$10,096.61
Daily365$20,137.53$10,137.53

6. Compound vs Simple Interest

📈 Simple Interest

Interest only on the original principal.

I = P × r × t

$10,000 at 7% for 10 years = $17,000

📊 Compound Interest

Interest on principal + accumulated interest.

A = P(1 + r/n)nt

$10,000 at 7% for 10 years = $20,096

The difference of $3,096 comes from earning interest on your interest—and this gap grows significantly over longer time periods.

7. Frequently Asked Questions

What is the compound interest formula?

The compound interest formula is A = P(1 + r/n)nt, where A is the final amount, P is the principal, r is the annual interest rate (as a decimal), n is the number of times interest compounds per year, and t is the time in years.

What's the difference between simple and compound interest?

Simple interest is calculated only on the principal amount, while compound interest is calculated on the principal plus accumulated interest. This means compound interest grows exponentially over time, making it much more powerful for long-term investments.

How does compounding frequency affect returns?

More frequent compounding leads to higher returns. Daily compounding earns slightly more than monthly, which earns more than annual compounding. However, the difference becomes smaller at higher frequencies.

What is the Rule of 72?

The Rule of 72 is a quick way to estimate how long it takes to double your money. Divide 72 by your interest rate to get the approximate years. For example, at 7% interest: 72 ÷ 7 ≈ 10.3 years to double.

Ready to Calculate Your Growth?

Use our free compound interest calculator to see how your investments can grow.

Open Calculator →

Related Articles