How this calculator works
It takes your starting amount and adds your deposits, and both grow at your return. The return is the growth of a whole year, the way stock returns are measured. So 7% means that $100 becomes $107 in a year, and the calculator spreads that growth over the weeks and months in between. Deposits go in at the end of each period unless you pick “Start of each period.”
The boxes start with $10,000 and $500 at the end of every month, at 7% a year for 30 years. With those, you’d put in $190,000 and end with $660,849. The growth, $470,849, is more than twice what you put in.
I put in 7% on purpose. It’s below what the S&P 500 compounded at from 1928 to 2025, more on that below, and the range around it goes from 4% to 10%. For inflation I put in 3%, close to the 3.04% a year US prices rose over those same years.
Which return should you put in?
From 1928 to 2025, the S&P 500 compounded at 10.02% a year with dividends put back in. After US inflation, it was 6.78%. That’s the return of an index, measured over almost a century, and it includes the Depression, the 1970s and 2008. A single stock can do much better or much worse.
The 12% you may hear is the simple average of the yearly returns, 11.86% over the same years. Money grows at the compound rate, which is always lower when returns swing. Put the average in a calculator and you get more than the index paid.
The forecasts for the next 10 years are lower than that. Vanguard’s forecast for US stocks was 4.8% to 6.8% a year, as of September 30, 2026. The next 30 years could land above or below all of these numbers, so the calculator shows a range. With the default numbers, 4% gives you $375,069 and 10% gives you $1,205,916.
S&P 500 is a registered trademark of Standard & Poor’s Financial Services LLC, and the index is a product of S&P Dow Jones Indices LLC. Bufetico isn’t affiliated with them or endorsed by them.
What a smooth line hides
The first tab grows your money by the same percentage every year. The market never does that. Start the same plan in January 2000, $10,000 and $500 a month, and by January 2010 you’d have put in $70,000, and the plan would be worth $74,253. That’s ten years of deposits for $4,253 of growth. From October 2000 to January 2004, 3 years and 4 months, the plan was worth less than the money in it. By September 2026, you’d have put in $170,000, and the plan would be worth $1,068,089, about 11.2% a year, counting when each deposit went in.
The second tab also runs your plan from every January since 1871 that has 30 full years of data after it. That’s 126 start years. In the dollars of the month it started, the plan ended between $231,039, starting in 1891, and $1,230,219, starting in 1932, with $520,623 in the middle. The steady line of the first tab ends at $272,261 in today’s money, and 120 of those start years ended higher. That’s why 7% is the default. The next 30 years can still be worse.
The order of the years matters too. A crash right before you retire hurts more than the same crash when you’re 25, because there’s more money in the market by then. An average return can’t show you that. The second tab uses the years in the order they came.
Morningstar measures what bad timing costs. In its Mind the Gap study of August 2026, the money people really had in US funds earned about 1.2 percentage points a year less than the funds themselves over the ten years to December 2025, because of when they bought and sold (Mind the Gap 2026). The calculator assumes you stay in. Staying in through the bad years takes emotional muscle, and no calculator can do that part for you.
Compound interest, in plain words
Compound interest is growth on growth. In year one, your money earns on what you put in. In year two, it also earns on what it earned in year one, and so on. The formula is A = P × (1 + r ÷ n)^(n × t), where P is what you start with, r the yearly rate as a decimal, n how many times a year interest is added, and t the years.
For a savings account or a CD, the bank tells you how often it adds interest. At 7%, interest added every month works out to 7.23% a year, and every day to 7.25%. That yearly figure is the APY, and the 7% is the APR. If your bank quotes an APY, put it in as growth per year. Typing an APY and then picking “every month” counts the compounding twice. If interest is added at a different pace than your deposits, the calculator still grows a whole year by the APY.
Stocks don’t pay interest. Their return comes from the price going up and the dividends, so for them the calculator uses growth per year. Some calculators add daily compounding to a stock return, and then 7% becomes 7.25%.
Fees, taxes and inflation
A 1% yearly fee looks small. With the default numbers, it takes the result from $660,849 to $537,455, about 19% less. With a fund that charges 0.05%, you’d have $653,983.
Taxes depend on the account. In a regular brokerage account you pay tax on the dividends every year and on the gain when you sell. With a 1.1% dividend yield taxed at 15%, and the gain taxed at 15%, the $660,849 becomes about $580,765 after tax. In a 401(k) or a traditional IRA you pay income tax when you take the money out. In a Roth IRA, if you follow its rules, you don’t pay any.
Inflation is why the calculator also shows today’s money. At 3% a year, the $660,849 buys what $272,261 buys now.
Starting early, and starting late
Put $500 a month in for 10 years, stop, and leave it for 20 more years at 7%. You’d put in $60,000 and end with $330,958. Wait 10 years, then put $500 a month in for 20 years, and you’d put in $120,000 and end with $253,768. With the numbers already in the calculator, starting 10 years later costs you $368,384. Try it under “Compare with another plan.”
What an investment calculator doesn’t see
An investment calculator is a good place to start, but there are eight things it can miss.
- A steady return. Returns swing from year to year. The second tab shows what that did to your plan.
- The average year. When returns swing, the simple average of the yearly returns is higher than what your money grew at, so put in the compound rate.
- Extra compounding. Adding monthly or daily compounding to a stock return makes it look bigger than it is.
- Fees. They come off every year, and over 30 years they add up. There’s more on that in the hidden costs of buying stocks.
- Taxes. A result before tax looks bigger, and often only the small print says it’s before tax.
- Inflation. A million dollars in 30 years buys much less than a million today.
- Your own behavior. Morningstar found that the money people had in US funds earned about 1.2 percentage points a year less than the funds themselves, because of when they bought and sold (Mind the Gap 2026). The calculator assumes you never panic and get out.
- The company. A fund follows a whole market. One stock follows one business, and that business can stop growing.
To see how fast your money doubles, try the rule of 72 calculator. To see what adding the same amount every month did in real markets, try the dollar cost averaging calculator.
Questions people ask
What is an investment calculator?
It tells you what your money could grow to. You put in a starting amount, a regular deposit, a return and the years, and it adds up the growth. This one also works backwards: the deposit, the years, the return or the starting amount you need to reach a goal.
How does compound interest work?
Your money earns on what you put in and on what it already earned. At 7% a year, $10,000 becomes $10,700 after a year and $11,449 after two. After 30 years it’s $76,123, with nothing added along the way.
What is the compound interest formula?
For one amount, A = P × (1 + r ÷ n)^(n × t). P is what you start with, r the yearly rate as a decimal, n how many times a year interest is added, and t the years. With regular deposits, each deposit grows for as long as it stays in, and you add them all up. “Show the math” in the calculator writes it out with your numbers.
What rate of return should I use?
For a mix of US stocks over many years, 6% to 8% is a cautious middle. From 1928 to 2025 the S&P 500 compounded at 10.02% a year with dividends, and Vanguard’s 10-year forecast as of September 30, 2026 was 4.8% to 6.8%. For a savings account, use its APY. Then look at the range, because no single number is right.
Should I use 7% or 10%?
Both come from the same history, measured two ways: the S&P 500 compounded at 10.02% a year before inflation and 6.78% after. If you put in 10%, look at the result in today’s money. If you put in 7% and set inflation to 0, you’re already counting in today’s money.
Why do calculators give different answers for the same numbers?
Because they count differently. Some add interest every month or every day to your rate, some put deposits in at the start of the month, and some deposit once a year. With the default numbers, the same inputs give $660,849 here, $691,150 with interest added every month and $694,017 with interest added every day. The table under the calculator shows it with your numbers.
What is the difference between APR and APY?
The APR is the yearly rate before compounding. The APY includes it. At 7%, interest added every month gives an APY of 7.23%, and every day 7.25%. If you have an APY, put it in as growth per year.
Does daily or monthly compounding matter for stocks?
No, because stocks don’t pay interest. A stock’s yearly return already includes everything that happened in the year. Adding daily compounding to it overstates the growth.
Should deposits go at the start or the end of the month?
If you invest on payday, “Start of each period” is closer to what you do. The difference is small, about one month of growth on each deposit. This calculator uses the end of each period unless you pick the start, and the table under it shows both.
Does the result include dividends?
It includes whatever your return includes. The S&P 500 figures on this page have dividends put back in. A return that counts only the price would come out lower.
Is the result before or after tax?
Before tax, unless you pick an account under “Fees and taxes.” In a regular brokerage account you pay tax on the dividends every year and on the gain when you sell. In a 401(k) or a traditional IRA you pay income tax when you take the money out. In a Roth IRA you pay none if you follow its rules.
What does “in today’s money” mean?
It’s what the future amount would buy at today’s prices. At 3% inflation, prices are about 2.4 times higher after 30 years, so $660,849 then buys what $272,261 buys now.
How much do I need to invest each month to reach $1 million?
With $10,000 to start, 7% a year and 30 years, you’d need $790.01 a month. If you want $1 million in today’s money, that’s $2,427,262 in 30 years, and you’d need $2,010 a month. Pick “The deposit I need” to try your own numbers.
How long will it take to reach $1 million?
With $10,000 to start and $500 a month at 7%, it takes 35 years and 7 months. Pick “The years I need” to try your own numbers.
How much will $10,000 be worth in 20 or 30 years?
At 7% a year, with nothing added, $38,697 in 20 years and $76,123 in 30. In today’s money, with 3% inflation, the 30-year figure buys what $31,361 buys now.
What if I stop investing after 10 years?
The money keeps growing. $500 a month for 10 years, left alone for 20 more at 7%, ends at $330,958. Waiting 10 years and then putting in $500 a month for 20 ends at $253,768, with twice as much put in. Put 10 under “Stop the deposits after year.”
What does waiting 10 years cost?
With the default numbers, starting 10 years later and ending on the same date leaves you $368,384 less. Put 10 under “Start this many years later” to see it with your numbers.
What is sequence of returns risk?
It’s the risk that the bad years come at the worst time. Two people with the same average return can end with very different amounts, depending on the order of their good and bad years. It matters most when you’re adding a lot or taking money out. The second tab shows the real order of the years from any start year.
Can I use this for a 401(k), an IRA or a Roth?
Yes. Put in what you add, including any employer match, and pick the account under “Fees and taxes.” Contribution limits and early withdrawal penalties aren’t in the calculator.
How do I find my own return?
With deposits along the way, your return is the internal rate of return, which counts when each dollar went in. The second tab shows it for each start year. For something you bought once, the compound annual growth rate calculator does it from the first price and the last.
Why not a Monte Carlo simulation?
A Monte Carlo draws thousands of made-up paths and gives you percentiles that are hard to read. The second tab uses what the S&P 500 did, month by month since 1871, so each result is something that happened.
How do I do this in Excel or Google Sheets?
For monthly deposits at the end of the month, =FV((1+7%)^(1/12)-1, 360, -500, -10000) gives the default result. Add , 1 at the end for deposits at the start. “Show the math” writes the formula with your numbers.
Why does my bank count 360 days?
Some banks work out interest on a 360-day year, which pays a little more than the rate says. This calculator uses 365, the way an APY is quoted. If your bank gives you its APY, put it in as growth per year and the day count doesn’t matter.
Does it work in other currencies?
Yes. Pick yours at the top. The math is the same, but the S&P 500 history and the inflation figures are from the US.