Mathing Is Hard

Money math

How compound interest works, with real numbers

Two people each put away $10,000 at 7% for thirty years. One ends up with $31,000. The other ends up with $76,000. The only difference is what happens to the interest.

By Mel,

The first person takes the interest out every year and spends it. That's $700 a year, every year, on top of the original $10,000. After thirty years they've collected $21,000 in interest, for a total of $31,000. This is called simple interest: interest paid only on the money you started with.

The second person leaves the interest in the account. Next year, the 7% is figured on the original $10,000 plus last year's interest. That's compound interest, and it's why the second person finishes with more than twice as much.

Watch it happen, one year at a time

Each year starts where the last one ended.

Year 1: 10,000 × 1.07 = 10,700

Year 2: 10,700 × 1.07 = 11,449

Year 3: 11,449 × 1.07 = 12,250.43

and so on, thirty times

In year one you earn $700. In year two you earn $749, because you're earning 7% on $10,700. By year thirty, the interest for that single year is about $4,980. That one year earns more than the account earned in its first five years combined.

Multiplying by 1.07 thirty times is the same as multiplying by 1.0730, which gives the formula:

Ending balance = P × (1 + r)t

P is what you start with, r is the yearly rate as a decimal, t is years

10,000 × 1.0730 = 10,000 × 7.6123 = 76,122.55

Does monthly compounding matter?

A little. Many accounts compound monthly: they pay one-twelfth of the yearly rate every month. The same $10,000 at 7% compounded monthly for thirty years ends at $81,164.97 instead of $76,122.55. That's real money, but it's small next to the effect of the rate itself and the number of years. Don't choose an account for its compounding schedule. Choose it for its rate.

Why starting early matters so much

Most people don't drop a lump sum in an account and walk away. They add a little each month. Here's $200 a month at 7%, stopping at age 65, depending on when you start:

Start at ageYou put inInterest earnedBalance at 65
25$96,000$428,963$524,963
35$72,000$171,994$243,994
45$48,000$56,185$104,185

The person who starts at 25 puts in only $24,000 more than the person who starts at 35, and ends up with $281,000 more. Those first ten years of deposits get the most time to compound.

If you're 45 or 55 and reading this with a sinking feeling, the table has a second lesson: the years you have left still count. $104,185 is a lot more than the $48,000 that went in. The best time to start was earlier. The next best is this month.

7% is an illustration. Stocks have swung far above and below it.

A word on the 7%. Nobody can promise you a steady 7% a year. Savings accounts pay less. Stock funds have averaged more than that over long periods, with some terrible years mixed in. The math works the same at any rate, so try a few in the calculator below and see how much the answer moves.

The rule of 72

To estimate how long it takes money to double, divide 72 by the interest rate.

72 ÷ 7 = about 10.3 years

the exact answer is 10.24 years

At 7%, money doubles roughly every ten years. That's how $10,000 becomes about $76,000 in thirty: it doubles to $20,000, then $40,000, then close to $80,000. The rule of 72 gives a slightly high answer here, but it's close enough to check a number someone is telling you.

It works against you, too

Credit card interest compounds the same way, and the rates are much higher. A card charging 24% a year charges 2% a month. Leave a balance untouched and it doubles in about three years. That's why paying off a high-interest card usually beats any investment you could make with the same money: getting rid of 24% interest is like earning 24%, guaranteed.

Run your own numbers

Compound interest calculator

Balance at the end
$325,159
Money you put in
$82,000
Interest earned
$243,159
Year-by-year table
YearPut in so farInterest so farBalance

Interest compounds monthly, and each month's deposit is added at the end of the month. Real investments rise and fall from year to year; a steady rate is a planning assumption, not a promise.

The calculator also has its own page: Compound interest calculator.