How to use DCA Calculator
Pick a coin, monthly USD amount, and date range, then run the simulation. Review invested capital, coins accrued, live mark-to-market value, ROI, and the chart of portfolio value versus cash invested.
Example: $100 a month into Bitcoin (illustrative prices)
You buy $100 of BTC each month for 4 months at $50,000, $40,000, $45,000, $55,000, then BTC trades at $60,000. These prices are made up to show the math; the calculator uses real history.
- Coins bought each month = $100 ÷ price, summed = 0.008540 BTC
- Average cost = $400 ÷ 0.008540 = $46,836.19 per BTC
- Current value = 0.008540 × $60,000 = $512.42
You invested $400 and hold $512.42, an ROI of 28.11%. Your average cost ($46,836.19) is below the simple average of the four prices ($47,500) because the fixed dollar amount buys more coins when price is low.
Formula & methodology
Each month: coins += monthly/price_t using the first available CoinGecko candle in that month. Current value = coins × spot. ROI = (value−invested)/invested. History comes from market_chart/range. Spot comes from simple/price with a shared server cache.
Simulate dollar-cost averaging with real prices
DCA removes the pressure of perfect timing. This calculator turns that plan into numbers: how many coins monthly buys would have accrued, and what that stack is worth now.
We use CoinGecko historical ranges instead of a straight line, so bull and bear months show up in the equity curve. That helps when you ask “what if I bought $200 of bitcoin every month?” before you automate buys on an exchange.
Long windows can hit free API rate limits. Shorten the range and retry if needed. Pair results with the historical price checker for a single date, and with the profit calculator when you exit part of the stack.
How to read the DCA equity curve
The chart plots mark-to-market value against cash invested. When value dips below invested, you are in an unrealized drawdown (common after late-cycle entries). That does not mean the strategy failed. It means path dependency mattered.
Keep ranges realistic for free API quotas. Prefer multi-year windows on majors like BTC and ETH, and shorter windows on thin alts where candles may be sparse. Compare against a one-shot buy with the lump-sum vs DCA tool.
All CryptonicTools utilities are free, mobile-first, and require no account.