Skip to content
DaveManuel.com · Financial Tools

Lump Sum vs Dollar-Cost Averaging Calculator

You have a pile of money to invest. Should it all go into the stock market today, or a little at a time over the next few months? Pick any start month since 1871 and see which would have come out ahead, then see how the answer has played out across every start month in history.

By Dave Manuel · S&P 500 with dividends reinvested, January 1871 to October 2026
64%of start months since 1871 where investing all at once beat spreading it over 12 months
+2.8%typical (median) edge for investing all at once, 12-month spread
44%how far a lump sum fell behind in its worst start month, August 1931
1,859start months tested, each one with its own 12-month spread

Set the amount, how many months you would spread it over and the month you start. The calculator invests the money in the S&P 500 both ways, with dividends reinvested: all of it in the first month, or equal monthly installments with the rest waiting in cash. Click any point on the history chart in section 03 to jump to that start month.

01Your Numbers

equal monthly installments, the first one in the start month
before 1934, commercial paper rates stand in for Treasury bills

02Your Start Month, Month by Month

All at onceSpread out

S&P 500 total return from Robert J. Shiller's monthly data; cash yields from FRED. DaveManuel.com calculations. Hover or tap the chart for the values.

03Every Start Month Since 1871

All at once came out aheadSpreading it out came out ahead

Each point is one start month: how far investing all at once ended up ahead of (above the line) or behind (below the line) spreading the money out, once the last installment was in. Click a point to load that start month in the calculator. Source: Robert J. Shiller; FRED; DaveManuel.com calculations.

04How Often Investing All at Once Won, by Spread Length

The longer the money is spread out, the more of it sits in cash, and the bigger the typical gap. The table uses the cash setting chosen above and every start month in the data.

Spread overAll at once wonTypical edgeAverage edgeWorst start for all at onceBest start for all at once

Edge = how far the all-at-once portfolio was ahead of the spread-out portfolio when the last installment went in; typical is the median. Your spread length is highlighted.

05The Best and Worst Months to Invest All at Once

The start months where the choice mattered most, for the spread length chosen above. Months close together usually share one market move, so each list keeps only the most extreme month within any two-year stretch. Click a month to load it.

Spreading it out won by the most

Start monthAll at once behind by

Investing all at once won by the most

Start monthAll at once ahead by

06What the History Shows

Across 1,859 start months from January 1871 on, putting the whole amount in at once beat spreading it over 12 months 64% of the time, with waiting cash earning Treasury bill rates. Spread over 3 months it won 59% of the time; over 36 months, 66%. The typical edge grows with the length of the spread, because more money spends more time in cash.

The cases where spreading it out won are clustered around the market's worst falls. The single worst start month for a lump sum, with a 12-month spread, was August 1931, when the all-at-once investor ended up 43.8% behind. The best was March 1933, when investing all at once came out 52.2% ahead.

Once the last installment goes in, both portfolios hold the same investment and move together, so the percentage gap between them never changes after that. A longer horizon in the calculator makes the dollar gap bigger or smaller with the market, but it does not change who won.

The history says a lump sum invested at once has usually ended up with more money. Spreading it out has bought protection against the worst start dates, at the cost of a lower result in most of the others. Which one fits is a question of how you would handle the bad outcome.

07How the Calculator Works

Stock returns. The calculator uses Robert J. Shiller's monthly data for the S&P Composite, the S&P 500 and the earlier indexes it was built from, going back to 1871. Each month's level is the average of that month's daily closes, and dividends are reinvested monthly through Shiller's total return series. Because the prices are monthly averages, every purchase is made at an average price for its month, for both methods. The data runs through October 2026; Shiller's most recent months include some estimated figures.

The two methods. All at once puts the whole amount into the index in the start month. Spread out puts in an equal installment each month, starting in the start month, so a 12-month spread makes its last purchase eleven months after the first. The money not yet invested earns the monthly cash rate if you choose it, and the interest it earns goes in with the last installment.

Cash rates. From January 1934 on, the 3-month Treasury bill rate (FRED series TB3MS). Before that, Treasury bills did not exist in their modern form, so the calculator uses the commercial paper rate in New York from the National Bureau of Economic Research (FRED series M13002US35620M156NNBR). Commercial paper paid more than Treasury bills later did, which makes spreading it out look a little better before 1934 than it would with a true risk-free rate. Each month the waiting cash earns one twelfth of that month's quoted annual rate. That is an approximation: the Treasury bill rate is quoted on a discount basis, and a real bill investor's return would differ slightly.

Inflation. In today's dollars, the amount you enter is treated as money in today's terms and the results are adjusted with the consumer price index from Shiller's data, to October 2026. The percentage gap between the two methods is the same either way.

What is left out. Taxes, trading costs and fund fees. Results are history, and the future can look different.

08Frequently Asked Questions

Is dollar-cost averaging a bad idea?

