Finance · Investments & Markets

Dollar-Cost Averaging Calculator

Calculate units acquired and weighted average cost across purchases.

Loading calculator…

Quick guide

How to use this calculator

  1. Enter observations in chronological or paired order exactly as the row help specifies.
  2. Keep all return periods, currencies, weights, and value units consistent.
  3. Review the sample, population, quantile, or compounding convention before interpreting the result.

Calculation method

Calculation method

Units per row = amount ÷ price. Average cost = total invested ÷ total units.

Entered fixed decimals are parsed exactly. Statistical square roots and geometric averages are marked approximate and reject undefined or non-finite cases.

Worked example

Worked example

Purchases of 100 at 10 and 100 at 20 acquire 15 units at average cost 13.33.

Units per row = amount ÷ price. Average cost = total invested ÷ total units.

Supported inputs

Precision and limits

Visible input limits

Lists accept 1–2,000 rows. Each fixed decimal accepts at most 30 digits and 12 decimal places and is capped at an absolute value of 1e12. Formula-specific positive, weight, and probability domains are enforced.

International scope

No currency, exchange, benchmark, security, observation frequency, market-data source, or regulatory risk convention is selected automatically.

Decision boundary

Historical and scenario statistics do not predict returns, measure every risk, cap losses, or recommend an investment.

Calculator-specific assumptions

Results use only visitor-entered observations. They are descriptive calculations, not forecasts, trading signals, risk guarantees, or investment recommendations.