finance-business · personal-finance · saving-investing

Dollar Cost Averaging vs Lump Sum Calculator

Compares investing a sum all at once against feeding it in over several months, on a return you supply, and reports what each is worth at the end, how much the waiting costs and what it saves if the market falls instead. It also runs the comparison across a band of returns you are unsure about and reports how often each way comes out ahead.

Last updated
Decision Canvas

Calculator overview

Inputs and outputs

This summary comes from the calculator's published input and output contract.

Inputs

Spread Months (required)
About this input

How many monthly instalments the sum is broken into. One instalment is the lump sum itself. A window longer than the holding period is compressed to fit, because an instalment timed after the money comes out would never be invested, and the status line says when that has happened.

Unit months Default 12 Range 1 to 60
Years Held (required)
About this input

How long the money stays invested, counted from the first purchase rather than the last. Lengthening it grows both results and widens the gap between them in dollars, while shrinking it as a share, because the months spent out of the market are a fixed cost paid at the start.

Unit years Default 10 Range 1 to 50
Return Volatility (required)
About this input

How unsure you are about that return, as one standard deviation, quoted PER YEAR. It is as much a part of the answer as the return itself, which is why it is asked for rather than assumed. The grid runs the comparison across eleven returns spread around yours and reports how often each strategy wins; the deviation is scaled to your holding period by the square root of time, because the model applies one constant rate across the period and a long-run average is less uncertain than a single year. Fifteen percent is in the range of a diversified equity portfolio. Zero means you are certain, and the grid collapses onto your own figure.

Unit fraction Default 0.15 Range 0 to 1
Amount To Invest (required)
About this input

The sum that is available now and would otherwise sit in cash. Both strategies start from exactly this money, which is the comparison: one puts it to work on day one and the other keeps part of it in cash for a while.

Unit $ Default 50000 Range At least 0
Annual Return (required)
About this input

The return you assume the investment earns, every year, for the whole period. Held constant, and applied monthly as one twelfth of it. A negative figure is a real scenario here and is worth entering: it is the case in which feeding the money in comes out ahead, and the size of that lead is the protection the strategy is bought for.

Unit fraction Default 0.08 Range -0.25 to 0.25

Outputs

Relative Average Cost
About this output

The average price the instalments paid, with the day-one price set at one. It is the HARMONIC mean rather than the arithmetic one, because a fixed sum buys more units when the price is low, and that is the only real mechanism behind dollar-cost averaging. Above one means the plan bought into a rising market; below one means it bought the dip. It is worth exactly one over the ratio of the two results.

Unit ratio
Table1 Regret Column Axis
About this output

The values across the top of the grid: how many months the buying is spread over, stepped by a fifth of your own window, floored at one month and capped at the months held. Read a column to hold the window fixed. The middle entry is your own figure.

No unit declared
Protection If Market Falls
About this output

What the drip-feed would be AHEAD by if the market fell at the same rate you expect it to rise. It is the other half of the argument and the one the averages hide: set it against the gap above and you can see what the waiting buys as well as what it costs.

Unit $
Model Status
About this output

Reads OK, or explains why the inputs are not valid or why the answer deserves a second look.

No unit declared
Probability Lump Sum Wins
About this output

The share of the returns in the band you allowed for in which investing it all at once comes out ahead. Read it as a shape rather than a forecast: it is the chance under YOUR assumption about how unsure the return is, and it says nothing about whether that assumption is right. It is read down your own column of the grid, so it is a statement about the market and never about the window you picked.

Unit fraction
Table1 Regret Row Input
About this output

Machinery, and NOT an input. Excel substitutes each value from the row axis into this cell while it fills the grid; the rest of the time it mirrors Annual_Return. Change Annual_Return above, never this: the axis is derived from it, so editing the mirror moves the axis while the table walks and the grid comes out meaningless.

Unit fraction
Table1 Regret Values
About this output

