Math

Compound Interest

Compound interest grows money exponentially because returns earn returns. Adjust principal, monthly contribution, rate, and time to see the balance curve.

6 minLevel 1/3The interactive stage stays ad-free.
Final balance$86,733Contributed$31,000Interest$55,733Rule of 7210.3 yr

The cyan line is money you put in. The amber line is the compounded balance. The gap between them is interest earned on interest, which grows dramatically over long time horizons. The Rule of 72 estimates doubling time as 72 ÷ annual rate.

What you are seeing

1

Each month the balance grows by the monthly rate, then the contribution is added.

2

The contributions curve is linear; the balance curve bends upward because interest compounds.

3

Time matters more than a small rate difference. The Rule of 72 estimates doubling time as 72 divided by the annual percentage rate.

Why it matters

Compound interest explains savings, loans, inflation, and exponential growth. It is one of the highest-value practical math topics for everyday decisions.

Complexity & details

A monthly simulation over y years costs O(12y). The closed form is O(1).

Frequently asked questions

Why is compound interest so powerful?+

Interest earns interest. The growth is multiplicative, so long time horizons produce much larger totals than simple interest.

What is the Rule of 72?+

Divide 72 by the annual return percentage to estimate how many years it takes to double. At 8%, it predicts about 9 years.