It depends on where the money comes from. Most people dollar-cost average without thinking about it: a slice of every paycheck goes into a 401(k) or an index fund as soon as it is earned, and that is simply investing money as soon as you have it. This calculator is about a different situation: you already have a lump of money, from a bonus, an inheritance, the sale of a house or a rollover, and you are choosing between investing it today and feeding it in over several months. In that situation, history favors investing it all at once most of the time.

Why does investing all at once usually win?

Stocks have gone up in more months than they have gone down, and they have earned more than cash over most stretches of a year or more. Every month part of your money waits in cash, it is likely to earn less than it would have in the market. The longer the money waits, the bigger that drag tends to be, which is why the average gap grows as the spreading period gets longer.

When did spreading it out win?

When the market fell soon after the start date. The biggest wins for spreading it out came from start dates around the 1929 to 1932 crash, the 1937 slump, the 1973 to 1974 bear market, the 1987 crash, the 2000 to 2002 dot-com bust and the 2007 to 2009 financial crisis. Section 05 lists them. Nobody knows in advance which start dates those will be.

Does the interest on the waiting cash matter?

Yes. Switch the cash setting to "earns nothing" and investing all at once wins noticeably more often, because the waiting money then has no return at all. In periods when Treasury bills paid high rates, such as the late 1970s and early 1980s, the interest narrowed the gap.

Are dividends included?

Yes. The calculator uses Robert Shiller's total return series for the S&P 500 and its predecessor indexes, which reinvests dividends every month. Both the lump sum and every installment earn dividends from the month they are invested.

What about taxes and fees?

They are left out. In a taxable account, interest on the waiting cash is taxed each year, which slightly hurts spreading it out. Trading costs are close to zero for most index fund investors today but were much higher in the past. Neither changes the overall pattern much, but both matter for an exact dollar answer.

If lump sum usually wins, why would anyone spread it out?

Because of regret. Investing everything just before a crash is painful, and some people would rather give up a little expected return to make that outcome less likely. Spreading it out narrows the range of results: the worst cases are less bad, and the best cases are less good. If the fear of a crash would keep the money in cash indefinitely, a set schedule that gets it invested within a year beats never investing it.

Does this work for other investments?

The calculator only uses the S&P 500 and its predecessors, which covers large U.S. companies. A single stock, a sector fund or a bond fund behaves differently, and a portfolio that mixes stocks and bonds narrows the gap because bonds have less return to give up while waiting.

Is the calculator storing what I type?

No. The calculation runs in your browser, and what you type is not sent to DaveManuel.com. The page address updates with your settings as you change them, so you can bookmark or share it, but the settings go after a # sign, a part of the address that browsers do not send to the website.

09Sources

More from DaveManuel.com: the Financial Tools, the Compound Interest Calculator, $10,000 Invested in 1980, the S&P 500 historical data and the Retirement Runway Calculator.

Cite This Page

This page is free to cite and link. Its figures come from Robert J. Shiller, U.S. stock markets 1871 to present (ie_data.xls, monthly S&P Composite with dividends and CPI); FRED series TB3MS and M13002US35620M156NNBR; DaveManuel.com calculations and are kept current, so please include the date you accessed it.

FormatCitationCopy
PlainDave Manuel, “Lump Sum vs Dollar-Cost Averaging Calculator: Every Start Month Since 1871,” DaveManuel.com, https://www.davemanuel.com/lump-sum-vs-dollar-cost-averaging-calculator.php (accessed November 29, 2026).Copy
APAManuel, D. (2026). Lump Sum vs Dollar-Cost Averaging Calculator: Every Start Month Since 1871. DaveManuel.com. Retrieved November 29, 2026, from https://www.davemanuel.com/lump-sum-vs-dollar-cost-averaging-calculator.phpCopy
ChicagoManuel, Dave. “Lump Sum vs Dollar-Cost Averaging Calculator: Every Start Month Since 1871.” DaveManuel.com. Accessed November 29, 2026. https://www.davemanuel.com/lump-sum-vs-dollar-cost-averaging-calculator.php.Copy
Wikipedia{{cite web |url=https://www.davemanuel.com/lump-sum-vs-dollar-cost-averaging-calculator.php |title=Lump Sum vs Dollar-Cost Averaging Calculator: Every Start Month Since 1871 |last=Manuel |first=Dave |website=DaveManuel.com |access-date=2026-11-29}}Copy
Link (HTML)<a href="https://www.davemanuel.com/lump-sum-vs-dollar-cost-averaging-calculator.php">Lump Sum vs Dollar-Cost Averaging Calculator: Every Start Month Since 1871 (DaveManuel.com)</a>Copy

Source data: Robert J. Shiller, U.S. stock markets 1871 to present (ie_data.xls, monthly S&P Composite with dividends and CPI); FRED series TB3MS and M13002US35620M156NNBR; DaveManuel.com calculations. Updates: Refreshed a few times a year. How we build our data pages.