Dollar-Cost Averaging Calculator: Average Cost vs. Lump Sum
See the shares you’d own from investing the same amount at each price, your average cost against the average price, and how a lump sum at the start would have done.
Enter the amount you invest each time and the price at each purchase (the prices below are an example). The calculator shows the shares you’d own, your average cost against the average price, and how investing it all at the first price would compare. Everything stays in your browser.
The lump-sum comparison invests the same total at the first price. Fees and taxes aren’t included.
📐 Verified Nov 15, 2026 against the SEC’s Investor.gov definition of dollar-cost averaging and the Thrift Savings Plan’s published returns. How we check numbers →
How the Calculator Works
Dollar-cost averaging, in Investor.gov’s words, “means investing your money in equal portions, at regular intervals, regardless of the ups and downs in the market,” so you buy more shares when the price is low and fewer when it’s high. The calculator adds up the shares each purchase buys, divides what you put in by the shares, and compares with buying everything at the first price.
- Prices ran from $42 to $56. $6,000 bought 123.73 shares at an average cost of $48.49, below the $48.83 average price.
- At $56 the shares are worth $6,929; buying all at the first price ($50) would have bought 120 shares, now $6,720.
- In a falling market ($40 down to $25, now $28), $800 invested in four steps is worth $711, against $560 invested all at once.
Numbers That Matter
| Rule or figure | What it says | Source | Verified |
|---|---|---|---|
| Dollar-cost averaging | Investing equal portions at regular intervals regardless of market moves; you buy more when prices are low and less when they’re high | SEC Investor.gov | Nov 15, 2026 |
| How much returns swing | TSP C Fund (S&P 500): 12.09% over 1 year, 23.36% a year over 3, 12.03% over 5, 15.41% over 10 (through October 2026) | TSP: C Fund | Nov 15, 2026 |
Decision Rules
- If you invest from each paycheck, as in a 401(k), you’re already dollar-cost averaging.
- If you have a lump sum, investing it all at once wins if prices rise from here, and spreading it out wins if they dip soon after; nobody knows which in advance.
- If spreading out a lump sum helps you invest at all, a short schedule (a few months) keeps most of the money working.
- If prices fall, keep the schedule; those purchases buy the most shares.
- If you want to see where regular investing could lead, use the compound interest calculator.
What the Calculator Leaves Out
It doesn’t include dividends, fees or taxes, and the comparison uses one price path you enter; a different path can reverse the result. Read dollar-cost averaging explained for when each approach fits.