Math glossary

Compound Interest Formula: Rates, Periods, and Examples

Calculate compound interest for annual, monthly, quarterly, or continuous schedules. See how to compare yields and work backwards to find the principal.

TL;DR

For a fixed rate and regular compounding, the ending balance is A=P(1+r/n)ntA=P(1+r/n)^{nt}. Subtract the original principal PP from AA to find the interest earned.

Key Points

  • Write the annual rate as a decimal before dividing it by the number of compounding periods.
  • Multiply the periods per year by the years to find the total periods.
  • The formula assumes a single starting balance and a constant periodic rate.
  • Compare effective annual yields on the same basis when the compounding schedules differ.
  • Keep extra decimal places during calculation and round money at the end.

What is the compound interest formula?

Symbol What it means Example
PP Principal, or starting balance 2,4002{,}400 dollars
rr Nominal annual interest rate as a decimal 0.060.06 for 6%
nn Number of compounding periods per year 1212 for monthly compounding
tt Time in years 22 for 24 months
AA Ending amount, including the principal The result of the formula

With no deposits or withdrawals, the balance after ntnt complete periods is

A=P(1+rn)nt.A=P\left(1+\frac rn\right)^{nt}.

The interest portion is A−PA-P. The growth factor for one period is 1+r/n1+r/n. Each period multiplies the latest balance, including interest already credited. The Consumer Financial Protection Bureau explains how that reinvestment distinguishes compound interest from simple interest. In the simple-interest model, only the principal earns interest, so A=P(1+rt)A=P(1+rt).

Why are there two uses of the compounding frequency?

Start with principal PP. After one period, earned interest is P(r/n)P(r/n) and the new total is P(1+r/n)P(1+r/n). In the next period, multiply that new balance by the same factor. After two periods the balance is P(1+r/n)2P(1+r/n)^2. Repeating the multiplication ntnt times gives the formula.

Compounding frequency Periods per year nn Factor for one period
Annually 1 1+r1+r
Semiannually 2 1+r/21+r/2
Quarterly 4 1+r/41+r/4
Monthly 12 1+r/121+r/12
Daily, in a 365-period model 365 1+r/3651+r/365

For a textbook problem, match the stated conventions. For real balances, partial periods, day-count conventions, fees, deposits, and rounding rules can affect the amount. If a deposit is made at the end of a period, apply the growth factor to the old balance before adding the deposit. For a changing rate or cash flows, update each period using its own rate and timing.

A balance of twelve hundred dollars grows to thirteen hundred eighty-nine dollars and fifteen cents in three annual periods at five percent
With annual compounding at 5%, each year's interest is 5% of the new opening balance.

How do you compare rates or solve for the starting balance?

An annual rate quoted before compounding and the effective annual rate describe different quantities. In this constant-rate model, set P=1P=1 and t=1t=1 to find the one-year gain.

reffective=(1+rn)n−1.r_{\mathrm{effective}}=\left(1+\frac rn\right)^n-1.

The CFPB's U.S. deposit disclosure rules explain calculations for annual percentage yield (APY), including terms and rate structures that need additional details. When a problem gives an effective annual rate directly, use that annual growth factor for one year. Dividing that rate by 12 generally gives a different result from the equivalent monthly factor.

If the future amount AA is given, divide by the growth factor to get the present value.

P=A(1+r/n)nt.P=\frac{A}{(1+r/n)^{nt}}.

For the time to reach a target at fixed r>0r>0, solve for the exponent using logarithms.

t=ln(A/P)nln(1+r/n).t=\frac{\ln(A/P)}{n\ln(1+r/n)}.

That expression gives an algebraic time. If the balance is only credited at complete compounding intervals, round the number of periods up to reach at least the target. The rule of 72 gives a rough doubling time for annual compounding: divide 72 by the annual rate stated as a percentage. At 8% it gives about 9 years. The exact model crosses the doubling threshold after about 9.01 years algebraically, or at the tenth annual credit.

When is continuous compounding used?

Continuous compounding is the limit of increasingly frequent compounding at a fixed nominal rate. Its formula is A=PertA=Pe^{rt}, where ee is Euler's number. Use it when the problem explicitly gives continuous compounding. The OpenStax exponential-functions lesson derives this model from the limiting behaviour of the periodic formula.

Worked Compound Interest Examples

Example 1

