💰 FinanceCalc ← All Calculators
Advertisement

Dollar Cost Averaging Calculator

Your real average cost from regular buys — and why DCA “beats” lump-sum math sometimes.

⏲️Your investment figures

$
$
$

Average cost per share

$—

Actual cost basis after DCA

Breakdown

Total invested —
Total shares acquired —
Current portfolio value —
Average cost basis —
Current gain —

About the Dollar Cost Averaging Calculator

Dollar-cost averaging means investing the same sum at regular intervals, regardless of price. Automating purchases removes timing decisions — and produces an average cost that is genuinely better than a naive “average of the prices you paid at”.

Why? Because fixed dollars buy more shares at low prices and fewer at high prices, weighting your basis toward the cheaper points. This calculator computes your real cost basis and its profit at today’s price.

The formula behind it

Cost basis from periodic investing:

Shares = total invested / avg price • Value = shares × current price • Cost basis = total invested

The tool takes your total invested (amount × periods), your average price paid, and the current price. It returns shares owned, value today, gain/loss in dollars and percent, and it separates what you paid from what it is now worth.

Worked example

Defaults — $300/month for 24 months, average price paid $41.20, now $46.70:

  1. Total invested: $7,200. Shares acquired = 7,200 / 41.20 ≈ 174.76.
  2. Current value = 174.76 × 46.70 ≈ $8,161.
  3. Gain = $961 (+13.4%).

Takeaway: Notice the effects on %. $41.20 average of fluctuating prices is better than most lump-sum attempts at the same amount — the low months bought extra shares at discount.

What moves the result

Practical tips

Frequently asked questions

Does DCA always outperform lump sum?

No — historically, investing a lump sum immediately beats waiting in most upward markets. DCA wins in outcomes when the market falls across the period or when behavior stops you from investing at all.

What is the tax advantage of DCA?

None directly. Its benefits are behavioral and risk-reduction oriented; every sale still creates a gain or loss to report.

How do I compute my average price if I bought at many dates?

Divide total dollars spent by total shares acquired — that is the true cost basis. This tool simplifies this using the average price paid.

Related calculators
Stock Calculator · Investment Calculator · Compound Interest Calculator · Portfolio Calculator · ROI Calculator