Finance

Compound Interest Formula and How to Calculate It

6 min read · Updated November 27, 2026

The compound interest formula is A = P × (1 + r ÷ n)nt. A is the final amount, P is the starting amount, r is the annual rate as a decimal, n is how many times a year interest compounds and t is the number of years. $10,000 at 5% compounded monthly for 10 years grows to $16,470.09.

Key takeaways
  • The compound interest formula is A = P × (1 + r ÷ n)^(nt).
  • $10,000 at 5% compounded monthly for 10 years grows to $16,470.09, which is $6,470.09 of interest.
  • More frequent compounding earns slightly more, but the rate and the time matter far more.
  • The Rule of 72 estimates doubling time: 72 ÷ the annual rate.

Updated November 2026. All figures are calculated with the standard formulas and double-checked.

What is the compound interest formula?

Compound interest, as Investor.gov explains, means you earn interest on your original money and on the interest it has already earned. The formula is:

A = P × (1 + r ÷ n)nt
SymbolMeaning
AFinal amount, including interest
PPrincipal, the starting amount
rAnnual interest rate as a decimal (5% = 0.05)
nTimes interest compounds per year (1 = annually, 4 = quarterly, 12 = monthly, 365 = daily)
tTime in years

The interest you earn is A − P.

How do you calculate compound interest on $10,000 at 5%?

  1. Identify the values. P = 10,000, r = 0.05, n = 12, t = 10.
  2. Work out the rate per period. r ÷ n = 0.05 ÷ 12 = 0.0041667.
  3. Work out the number of periods. n × t = 12 × 10 = 120.
  4. Raise to the power. (1.0041667)120 = 1.647009.
  5. Multiply by the principal. 10,000 × 1.647009 = $16,470.09.

The interest earned is 16,470.09 − 10,000 = $6,470.09.

How does compounding frequency change the result?

The more often interest compounds, the more you earn, although the gain from extra frequency is small. Here is $10,000 at 5% for 10 years:

CompoundingFinal amount
Annually (n = 1)$16,288.95
Quarterly (n = 4)$16,436.19
Monthly (n = 12)$16,470.09
Daily (n = 365)$16,486.65

What is the difference between compound and simple interest?

Simple interest is calculated only on the original amount: A = P × (1 + r × t). On $10,000 at 5% for 10 years, simple interest gives 10,000 × (1 + 0.05 × 10) = $15,000. Annual compounding gives $16,288.95, which is $1,288.95 more. The gap widens the longer you leave the money.

How do you calculate compound interest with monthly deposits?

If you add the same amount each month, use the future value of a series of deposits:

FV = D × ((1 + r ÷ 12)12t − 1) ÷ (r ÷ 12)

Here D is the monthly deposit. Saving $200 a month at 7% for 20 years gives about $104,185. You would have paid in $48,000, so roughly $56,185 is interest. This assumes a steady 7% and deposits at the end of each month. Real investment returns vary and are not guaranteed.

What is the Rule of 72?

The Rule of 72 is a quick mental shortcut. Divide 72 by the annual rate to estimate the years it takes your money to double. At 6% that is 72 ÷ 6 = 12 years. At 9% it is 8 years. At 7% it is about 10.3 years, and the exact answer is 10.24 years.

How do you solve for time and rate?

You can rearrange the formula to find other values:

  • Time: t = ln(A ÷ P) ÷ (n × ln(1 + r ÷ n)). To double $10,000 at 7% compounded annually, t = ln(2) ÷ ln(1.07) = about 10.24 years.
  • Rate: r = n × ((A ÷ P)1 ÷ (nt) − 1).

If these look heavy, the compound interest calculator does the work for you.

How do you calculate compound interest in Excel or Google Sheets?

Two simple options give the same answer as the worked example:

  • =10000*(1+0.05/12)^120 returns 16,470.09.
  • =FV(0.05/12, 120, 0, -10000) also returns 16,470.09.

