Compound interest formula
Compound interest is interest earned on both your deposits and the interest already added. For a single deposit P at an annual rate r compounded n times a year for t years:
A = P × (1 + r/n)n × t
At the example rate, $10,000 left alone for 20 years grows to $40,387.39. With continuous compounding the formula becomes A = P × er × t.
With a monthly contribution D, the calculator grows the balance month by month: each month the balance is multiplied by
g = (1 + r/n)n/12 and the contribution is added. Over N months that sums to
A = P × gN + D × (gN − 1) ÷ (g − 1). Adding $200 a month takes the example
to $144,572.72; adding it at the start of each month instead gives $145,180.47, because each
deposit earns one more month of interest.
How often interest compounds
More frequent compounding adds interest to the balance sooner, so it earns slightly more. The difference is small next to the rate itself. The annual percentage yield (APY) expresses any compounding as a single yearly rate (Truth in Savings definition), so to use an account's APY, enter it as the rate and choose "Annually".
$10,000 at 7% for 20 years
| Compounding | APY | Final balance |
|---|---|---|
| Annually | 7% | $38,696.84 |
| Quarterly | 7.186% | $40,063.92 |
| Monthly | 7.229% | $40,387.39 |
| Daily | 7.25% | $40,546.56 |
| Continuously | 7.251% | $40,552.00 |
Simple versus compound interest
With simple interest, interest is paid only on the money deposited and never on earlier interest. For the example, simple interest would give $105,460.00; compounding adds $39,112.72 more. The gap grows with time, because interest keeps earning interest.
How long to double your money: the rule of 72
Divide 72 by the annual rate in percent to estimate how many years a lump sum takes to double. At 7% that is 10.3 years; the exact figure with monthly compounding is ln 2 ÷ ln(1 + APY) = 9.9 years. The rule is a quick estimate that works best for rates between about 4% and 12%.
Inflation and real growth
Prices also rise over time, so a future balance buys less than the same amount today. Entering an inflation rate divides the result by (1 + inflation)years: at 3% inflation, the example's $144,573 is worth about $80,046 in today's dollars.
Assumptions and limits
- The rate is fixed for the whole period. Savings rates change, and investment returns vary from year to year and can be negative; a steady rate is a simplification, not a forecast.
- Contributions are the same every month, and nothing is withdrawn.
- Taxes, fees and account minimums are not included.
Results are estimates for planning, not financial advice.
Methodology and testing
Automated tests compare future values for monthly, daily, quarterly and continuous compounding, start- and end-of-month contributions, simple interest and inflation with an independent closed-form calculation done to 40 significant digits. How we build and test calculators.
Sources
- Truth in Savings (Regulation DD) § 1030.2 Definitions, Consumer Financial Protection Bureau. Annual percentage yield is the total interest paid on an account over a 365-day period, reflecting the interest rate and the frequency of compounding.
Related calculators
-
CD Calculator
Maturity value and interest from APY or rate, compounding comparison, after-tax interest and the early-withdrawal penalty.
-
Savings Goal Calculator
Monthly amount to reach a goal or emergency fund by a date, or time to reach it with a set deposit, with APY growth by year.
-
Loan Payoff Calculator
Payoff date and interest saved with monthly, yearly or lump-sum extras, and the extra needed to be debt-free by a set time.
-
Dividend Calculator
Dividend income and value over time, reinvested or taken as cash, with contributions, dividend and price growth, and tax.