Do The Math
Calculator

Compound interest calculator

Enter what you start with, what you add each month, a yearly return and a number of years. See the final balance and how much of it is growth.

Final balance
—
Total you put in
—
Of which growth
—

How compound interest works

Compound interest means you earn returns on your past returns, not just on the money you put in. The calculator compounds monthly:

Balance = P × (1 + i)^n + C × ((1 + i)^n − 1) ÷ i

where P is the starting amount, C the monthly contribution, i the monthly rate (yearly rate ÷ 12) and n the number of months. The dashed line on the chart is what you put in; the green line is the balance.

Example: $10,000 plus $200 a month at 7%

AfterYou put inBalanceOf which growth
10 years$34,000≈ $54,714≈ $20,714
20 years$58,000≈ $144,573≈ $86,573
30 years$82,000≈ $325,159≈ $243,159

After 30 years, about three-quarters of the balance is growth. The last ten years add more than the first twenty combined. That's compounding: it starts slowly, then speeds up.

For the quick mental version, see the Rule of 72.

Questions

Monthly or yearly compounding: does it matter?

A little. $10,000 at 7% for 30 years grows to about $81,165 compounded monthly versus about $76,123 compounded yearly. The number of years and the rate matter far more.

Is a 7% return realistic?

It's a common long-term assumption for a diversified stock index, but returns vary year to year and can be negative. Try 4–5% for a cautious view.

Does this include inflation and taxes?

No. Use a lower return to approximate results in today's dollars, and remember that taxes and fees reduce real-world growth.

Do The Math publishes educational examples based on simple math. Returns used in examples are hypothetical and not guaranteed; investing involves risk, including loss of principal. Nothing on this site is financial, investment, tax or legal advice. Consider speaking with a licensed professional about your situation.

Read more