How to use this calculator
Enter your initial investment — the lump sum you are starting with today. Use 0 if you are starting from scratch.
Enter your regular contribution and choose how often you plan to contribute: weekly, monthly, quarterly, or annually.
Enter the annual interest rate you expect to earn. For reference, the S&P 500 has historically averaged around 10% per year before inflation, while savings accounts earn far less.
Choose how many years you plan to keep the money invested, and how often interest compounds.
Review the results: ending balance, total contributions, interest earned, and a year-by-year growth chart.
The standard formula
compound-interest-calculatorA = P × (1 + r/n)^(n×t)
This is the textbook compound interest formula: A is the final balance, P the principal (your starting amount), r the annual interest rate as a decimal, n the number of compounding periods per year, and t the number of years. It answers the simplest version of the question — a single lump sum, left alone, with nothing added. Most savers also contribute along the way, and those recurring deposits turn the closed form into a growing geometric series. That is why this calculator runs the month-by-month recurrence shown in the next section instead: it handles contributions naturally and produces the same result the closed form gives for a lump sum.
How the calculation works
compound-interest-calculatormonthly growth factor = (1 + r/m)^(m/12) balance₍ₖ₎ = balance₍ₖ₋₁₎ × growth + monthly contribution
where r is the annual interest rate as a decimal and m is the number of compounding periods per year (365 for daily, 12 for monthly, 1 for annual). Contributions are converted to a monthly equivalent and added at the end of each month.
Site-wide conventions and all calculator formulas — rounding policy, period conventions, and how every formula is verified.
Worked example
Input
$10,000 initial investment, $500 contributed every month, 7% annual rate compounded monthly, for 10 years.
Result
Total contributions: $70,000. Ending balance: $106,639 — including $36,639 of interest earned.
Compounding frequency, compared
| Compounding | Ending balance | Interest earned |
|---|---|---|
| Annually | $19,671.51 | $9,671.51 |
| Monthly | $20,096.61 | $10,096.61 |
| Daily | $20,136.18 | $10,136.18 |
A $10,000 lump sum at a 7% annual rate, held for 10 years. More frequent compounding helps — daily beats annual by about $465 here — but the effect is modest next to time and rate. Extending the same deposit from 10 to 20 years roughly triples the interest earned ($9,672 → $28,697 annually; $10,136 → $30,547 daily), whereas frequency moves the ending balance by low single-digit percents. The gap scales with the rate: over 10 years, daily vs. annual adds 0.44% to the ending balance at 3% (1.7% more interest) and 4.79% to the ending balance at 10% (7.8% more interest). Banks quote APY precisely because it folds frequency in — comparing APYs rather than nominal rates makes the whole frequency question disappear from your comparison.
Assumptions and important notes
- The rate you enter is a constant annual rate held for the entire period. Real investment returns vary year to year.
- Contributions are converted to a monthly equivalent and added at the end of each month (ordinary annuity).
- Taxes, fees, and inflation are not modeled.
- Compounding uses the nominal annual rate divided by the compounding frequency — the standard convention for savings accounts and CDs.
Frequently asked questions
What is compound interest?
Compound interest is interest earned on both your original balance and on interest you have already earned. Over long periods, compounding causes balances to grow faster and faster — which is why starting early matters more than investing large amounts.
What interest rate should I use?
It depends on where the money is invested. High-yield savings accounts might earn 3–5%, CDs offer fixed rates, and broad stock market index funds have historically averaged near 10% per year — but with real risk of down years. Choose a rate that matches your actual investment.
Does the compounding frequency matter?
Yes, but modestly. At the same annual rate, daily compounding produces slightly more interest than monthly, which produces slightly more than annual. The bigger levers are time, the rate itself, and the size of your contributions.
Is this projection a guarantee?
No. This calculator applies a fixed rate to illustrate how compounding works. Real investments fluctuate, and past performance does not guarantee future results. Treat the result as an educational estimate, not financial advice.
What is the compound interest formula?
A = P × (1 + r/n)^(n×t), where A is the ending balance, P the principal, r the annual rate as a decimal, n the compounding periods per year, and t the years. That closed form covers a single lump-sum deposit. Once you add recurring contributions, the calculator instead adds each contribution month by month — exactly the recurrence shown in the How the calculation works section above.
What is the Rule of 72?
A mental shortcut for doubling time: divide 72 by the annual rate. At 7%, money doubles in about 10.3 years — almost exactly the true answer of 10.2 years. It is an approximation rather than a formula, but a remarkably accurate one for rates between roughly 4% and 12%. For quick triage of any two rates: at 4% money doubles in 18 years, at 10% in 7.2 — one division shows what a rate change is worth over decades.
Sources
The claims on this page are backed by these official sources:
- Investor.gov (SEC) — Compound Interest Calculator — the SEC’s own worked illustration of how a lump sum compounds over time.
- Bureau of Labor Statistics — Consumer Price Index — why the projections here are nominal — inflation reduces what a future dollar buys.
- CFPB — Consumer tools hub — free federal guides on saving decisions that pair with this projection.