Bufetico Join the waitlist

Investment goal calculator

Start from the goal and see how much to invest each month, with inflation, fees and taxes. Then see how often that amount would have worked in real S&P 500 years.

Want these tools on your phone? They’re coming to the Bufetico app. Join the waitlist »

bufetico.com/tools/investment-goal-calculator ·

An educational tool, not investment advice. It’s free, with no sign-up and no ads. The result comes from the numbers you put in, and the history check uses S&P 500 data.

Your goal and your plan

Try an example:

$

The amount you want to have.

Until you need the money.

$

What you have for this goal today.

%

Type 7 for 7%. For stocks or a fund, the yearly growth with dividends put back in.

%

US prices rose about 3% a year from 1928 to 2025.

%

Shows a worse and a better return next to yours, in percentage points.

%

In %. Put your inflation here to keep it the same in today’s money.

Fees, taxes and safe years
%

A fund’s expense ratio plus any adviser fee, as a % of what you have.

How many years before the deadline the money moves to savings. Leave it at 0 to keep it invested the whole time.

%

Per year, in savings, CDs or Treasury bills.

Help from others and extras
$

An employer match or a relative. It rises each year with yours.

$

A bonus or a tax refund. It rises each year too.

To reach $1,000,000 in today’s money in 30 years, invest

$2,010 a month

Your goal of $1,000,000 in today’s money comes to $2,427,262 in 30 years, with 3% inflation a year.

With 4% a year you’d need $3,495 a month, and with 10%, $1,092.

For reference, Vanguard’s forecast for US stocks over the next 10 years was 4.8% to 6.8% a year, as of September 30, 2026. The S&P 500 compounded at 10.02% a year from 1928 to 2025, with dividends.

Would it have worked in real years?

Starting in each month from January 1871 to September 1996, 1,509 start months in all, this plan would have reached your goal in 1,412 of them, with real S&P 500 returns.

The worst start, June 1902, got to 64% of the goal. The best, August 1872, got to 483%, and the one in the middle to 182%.

To reach it in half of the start months, you’d have needed $1,066 a month. For 3 of every 4, $1,533, for 9 of every 10, $1,878, and for every one of them, $3,159.

The start months overlap, so they aren’t separate tries, and the past won’t repeat on schedule. What they show is the spread: the same amount can end far above or far below the goal, depending on the years you get.

In this check, deposits go in once a month (weekly ones as their monthly total). The fee and the taxes are included, and safe years earn the rate you typed.

S&P 500 with dividends, month by month: Robert J. Shiller, Yale, with data through September 2026. Before March 1957 the series is the broader index that Shiller links to it. Each month is the average of its daily closes. Inflation: the US consumer price index, BLS. 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.

You put in $733,766 in all, counting the $10,000 you already have, and the growth adds $1,693,496.

That’s about $926.50 every two weeks, or $462.95 a week.

If you raise it 3% a year, with inflation, you can start at $1,465 a month.

Or, with no deposits at all, $308,862 more invested today would get there.

This is before tax. Pick your account under “Fees, taxes and safe years” to count it.

You’re a quarter of the way in year 10, halfway in year 18, and three quarters of the way in year 25. From year 11, your money grows more in a year than you put in.

This line goes up every year because it uses the same return every year. Real years swing, and the order they come in matters most near the end. Staying in through the bad ones takes emotional muscle more than math. The free course.

Your plan over the years

0

What goes inBalanceIn today’s moneyRangeGoal

Every start month since 1871: how much of the goal it reached

Share of the goal reachedThe goal

Year by year

YearAddedGrowthBalanceToday’s money
1$24,126$1,465$35,590$34,554
2$24,126$3,256$62,972$59,357
3$24,126$5,173$92,270$84,440
4$24,126$7,223$123,619$109,834
5$24,126$9,418$157,162$135,569
6$24,126$11,766$193,054$161,679
7$24,126$14,278$231,457$188,196
8$24,126$16,967$272,550$215,153
9$24,126$19,843$316,518$242,585
10$24,126$22,921$363,565$270,526
11$24,126$26,214$413,904$299,013
12$24,126$29,738$467,768$328,083
13$24,126$33,508$525,401$357,773
14$24,126$37,543$587,070$388,122
15$24,126$41,859$653,055$419,171
16$24,126$46,478$723,659$450,960
17$24,126$51,421$799,205$483,532
18$24,126$56,709$880,039$516,930
19$24,126$62,367$966,532$551,200
20$24,126$68,422$1,059,079$586,387
21$24,126$74,900$1,158,105$622,539
22$24,126$81,832$1,264,063$659,705
23$24,126$89,249$1,377,437$697,936
24$24,126$97,185$1,498,748$737,285
25$24,126$105,677$1,628,550$777,805
26$24,126$114,763$1,767,439$819,552
27$24,126$124,485$1,916,050$862,585
28$24,126$134,888$2,075,063$906,962
29$24,126$146,019$2,245,208$952,746
30$24,126$157,929$2,427,262$1,000,000

