Skip to content
montaramoney, with perspective
The learning room

Dollar-cost averaging: the mechanics

Same contribution. Different number of shares.

Regular equal contributions buy different quantities as prices change. Learn the arithmetic, then test what happens when prices keep falling.

beginner · 4 min read · Educational guide

Choose a schedule, understand the exposure

Dollar-cost averaging means investing the same amount at regular intervals. Lower prices buy more shares; higher prices buy fewer. A schedule determines when money enters the investment, but does not change the risks of the investment itself.

Count shares before averaging the cost

Imagine three $100 purchases at prices of $100, $50 and $100 per share. They buy one, two and one shares: four shares for $300. The average cost is $75 per share, calculated as total spending divided by total shares. Averaging the three quoted prices would give a different answer. Fractional shares are assumed; fees and taxes are excluded.

A lower average cost is not a profit guarantee

If the final price is below the average cost, the position is worth less than the money invested. Try the falling-price path below. Contributions from future income also differ from gradually investing cash already available: the latter leaves some money uninvested between purchases. This example does not establish which schedule will do better in future markets.

Follow three equal purchases

Invest a hypothetical $100 at each monthly price. Fractional shares are allowed; fees, taxes and dividends are excluded.

Three hypothetical purchases · dip and recovery
MonthPriceShares bought
1$100.001.0000
2$50.002.0000
3$100.001.0000
Total contributed
$300.00
Average cost per share
$75.00
Value at final price
$400.00

This path ends above the amount contributed. Another path can lose money; these invented prices are not a forecast.

Shares shown to four decimals; calculations use unrounded quantities. Average cost = contributions ÷ total shares.
A MOMENT TO REFLECT

Three $100 purchases buy four shares in total. What is the average cost per share?

Choose an answer. Completion is saved only in this browser.

Further reading: Primary source
Educational draft · Updated 6 October 2026 · Report a correction

Your privacy choices

On public home, country, market, news and learning pages, Google Analytics runs automatically without analytics cookies. Google receives page events and technical connection information. Calculator inputs and private account activity are excluded.

You can optionally allow analytics cookies and Microsoft Clarity session recordings and heatmaps to help us understand public-page use. Declining keeps Google measurement in cookieless mode and session replay off. Advertising is currently off. When enabled, advertising permissions will use Google's separate privacy message.

Your cookie choice lasts up to 180 days. You can change it here anytime. Read our privacy notice.