Investing

Compound Interest Explained: Formula, Rule of 72 and Examples

Compound interest is interest earned on your original money and on the interest it has already earned. The formula is A = P(1 + r/n)^(nt). For example, 10,000 at 6% compounded yearly for 12 years grows to 20,121.96, and money roughly doubles every 72 ÷ rate years.

By CalculatorHub Editorial TeamPublished December 1, 2026Updated December 1, 20265 min read
Run the numbers yourself. Try our free Compound Interest Calculator and see the result with your own figures.

Simple interest vs compound interest

Simple interest is calculated only on the original amount. Compound interest is calculated on the growing balance, so each period's interest earns interest of its own. Over short periods the difference is small; over decades it is dramatic.

The formula

A = P × (1 + r/n)^(n × t)

P is the starting amount, r the annual rate as a decimal, n the number of compounding periods a year, and t the number of years. With monthly deposits, each deposit also compounds from the moment it is made.

The Rule of 72

Divide 72 by the annual rate to estimate how many years it takes to double your money. At 6% that is 72 ÷ 6 = 12 years, and indeed 10,000 grows to 20,122 after 12 years. At 9%, doubling takes about 8 years.

Why starting early matters

SaverMonthly savingYearsValue at 7%
Starts at 2530035540,316
Starts at 3530025243,022
Starts at 453001595,089

Saving the same monthly amount, the person who starts ten years earlier ends up with far more than the person who starts later, even though they only save for a few more years of contributions.

Compounding frequency

More frequent compounding (monthly instead of yearly) gives a slightly higher return at the same stated rate. The effect is small compared with the effect of the rate and time.

Compounding works against you on debt

The same maths applies to credit-card and other high-interest debts. Unpaid interest is added to the balance and then charged interest, so balances can grow quickly. Paying debts early reduces what compounding can do against you.

Play with your own figures in the compound interest calculator.

Frequently asked questions

What is the compound interest formula?

A = P(1 + r/n)^(nt), where P is the principal, r the annual rate, n the compounds per year and t the years.

What is the Rule of 72?

It is a shortcut: divide 72 by the annual interest rate to estimate the number of years it takes for money to double.

Is compound interest guaranteed?

Only on products with a fixed rate, such as many savings deposits. Market investments do not guarantee returns.

Try the calculators

Keep reading