Other deadlines

YearsGoal thenYou’d invest
5$1,159,274$16,086
10$1,343,916$7,742
15$1,557,967$4,919
20$1,806,111$3,482
25$2,093,778$2,605
30$2,427,262$2,010
35$2,813,862$1,582
40$3,262,038$1,259

If you start later, same deadline

Start inYou’d investMore than now
1 year$2,174+$163.75
2 years$2,353+$342.89
3 years$2,550+$539.22
5 years$3,003+$992.11
10 years$4,632+$2,622

What it would have taken

To reach it inYou’d invest
Half the start months$1,066
3 of every 4$1,533
9 of every 10$1,878
Every one$3,159
Why other calculators show other numbers
Same numbers, other way to countYou’d investDifference
This calculator, your settings$2,010
The return as an APR, interest added every month$1,923-$87.39
Deposits at the start of each period$1,999-$11.30
The goal in future dollars, no inflation$790.01-$1,220

Many calculators treat the return as an APR with interest added every month, or put the deposits in at the start, or leave inflation out, so the same goal gives you different amounts. This one treats your return as the growth of a whole year, the way stock returns are measured.

Show the math

Each period, 12 a year: (1 + 7%)^(1 ÷ 12) − 1 = 0.565415%

Goal in future dollars: $1,000,000 × (1 + 3%)^30 = $2,427,262

What you have grows to: $10,000 × (1 + 0.565415%)^360 = $76,123

Each deposit of 1 grows to: ((1 + 0.565415%)^360 − 1) ÷ 0.565415% = 1169.45

Deposit: ($2,427,262 − $76,123) ÷ 1169.45 = $2,010

In Excel or Google Sheets: =PMT(0.00565415, 360, 10000, -2427262.47)

How this calculator works

Most calculators start from what you put in and tell you where you end up. This one starts from where you want to end up. You type the goal, the years, what you already have and a return, and it works out what to invest each time to get there. It can also find how long it takes with an amount you pick, or the return you’d need.

The boxes start with a goal of $1,000,000 in today’s money in 30 years, $10,000 already invested and 7% a year. With 3% inflation, that goal comes to $2,427,262 in 30 years, and you’d need to invest $2,010 at the end of every month. Your deposits, with the $10,000, add up to $733,766, about 30% of the goal, and the growth does the rest.

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.

To see where a fixed amount takes you, the other way around, use the investment calculator.

Today’s money or future dollars?

A million dollars in 30 years won’t buy what a million buys today. At 3% inflation, prices are about 2.4 times higher after 30 years, so a goal of $1,000,000 in today’s money comes to $2,427,262 in the dollars of that year. That’s why the goal starts in today’s money here. Leave inflation out and the same goal takes $790.01 a month, which looks easier than it is.

If you’d rather keep your deposit the same in today’s money, raise it each year by your inflation. You start lower and end higher. With the default numbers, raising it 3% a year means starting at $1,465 a month.

Which return should you put in?

The S&P 500 grew 10.02% a year, compounded, from 1928 to 2025, with dividends put back in. After US inflation, 6.78%. Those years include the Depression, the 1970s and 2008, and that’s the return of a whole index. One stock can do much better or much worse.

The forecasts for the next 10 years are lower. Vanguard’s forecast for US stocks was 4.8% to 6.8% a year, as of September 30, 2026. That’s why the calculator shows three returns. With the default numbers, 4% a year takes $3,495 a month and 10% takes $1,092. The 4% sits below the low end of that forecast, and the 10% is about what the index did from 1928 to 2025.

You may hear 12%. That’s the simple average of the yearly returns, 11.86% over the same years, and it’s more than money really grew, because returns swing. Use it here and the monthly amount comes out too small.

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.

Would that amount have worked?

The answer in the box assumes the same return every year. Real years don’t do that, so the calculator also runs your plan through history. It takes the S&P 500 month by month since 1871, with dividends, and starts your plan in every month that has enough years after it. For a 30-year plan, that’s 1,509 start months, from January 1871 to September 1996.

With the default numbers, $2,010 a month would have reached the goal in 1,412 of those 1,509 start months. The worst start, June 1902, got to 64% of the goal. To reach it in 9 of every 10 start months, you’d have needed $1,878 a month, and to reach it in every one of them, $3,159.

