This DCA calculator does two jobs. First, it projects what a regular investment (weekly, every two weeks, monthly, quarterly or yearly) could grow to. Second, it works out your real average cost per share from the buys you have already made. It works for stocks, ETFs and index funds.
DCA results
The lump-sum comparison assumes the same steady return every year. With steady growth, investing everything on day one always comes out ahead. DCA’s benefit is lower timing risk in a volatile market, which a constant-return projection can’t show.
DCA growth chart
- DCA portfolio value
- Total invested (dashed)
Year-by-year DCA projection
| Year | Invested this year | Total invested | Value | Gain |
|---|
Average cost calculator: your actual buys
Enter the price and dollar amount of each purchase. If you know the share count instead, leave the amount blank and fill in Shares.
| # | Price per share | Amount invested | Shares (optional) |
|---|
How to use the DCA calculator
- Enter a starting amount, the amount you will invest each time, and how often.
- Set the number of years, an expected annual return (an assumption) and an optional yearly increase.
- Read the ending value, total invested and gain, plus the chart and the year-by-year table.
- Below that, list the buys you have actually made to get your average cost per share and gain at today’s price.
DCA formulas
Rate per period i = (1 + annual return)1/periods per year − 1
Value after n purchases = P × [(1 + i)n − 1] ÷ i (purchases at the end of each period)
Average cost per share = total invested ÷ total shares bought
Any starting amount grows at the same rate. If you choose “start of each period”, every purchase earns one extra period of growth. The calculator ignores fees and taxes, and it assumes the same return every period. Real markets are volatile.
DCA calculator example
Invest $1,000 to start, then $500 a month for 20 years at an assumed 8% a year:
- Total invested: $121,000
- Ending value: about $289,160 (gain of about $168,160)
Average-cost example: four $500 buys at $50, $40, $45 and $55 get you 42.7020 shares at an average cost of $46.84, which is below the $47.50 simple average of those prices. At $50 those shares are worth $2,135.10. The same $2,000 invested all at the first price ($50) would be worth $2,000.00.
DCA calculator FAQ
What is dollar-cost averaging?
Dollar-cost averaging (DCA) means investing a fixed dollar amount on a regular schedule, whatever the price. You buy more shares when prices are low and fewer when they are high. See the explanations from Investor.gov and FINRA.
How do you calculate average cost with DCA?
Divide the total dollars invested by the total shares bought. Because a fixed dollar amount buys more shares at lower prices, your average cost is usually below the simple average of the prices you paid. For example, $100 at $10 plus $100 at $20 buys 15 shares, an average cost of $13.33 rather than $15.
Is DCA better than investing a lump sum?
When markets rise over time, a lump sum invested on day one has usually ended ahead, because the money is invested for longer. DCA lowers the risk of investing everything just before a fall, and it suits people who invest from each paycheck. The calculator shows a steady-return lump-sum comparison for reference.
What return should I enter?
Use a cautious long-run assumption. For example, check the 10-year returns that funds publish, such as the ones on our VOO calculator. Then also test a lower number. Returns are never guaranteed.
Does purchase timing matter?
Investing at the start of each period gives each payment one extra period of growth, so the result is slightly higher than investing at the end. Most payroll plans invest shortly after each paycheck.
Related calculators
- Total return calculator: measure what an investment actually returned.
- VOO calculator: project an S&P 500 ETF with Vanguard’s figures.
- Dividend calculator: add dividends and DRIP to your plan.
- SCHD calculator
Disclaimer: This calculator is for education only and is not financial, investment or tax advice. Results depend on the assumptions you enter. Past performance does not guarantee future results. See our disclaimer.