Back to Blog

Math Guides

How to Calculate Compound Interest: Formula and Examples

February 18, 2025 · 9 min read

Understand the compound interest formula step by step, see worked examples for different compounding frequencies, and learn how small changes grow your money.

Compound interest is often called the most powerful force in personal finance, and for good reason. Unlike simple interest, which pays you only on your original deposit, compound interest pays you interest on your interest. Over time this snowball effect can turn modest, consistent savings into a substantial sum. The good news is that the math is completely approachable once you understand the formula and what each variable represents. In this guide you will learn the compound interest formula, work through real numerical examples at different compounding frequencies, and see how rate, time, and frequency each shape your final balance. To skip the arithmetic, you can also use our free math tools.

Simple Interest Versus Compound Interest

Simple interest is calculated only on the principal, the original amount you invested or borrowed. If you deposit 1,000 dollars at 5 percent simple interest, you earn 50 dollars every year, forever, on that same 1,000 dollars. Compound interest is different: each period, the interest you earned gets added to the principal, and the next period calculates interest on the new, larger balance. That difference seems small at first but becomes dramatic over many years. Understanding percentages is the foundation here, so a quick refresher with our more guides can help if rates feel shaky.

The Compound Interest Formula

The standard formula for the future value of an investment with compound interest is:

A = P times (1 + r divided by n) raised to the power (n times t)

Each symbol has a clear meaning:

  • A is the final amount, including interest.
  • P is the principal, your starting amount.
  • r is the annual interest rate written as a decimal, so 5 percent becomes 0.05.
  • n is the number of times interest is compounded per year.
  • t is the time in years.

The exponent is where the growth comes from, so a comfortable grasp of exponents and powers makes the formula far less mysterious.

Worked Example: Annual Compounding

Suppose you invest 1,000 dollars at an annual rate of 5 percent, compounded once per year, for 3 years. Here n equals 1.

  1. Convert the rate: r equals 0.05.
  2. Compute the base: 1 plus (0.05 divided by 1) equals 1.05.
  3. Apply the exponent: n times t equals 1 times 3, which is 3, so raise 1.05 to the 3rd power, giving about 1.157625.
  4. Multiply by the principal: 1,000 times 1.157625 equals about 1,157.63 dollars.

You earned 157.63 dollars in interest. With simple interest you would have earned only 150 dollars, so compounding added an extra 7.63 dollars in just three years. Over longer periods that gap widens substantially.

Worked Example: Monthly Compounding

Now take the same 1,000 dollars at 5 percent for 3 years, but compounded monthly, so n equals 12.

  1. Compute the periodic rate: 0.05 divided by 12 equals about 0.0041667.
  2. Add 1: the base becomes about 1.0041667.
  3. Find the exponent: n times t equals 12 times 3, which is 36.
  4. Raise the base to the 36th power, giving about 1.161472.
  5. Multiply by the principal: 1,000 times 1.161472 equals about 1,161.47 dollars.

Monthly compounding produced 1,161.47 dollars versus 1,157.63 dollars with annual compounding, an extra 3.84 dollars from the same rate and time. The lesson is clear: more frequent compounding earns slightly more, because interest starts earning interest sooner.

How Compounding Frequency Affects Growth

The more often interest compounds, the higher your final balance, though the gains shrink as frequency increases. Going from annual to monthly compounding makes a noticeable difference, but going from daily to hourly compounding barely moves the result. Common compounding frequencies and their n values are:

  • Annually: n equals 1
  • Quarterly: n equals 4
  • Monthly: n equals 12
  • Daily: n equals 365

This is why advertised accounts often quote an annual percentage yield, which already factors in the compounding frequency so you can compare offers fairly.

The Power of Time

Time is the single most influential variable in compound interest because it sits in the exponent. Extending that same 1,000 dollar investment at 5 percent annual compounding from 3 years to 30 years changes the outcome enormously: it grows to about 4,321.94 dollars, more than quadrupling without a single additional deposit. Starting early, even with small amounts, beats starting late with larger amounts, which is why compound interest rewards patience above almost everything else.

Tips for Making Compound Interest Work for You

  • Start as early as possible so time can do the heavy lifting.
  • Reinvest your earnings rather than withdrawing them, keeping the snowball rolling.
  • Add regular contributions to accelerate growth beyond what the base formula shows.
  • Compare the annual percentage yield across accounts, not just the headline rate.
  • Practice the math with our practice problems so the formula becomes second nature.

Frequently Asked Questions

What is the difference between APR and APY?

APR is the annual percentage rate without accounting for compounding, while APY is the annual percentage yield that includes the effect of compounding. APY is the better figure for comparing how much an account will actually earn.

Does compound interest work against me with debt?

Yes. The same formula that grows savings also grows debt. Credit cards often compound daily, so unpaid balances can rise quickly. Paying off compounding debt early saves a great deal of money.

How do I convert an interest rate to a decimal?

Divide the percentage by 100. A 5 percent rate becomes 0.05, and a 7.5 percent rate becomes 0.075. Always use the decimal form inside the compound interest formula.

What is continuous compounding?

Continuous compounding is the theoretical limit where interest compounds infinitely often. It uses a different formula based on the constant e, but in practice its result is only slightly higher than daily compounding for typical rates.

Compound interest rewards three things: a reasonable rate, frequent compounding, and above all, time. Learn the formula, practice with real numbers, and let the exponent work in your favor. Whether you are planning savings or paying down debt, understanding this math puts you in control, and our free math tools can run the numbers for you in seconds.

Related Articles

Put this into practice

Try our free online math tools and calculators with step-by-step explanations.