With these numbers, 7% is on the cautious side. With 3% inflation it’s about 3.9% a year after inflation, and the S&P 500 did better than that in most stretches, so history needed less than $2,010 a month in more than 9 of every 10 start months. It needed more in the worst stretches, like the one that started in June 1902.

That isn’t a probability. The start months overlap, and the next 30 years don’t have to look like any of them. What it gives you is the spread, and a sense of how much room to leave above the smooth answer.

The order of the years matters too. A crash in the last few years hits the plan when it holds the most money, with little time left to come back. A crash in the first years mostly hits money you haven’t put in yet, and your deposits buy more while prices are down.

If the number is too big

It happens a lot. The goal is real, and the monthly amount doesn’t fit the budget. There are five things that bring it down, and the calculator shows each one.

More time does the most. With the default goal, 30 years takes $2,010 a month, 35 years takes $1,582 and 40 years takes $1,259. The table “Other deadlines” has the rest.

Raising the deposit a little every year lets you start lower, at $1,465 a month if it rises 3% a year. Starting now matters as well: with the same deadline, starting 5 years later takes $3,003 a month, and 10 years later, $4,632.

An employer match counts. Put it under “Help from others and extras,” and your part goes down by that much. A smaller goal, or the same goal reached in two steps, works too.

Typing a higher return makes the number on the screen smaller, but it doesn’t change what the market pays.

Fees and taxes

A 1% yearly fee looks small. With the default numbers, it takes the monthly amount from $2,010 to $2,464.

Taxes depend on the account. In a 401(k) or a traditional IRA you pay income tax when you take the money out, so the account has to grow past your goal. At a 22% rate, the default goal takes $2,596 a month. In a regular account you pay tax on the gain when you sell, and in a Roth IRA, if you follow its rules, you pay none. Pick yours under “Fees, taxes and safe years,” and the goal becomes what’s left after tax.

A goal only a few years away

Money you need in 2 or 3 years is a different problem. Stocks can be down a lot right when you need the money, and there’s no time to wait. Try the down payment example: $60,000 in today’s money in 5 years, with $5,000 already saved. All in stocks, the plan reaches the goal in 1,286 of 1,809 start months, and the worst start gets to 44% of it. With the last 2 years in safe savings at 3%, it reaches it in 1,239 of 1,809, and the worst start gets to 51%.

So the safe years make the worst cases less bad and give up some of the good ones, because savings grow slower than stocks did in most years. In the history check, safe money earns the rate you type, the same in every year. The calculator shows both sides, and the choice is yours.

What a goal calculator doesn’t see

A goal calculator is a good place to start, but there are seven things it can miss.

  • A steady return. Real years swing. The history check shows what that did to the same plan.
  • The average year. The simple average of the yearly returns is higher than what money grew at, so put in the compound rate.
  • Inflation. A goal in future dollars looks closer than it is.
  • Fees. They come off every year and add up. There’s more on that in the hidden costs of buying stocks.
  • Taxes. Not all of a 401(k) balance is yours to spend.
  • Missed months. The calculator assumes you never skip a deposit. Life gets in the way, so leave some room.
  • 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 stay in through the bad years.

To see where a fixed amount grows, try the investment calculator. To test a nest egg once you retire, try the retirement calculator.

Questions people ask

How much do I need to invest each month to reach $1 million?

It depends on the years, what you already have and the return. With $10,000 to start and 7% a year, $1 million in future dollars in 30 years takes $790.01 a month. If you want $1 million in today’s money, with 3% inflation, it takes $2,010. In 20 years, it’s $1,894 and $3,482. In 40 years, $344.02 and $1,259.

How much a month to have $1 million in 10 years?

Starting from zero at 7% a year, $5,846 a month, or $7,857 if you want it in today’s money. Over only 10 years, the growth covers about 30% of the goal, and the rest has to come from your deposits.

How long will it take to reach my goal?

Pick “How long it takes” and type what you can invest each time. With the default goal and $1,000 a month at 7%, it takes 45 years and 3 months.

What return do I need to reach my goal?

Pick “The return I need.” With the default goal, $1,000 a month and 30 years, you’d need 10.41% a year. The S&P 500 compounded at 10.02% a year from 1928 to 2025, so a plan that needs more than that is counting on a lot.

Should my goal be in today’s money or in future dollars?

In today’s money, if you think of the goal as what it buys. A house, a year of college and a monthly income all cost more each year. The calculator raises the goal with inflation and shows you the figure in future dollars.

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. If you’d rather type a return after inflation, set inflation to 0. Then look at the range and the history check, because no single number is right.

Can I plan for several goals at once?

Run the calculator once for each goal, a house in 5 years and retirement in 30, for example, and add up the amounts. Copy the link of each one to keep them. Money you already have can only count once, so split it between the goals.