A starting balance of 1,200 U.S. dollars grows at 5% compounded annually for three years.

  1. Use P=1200P=1200, r=0.05r=0.05, n=1n=1, and t=3t=3.
  2. The total is 1200(1.05)31200(1.05)^3, or 1,389.15 dollars.
  3. The earned interest is 189.15 dollars. Simple interest at the same rate and term would earn 1200(0.05)(3)1200(0.05)(3), or 180 dollars.

Example 2

A balance of 2,400 dollars earns 6% nominal annual interest compounded monthly for two years.

  1. The periodic rate is 0.06/12=0.0050.06/12=0.005, or 0.5% per month.
  2. Use 24 periods. The ending balance is 2400(1.005)242400(1.005)^{24}, or about 2,705.18 dollars.
  3. The difference of 305.18 dollars is the interest earned.

Example 3

Find the ending balance for 5,000 dollars at 4% compounded quarterly for three years.

  1. The rate per quarter is 0.04/4=0.010.04/4=0.01.
  2. Three years contain 12 quarters.
  3. Multiply 5000(1.01)125000(1.01)^{12} to find about 5,634.13 dollars.

Example 4

Find the starting balance that will grow to 10,000 dollars in five years at 7% compounded annually.

  1. The five-year growth factor is (1.07)5(1.07)^5.
  2. Divide 10,00010{,}000 by that growth factor.
  3. The unrounded result begins 7,129.8618 dollars. A starting balance of 7,129.87 dollars is the next whole cent above the model's target amount.

Example 5

A balance of 2,000 dollars earns 5% in year one, 2.5% in year two, and 4% in year three. Interest is credited annually.

  1. Use the factors 1.051.05, 1.0251.025, and 1.041.04 in order.
  2. Multiply 2000(1.05)(1.025)(1.04)=2238.602000(1.05)(1.025)(1.04)=2238.60.
  3. The ending balance is 2,238.60 dollars. The interest total is 238.60 dollars.

Example 6

Find the balance for 3,000 dollars at 4% compounded continuously for three years.

  1. The exponent is rt=0.04(3)=0.12rt=0.04(3)=0.12.
  2. Apply the continuous model 3000e0.123000e^{0.12}.
  3. The result is about 3,382.49 dollars.

Mistakes That Change Compound Interest

Mistake 1: Treating a percentage as a decimal

Six percent is 0.060.06. Entering 6 would mean 600%. Use the percentages and ratios guide if you need to check the conversion.

Mistake 2: Counting the number of years as the exponent for a monthly rate

A two-year monthly compounding problem has 24 periods. Use the rate and period count for the same time unit.

Mistake 3: Reporting the ending balance as interest

The ending balance contains the starting balance. Subtract the principal in a one-deposit example to find the amount earned.

Try It Yourself

  1. Find one year of interest on 900 dollars at 5% compounded annually.
  2. Find the effective annual rate for a 6% nominal rate compounded monthly.
  3. What happens to the balance when r=0r=0 and there are no other cash flows?

Answers and Reasoning

  1. The total is 900(1.05)=945900(1.05)=945, so the interest is 45 dollars.
  2. Calculate (1.005)12−1≈0.061678(1.005)^{12}-1\approx0.061678, or about 6.17%.
  3. The period multiplier is 1. The balance stays at PP and earns zero interest.

Questions About Compound Interest

Does compounding more often always give more interest?

In this ideal model with a positive fixed nominal annual rate, a single deposit, and the same duration, more frequent compounding increases the ending balance. If two accounts quote different effective yields or charge different fees, compare their actual terms separately.

How do you check a formula result?

Compare it with a period-by-period balance for a short example. For a longer example, Investor.gov's compound interest calculator lets you enter the starting deposit, time, annual rate, and frequency. Use zero monthly contribution when checking a single-deposit problem.

Conclusion

  • Convert the annual rate to a decimal.
  • Calculate the rate per period and total number of periods.
  • Compute the ending balance first, then subtract the principal if the question asks for interest alone.

Read More

Research Behind This Article

  1. Consumer Financial Protection Bureau, How Does Compound Interest Work? CFPB
  2. OpenStax, Contemporary Mathematics — Compound Interest. OpenStax
  3. OpenStax, Algebra and Trigonometry — Exponential Functions. OpenStax
  4. Consumer Financial Protection Bureau, Regulation DD, Appendix A — Annual Percentage Yield Calculation. CFPB
  5. U.S. Securities and Exchange Commission, Compound Interest Calculator. Investor.gov