How the "Miracle" of Compound Interest Works
Compound interest is often nicknamed a "miracle" because, unlike simple interest, it pays interest on interest: every time interest is added to a balance, the next round of interest is calculated on that larger amount. The result is exponential growth rather than a straight line. This calculator applies the standard future value formula A = P(1 + r/n)^(nt) to your principal, and adds the future value of any regular contributions, so you can see exactly how much of the final balance is growth versus money you put in.
Formula and method
Let P be the initial principal, r the annual interest rate (as a decimal), n the number of compounding periods per year, and t the time in years. The principal grows to P × (1 + r/n)^(nt). If you also add a fixed contribution PMT at the end of every compounding period, those deposits grow to PMT × [((1 + r/n)^(nt) − 1) / (r/n)] — the standard future-value-of-an-annuity formula. The calculator adds both pieces together for the total future value, then reports total contributions (principal plus deposits) and total interest earned (future value minus total contributions) separately.
Common sources of error
- Rate as a percent vs. decimal: enter the rate as a percent (e.g. 7 for 7%) — the calculator converts it to a decimal internally.
- Mismatched compounding frequency: the "n" in the formula must match how often interest is actually credited (monthly, quarterly, daily, etc.), not how often you happen to check the balance.
- Ignoring the time value of contributions: a dollar contributed in year one compounds for the full term, while a dollar contributed in the final period barely compounds at all — the annuity formula already accounts for this, but it's easy to misjudge by eye.
Checking your result
A quick sanity check: total interest earned should always be positive when the rate is above 0%, and it should grow faster than total contributions as the time period lengthens — that accelerating gap is the exponential "miracle" effect. You can also spot-check short time periods by hand: at 7% compounded annually with no contributions, $10,000 after 1 year should be $10,700 (10,000 × 1.07), which the calculator's Future Value should match when years = 1 and contribution = 0.
Applications
This formula underlies retirement and savings projections, loan and mortgage amortization (in reverse), certificates of deposit, and the "Rule of 72" shortcut bankers use to estimate doubling time. Because small changes in rate or time compound dramatically over long horizons, this calculator is most useful for comparing scenarios — for example, starting to save five years earlier, or moving from annual to monthly compounding — rather than for predicting exact future returns, which also depend on factors like taxes, fees, and market volatility that this simplified model does not include.