Position Math

Calculators › Trading

DCA (Dollar-Cost Average) Calculator

Enter each fixed contribution and the price it bought at to see the total units accumulated and your blended average cost.

Your buys

units = Σ(amount / price) · avg_cost = Σamount / Σunits

Your blended position

Total invested
Total units acquired
Average cost / unit
A fixed-dollar schedule buys more units when price is low and fewer when high, so your average sits below the simple price average.

How it works

What this calculator does

Dollar-cost averaging means investing a fixed dollar amount at regular intervals regardless of price. This tool takes each contribution and the price it bought at, then returns the total units accumulated and your average cost per unit across the whole plan.

The formula

It uses a dollars-in model — you enter money spent, not share counts:

units = Σ (amount / price)

average cost = Σ amount / Σ units

Because a fixed amount buys more units when prices are low, the average naturally tilts below the simple mean of the prices.

Worked example

You invest $300 three times: at $30, $20 and $15. Units bought are 10 + 15 + 20 = 45 for $900 total, so your average cost is 900 / 45 = $20.00 — lower than the $21.67 simple average of the three prices, because more units were bought cheaply.

What it deliberately does not do

It does not forecast returns or claim DCA beats a lump sum; that depends on the path of prices. The order in which the prices occur doesn't change the average — only the amounts invested and the prices paid do. It uses the figures you enter, not live quotes, and it is for education, not investment advice.

Frequently asked questions

How does dollar-cost averaging work?
You invest the same dollar amount on a fixed schedule, so you automatically buy more units when prices fall and fewer when they rise. Over time this produces a blended average cost.
How do I calculate my average cost with DCA?
Divide total money invested by total units bought: Σ amount / Σ units, where each contribution buys amount / price units. This tool sums it across all your buys.
What's the difference between DCA and averaging down?
DCA is dollars-in on a schedule, in any market direction. Averaging down is usually units-in, added specifically after a price drop. Use the average-down calculator for the units-in version.
Is DCA better than investing a lump sum?
It depends on how prices move afterward. Lump sums win more often in rising markets; DCA reduces the risk of buying everything right before a drop. This tool computes outcomes, it doesn't pick a strategy for you.
Why is my DCA average lower than the average price?
Because a fixed budget buys more units at low prices and fewer at high ones, which pulls the cost-weighted average below the simple mean of the prices.

Related calculators

Information tool only. Every result is deterministic arithmetic (for the simulator, a probability estimate) from the numbers you enter. No live data, no account connection, nothing stored. This is not investment, trading, tax, or financial advice — verify against your own broker or prop firm before acting.
Disclosure. Some outbound links may be affiliate or partner links; they never change how a tool computes.
Position Math · updated 2026-06-27 · all calculators
Information tool only — not investment, trading, tax, or financial advice. All computation runs in your browser.