Skip to content
Calculator Collection
← All articles
financeMay 30, 2026

How to Calculate Compound Interest: A Complete Guide

Albert Einstein supposedly called compound interest the eighth wonder of the world, adding that those who understand it earn it, while those who don't pay it. Whether you're growing a savings account, planning for retirement, or paying down a loan, understanding how compound interest works is one of the most valuable financial skills you can develop.

In this complete guide, you'll learn exactly how to calculate compound interest, work through a detailed numeric example, and discover how compounding frequency dramatically affects your returns. We'll also show you how to use a compound interest calculator to project your wealth and make smarter money decisions.

What Is Compound Interest?

Compound interest is interest calculated not only on your original principal but also on the interest you've already earned. In other words, your money earns money, and then that earned money starts earning money too. This "interest on interest" effect is what causes balances to grow exponentially rather than in a straight line.

Three factors drive the power of compounding: the principal amount you start with, the interest rate you earn, and—most importantly—the length of time you let your money grow. Time is the secret ingredient. The longer your money compounds, the more dramatic the growth becomes, which is why financial advisors stress starting to invest as early as possible.

For example, if you deposit $1,000 at a 5% annual rate, you earn $50 in the first year. In the second year, you earn 5% on $1,050, giving you $52.50. Each year, the base grows, and so does your interest. Over decades, this snowball effect can turn modest contributions into substantial wealth.

The Compound Interest Formula

The standard compound interest formula is:

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

Here's what each variable means:

  • A = the final amount (principal plus interest)
  • P = the principal (your starting balance)
  • r = the annual interest rate, expressed as a decimal
  • n = the number of times interest compounds per year
  • t = the time in years
The exponent (nt) represents the total number of compounding periods, while the term (1 + r/n) represents the growth factor applied during each period. To find just the interest earned, you subtract the principal: Interest = A − P.

A Worked Example

Let's walk through a complete calculation. Suppose you invest $5,000 (P) at an annual interest rate of 6% (r = 0.06), compounded monthly (n = 12), for 10 years (t = 10).

First, plug the values into the formula:

A = 5,000 × (1 + 0.06/12)^(12 × 10)

Next, simplify inside the parentheses: 0.06 ÷ 12 = 0.005, so the growth factor is 1.005. The exponent is 12 × 10 = 120.

A = 5,000 × (1.005)^120

Calculating (1.005)^120 gives approximately 1.81940. Multiply by the principal:

A = 5,000 × 1.81940 = $9,096.98

So your $5,000 grows to roughly $9,096.98, meaning you earned about $4,096.98 in interest—without contributing another cent. That's the magic of letting compounding run for a decade.

Compound Interest vs. Simple Interest

The difference between compound and simple interest is easy to overlook but enormous over time. Simple interest is calculated only on the original principal using the formula I = P × r × t. It never earns interest on previously accrued interest.

Using our example above, simple interest on $5,000 at 6% for 10 years would be:

I = 5,000 × 0.06 × 10 = $3,000

That gives a final balance of $8,000—compared to $9,096.98 with monthly compounding. The compound interest approach earns you nearly $1,100 more over the same period, with the same rate and principal. The gap widens further the longer your money stays invested, because compounding accelerates while simple interest stays flat.

This is why compound interest works in your favor when investing but against you when carrying debt like credit card balances. Understanding which side of compounding you're on is essential to building wealth.

The Effect of Compounding Frequency

How often interest compounds—the value of n—has a real impact on your returns. The more frequently interest compounds, the more you earn, because interest gets added to your balance and starts earning sooner.

Let's compare $10,000 at 8% for 20 years across different compounding frequencies:

  • Annually (n = 1): A = 10,000 × (1.08)^20 = $46,609.57
  • Quarterly (n = 4): A = 10,000 × (1.02)^80 = $48,754.39
  • Monthly (n = 12): A = 10,000 × (1.006667)^240 = $49,268.03
  • Daily (n = 365): A = 10,000 × (1.000219)^7300 = $49,522.55
Notice that moving from annual to daily compounding adds nearly $3,000 over 20 years. However, the gains shrink with each step up in frequency—the jump from annual to quarterly is much larger than from monthly to daily. There's a mathematical limit known as continuous compounding, calculated with A = Pe^(rt), which represents the theoretical maximum.

How to Use a Compound Interest Calculator

Running these calculations by hand works, but a compound interest calculator makes the process instant and error-free. Simply enter your principal, interest rate, compounding frequency, and time horizon, and you'll get your final balance and total interest earned in seconds.

The calculator is especially useful for scenario planning. You can adjust a single variable—say, increasing your time horizon by five years or bumping the rate up by 1%—and immediately see how it changes your outcome. This kind of "what if" testing helps you set realistic expectations and motivates consistent saving.

If you're working toward a specific number, a savings goal calculator lets you work backward to determine how much you need to deposit regularly to hit your target. And if you're evaluating investment growth over time, the compound annual growth rate calculator reveals the smoothed yearly return your portfolio actually achieved.

Key Takeaways

Compound interest earns interest on interest, causing your balance to grow exponentially over time rather than in a straight line, with time being the single most powerful factor.

The core formula is A = P(1 + r/n)^(nt), where you raise the per-period growth factor to the total number of compounding periods, then subtract principal to find interest earned.

Compound interest dramatically outperforms simple interest over long periods—in our example, earning nearly $1,100 more on the same $5,000 over 10 years.

Higher compounding frequency increases returns, though the gains diminish as frequency rises, approaching a limit known as continuous compounding.

A reliable compound interest calculator removes the math, enables instant scenario testing, and helps you plan savings goals and investment strategies with confidence.

Mastering compound interest gives you a clear advantage in nearly every financial decision you'll face. Start early, reinvest your earnings, and let time do the heavy lifting. Whether you're saving for a home, building a retirement nest egg, or comparing investment options, a trusted compound interest calculator ensures your projections are accurate so you can focus on growing your money.

Looking for a calculator?

Calculator Collection has 4,000+ free calculators. Browse all calculators →