The body of the grid: the gap between the two strategies, recomputed for every combination of the two axes. One hundred and twenty-one cells, each one the whole comparison run again. It is a component of the table rather than a result on its own.

No unit declared
Table1 Regret Row Axis
About this output

The values down the left of the grid: the annual return, spread five half-deviations either side of the one you expect after scaling to your holding period. Read a row to hold the return fixed and vary the window. The middle entry is your own figure.

No unit declared
Table1 Regret Column Input
About this output

Machinery, and NOT an input. The same for the column axis: Excel substitutes into it while filling the grid, and the rest of the time it mirrors Spread_Months.

Unit months
Table1 Regret Corner
About this output

Machinery. Excel requires the formula being tabulated to sit in the grid's top-left corner, where it means nothing to a reader, so it is formatted away. It holds Lump_Sum_Advantage.

Unit currency
Average Months Uninvested
About this output

How long the average dollar sits in cash before it is invested, which is half of one instalment less than the window. It is the quantity the whole shortfall is proportional to, so it is the single most useful number for judging a plan before running it.

Unit months
DCA Shortfall Percent
About this output

The same gap as a share of the lump-sum result, which is the figure to compare across different sums and periods. It is roughly the return times the average months spent waiting, so it grows with both.

Unit fraction
Advantage P90
About this output

The gap in a lucky tenth. The distance between this and the unlucky tenth is the honest width of the answer, and on most inputs it is wide enough to be the finding.

Unit $
Advantage P10
About this output

The gap in an unlucky tenth of those returns, meaning the low end of the band. Below zero it is the drip-feed that is ahead, and how far below is the size of the protection you are buying. At a return comfortably clear of zero relative to your uncertainty, the whole band sits on the lump sum's side and this figure is positive.

Unit $
Advantage P50
About this output

The middle of the band. It sits below the single-point answer rather than on top of it, because the gap grows faster than the return does and the high returns pull the average up further than the low ones pull it down.

Unit $
Lump Sum Advantage
About this output

The two results differenced. Positive means investing it all at once came out ahead; negative means the drip-feed did, which happens whenever the return is negative. This is the figure the grid below recomputes for every pair of return and window.

Unit $
Lump Sum Value
About this output

What the whole sum is worth at the end if it is invested on day one. On any positive return this is the larger of the two results, always, and that is arithmetic rather than a finding.

Unit $
Instalments Made
About this output

How many monthly purchases the plan really makes: the window rounded to whole months, floored at one and capped at the months held. One means the plan is the lump sum under another name.

Unit count
DCA Value
About this output

What the same sum is worth at the end if it is fed in over the window you chose. It is smaller on a rising market because the later instalments compound for fewer months, and larger on a falling one because they bought in cheaper.

Unit $
Instalment Size
About this output

The sum divided by the number of instalments actually made. It can differ from the sum divided by the window you typed, because a window longer than the holding period is compressed.

Unit $
This page is provided by LogicCommons for informational purposes only. Results are model outputs computed from the inputs you supply and are not financial, investment, tax, accounting, or legal advice, and no advisory relationship is created. Verify all inputs and results independently before relying on them in any decision.

LogicCommons is in beta. If a result, label, or reference looks wrong, tell us here; we read every message.

Methodology

Purpose and model boundary

Use this to compare putting a sum in all at once against spreading it over several months. It reports what each is worth at the end of the holding period, and how often the lump sum comes out ahead across a range of returns.

This is a comparison on an assumed return, not a prediction of markets. Money not yet invested is treated as cash, which is why spreading loses ground when returns are positive and protects when they are negative.

Inputs and units