How is this different from an investment calculator?

An investment calculator starts from what you put in and tells you where you end up. This one starts from the goal and tells you what to put in, how long it takes or the return you need. Bufetico has both, and the other one is the investment calculator.

Why do calculators give different monthly amounts for the same goal?

Because they count differently. Many treat 7% as an APR with interest added every month, which works out to 7.23% a year. $1 million in 10 years from zero takes $5,846 a month here and $5,778 that way. Some put the deposits in at the start of the month, and many leave inflation out. The table under the calculator shows each one with your numbers.

What if I can’t afford the monthly amount?

Give it more time, raise the deposit a little each year, count any employer match, start sooner, or split the goal in two. With the default goal, 30 years takes $2,010 a month and 40 years takes $1,259. The table “Other deadlines” and the one for starting later show the rest with your numbers.

Does it count my employer’s 401(k) match?

Yes. Put the match under “Help from others and extras.” It goes in with your deposits and rises with them, and the answer shows your part. Contribution limits aren’t in this calculator. The 401(k) calculator has them.

Should I invest a lump sum or a monthly amount?

If you already have the money, the calculator shows how much more today would do the same job as the deposits: $308,862 with the default numbers. Whether to put a lump sum in all at once or spread it out is its own question, and the dollar cost averaging calculator tests both with real history.

What does the history check tell me?

It runs your plan from every month since 1871 that has enough years after it, with the S&P 500’s real monthly returns and dividends, and counts how many times the money reached the goal. It isn’t a probability, because the start months overlap and the future can be worse than any of them. Read it as a guide to how much room to leave.

Why not a Monte Carlo simulation?

A Monte Carlo makes up thousands of possible paths and reports percentiles, which are hard to read and change with the assumptions behind them. The history check only uses what the S&P 500 really did, month by month since 1871.

Should money for a goal 5 years away be in stocks?

That’s your call, and the history check shows you the risk. For the down payment example, $60,000 in today’s money in 5 years, the plan all in stocks fell short in 523 of 1,809 start months, and the worst start got to 44% of the goal. With the last 2 years in safe savings at 3%, it fell short in 570, and the worst got to 51%. A short goal is where a bad year hurts most, because there’s no time to wait it out.

Is the result before or after tax?

Before tax, unless you pick an account under “Fees, taxes and safe years.” Then the goal is what’s left after tax: income tax on the whole withdrawal for a 401(k) or a traditional IRA, tax on the gain for a regular account, and none for a Roth IRA that follows its rules.

How often should I check my plan?

Once a year is plenty. Put what you have now under “Already invested,” the years left and the same goal, and the calculator gives you the new amount. Checking every week mostly shows you noise.

How do I do this in Excel or Google Sheets?

For deposits at the end of each month, =PMT((1+7%)^(1/12)-1, 360, 10000, -2427262) gives the default answer, $2,010. The last number is the goal in future dollars. “Show the math” writes the formula with your numbers.

Can I invest every week or every two weeks?

Yes. Pick it under “How often you invest.” Every two weeks gives you 26 deposits a year, two more than twice a month. With the default goal, that’s $926.50 every two weeks or $462.95 a week, against $2,010 a month.

How much do I need to retire?

Pick “An income a month” as the goal. With the 4% rule, $4,000 a month takes $1,200,000. The 4% rule is a rule of thumb from studies of past US markets over 30-year retirements. To test whether a nest egg lasts, use the retirement calculator.

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.

Before you decide

This calculator is an educational tool. It does the math on the numbers you enter. It also shows data from other sources, like the history of the S&P 500. And it shows figures measured in Bufetico’s own data. This page gives the source and date of each one. That data can have errors and can go out of date. The past doesn’t tell you what comes next. The calculator doesn’t know your situation. Its result is hypothetical and changes with every input. It doesn’t guarantee anything. None of this is investment, tax or legal advice, or a recommendation to buy, hold or sell any security. Neither Bufetico nor JH Grandgerard is a registered investment adviser, a broker or a tax adviser. Bufetico sells a subscription to a stock screener, and this page links to it.

The tax figures are rough estimates for the year shown. Tax rules change, so check yours with your tax office or a tax professional.

Terms for the free tools

Sold too early, or held on too long?

Join the waitlist and I'll email you when Bufetico opens, plus a new article or tool now and then.

No more than one email a week. You can unsubscribe anytime, and the Privacy Policy explains how we handle your name and email.

Can't tell a cheap stock from a dying one?

The Bufetico Filter checks more than 30,000 companies against six layers and shows you only the ones that pass. You decide how strict each layer is. Bufetico opens soon.

Join the waitlist »