What is dollar cost averaging?
Dollar cost averaging (DCA) means investing a fixed dollar amount at regular intervals — for example $200 on the first of every month — regardless of the price. If you contribute to a 401(k) from every paycheck or have an automatic monthly purchase of an index fund, you are already dollar cost averaging. The approach removes the need to decide when to buy and keeps you investing through both rising and falling markets.
How this DCA calculator works
Projection mode
Enter the amount you will invest each period, how often, the number of years and an expected average annual return. The calculator converts the annual return into a per-period rate, invests each contribution at the start of its period and compounds the balance. It then compares your result with investing the same total amount on day one as a lump sum, so you can see the cost of spreading purchases out. You can also add a starting amount and a yearly increase to model growing contributions.
$200 a month for 10 years at a 7% average return means $24,000 invested and an ending value of about $34,404. Investing just $50 a week for 20 years at the same return turns $52,000 into about $110,349.
Average cost mode
Enter the fixed amount you invest each time and the price on each purchase date. The calculator works out how many shares each purchase bought, your total shares, your average cost per share and your gain or loss at the current price. This is the number that matters for your returns — and for taxes, since your cost basis determines capital gains when you sell.
Why DCA lowers your average cost per share
With a fixed dollar amount, each purchase buys amount ÷ price shares. Low prices buy more shares and high prices buy fewer, so your average cost per share is:
Average cost = Total invested ÷ Total shares = n ÷ (1/p1 + 1/p2 + … + 1/pn)
That is the harmonic mean of the prices, which is always less than or equal to their simple average. The more the price swings, the bigger the gap.
Invest $1,000 at each of these prices: $100, $80, $60, $80, $100. The simple average price is $84.00, but you bought 61.6667 shares for $5,000, an average cost of $81.08 per share. The price ended exactly where it started, yet your position is worth $6,167 — a 23.33% gain — because you bought more shares while the price was down.
Dollar cost averaging vs. lump sum investing
If you receive a large sum at once — an inheritance, a bonus, the proceeds of a home sale — you can invest it immediately or spread it out. Because stock markets have historically risen more often than they have fallen, investing immediately has usually produced the higher ending balance. Vanguard's study of US, UK and Australian markets found that lump-sum investing beat spreading purchases over 12 months about two-thirds of the time. The projection above shows the same effect: at any positive constant return the lump-sum line ends higher.
DCA still has real advantages:
- It limits regret and the damage of investing everything right before a market decline.
- It builds a habit and automates investing, which most people find easier to stick with.
- It matches how most income arrives — a paycheck at a time, not as a lump sum.
A middle path many investors use is to invest a lump sum over a short period, such as three to six months, rather than a year or more.
Setting up a DCA plan
- Choose a diversified, low-cost fund such as a total market or S&P 500 index fund or ETF.
- Pick an amount you can sustain through a downturn — stopping when prices fall defeats the purpose.
- Automate it with a recurring purchase at your brokerage; most allow fractional shares with no commission.
- Review the amount once a year and increase it as your income grows (use the yearly increase field above).
If the fund you buy pays dividends, reinvesting them is a second layer of automatic investing — see the DRIP calculator or estimate your income with the dividend calculator.
Frequently asked questions
What is a DCA calculator?
A DCA (dollar cost averaging) calculator shows what happens when you invest a fixed dollar amount on a regular schedule. It can project the future value of those contributions at an assumed return, or work out your average cost per share from the prices you actually paid.
Is dollar cost averaging better than investing a lump sum?
If you already have the money, history favors investing it all at once: Vanguard research found that lump-sum investing beat a 12-month DCA plan roughly two-thirds of the time, because markets rise more often than they fall. DCA reduces the risk of investing everything just before a drop and can make it easier to stay disciplined. For most people investing from each paycheck, DCA is simply how investing happens.
Why is my average cost lower than the average price?
Because you invest the same dollar amount each time, you automatically buy more shares when the price is low and fewer when it is high. Mathematically your average cost per share is the harmonic mean of the prices, which is always less than or equal to their simple average.
How often should I dollar cost average: weekly or monthly?
Over long periods the difference in outcome is small. Pick the schedule that matches your pay cycle and keeps trading costs at zero. Most US brokerages now allow commission-free recurring purchases, including fractional shares, so weekly, biweekly and monthly plans are all practical.
Can I use this DCA calculator for crypto like Bitcoin?
Yes. The average cost mode works for any asset: enter the price you paid on each purchase date. The projection mode works too, but crypto returns are far more volatile than stocks, so a constant-return projection is especially uncertain.
Not financial advice. These figures are hypothetical and assume a constant rate of return. Real investments go up and down, past performance does not predict future results, and taxes and fees vary. Consider speaking with a licensed financial professional before making investment decisions. See our full disclaimer.