Lump sum vs monthly investing calculator

Invest it all now, or spread it out?

Investing it all at once came out ahead
–

All at once came out aheadAll at once ahead Spreading it out came out aheadSpread ahead Middle 80% of start monthsMiddle 80%
Each sliver is one start month. Tap one to see it up close.
All at once won–
Spreading it out won–
Best for all at once–
Best for spreading–

Your numbers

Your money
Spreading it out
Spread over
Money waiting to go in
Interest at the US Treasury bill rate of each year.

Your numbers stay in your browser.

One start date, up close

All at once Spread out Share invested so far

The longer you spread, the more often it lost

Every start month since 1928, for each spread length. Tap a row to use it.

Spread overStart monthsAll at once wonTypical leadIf spreading won, typically by

How it works

You have an amount ready to invest. One choice puts it all into US stocks today. The other splits it into equal monthly parts and keeps the rest in cash until it goes in. This is also called dollar-cost averaging.

The calculator replays both choices from every start month since January 1928 and checks which was worth more once the last part was in. After that, both hold the same stocks, so whoever is ahead stays ahead by the same percentage.

Investing all at once usually won, because stocks rose in most periods and beat cash. Spreading it out won mainly when prices fell soon after the start, like in 1929, 1973 or 2008. Then it avoided the worst of the drop.

For example: Investing $10,000 all at once beat spreading it over 12 months (with the waiting cash earning interest) in 69% of the 1,173 start months since 1928. When it won, it was typically about $778 ahead.

The math, for the curious

Each month, stocks grow by that month's total return r (price change plus dividends), and cash grows by a twelfth of that year's T-bill rate, compounded. For an amount A spread over N months, one part A / N goes in at the start of each month, together with any interest it earned while waiting.

All at once = A × (1 + r₁) × … × (1 + rₙ) Spread out = the sum of N parts; part k is A/N × cash growth for k − 1 months × stock growth for the last N − k + 1 Lead = (All at once − Spread out) / A

Data: monthly US stock returns with dividends (S&P composite) from Robert Shiller, January 1928 to August 2026; yearly 3-month T-bill rates from Aswath Damodaran, NYU Stern, and for 2026 the January to August average of the 3-month Treasury rate on FRED. Shiller's prices are monthly averages, which smooths the very short swings a little.

As a check: Vanguard's 2023 study (Finlay and Zorn) found that investing all at once beat spreading it out about two-thirds of the time, across several markets from 1976 to 2022. This calculator lands in the same range: 62% for 3 months and 69% for 12 months, with cash earning T-bill interest.

Questions

Why does investing all at once usually win?

Stocks have risen in most months, and they have usually earned more than cash. Spreading out keeps part of the money in cash for longer, so in most periods it simply misses some of the growth.

When did spreading it out come out ahead?

Mainly when prices fell soon after the start, such as just before the 1929, 1973 or 2008 crashes. It lost more often, but in those cases it avoided the worst of the drop. This calculator shows the history, not what you should do.

Does the result change if I compare after 10 years instead?

No. Once the spread-out money is fully invested, both hold the same stocks and grow by the same percentage, so whichever was ahead stays ahead by the same proportion. The money gap grows, but the winner doesn't change.

What data does it use?

Monthly US stock returns with dividends reinvested (S&P composite) from Robert Shiller, January 1928 to August 2026, and yearly 3-month US Treasury bill rates from Aswath Damodaran at NYU Stern for the cash. It's US history in US dollars; other markets and the future can look different.

Does it include fees, taxes or inflation?

No. Both choices are shown before costs and taxes, in money of the time. Inflation affects both the same way, so it doesn't change which one came out ahead.

I'm investing my salary every month. Is that the same thing?

No. Investing money as you earn it is the only option when the money arrives monthly. This calculator is about money you already have, such as savings, a bonus or an inheritance.

Updated