Skip to content
Zentavos
Free Tools · Investing Math

Dollar-Cost Averaging Calculator

Compare investing a sum all at once with spreading it over several months. Test it on a steady market, a drop and a rise, and see shares bought, average cost and final value side by side.

Take It With You, Free

Your results stay right here, no sign-up needed. Want to keep them? Grab the free extras below.

Your DCA vs Lump Sum Results

A one-page PDF of your scenario: shares bought, average cost and the final value of each approach.

The Dollar-Cost Averaging Guide: A Little at a Time vs All at Once

How investing a fixed amount on a schedule works, what it can and cannot do, and how it compares with investing a lump sum.

Dollar-Cost Averaging Log

An Excel log of each purchase: date, amount, price, shares and your running average cost, with gain or loss at today's price.

In Short

Dollar-cost averaging (DCA) means investing equal amounts at regular intervals, whatever the market does [1]. On a hypothetical market rising 7% a year, $60,000 invested at once is worth $73,503 after 3 years, against $71,272 when spread over 12 months. If prices drop 25% and recover during those 12 months, DCA finishes at $84,045. A lump sum tends to win when prices rise; DCA helps when they fall and lowers the regret of bad timing [2].

How to Use the Dollar-Cost Averaging Calculator

  1. Enter the sum you have to invest and how many months you would spread it over.
  2. Set the yearly return you expect. It shapes the hypothetical market; it is not a forecast.
  3. Pick a market path: steady growth, a drop then a recovery, or a rise then a drop, and set the size of the swing.
  4. Choose how many years to compare, then read shares bought, average cost and final value for each.
  5. Or tap Say It All: “I have 60,000 to invest over 12 months, 7 percent a year, a 25 percent drop then recover.”

The Formula

The lump sum buys all its shares on day one. DCA invests an equal slice at the start of each month; money not yet invested waits in cash, earning nothing here. Prices come from a made-up path that starts at $100 a share and follows your return assumption.

Worked Examples

ScenarioInputsResult
Steady rising market$60,000, 12 months, 7% a year, steady, compared after 3 yearsLump sum $73,503 · DCA $71,272 · lump sum ahead by $2,231
25% drop, then recovery$60,000, 12 months, 7% a year, drop then recover, 3 yearsLump sum $73,503 · DCA $84,045 · DCA average cost $87.46 a share
25% rise, then a 25% drop$60,000, 12 months, 7% a year, rise then drop, 3 yearsLump sum $64,401 · DCA $58,539 · DCA bought near the top
Short window, sharp dip$12,000, 6 months, 8% a year, 30% drop then recover, 1 yearLump sum $12,960 · DCA $15,494
Long spread in a rising market$120,000, 24 months, 7% a year, steady, 5 yearsLump sum $168,306 · DCA $157,860

Illustrative examples, not projections. Figures use the tax year shown and the assumptions above.

What Is Dollar-Cost Averaging?

Dollar-cost averaging means investing the same amount at regular intervals, regardless of the ups and downs of the market [1]. Because each purchase is the same size, it buys more shares when prices are low and fewer when prices are high. Most people already do this through a 401(k), where part of each paycheck is invested on a set schedule [2].

That is why the average cost per share is at or below the average price on purchase days. If $100 buys at $10, $5 and $10, you get 10, 20 and 10 shares: 40 shares for $300, or $7.50 each, while the average price was $8.33.

Is a Lump Sum or Dollar-Cost Averaging Better?

It depends on what prices do while you are buying. When the market mostly rises, a lump sum tends to finish ahead because all of the money is invested sooner. FINRA notes that spreading investments out has lower risk but often produces lower returns than lump sum investing, especially over longer periods [2].

When prices fall early, DCA limits the loss: the money not yet invested is untouched by the drop, and later slices buy more cheaply [2]. DCA also removes some emotion from timing, so there is less regret about investing everything just before a fall.

Why Does This Calculator Use Made-Up Market Paths?

Real markets don't follow a script, and past returns don't predict future ones. The calculator builds simple hypothetical paths from your own return assumption so the trade-off is easy to see. It uses no index or historical data. Fees per purchase, taxes and interest on the waiting cash are left out, and each of them can tilt the result [2].

Frequently Asked Questions

Does dollar-cost averaging beat a lump sum?

Not usually in a rising market: the lump sum is invested longer. On a steady 7% path, $60,000 invested at once ends $2,231 ahead of spreading it over 12 months after 3 years. DCA comes out ahead when prices fall during the buying window [2].

What is the main benefit of dollar-cost averaging?

It sets a schedule that doesn't depend on guessing the market. Equal purchases buy more shares when prices are low, and money not yet invested is protected from an early drop [1][2].

How long should a dollar-cost averaging period be?

There is no official rule. FINRA's example spreads $10,000 over 10 months at $1,000 a month [2]. A longer window keeps more money in cash, which lowers risk but also expected return when prices rise.

Is investing from every paycheck dollar-cost averaging?

Yes. 401(k) contributions from each paycheck are invested on a fixed schedule, which is dollar-cost averaging. The lump sum question only comes up when you already hold a sum in cash [2].

Why is my average cost lower than the average price?

Equal dollar amounts buy more shares at low prices and fewer at high prices, so low prices get more weight in your average cost. The math holds on any path where prices change.

Sources

  1. Dollar Cost Averaging (glossary) — U.S. Securities and Exchange Commission (Investor.gov)
  2. The Benefits and Limitations of Dollar-Cost Averaging — FINRA

Official sources only: the IRS, SSA, BLS and other government agencies. Read how Zentavos researches.