Compound Interest Calculator: Visualize Exponential Wealth Growth

simulator beginner ~8 min
Loading simulation...
$610,729 — from $10K initial + $500/month at 7% over 30 years

With default parameters ($10,000 initial investment, 7% annual return, $500 monthly contribution, 30 years), the final amount reaches approximately $610,729. Total contributions are $190,000, meaning $420,729 — over 2.2x your contributions — comes purely from compound interest.

Formula

Compound interest: A = P·(1 + r/n)^(nt)
With contributions: A = P·(1+r/n)^(nt) + PMT·[((1+r/n)^(nt) - 1)/(r/n)]
Rule of 72: doubling time ≈ 72 / (annual rate %)
Continuous compounding: A = P·e^(rt)

The Power of Compound Interest

Compound interest is the process by which interest earned on a sum of money is reinvested, so that in subsequent periods, interest is earned on the original principal plus all previously accumulated interest. This creates exponential growth — the defining feature of long-term wealth accumulation. Irving Fisher formalized the mathematical theory of interest in 1930, building on centuries of practical banking knowledge.

The Formula

The compound interest formula A = P·(1 + r/n)^(nt) captures four key variables: principal (P), annual rate (r), compounding frequency (n), and time (t). Adding regular contributions PMT transforms this into the future value of an annuity: A = P·(1+r/n)^(nt) + PMT·[((1+r/n)^(nt) - 1)/(r/n)]. The exponential nature means small changes in rate or time horizon create dramatic differences in outcomes.

The Rule of 72

A powerful mental shortcut: divide 72 by your annual return percentage to estimate doubling time. At 7% per year, money doubles in about 10.3 years. At 10%, it doubles in 7.2 years. This rule, attributed to Luca Pacioli in 1494, makes it easy to grasp the implications of different return rates. After one doubling, your money is 2x; after two doublings, 4x; after three, 8x — the power of exponentials becomes staggering over decades.

Time vs. Contributions

The visualization reveals a crucial insight: in the early years, your contributions (cyan area) dominate. But over time, the interest earned (red area) overtakes and eventually dwarfs your contributions. This is why starting early is so important — a 25-year-old investing $500/month at 7% will have roughly $1.1 million by 65, of which only $240,000 is contributions. The remaining $860,000 is pure compound growth. Starting at 35 with the same parameters yields only about $500,000. A decade of lost compounding costs more than half the final result.

FAQ

What is compound interest?

Compound interest is interest calculated on both the initial principal and the accumulated interest from previous periods. Unlike simple interest (which only applies to the principal), compound interest creates exponential growth because you earn 'interest on interest.' The formula is A = P·(1 + r/n)^(nt), where P is principal, r is annual rate, n is compounding frequency, and t is time in years.

What is the Rule of 72?

The Rule of 72 is a quick mental math shortcut: divide 72 by the annual interest rate to estimate how many years it takes to double your money. At 7% annual return, your money doubles in approximately 72/7 ≈ 10.3 years. The rule works well for rates between 2% and 15%.

How much does compounding frequency matter?

The difference between annual and monthly compounding is modest but real. For example, $10,000 at 7% for 30 years yields $76,123 with annual compounding vs $81,165 with monthly — about 6.6% more. The difference between monthly and daily compounding is negligible. As n approaches infinity, you get continuous compounding: A = P·e^(rt).

Why do regular contributions matter so much?

Regular contributions leverage dollar-cost averaging and ensure that compounding works on an ever-growing base. Even small monthly contributions dramatically increase the final amount because each contribution has its own compounding timeline. Starting early with small amounts often beats starting late with large amounts.

Sources

Embed

<iframe src="https://homo-deus.com/lab/economics/compound-interest/embed" width="100%" height="400" frameborder="0"></iframe>
View source on GitHub