The formulas, assumptions and limits behind every number on this site.
Every number on CompoundCalcPro comes from a small, public set of formulas that run directly in your browser. This page explains exactly what those formulas are, which assumptions are built in, how results are rounded, and what the calculators deliberately leave out. If a result ever looks wrong to you, this page is the first place to check, and our contact page is the second.
The textbook compound interest formula for a single lump sum is:
That formula does not include regular deposits, so the calculator extends it. Instead of jumping straight to year t, the calculator walks forward one month at a time. Each month it does two things in order: it grows the existing balance by one month of interest, and then it adds your monthly contribution.
You can choose to compound daily, monthly, quarterly, semi-annually or annually, but your contributions always arrive monthly. To make those two schedules agree, the calculator converts your annual rate and compounding choice into an equivalent monthly rate:
If you choose monthly compounding (n = 12) this is simply r ÷ 12. If you choose annual compounding (n = 1) the monthly rate is slightly smaller than r ÷ 12, because interest is only credited once a year in a real account and the equivalent monthly rate must reproduce exactly that yearly growth. With this approach, a $10,000 deposit left alone for 5 years at 7% grows to $14,025.52 with annual compounding, $14,176.25 with monthly compounding and $14,190.20 with daily compounding. You can check these three numbers yourself with the formula above.
The calculator assumes each monthly contribution is made at the end of the month, after that month's interest has been credited. This is the conservative convention, often called an ordinary annuity. Depositing at the start of each month instead earns one extra month of interest on every deposit, which raises the final balance slightly. Our contribution timing guide quantifies the difference with worked examples.
| Result | Definition |
|---|---|
| Total Balance | The balance after the last month of the time period you chose, before any taxes or fees. |
| Total Contributed | Starting amount plus 12 × monthly contribution × years. This is money you put in yourself. |
| Interest Earned | Total balance minus total contributed. |
| Inflation-Adjusted Value | Total balance ÷ (1 + inflation rate)years. See the note below. |
| Est. Years to Double (Rule of 72) | 72 ÷ the annual rate in percent. A mental-math estimate for a single lump sum, not a result of the month-by-month model. |
| Interest Share of Balance | Interest earned ÷ total balance. It answers: what fraction of the final number came from growth rather than from my own deposits? |
| Interest vs. Contributions | Interest earned ÷ total contributed. A value of 100% means growth has matched everything you put in. |
None of these is an official "return" figure. Because deposits arrive at different times, a true investment return would need a time-weighted or money-weighted calculation, which this educational tool does not attempt.
The inflation-adjusted value divides the final balance by (1 + inflation)years. This treats the whole balance as if it were a single amount arriving at the end. In reality your contributions were made along the way, so the true "today's dollars" value of your contributions is a bit higher than this simple formula implies. We chose the simple version because it is easy to verify by hand and errs on the cautious side. The default 3% is an illustration. The Federal Reserve states that it considers 2 percent inflation over the longer run, measured by the personal consumption expenditures price index, consistent with its mandate (source: federalreserve.gov), but actual inflation varies from year to year and by the price index used. Read more in our inflation guide.
The calculator keeps full precision internally and only rounds when it displays a number, to the nearest whole dollar. Because every displayed figure is rounded separately, the "Total Contributed" and "Interest Earned" boxes can occasionally differ from the "Total Balance" box by a dollar.
The Savings Goal Calculator runs the same model backwards. It first projects what your starting amount alone would grow to over the chosen period. If that already meets your target, it says so. Otherwise it solves the future-value-of-an-annuity equation for the monthly deposit that closes the remaining gap:
Before each release we run the calculator code against a set of fixed test cases whose answers we computed independently with a separate script, covering annual and daily compounding, zero contributions, zero starting balance and long time periods. We also compare the lump-sum cases with the closed-form formula above. If you find a case where the page disagrees with the formula, please tell us through the contact page with your inputs so we can reproduce it.
The formulas on this page are standard textbook mathematics rather than proprietary methods. For official definitions of the terms used around savings accounts, see the Consumer Financial Protection Bureau's explanation of Regulation DD, which defines the annual percentage yield (consumerfinance.gov), and the Federal Reserve's statement on inflation noted above.