Plan a spot grid / Audit a running bot

Crypto Grid Bot Calculator

Plan every level of a new spot grid, or reconcile a running bot to find its real total PnL and the amount left after closing fees.

Grid setupExit-now valueGrid vs. total PnLShareable audit
Spot grid plan

Design the range and each completed cycle

Range shortcut
Execution estimate
Price levels11
Order value per grid1,000 USDT

One completed grid includes a buy and a sell. Both fills are charged. Presets are editable base spot references; your region, pair, tier, and discounts can differ.

Price ladder

Every completed grid cycle

Each row models buying at one level and selling at the next level above it.

10
CycleBuy priceSell priceStepQuantityFeesNet profitNet / order
#0150,00053,0006%0.02 BTC2.06 USDT57.94 USDT5.794%
#0253,00056,0005.66%0.01886792 BTC2.0566 USDT54.5472 USDT5.455%
#0356,00059,0005.357%0.01785714 BTC2.0536 USDT51.5179 USDT5.152%
#0459,00062,0005.085%0.01694915 BTC2.0508 USDT48.7966 USDT4.88%
#0562,00065,0004.839%0.01612903 BTC2.0484 USDT46.3387 USDT4.634%
#0665,00068,0004.615%0.01538462 BTC2.0462 USDT44.1077 USDT4.411%
#0768,00071,0004.412%0.01470588 BTC2.0441 USDT42.0735 USDT4.207%
#0871,00074,0004.225%0.01408451 BTC2.0423 USDT40.2113 USDT4.021%
#0974,00077,0004.054%0.01351351 BTC2.0405 USDT38.5 USDT3.85%
#1077,00080,0003.896%0.01298701 BTC2.039 USDT36.9221 USDT3.692%

Working capital is divided equally across grid intervals. Actual exchanges can allocate base and quote assets differently when a bot starts.

01 / How a spot grid works

Plan the orders first, then audit the value that remains

A spot grid places buys below a reference price and sells above it. Completed cycles can earn grid profit while the base asset still held by the bot loses value, so a running bot must be judged from its complete base and quote balances—not the grid-profit figure alone.

Price range

The lower and upper boundaries where the bot is intended to trade. Outside the range, new grid cycles can stop completing.

Price levels

A setting of 10 grids creates 10 adjacent intervals and 11 price levels, including both boundaries.

Exit audit

Current equity equals the quote balance plus the market value of the base asset. Grid profit explains part of that result; it is not added to the balances again.

02 / Grid formulas

Grid setup and exit-audit equations

Arithmetic spacing keeps the quote-currency difference constant, while geometric spacing keeps the percentage ratio constant. A running-bot audit starts from its current base and quote balances instead of estimating past fills.

01Arithmetic interval = (Upper price − Lower price) ÷ Number of grids
02Geometric ratio = (Upper price ÷ Lower price)^(1 ÷ Number of grids)
03Order value per grid = Working capital ÷ Number of grids
04Current bot equity = Quote balance + Base quantity × Current price
05Exit proceeds = Current bot equity − Closing fee

Formula references: The grid mechanics and distinction between grid profit and total PnL were checked against official documentation from Bybit and OKX.

03 / Profit and risk

Positive grid profit does not guarantee positive total PnL

Completed grid cycles can earn a positive spread while the value of base assets held by the bot falls. Total bot PnL therefore includes more than the realized grid profit shown for completed cycles.

  • More grids create tighter spacing, but each cycle earns a smaller spread and fees take a larger share.
  • A price move outside the configured range can leave the strategy holding mostly one asset and stop new cycles from completing.
  • Actual allocation, minimum order size, tick size, rounding, slippage, and fee tiers differ by exchange and trading pair.
  • This planner does not predict price paths or fill frequency, so it deliberately does not display a projected annual return.
04 / Worked example

Ten arithmetic grids from $50,000 to $80,000

The interval is $3,000 and the range contains 11 levels. With $10,000 of working capital, the simplified allocation is $1,000 per grid. In the first cycle, $1,000 buys 0.02 BTC at $50,000 and sells it at $53,000. Gross profit is $60; with a 0.1% fee on each fill, estimated net profit is $57.94.

Range$50,000–$80,000
Grid intervals / price levels10 / 11
Arithmetic interval$3,000
Order value per grid$1,000
First-cycle gross profit$60.00
First-cycle net profit≈ $57.94
05 / Frequently asked questions

Grid trading questions

Are grids and price levels the same thing?

No. Grids are the spaces between levels. Ten grids require eleven boundary levels.

Should I use arithmetic or geometric spacing?

Arithmetic spacing keeps the dollar step fixed. Geometric spacing keeps the percentage step fixed. The latter is often easier to reason about over a wide range, but neither mode predicts which range will perform better.

Do more grids mean more profit?

Not automatically. More grids may create more possible fills, but each spread becomes smaller and may be consumed by fees.

Why is grid profit different from total PnL?

Grid profit counts completed buy-low/sell-high cycles. Total PnL also reflects the changing market value of assets still held by the bot.

How much will I receive if I stop the grid bot?

Enter the bot’s current base quantity and quote balance in audit mode. Estimated exit proceeds equal the quote balance plus the base asset sold at the current price, minus the selected closing fee.

What happens when price leaves the range?

Orders within the range can remain, but new completed cycles may stop until price returns. The strategy can also become concentrated in the base or quote asset.

Does this calculator support futures grids?

Not yet. This version focuses on transparent spot-grid economics and does not mix in leverage, liquidation, or funding.

Continue the setup

Check the costs and the surrounding trade plan