Input Unit Accepted range What it means
Amount To Invest $ 0 or more The sum that is available now and would otherwise sit in cash. Both strategies start from exactly this money, which is the comparison: one puts it to work on day one and the other keeps part of it in cash for a while.
Spread Months months 1 through 60 How many monthly instalments the sum is broken into. One instalment is the lump sum itself. A window longer than the holding period is compressed to fit, because an instalment timed after the money comes out would never be invested, and the status line says when that has happened.
Years Held years 1 through 50 How long the money stays invested, counted from the first purchase rather than the last. Lengthening it grows both results and widens the gap between them in dollars, while shrinking it as a share, because the months spent out of the market are a fixed cost paid at the start.
Annual Return % -25% through 25% The return you assume the investment earns, every year, for the whole period. Held constant, and applied monthly as one twelfth of it. A negative figure is a real scenario here and is worth entering: it is the case in which feeding the money in comes out ahead, and the size of that lead is the protection the strategy is bought for.
Return Volatility % 0% through 100% How unsure you are about that return, as one standard deviation, quoted PER YEAR. It is as much a part of the answer as the return itself, which is why it is asked for rather than assumed. The grid runs the comparison across eleven returns spread around yours and reports how often each strategy wins; the deviation is scaled to your holding period by the square root of time, because the model applies one constant rate across the period and a long-run average is less uncertain than a single year. Fifteen percent is in the range of a diversified equity portfolio. Zero means you are certain, and the grid collapses onto your own figure.

Governing relationships

Both strategies start with the same amount. The lump sum is invested immediately; the spread version invests an equal share each month, with the remainder held as cash until its turn. The advantage figure is the difference between the two at the end of the holding period, and the probability is the weighted share of the grid in which the lump sum finishes ahead.

Calculation sequence

  1. Invest the whole amount immediately and grow it over the holding period.
  2. Split the same amount into equal monthly instalments, compressing the spread where it would run past the holding period.
  3. Hold each instalment as cash until its month, then invest it and grow it to the end of the period.
  4. Difference the two ending values. That is the lump sum's advantage, and it is negative where the drip-feed wins.
  5. Rerun both strategies across the grid of returns, weight each by how likely it is, and read off how often the lump sum finishes ahead.

Outputs and interpretation

Output Role Unit What it means
Probability Lump Sum Wins primary % The share of the returns in the band you allowed for in which investing it all at once comes out ahead. Read it as a shape rather than a forecast: it is the chance under YOUR assumption about how unsure the return is, and it says nothing about whether that assumption is right. It is read down your own column of the grid, so it is a statement about the market and never about the window you picked.
Lump Sum Advantage primary $ The two results differenced. Positive means investing it all at once came out ahead; negative means the drip-feed did, which happens whenever the return is negative. This is the figure the grid below recomputes for every pair of return and window.
Lump Sum Value primary $ What the whole sum is worth at the end if it is invested on day one. On any positive return this is the larger of the two results, always, and that is arithmetic rather than a finding.
DCA Value primary $ What the same sum is worth at the end if it is fed in over the window you chose. It is smaller on a rising market because the later instalments compound for fewer months, and larger on a falling one because they bought in cheaper.
Relative Average Cost detail ratio The average price the instalments paid, with the day-one price set at one. It is the HARMONIC mean rather than the arithmetic one, because a fixed sum buys more units when the price is low, and that is the only real mechanism behind dollar-cost averaging. Above one means the plan bought into a rising market; below one means it bought the dip. It is worth exactly one over the ratio of the two results.
Protection If Market Falls detail $ What the drip-feed would be AHEAD by if the market fell at the same rate you expect it to rise. It is the other half of the argument and the one the averages hide: set it against the gap above and you can see what the waiting buys as well as what it costs.
Average Months Uninvested detail months How long the average dollar sits in cash before it is invested, which is half of one instalment less than the window. It is the quantity the whole shortfall is proportional to, so it is the single most useful number for judging a plan before running it.
DCA Shortfall Percent detail % The same gap as a share of the lump-sum result, which is the figure to compare across different sums and periods. It is roughly the return times the average months spent waiting, so it grows with both.
Advantage P90 detail $ The gap in a lucky tenth. The distance between this and the unlucky tenth is the honest width of the answer, and on most inputs it is wide enough to be the finding.
Advantage P10 detail $ The gap in an unlucky tenth of those returns, meaning the low end of the band. Below zero it is the drip-feed that is ahead, and how far below is the size of the protection you are buying. At a return comfortably clear of zero relative to your uncertainty, the whole band sits on the lump sum's side and this figure is positive.
Advantage P50 detail $ The middle of the band. It sits below the single-point answer rather than on top of it, because the gap grows faster than the return does and the high returns pull the average up further than the low ones pull it down.
Instalments Made detail count How many monthly purchases the plan really makes: the window rounded to whole months, floored at one and capped at the months held. One means the plan is the lump sum under another name.
Instalment Size detail $ The sum divided by the number of instalments actually made. It can differ from the sum divided by the window you typed, because a window longer than the holding period is compressed.

