Dollar-Cost-Averaging Calculator
Explore how equal recurring purchases accumulate units as an asset's price changes over time.
Illustrated ending value
USD 1532.16
- Purchase count
- 14
- Total invested
- USD 1400.00
- Units accumulated
- 0.02553592 BTC
- Average cost
- USD 54824.73
Generated schedule
- First purchase
- 2026-10-17
- Last purchase on or before end date
- 2027-01-16
- Calendar rule
- Every 7 days
How this calculation works
What would repeated equal purchases produce under this simplified price path?
Formula in plain language
- Units at each purchase = investment per purchase ÷ illustrated purchase price.
- Total units = sum of the units bought; total invested = investment per purchase × purchase count.
- Average cost per unit = total invested ÷ total units.
- Ending value = total units × ending price; illustrated difference = ending value − total invested.
What the terms mean
- Illustrated prices
- Prices change evenly across the generated purchases from the starting price to the ending price. They are not fetched historical prices. A single purchase uses the starting price.
- Calendar rule
- Weekly means every 7 days; biweekly means every 14 days. Monthly uses the original day, or the month's last day if that day does not exist.
- Average cost
- A units-weighted cost, not a simple average of the two prices. Prices and contributions use the selected currency.
Worked example
This is a fixed teaching example, separate from your current inputs.
Choose USD, Bitcoin (BTC), investment 100, Monthly, first date 2026-01-01, end date 2026-02-01, starting price 10 and ending price 20. These are imaginary teaching prices, not Bitcoin market quotes.
- Two dates are included: January 1 and February 1.
- First purchase: 100 ÷ 10 = 10 BTC units. Second: 100 ÷ 20 = 5 units.
- Total: 15 units for USD 200. Average cost: 200 ÷ 15 = about USD 13.33 per unit, not USD 15.
- Ending value: 15 × 20 = USD 300; illustrated difference: 300 − 200 = USD 100.
Example result: 2 purchases, 15 BTC units, USD 13.33 average cost and USD 300.00 ending value.
What the result means
Like buying the same money's worth of a household item each time, lower prices buy more units and higher prices buy fewer. That changes the average cost, but it does not guarantee a profit.
What this does not tell you
The evenly changing scenario is not a backtest or price forecast. Actual prices vary between purchases; fees, spreads, slippage, order minimums and taxes are excluded. Falling prices can produce a loss.