Compound Interest Formula Explained

The compound interest formula tells you what a deposit will be worth after a period of time when interest is repeatedly added to the balance.

A = P × (1 + r/n)^(n × t)
  • A – the final amount (principal plus interest)
  • P – the starting principal
  • r – the annual interest rate as a decimal (5% = 0.05)
  • n – the number of times interest is compounded per year
  • t – the number of years

Example

10,000 at 5% compounded monthly for 10 years: A = 10,000 × (1 + 0.05/12)^(120) = 16,470.09. The interest earned is 6,470.09. Check it with the Compound Interest.

Regular deposits

When you add a payment PMT at the end of each period, the future value is A = P(1 + i)^N + PMT × [((1 + i)^N − 1) ÷ i], where i is the rate per period and N the number of periods. Our Future Value Calculator applies it, and the SIP Calculator uses the beginning-of-period version.

Continuous compounding

As n grows without limit, the formula becomes A = P × e^(rt), where e ≈ 2.71828. It is a theoretical upper limit; in practice daily compounding is almost identical.

Finding the rate or time

To find the rate between two values use r = (A/P)^(1/t) − 1, which is the idea behind the CAGR Calculator. To find the time needed to double an investment, t = ln(2) ÷ ln(1 + r); a quick approximation is the Rule of 72: years ≈ 72 ÷ rate in percent.

Related

Read our guide: How compound interest works.