Model Status reads OK, or explains why the inputs are not valid or why the answer deserves a second look. It is shown alongside the results rather than in place of them.

The calculator also returns a grid that reruns the calculation across two varying assumptions at once. Its axes, corner and body arrive as separate outputs and are the grid's parts rather than results to read on their own; the page assembles them into the table.

Every figure above is returned by the workbook. The page arranges and formats them; it computes none of them.

Validation and status logic

The workbook returns one status alongside the figures. These are the states its delivered test cases exercise, so the list records what it has been observed to return rather than every branch it could take; a figure that moves with the inputs is shown as .

Outcome Returned status
Refuses to answer NOT VALID: there is nothing to invest
Answers, and flags it CHECK: a single instalment is the lump sum itself, so the two strategies are identical here
Answers, and flags it CHECK: on a falling market the drip-feed buys cheaper as it goes and comes out ahead, so the advantage shown is negative: it is the lump sum that regrets
Answers, and flags it CHECK: the spread is longer than the holding period, so the instalments have been compressed to fit inside it: … monthly instalments instead of …
Answers, and flags it CHECK: you have said you are certain of the return, so the chance below is all or nothing and the band has no width
Answers plainly OK

Assumptions and limitations

  • The return is a constant annual rate you supply; the comparison is arithmetic on that assumption, not a market forecast.
  • Money awaiting its instalment is held as cash earning nothing, which is what makes spreading cost ground in a rising market.
  • Instalments are equal and monthly, and where the spread would run past the holding period it is compressed to fit. The status line reports when that has happened.
  • Trading costs, tax and the bid-offer spread are not modelled.
  • The probability is the weighted share of the entered spread, not a measured frequency from history.

Restrictions and non-computing states

The declared bounds are enforced before the calculation runs, so a value outside them is refused rather than answered:

  • Amount To Invest: 0 or more.
  • Spread Months: 1 through 60.
  • Years Held: 1 through 50.
  • Annual Return: -25% through 25%.
  • Return Volatility: 0% through 100%.

Errors and warnings

NOT VALID means the inputs do not describe a question this calculator can answer, and the figures beside it should not be relied on. CHECK is not an error: the arithmetic is sound and the figures stand, but something about the combination is worth knowing before the answer is used. That might be an assumption at the edge of its range, a comparison that has collapsed to a single case, or a result whose sign is the opposite of what the page's framing suggests. The status is shown with the results rather than in place of them, so a flagged answer is still a readable one.

References

The trade-off between investing immediately and spreading entry is described by the U.S. Securities and Exchange Commission's Investor.gov glossary entry on dollar cost averaging.

For why holding uninvested cash has a cost when returns are positive, see FINRA on asset allocation and diversification.

These sources provide background; they do not supply the calculator's assumptions or certify its result. This calculator is informational and is not financial, investment, or tax advice. Results follow directly from the rates and amounts you enter, which are assumptions rather than forecasts.

Results are informational and not professional advice. See our Terms of Use. Powered by SpreadsheetWeb · About · Privacy · Terms