Dollar-Cost Averaging vs Lump Sum Simulator

Paste prices for each period, enter the amount invested each time and the fee, and compare dollar-cost averaging with investing everything at the start.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Paste prices

    Enter one price per period.

  2. 2
    Set the plan

    Enter the amount per period, fee and period length.

  3. 3
    Read the results

    See units, average cost, value and return.

  4. 4
    Compare

    See whether DCA or a lump sum did better on this path.

About this tool

Dollar-cost averaging (DCA) means investing a fixed amount at regular intervals, whatever the price. Because the same money buys more units when prices are low and fewer when they are high, your average cost per unit ends up below the average price over the period; mathematically it is the harmonic mean of the prices. Many people use DCA because it removes the temptation to time the market and fits a monthly budget. But research by Vanguard and others has shown that when markets rise over time, investing a lump sum at once usually beats spreading it out, because more money is invested for longer. The right answer depends on the price path. This simulator lets you test both on any price series: paste historical prices from a fund or index, or invent a scenario, enter the amount per period and the fee, and it calculates the units bought, the average cost against the average price, the final value, the gain, and the money-weighted return (the internal rate of return of your contributions), annualised for monthly, weekly, quarterly or yearly periods. It also shows what the same total would be worth if invested in one go at the first price, so you can see which approach won on that path.

Who this is for

New investors starting a monthly plan, people with a lump sum deciding how to invest it, and teachers explaining averaging.

How the numbers work

- Units each period = amount × (1 − fee) ÷ price. - Average cost = total invested ÷ units. - Average price = simple mean of prices. - Money-weighted return = IRR of the contributions and final value. - Lump sum = total × (1 − fee) ÷ first price × last price.

Why average cost is below average price

Equal amounts buy more units at lower prices, so cheaper periods weigh more. That is why DCA feels good in volatile markets.

When lump sum wins

In rising markets, money invested earlier grows longer. In falling markets followed by recovery, DCA can win. Try both kinds of paths.

Fees

Percentage fees apply to each purchase. Fixed fees per purchase hurt small regular amounts more; convert them to a percentage.

Worked example

500 a month over 12 months on prices from 100 down to 85 and up to 121, with a 0.1% fee: 6,000 invested buys 59.21 units at an average cost of 101.34 (average price 102.33), worth 7,164.11. A lump sum at 100 would be worth 7,252.74, slightly more.

Getting prices

Use monthly closing prices from a fund factsheet or an index website, and keep them in date order from oldest to newest.

Behaviour matters

The best plan is the one you keep following through ups and downs.

Limits

A simulation, not investment advice. Past prices do not predict future returns.

Worked example

500/month for 12 months: value 7,164.11 vs lump sum 7,252.74.

Quick facts

Frequently asked questions

What is dollar-cost averaging?

Investing a fixed amount at regular intervals regardless of price.

Does DCA beat lump sum investing?

Not usually in rising markets; it can in falling or volatile ones.

Why is my average cost lower than the average price?

Fixed amounts buy more units when prices are low.

What is money-weighted return?

The IRR of your contributions and final value.

Can I use historical data?

Yes, paste prices from any source, one per period.

Do fees matter?

Yes, especially fixed fees on small amounts.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages