How to calculate compound interest

Compound interest is calculated using the formula A=P(1+rn)ntA = P(1 + \frac{r}{n})^{nt}. This method applies when interest is reinvested to generate additional interest over discrete compounding periods.

The setup

Identify the variables required for the formula: PP is the principal investment amount, rr is the annual nominal interest rate in decimal form, nn is the number of compounding periods per year, and tt is the time the money is invested in years. The total accumulated value is AA. The compound interest II is isolated by subtracting the principal from the accumulated value: I=API = A - P.

The steps

  1. Identify PP, rr, nn, and tt from the problem statement. 2. Convert the interest rate rr from a percentage to a decimal. 3. Calculate the periodic interest rate rn\frac{r}{n} and the total number of compounding periods ntnt. 4. Substitute these values into the formula A=P(1+rn)ntA = P(1 + \frac{r}{n})^{nt} to find the total amount. 5. Subtract PP from AA to find the total compound interest earned.

Checking the result

Ensure that A>PA > P and I>0I > 0 for positive interest rates. For annual compounding, you can use the Rule of 72 as a quick sanity check: the time to double the investment is approximately 72/(rimes100)72 / (r imes 100). If your computed tt aligns with this heuristic for a doubled principal, the magnitude of your calculation is likely correct.

Common errors

The most frequent errors include using the percentage form instead of the decimal form for rr (e.g., using 55 instead of 0.050.05), failing to multiply tt by nn in the exponent, and confusing nominal annual rate with periodic rate. Finally, remember that the formula yields the total accumulated amount AA, not the interest II; you must subtract PP to find II.

Worked example

Calculate the compound interest earned on a principal of $5,000 invested at an annual interest rate of 6% compounded monthly for 3 years.

P=5000P = 5000 r=0.06r = 0.06 n=12n = 12 t=3t = 3 Periodic rate = 0.0612=0.005\frac{0.06}{12} = 0.005 Total periods = 12imes3=3612 imes 3 = 36 A=P(1+rn)ntA = P(1 + \frac{r}{n})^{nt} A=5000(1+0.005)36A = 5000(1 + 0.005)^{36} A=5000(1.005)36A = 5000(1.005)^{36} A=5000(1.19668)A = 5000(1.19668) A=5983.40A = 5983.40 I=API = A - P I=5983.405000=983.40I = 5983.40 - 5000 = 983.40 The compound interest earned is $983.40.

FAQ

Run your own problem

References: OpenStax Principles of Finance · Brealey, Myers, Allen: Principles of Corporate Finance

See also