Dollar-cost averaging is the most common crypto investing strategy, but its real performance depends entirely on the price path. This tool lets you backtest it on your own data: paste a price series, set a fixed per-period investment, and it computes exactly how many coins you would have accumulated, your average cost basis, your current value, and how that compares with investing the whole sum at the start.
How it works
Each period buys a fixed dollar amount of coin at that period’s price, and the results are summed:
coins this period = amount / price
total coins = Σ (amount / price)
total invested = amount × number of periods
avg cost basis = total invested / total coins
current value = total coins × final price
profit/loss = current value − total invested
ROI % = profit/loss / total invested × 100
lump-sum coins = total invested / first price
lump-sum value = lump-sum coins × final price
Because you buy more coins when the price is low, the average cost basis is the harmonic-style weighted average of the prices, not the simple mean — which is why DCA tends to beat a naive average in volatile markets.
Example and tips
Investing 100 a week across prices of 100, 50, and 200 buys 1, 2, and 0.5 coins — 3.5 coins for 300 spent, an average cost of about 85.7 versus the 116.7 simple mean. At a final price of 200 that position is worth 700, a 133 percent gain, while a 300 lump-sum at the first price of 100 buys 3 coins worth 600. Paste real weekly or monthly closes oldest-first; the longer and more volatile the series, the more clearly the DCA-versus-lump-sum trade-off shows.