This dollar-cost averaging (DCA) calculator estimates how much a portfolio can grow when you invest a fixed amount every month, with or without an initial lump sum. Enter your starting investment, the monthly amount, the expected annual return and the number of years to see the final value, the total you invested, your gains and the year-by-year evolution.
Below we explain what DCA is, how the calculator works, why buying regularly lowers your average cost in volatile markets and the most common ways people use it.
What is dollar-cost averaging?
Dollar-cost averaging (DCA) means investing the same amount at regular intervals, for example every month, regardless of the price. You buy more units when prices are low and fewer when they are high, and you never have to guess the right moment to invest.
With the calculator’s default values you invest 49,000 in 20 years and end up with 118,460.77: more than half of the final value comes from returns.
The gap between both lines is your gain. It is small during the first years and widens over time, because each monthly contribution keeps compounding until the end.
How the calculation works
The calculator converts the expected annual return into an equivalent monthly rate and adds your contribution at the end of each month:
i = (1 + r)^(1/12) − 1
FV = P × (1 + i)^n + A × [(1 + i)^n − 1] / i - r: expected annual return (8% = 0.08)
- i: equivalent monthly rate
- P: initial investment
- A: monthly investment
- n: number of months
Example with the default values (1,000 initial, 200 per month, 8% per year, 20 years):
- Monthly rate: (1.08)^(1/12) − 1 = 0.6434%. Months: 20 × 12 = 240.
- Growth factor: (1.006434)^240 ≈ 4.66096.
- Initial investment: 1,000 × 4.66096 = 4,660.96.
- Monthly contributions: 200 × (4.66096 − 1) / 0.006434 = 113,799.81.
- Final value: 118,460.77, with 49,000 invested and 69,460.77 in gains (a 141.76% total return).
The calculator assumes a constant return. Real markets go up and down, which is exactly where DCA helps, as the next example shows.
Why DCA lowers your average cost
Imagine you invest 100 every month in a fund whose price drops and then recovers:
| Month | Price | Invested | Units bought |
|---|---|---|---|
| 1 | 10 | 100 | 10 |
| 2 | 8 | 100 | 12.5 |
| 3 | 5 | 100 | 20 |
| 4 | 8 | 100 | 12.5 |
| 5 | 10 | 100 | 10 |
You invested 500 and bought 65 units, so your average cost is 7.69, below the average price of 8.20. When the price returns to 10, your 65 units are worth 650: a 30% gain even though the price ended exactly where it started. Buying more units when prices fell is what made the difference.
Common uses of DCA
Long-term saving and retirement. Investing 200 a month at 8% turns 24,000 into 36,024.85 after 10 years, 48,000 into 113,799.81 after 20 and 72,000 into 281,710.12 after 30.
Time matters more than timing: going from 20 to 30 years adds 24,000 in contributions but almost 144,000 in gains, and after 30 years about three quarters of the value are gains.
- Index funds and ETFs. An automatic monthly purchase of a diversified fund is the most common DCA strategy.
- Workplace pension plans. Contributions deducted from every paycheck are DCA by design.
- Volatile assets such as cryptocurrencies. Spreading purchases over time reduces the risk of buying everything at a peak.
- Investing a windfall gradually. Some investors split a large sum into monthly instalments to feel more comfortable, accepting a possible lower expected return.
DCA or lump sum?
If you already have the money, investing it all at once has historically produced a higher result more often, because markets tend to rise over time; a well-known Vanguard study found this was the case about two thirds of the time. DCA wins when prices fall after you start, and it reduces regret and the temptation to time the market.
For most people the question does not arise: they invest part of their salary every month, which is DCA by nature. The key is to keep doing it consistently, including during market drops.
Tips for a successful DCA strategy
- Automate it. A fixed transfer on payday removes emotions from the decision.
- Keep costs low. Fees on every purchase or high annual charges eat into returns; see how they compound with the compound interest calculator.
- Reinvest dividends. Use the dividend calculator to estimate the income your portfolio will generate.
- Think in real terms. An 8% nominal return with 3% inflation is about 4.9% real; check it with the real return calculator.
- Measure your results. Compare your actual performance with the CAGR calculator and set a target with the financial freedom calculator.
Frequently asked questions
What return should I use?
Use a conservative long-term estimate. Many people model diversified equity portfolios with 5% to 8% per year, but real returns vary a lot from one year to the next and are never guaranteed.
Is the return in the calculator annual or monthly?
Annual. The calculator converts it into the equivalent monthly rate, so 8% per year means exactly 8% growth over twelve months.
Does DCA protect me from losses?
No. It reduces the impact of buying at a bad moment, but if the asset loses value over the long term, your investment loses value too.
How often should I invest: weekly or monthly?
Monthly is usually enough and matches most salaries. Investing more often makes little difference to the result and may increase fees.
Are taxes and fees included?
No. Results are before taxes and fees, which depend on your country, your broker and the type of account.