Finance guide
Dollar-Cost Averaging Explained: Units, Average Cost, and a Lump-Sum Comparison
Dollar-cost averaging invests a fixed dollar amount at repeated intervals, buying more units when the price is lower and fewer when it is higher. It can make contributions systematic, but it does not ensure a profit or make a risky asset safe. A useful numerical example calculates actual units purchased, compares them with investing the same total amount immediately, and separates the outcome from the investor's decision process.
Worked example: three $200 purchases
Assume an investor contributes $200 on each of three purchase dates. The unit prices are $20, $25, and $16, respectively. Ignore trading fees, taxes, distributions, fractional-share restrictions, and bid-ask spreads for the moment. The formula for each purchase is Units purchased = Dollar contribution / Price per unit.
At the first date, $200 / $20 = 10 units. At the second date, $200 / $25 = 8 units. At the third date, $200 / $16 = 12.5 units. The investor contributes $200 × 3 = $600 and accumulates 10 + 8 + 12.5 = 30.5 units.
The average acquisition cost per unit is Total invested / Total units = $600 / 30.5, or approximately $19.6721 per unit. This is a weighted cost per unit, not the arithmetic average of the three quoted prices. The simple price average is ($20 + $25 + $16) / 3 = $20.3333, which is higher because the investor bought more units at the lower $16 price.
Suppose the asset is worth $18 per unit immediately after the third purchase. The market value of 30.5 units is 30.5 × $18 = $549. Relative to the $600 contributed, the unrealized dollar change is $549 − $600 = −$51. The simple return on contributed dollars is −$51 / $600 × 100 = −8.5%, ignoring the different dates on which those contributions were made.
| Purchase | Contribution | Unit price | Units bought |
|---|---|---|---|
| First | $200 | $20 | 10 |
| Second | $200 | $25 | 8 |
| Third | $200 | $16 | 12.5 |
| Total | $600 | — | 30.5 |
The example shows that disciplined purchases can still result in a loss. Buying more units at lower prices changes the average acquisition cost; it does not control the asset's final market value.
What the example proves
Fixed-dollar contributions make unit counts respond inversely to price. The $200 buys only eight units at $25 but 12.5 units at $16. This mechanical effect explains why the average cost per unit is not the simple average of observed prices.
It does not establish that the strategy outperforms other approaches. The order of prices and the amount of money available at the start determine the comparison. A periodic contribution plan may be the only feasible option for someone investing from each paycheck, whereas a lump-sum decision assumes the entire amount is already available.
Comparison: invest all $600 on the first date
Suppose the investor already has the full $600 available on the first purchase date and invests it immediately at $20 per unit. The lump sum buys $600 / $20 = 30 units. At the same final $18 price, its market value is 30 × $18 = $540, representing a $60 loss or −10% relative to $600.
In this particular price path, dollar-cost averaging ends with 30.5 units, half a unit more than the lump sum. At $18 per unit, the value difference is 0.5 × $18 = $9 in favor of the staggered purchases. This result depends entirely on the assumed price sequence and ignores the time that uninvested cash may have earned interest.
Change the sequence and the ranking can reverse. If all three later prices were higher than $20, the first-date lump sum would generally buy more units than a series of later purchases at those higher prices. Conversely, if later prices were lower, delayed purchases could buy more units. The strategy does not create a universal performance advantage.
A fair comparison must also specify whether the investor had $600 available initially. If the $200 contributions came from future wages, the lump-sum alternative may not have been financially possible without borrowing.
Limits and practical use
Market risk. Repeated buying does not prevent losses. The final price still determines the market value of accumulated units.
Fees. Per-trade charges can make three smaller transactions more expensive than one large purchase. Compare actual transaction costs before using the simplified numbers.
Cash drag. Delaying investment can forgo returns on money waiting to be invested. Conversely, cash may earn interest while awaiting a purchase.
Timing assumptions. The example uses three purchase dates and one final valuation. It is not an annualized performance calculation or a time-weighted return.
Fractional units. Some assets cannot be purchased in fractional quantities. Rounding down units leaves residual cash and changes the totals.
Behavior and suitability. A repeatable contribution schedule may reduce the need to choose a single entry date, but it cannot determine an appropriate asset allocation or risk tolerance.
Record contribution dates, actual prices, fees, and units. If you compare strategies, use the same available starting cash and final valuation date, and account for uninvested cash consistently.
Conclusion
Three $200 purchases at $20, $25, and $16 acquire 30.5 units at an average cost of about $19.67, but a final $18 price still produces a $51 loss. Dollar-cost averaging changes the timing and number of units purchased; it does not guarantee a positive return or outperform investing an available lump sum.
Continue learning
Try a related calculator · Explore worked examples · Review financial terms