DCA bot calculator

This calculator prices a DCA bot’s whole safety-order ladder: for each order the price it fills at, its size, the running total, the average entry and the take profit price. It also shows the most money one deal can use and how far the ladder reaches. It uses the same formulas as QuantPhi’s bots.

In short

  • Free, in the browser, nothing to sign up for.
  • Works for long and short deals.
  • Shows the bounce (or pullback) the price needs after each fill to reach the take profit.
  • Fees and exchange minimums are left out: keep a margin for them.

Calculator

DCA bot calculator

Change any number: the table shows every order of one deal, the money it needs and the price the take profit waits for. Sizes are in the quote currency (USDT).

Direction
OrderDropFills atSizeTotal in dealAverage entryTake profit atBounce needed
Base—100.0020.0020.00100.00101.501.50%
SO 1−1.50%98.5020.0040.0099.2443100.732.27%
SO 2−3.30%96.7030.0070.0098.137799.60983.01%
SO 3−5.46%94.5445.00115.0096.697898.14823.82%
SO 4−8.05%91.94867.50182.5094.884996.30824.74%
SO 5−11.16%88.8376101.25283.7592.634894.02435.84%

Money one deal can use: 283.75 USDT

The last safety order fills 11.16% below the entry.

Exchange fees, slippage and the exchange’s minimum order sizes are left out. On futures the margin used is the total divided by the leverage.

How to read the table

  • Drop / Rise: how far from the entry this order fills.
  • Size: the order’s amount in USDT; it grows by the volume scale.
  • Total in deal: the money used once this order has filled.
  • Average entry: total money divided by total coins bought.
  • Take profit at: the average entry plus the take profit (minus, for a short).
  • Bounce needed: how far the price must move back from this fill to reach the take profit.

The formulas

gap(1) = deviation;  gap(n) = gap(n−1) × step scale
drop(n) = gap(1) + … + gap(n)
price(n) = entry × (1 − drop(n) / 100)   (long; + for a short)
size(1) = safety order;  size(n) = size(n−1) × volume scale
average = Σ sizes ÷ Σ (size ÷ price)
take profit = average × (1 + take profit / 100)   (long)

Every setting is explained in DCA bot settings explained.

From numbers to a test

The calculator shows what the ladder looks like, not how often the price reaches each step. A backtest answers that from real price history; see how to backtest a trading bot.

Questions

How do I calculate the average price of a DCA bot?

Divide the total money spent by the total coins bought. Each order buys its size divided by its fill price in coins; adding them up and dividing the money by the coins gives the average entry.

How do I calculate how much money a DCA bot needs?

Add the base order and every safety order: the first safety order times the volume scale to the power 0, 1, 2 … up to the number of safety orders minus one. Multiply by the number of deals that can be open at once.

Does the calculator include fees?

No. Exchange fees (often around 0.1 % per trade on spot, less on futures) and slippage lower the real profit, so leave a margin in the take profit.

Try it on your own exchange account

QuantPhi runs DCA, grid, rebalance and Hedge Stop bots on Bybit, OKX, Bitget, Binance, BingX, Coinbase and Hyperliquid. There is a free plan; your funds never leave your exchange.

Create a free account

Crypto trading involves risk; past results and backtests do not guarantee future returns. This guide is education, not investment advice.