Grid step
The range is split into equal parts: step = (upper − lower) / number of grids. As a percentage it is shown against the middle of the range.
Enter your price range, number of grids, investment and leverage to see the net profit per grid, the liquidation price and the open loss if price leaves the range. Everything is calculated in your browser; nothing is sent anywhere.
Fixed values of the setup only. Funding, slippage and how often price moves inside the range are not included.
Bots in the Botrader app use the same formulas.
The range is split into equal parts: step = (upper − lower) / number of grids. As a percentage it is shown against the middle of the range.
A buy and a sell one line higher make one cycle. Gross profit is quantity × step; the fees of both orders are deducted. Fees are larger on higher lines, so the net profit is shown as a range.
The common futures grid formula is used: 0.8 × investment × leverage / sum of line prices. For long and short grids the risk of the starting position is added to the denominator.
The worst case is assumed: every order on the losing side has filled and the only collateral is the investment. When collateral plus open P/L falls to the maintenance margin, the position is closed.
When price leaves the range the grid stops, but the position stays. This row shows that open P/L and how many full cycles it takes to cover it. It is why the total result can be negative while grid profit is positive.
Daily or monthly earnings depend on how many times price moves back and forth inside the range, which nobody knows in advance. Instead of a guess, you can run the same setup on live prices with a virtual balance in Botrader.
Every full cycle (a buy and a sell one line higher) earns quantity × grid step before fees, and the fees of both orders are deducted. Total profit depends on the number of cycles; the P/L of the open position and funding fees come on top.
At least large enough to cover the fees of both orders comfortably. If the step is very narrow, most of the profit goes to fees; if it is very wide, price touches the lines rarely and there are fewer cycles. The calculator warns when fees take more than a fifth of the gross profit.
A grid bot buys as price falls (long) or sells as price rises (short). When price reaches the end of the range every order has filled and the position is at its largest. The calculator shows the liquidation price at that point. The real value can differ slightly because exchanges use maintenance margin tiers per pair.
No. The funding rate changes every few hours with the market of the pair. In the Botrader app bots run with real funding rates; the calculator only shows values that depend on the setup.
No. The calculation runs entirely in your browser; the values you enter are not sent to a server or stored.
Setup values (step, order size, liquidation) use the same formulas. The app also applies the real price and quantity steps of the pair, slippage and funding, so small differences are possible.
The four ways a grid bot loses: trends, thin steps, leverage and funding, and what limits each.
Read →Calculator, backtest or virtual forward test: what each shows and what a realistic test must include.
Read →Leverage, liquidation, funding, take profit and more, each in plain words with an example.
Read →Short answers about grid bots, virtual testing, plans and how Botrader works.
Read →Sign up in a minute and get the 6-day full trial. No card, no keys.