Futures Calculator
Position & leverage

Grid Bot Calculator

Compare grid spacing and the profit left after both trading fees.

Net profit in the cycle scenario
+19.56 $
Fees in the cycle scenario
0.44 $
Net profit per completed cycle
9.77 $ – 9.79 $
Capital if every buy order fills
210.21 $
Inventory after all buys fill
2

How it works

Same base quantity at each interval. The entered number of cycles is assumed for every interval; it is not a prediction. Full-ladder capital is a separate all-buys-filled scenario. Funding and open-inventory PnL are excluded.

Adjacent buy/sell cycles

Buy priceSell priceBoth trading feesNet profitNet return on buy cost
1001100.21 $+9.79 $+9.78 %
1101200.23 $+9.77 $+8.87 %

How the Grid Bot Calculator works

This grid bot calculator builds arithmetic or geometric price levels and calculates the net profit of buying at one level and selling the same quantity at the next. It shows both trading fees, net return on buy cost and the capital required if all buy orders fill.

Arithmetic and geometric grids

For n intervals between lower L and upper U, arithmetic level i = L + i × (U − L)/n. Geometric level i = L × (U/L)^(i/n). There are n + 1 levels and n adjacent buy/sell intervals. Arithmetic spacing keeps the absolute gap fixed; geometric spacing keeps the price ratio fixed.

Example: lower 100, upper 120, two arithmetic intervals, quantity 1 and fee 0.1% per fill. Levels are 100, 110 and 120. The first cycle earns 10 − 0.001 × (100 + 110) = 9.79. The second earns 9.77. One completed cycle in each interval gives 19.56 net profit and 0.44 total fees. Filling both buy orders without selling requires 210.21 including fees and leaves 2 units of inventory.

Grid profit is a completed-cycle scenario

Net cycle profit = quantity × [sell − buy − fee × (buy + sell)]. The entered cycle count applies equally to every interval. No market data is used to infer fill frequency, so the total is conditional, not an expected return. Negative intervals remain visible when the gap is too narrow to cover costs; increasing the number of grids can cause this.

Full-ladder buy capital is a separate scenario in which every buy fills before any resale. It is not added to cycle profit. Open inventory can lose value even while completed cycles are profitable. The calculation excludes inventory PnL, slippage, rounding, initial mixed-asset allocation, funding and liquidation. For leveraged grids, inspect funding cost and liquidation separately; use DCA bot planning for a ladder that averages one position instead of closing adjacent cycles.

FAQ

How many grids should I choose?

The calculator compares the inputs you choose. It does not select an optimal range or number of grids. Check the net profit of every interval against fees and your execution assumptions.

Is total grid profit the bot's total PnL?

No. This total includes only the assumed completed cycles and their fees. Bot equity also depends on cash, the market value of inventory, unrealized PnL and, for futures, funding.

Why does geometric spacing have different cash profits?

The percentage gap is constant, but absolute gaps increase at higher prices. This calculator holds base quantity fixed, so both cash profit and quote capital vary by interval.