💵Dollar Cost Averaging Calculator

Enter the price and amount invested in each period to calculate your average cost basis

Period Price per Unit ($) Amount Invested ($)
$
$
$
$
$
$

How to Use the Dollar Cost Averaging Calculator

Dollar Cost Averaging (DCA) is an investment strategy where you invest a fixed dollar amount at regular intervals regardless of the asset price. When prices drop, you automatically buy more units; when prices rise, you buy fewer. Over time, this results in an average cost lower than the simple average of all prices you bought at.

Calculation Method

For each period: Units purchased = Amount invested ÷ Price per unit. Average cost basis = Total invested ÷ Total units purchased. This weighted average is mathematically lower than the simple arithmetic average of prices when equal dollar amounts are invested — a key advantage of DCA in volatile markets.

DCA vs. Lump-Sum Investing

Research shows lump-sum investing historically beats DCA about two-thirds of the time in rising markets, since more capital is deployed sooner. However, DCA is ideal when you don't have a lump sum, want to reduce emotional decision-making, or fear investing at a market peak. Many successful investors use DCA through automatic monthly contributions to index funds.

Using This Calculator

This calculator also shows the simple average price alongside your DCA average cost. The difference illustrates how DCA naturally produces a lower cost basis. Use it to verify your cost basis for tax reporting or to see how your periodic investments have averaged out over time.

Frequently Asked Questions

Does DCA work for stocks, ETFs, and crypto?

Yes. The DCA math is identical regardless of asset type. Enter the price per share/unit and the amount invested each period. It's particularly popular for crypto where price volatility is high.

How does DCA affect my tax cost basis?

Your cost basis for tax purposes is typically the weighted average cost (same as what this calculator shows). When you sell, your capital gain is calculated as sell price minus your average cost basis. Accurate records of each purchase are essential.