GintiCalcEvery calculation

AvgIn

Dollar-Cost Average Calculator

Add each buy — see your true average cost, total invested, and current paper profit at today's price.

How dollar-cost averaging changes your average price

Each row invests $500 four times at the prices listed, then values the position at a current price of $120. Buying a fixed dollar amount purchases more units when the price is low, which is why the average paid is below the simple average of the prices in every volatile row.

Prices paidAverage price paidUnits heldValue at $120Profit or lossROI
100 / 100 / 100 / 100$100.0020.000$2,400$40020.0%
80 / 100 / 120 / 140$105.3318.988$2,279$27913.9%
150 / 120 / 90 / 60$93.5121.389$2,567$56728.3%
200 / 150 / 100 / 50$96.0020.833$2,500$50025.0%
50 / 75 / 100 / 125$77.9225.667$3,080$1,08054.0%

Look at row four: prices of 200, 150, 100 and 50 have a simple average of $125, but the average actually paid is $96.00, because the same $500 bought ten times as many units at $50 as at $200. That gap is the entire mechanism, and it is why a falling market during the accumulation phase is not the disaster it feels like. The effect is arithmetic, not magic - it does not protect you from an asset that never recovers, and in a market that only rises, investing a lump sum immediately beats spreading it out. Fees per transaction eat into the benefit if you buy very frequently in small amounts.

Why DCA works

Buying the same dollar amount on a schedule means you automatically buy more shares when prices drop and fewer when they rise. Your average cost ends up below the simple price average — a free mathematical edge against volatility.

DCA vs lump sum investing

Studies show lump-sum investing beats DCA about two-thirds of the time (because markets trend up, so investing earlier captures more upside). But DCA reduces the risk of investing a lump sum right before a crash. For money you have now, lump sum is statistically better. For ongoing income, DCA is the natural approach.

How to calculate average cost basis

Add up total dollars invested across all purchases, then divide by total shares/units purchased. If you bought 10 shares at $50, then 15 shares at $40: total invested = $500 + $600 = $1,100, total shares = 25, average cost = $44.00 per share. The average cost is NOT the average of $50 and $40 ($45).

Frequently asked questions

What is dollar-cost averaging?

DCA means investing a fixed dollar amount at regular intervals (weekly, monthly) regardless of price. You automatically buy more shares when prices are low and fewer when prices are high. It removes the stress of trying to time the market and reduces the impact of volatility.

How do I calculate my average cost basis?

Average Cost = Total Amount Invested ÷ Total Shares Owned. Example: bought 100 shares of AAPL at $150 ($15,000) then 50 shares at $130 ($6,500). Total invested: $21,500, total shares: 150. Average cost = $21,500 ÷ 150 = $143.33 per share.

Does DCA work for crypto?

Yes — crypto's extreme volatility actually makes DCA more valuable. Bitcoin has had 50–80% drawdowns multiple times. DCA through those crashes buys heavily at low prices, dramatically lowering your average cost. Many crypto investors set up automatic weekly or monthly buys on their exchange.

Related Finance calculators

You might also like

Last updated: September 6, 2026