Quick answer
Compound interest means you earn returns on your past returns, not just on the money you put in. The CFPB describes it as earning "interest on the money you've saved and on the interest you earn along the way" (CFPB: How does compound interest work?). With the calculator's default end-of-month deposits, each deposit starts earning interest the following month.
For example, $10,000 plus $500 a month at a 7% annual return grows to about $300,851 after 20 years. Of that, $130,000 is money you paid in ($10,000 plus 240 deposits of $500) and about $170,851 is investment growth. The Compound Interest Calculator shows exactly these figures with its default settings.
The formula
With monthly compounding and deposits at the end of each month:
FV = P(1 + r)^n + C × ((1 + r)^n − 1) ÷ r
- P: starting amount
- C: monthly contribution
- r: annual rate ÷ 12
- n: number of months
This is the standard future-value formula for an ordinary annuity, meaning payments at the end of each period (Math LibreTexts: Annuities and sinking funds). If deposits go in at the beginning of each period instead, the future value of the deposits is multiplied by (1 + r) (Financial Math (eCampus Ontario): Future value of annuities).
The calculator steps through the same sum month by month, and its yearly table shows the balance at the end of each year. Two settings change the answer, so check them against any other calculator you compare it with:
- Deposit timing. The calculator defaults to End of period. With Beginning of period the 20-year result is $302,370.09 instead of $300,850.72, because every deposit earns one more month.
- Compounding. The calculator defaults to Monthly. Choosing Quarterly gives $299,257.85 and Annually gives $292,561.43. The calculator accrues interest monthly on the posted balance. An end-of-month deposit begins earning the following month. Accrued interest is added to the balance at the selected credit date and begins earning interest after that.
Here is how Quarterly works on a small example: $1,000 to start, $100 at the end of each month, 12% a year (1% a month), taken from the calculator's Monthly CSV:
- Month 1: $10.00 of interest accrues on the $1,000 balance and waits as pending interest. The $100 deposit lands at the end of the month, making $1,100.
- Month 2: the first deposit is now earning: $11.00 accrues on $1,100, so $21.00 is pending. The next deposit makes $1,200.
- Month 3: $12.00 accrues. This is the quarter's credit date, so all $33.00 of pending interest is added to the balance, then the deposit arrives: $1,333.00.
- Month 4: $13.33 accrues on $1,333.00. The $33.00 credited last month is now earning interest of its own.
The SEC's own calculator takes a monthly contribution and offers annual, semiannual, quarterly, monthly and daily compounding, but its page doesn't say when in the month the deposit lands. Different tools can therefore give slightly different totals from the same numbers (Investor.gov: Compound Interest Calculator).
The rate is a nominal yearly rate, which the calculator labels Expected annual return (nominal). A nominal 7% compounded monthly is an effective 7.23% a year. Banks quote the APY for the same reason: it "is larger than the basic, or nominal, rate since it takes into account the impact of compounding" (FINRA: Bank products).
What we saw in the calculator
These results are from a run on 19 November 2026 in desktop Chromium on Linux. The page opens with the example already filled in: Starting amount (USD) 10000, Expected annual return (nominal) 7, Years 20, Recurring contributions Monthly, Amount per month (USD) 500, Deposit timing End of period, Compounding Monthly and Expected annual inflation 2.5.
- Summary: Projected future value $300,850.72, Total contributions $130,000.00, Investment gain $170,850.72 and In today's money $183,600.45.
- Independent check: a short Python calculation gives $300,850.72 and the same split.
- Downloads: Download projection CSV saves one row per year (year 0 is the starting amount, year 20 ends at 300850.72). Monthly CSV saves 240 rows; month 1 starts at 10,000.00 with 58.33 of interest and ends at 10,558.33, and month 240 ends at 300,850.72.
- Privacy: the run made no requests to any server other than page fonts, and the CSVs are built in the browser.
Why time matters most
Because growth builds on itself, the later years do most of the work. In the example, the balance is $135,454.70 at the end of year 12 and $300,850.72 at the end of year 20. That is 2.2 times as much after 8 more years, and the balance passes double the year-12 figure ($270,909) during year 19. In year 20 alone the balance grows by $20,060.87, compared with $8,910.45 in year 12, even though you add the same $6,000 each year.
Starting earlier usually beats saving a bit more. With the same settings, 25 years instead of 20 gives $462,290.03, while paying $600 a month instead of $500 for 20 years gives only $352,943.38. Those numbers rest on one steady rate. Real returns vary, and this comparison is a calculation, not a forecast. FINRA's advice is the same in principle: "The sooner you start saving, the more time your money has to grow" (FINRA: The beginner's guide to 401(k)s).
Adjusting for inflation
A future balance isn't worth the same in today's money. The calculator's In today's money figure divides by (1 + inflation)^years. That is how a price index works: an amount is scaled by the ratio of two index values (Bank of England: Inflation calculator), and the annual rate is the percentage change against 12 months earlier (ONS: Consumer price indices, a brief guide).
At 2.5% inflation over 20 years, 1.025^20 is 1.6386, so prices rise about 64%. The $300,850.72 balance is worth $183,600.45 in today's money (300,850.72 ÷ 1.6386). The 2.5% is your assumption, not a forecast: the Federal Reserve's longer-run goal is 2 percent a year on its preferred price index (Federal Reserve: Why does the Federal Reserve aim for inflation of 2 percent?). Set Expected annual inflation to 0 and the In today's money figure equals the nominal one.
Fees and other things to keep in mind
- Fees reduce the effective rate. A 1% annual fee on a 7% return leaves about 6%: more exactly, 1.07 × 0.99 = 1.0593, or 5.93%. The calculator has no fee box, so enter the return after fees. Entering 6 instead of 7 gives $264,122.49 instead of $300,850.72, which is $36,728 (about 12%) less. Taking the fee monthly from a 7% return gives $263,924, so "about 6%" is a fair shortcut. The SEC's example shows the same effect on $100,000 growing 4% a year for 20 years: about $208,000 with a 0.25% fee, $198,000 with 0.50% and $179,000 with 1.00% (Investor.gov: How fees and expenses affect your investment portfolio). John Bogle's warning: "Do not allow the tyranny of compounding costs to overwhelm the magic of compounding returns" (Financial Analysts Journal: The arithmetic of all-in investment expenses).
- Returns vary. Real investment returns vary year to year, and a steady rate is a simplification. A simple average of yearly returns also overstates growth, because it "doesn't take compounding into consideration" (FINRA: Calculating your investment returns).
- Taxes depend on the account type and where you live. Check returns after taxes and inflation for long periods (FINRA: Evaluating performance). The calculator doesn't model taxes.
For illustration only, not financial advice.