To understand the idea behind these numbers first, read how compound interest works.

How long does it take to grow $10,000?

Time is the biggest driver of compound growth. Here is what $10,000 becomes with no further deposits:

Years5% compounded monthly7% compounded annually
10$16,470.09$19,671.51
20$27,126.40$38,696.84
30$44,677.44$76,122.55

At 7%, the second decade adds about $19,000 and the third decade adds about $37,000, even though you deposit nothing new. Rates here are examples and not a forecast.

How does inflation affect compound growth?

The formula gives a nominal amount. Inflation reduces what that money can buy. To estimate the real rate of return, divide 1 plus the nominal rate by 1 plus inflation, then subtract 1. With a 7% return and 3% inflation, the real rate is 1.07 ÷ 1.03 − 1 = about 3.88%. The $76,122.55 from the table above would then have the buying power of roughly $31,361 in today’s money. Taxes and fees reduce the result further.

What mistakes should you avoid with the compound interest formula?

  • Using a percent instead of a decimal. Use 0.05 for 5%, not 5.
  • Mixing up n and t. The exponent is n × t, so 12 compounds a year for 10 years is 120.
  • Forgetting that A includes the principal. The interest earned is A − P.
  • Assuming a steady return. Investment returns vary from year to year, so a fixed rate is only an estimate.
  • Ignoring fees and taxes. They reduce your real growth.
  • Comparing the wrong rates. Compare accounts by APY, which already includes compounding.

What do the key compound interest terms mean?

  • Principal: the amount you start with, before any interest.
  • Nominal rate: the stated annual rate before compounding is taken into account.
  • Compounding period: how often interest is added to the balance, such as monthly or daily.
  • APY (annual percentage yield): the effective yearly rate after compounding. A 5% rate compounded monthly has an APY of about 5.12%.
  • Real return: the growth rate after inflation is removed.
  • Future value: what your money will be worth at a later date, including interest.

Frequently asked questions

A = P × (1 + r ÷ n)^(nt), where A is the final amount, P is the principal, r is the annual rate as a decimal, n is the number of compounding periods per year and t is the number of years.

Set n to 12. Divide the annual rate by 12, multiply the years by 12, then apply the formula. For $10,000 at 5% for 10 years, the result is $16,470.09.

At 7% compounded annually for 10 years, $10,000 becomes 10,000 × 1.07^10 = $19,671.51. The interest earned is $9,671.51.

Simple interest is calculated only on the original principal. Compound interest is calculated on the principal plus the interest already earned, so it grows faster over time.

The Rule of 72 estimates how long money takes to double. Divide 72 by the annual interest rate. At 8%, 72 ÷ 8 = 9 years.

Common choices are annually, semi-annually, quarterly, monthly and daily. More frequent compounding earns slightly more. For example, 5% for 10 years gives $16,288.95 compounded annually and $16,486.65 compounded daily.

Use FV = D × ((1 + r ÷ 12)^(12t) − 1) ÷ (r ÷ 12), where D is the monthly deposit. At $200 a month, 7% and 20 years, the future value is about $104,185.

APY is the effective annual rate after compounding: APY = (1 + r ÷ n)^n − 1. A 5% rate compounded monthly has an APY of about 5.12%.

It depends on which side you are on. It helps savings and investments grow, but it also makes debts such as credit card balances grow faster when they are not paid off.

Related calculators

Source for further reading: Investor.gov compound interest calculator. This guide is for general education and uses illustrative numbers. Investment returns are not guaranteed and this is not financial advice. Last updated November 2026.


Written by Muhammad Faiq Jaffar

Muhammad Faiq Jaffar is a WordPress developer, technical SEO specialist and digital marketer with 4+ years of experience building, optimizing and marketing websites through SEO, Meta Ads and social media marketing. He created Calculator Zone and checks each calculator against worked examples. Connect on LinkedIn. General information only, see our disclaimer.

Try the Compound interest calculator

See your savings grow

Go to calculator