Dollar-cost averaging calculator

DCA Calculator: Historical Dollar-Cost Averaging Returns

Model a recurring investment in Bitcoin, S&P 500 or gold. Choose a contribution amount, frequency and date range to see historical units, total invested, average cost and current value.

Calculate for free
✓Bitcoin, S&P 500 and gold historical DCA scenarios
✓Daily, weekly and monthly contribution schedules
✓Total invested, average cost, accumulated units and current value

Start with a historical scenario

Test recurring Bitcoin, S&P 500 or gold contributions

These examples only fill the calculator. Keep the contribution amount, frequency, currency and date range visible before comparing results.

🔒 = Locked assets were not listed on the selected date.

Investment Details

Currency

Investment Frequency

$

This date stops contributions, not valuation. Accumulated units are valued at the latest available price and exchange rate; this is not the portfolio value on the last contribution date.

A calculation you can check: BTC-USD

Fixed historical example: 2–4 January 2024. This is not today’s value or a return forecast. Daily closes are shown below; arithmetic uses the unrounded observations.

Source data (Yahoo Finance) · BTC-USD · USD
Observation dateClose (USD)Contribution (USD)Calculated units
2024-01-0244,957.9688100.000.00222430
2024-01-0342,848.1758100.000.00233382
2024-01-0444,179.9219100.000.00226347
Total contributed
300.00 USD
Value on 4 January 2024
301.38 USD
Gross profit / loss
1.38 USD

Σ (100 ÷ close) = 0.00682159; 300.00 ÷ 0.00682159 = 43,978.00
0.00682159 × 44,179.9219 = 301.38 USD

Three equal daily contributions, including the final valuation day. Units = sum of each contribution ÷ its closing price; average cost = total contributions ÷ total units.

No currency conversion, tax, fees or inflation adjustment. Different providers and closing times may produce different results.

Source data (Yahoo Finance) · Retrieved: 2026-09-14

Open the calculator

How to use

  1. 1Choose Bitcoin, S&P 500 or gold and a contribution currency.
  2. 2Set the daily, weekly or monthly contribution and the historical date range.
  3. 3Calculate total contributions, accumulated units, average cost and current value.

Frequently asked questions

How does this DCA calculator work?

It calculates the units bought at each valid historical contribution date, adds those units together and values the total at the latest available price. It does not apply one average annual return to the entire budget.

Can I calculate S&P 500 DCA in GBP?

Yes. Select S&P 500, GBP and a monthly contribution to test a historical recurring-investment scenario. Tax, broker fees, fund fees and spreads are not included.

Can I calculate Bitcoin or gold DCA?

Yes. Choose Bitcoin or gold, then set the contribution amount, frequency and dates. Results are historical simulations and do not predict future returns.

Does daily DCA always outperform monthly DCA?

No. Contribution frequency changes the dates and transaction assumptions, but it does not guarantee a better return. Compare scenarios with the same total budget and time period.

How to read the result

The calculator estimates units purchasable at the historical price and values them at the latest valid market price. It is a historical simulation, not a forecast.

Tax, broker commission, bid-ask spread and custody costs vary by user and are excluded by default.

Start date can materially change the outcome. Test multiple dates, compare DCA and review inflation separately.

HowMuch? · vibecodingstudios@gmail.com

Dollar-cost averaging calculator: recurring investment returns

Use the DCA calculator to model a fixed contribution made daily, weekly or monthly over a historical date range. Rather than applying an annual average return to the entire budget, the tool calculates the units purchased at each valid observation and adds them together before valuing the portfolio.

That makes the total contribution, frequency, asset, currency and end date essential assumptions. A plan funded from monthly income is also different from holding a lump sum today and deliberately delaying part of it; the latter introduces a cash opportunity-cost decision.

How average cost is calculated

Average cost is total amount invested divided by total units accumulated. It is not the simple average of all quoted prices. Lower prices buy more units for the same contribution, while fees or spread can reduce units in a real account.

Daily, weekly or monthly contributions

More frequent purchases can spread entry dates more finely but can also increase fixed transaction costs. Hold the total budget and time window constant when comparing frequencies; otherwise a higher ending value may simply reflect investing more money.

What DCA does not solve

DCA distributes entry dates but cannot make a weak asset suitable, prevent loss or eliminate currency, tax, custody and liquidity risk. Review the worst historical period as carefully as the best return before making a personal decision.

Other calculators

DCA Calculator: Historical Dollar-Cost Averaging Returns