Calculators › Trading
DCA (Dollar-Cost Average) Calculator
The DCA calculator takes each fixed contribution and the price it bought at, then returns the units you accumulated and your blended dollar-cost-average cost across the whole plan. Runs in your browser; nothing is stored.
Dollar-cost averaging spreads buys across time and sets your average cost = total amount invested / total units bought, so equal-dollar contributions automatically buy more units when the price is low and fewer when it is high.
Your buys
Your blended position
Newsletter
Get the weekly position-sizing playbook
One email a week: macro & US markets, gold, futures & crypto — plus prop-firm rules, risk math and new calculators. No spam, unsubscribe anytime.
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?
How do I calculate my average cost with DCA?
Σ amount / Σ units, where each contribution buys amount / price units. This tool sums it across all your buys.