Spot Grid Bots: What the Range and Grid Count Actually Do

A spot grid bot places a ladder of buy and sell orders between two prices and books a profit each time a buy is matched by a sell one step higher. The headline number the interface shows is the range, and the number that decides whether the strategy can work at all is the grid count, because range divided by grids sets the profit per step and the fee is charged on every step. Binance publishes the formulas for both spacing modes, the limits on grid count, and the rule that suspends a bot when price leaves the range.

CoinSoso EditorialPublished Article #00138Updated

Cover artwork: CoinSoso · AI-generated, not a photograph of a real venue, product or market capture.

Key takeaways

  • Binance's spot grid guide defines grid profit as the realised profit of filled grid orders matched by one buy order and one sell order, and states that trading fees are already deducted from it.
  • In arithmetic mode the spacing is (Upper Price - Lower Price) / number of grids; in geometric mode the ratio is (Upper Price / Lower Price) ^ (1/n), and the guide says profits are fixed between each grid.
  • Spot Grid allows a minimum of 2 and a maximum of 500 grids, and above a default 170-order threshold Binance switches on a dynamic order mechanism.
  • When price leaves the range the strategy is suspended rather than closed, and it resumes if price returns — which is why a range break is an inventory problem before it is a profit problem.
  • Total profit is grid profit plus unrealised P&L, and the second term is where a trending market shows up.

A ladder, and the arithmetic behind it

A spot grid bot is a set of limit orders arranged between two prices: buys below the current price, sells above it, and after each fill a new order is placed one step away on the other side. The unit of profit is one matched pair — a buy filled at one grid line and a sell filled at the next one up. Binance’s guide calls that “grid profit” and defines it as “the realized profit of filled grid orders that are matched by one buy-order and one sell-order,” adding a sentence that matters for every calculation below: the trading fees incurred during the strategy are already deducted from it.

Two settings decide the whole strategy: where the range sits, and how many steps subdivide it. Everything else — the base asset, the amount per grid, the stop triggers — is downstream of those two.

Range: the boundary that suspends rather than closes

The guide is unusually clear about what the bounds do. The lower price is the bottom of the configured range, and “the system will no longer execute orders when the market price falls below the Lower Price.” The upper price works the same way in the other direction.

What happens next is the part worth reading twice. Using a BTC/USDC example with a 40,000 to 60,000 range, the guide says: “If the BTC price rises above 60,000 USDC or falls below 40,000 USDC, the strategy will be suspended.” And then: “When the price returns to the set price range, the strategy will resume.”

Suspended is not the same as closed. The bot stops trading and keeps its inventory exactly where it is. If price has left upward, that inventory is a position that is no longer being trimmed by sells. If price has left downward, the bot has been buying into a fall and stopped before the bottom. Either way, the range break converts a trading strategy into a holding, and the holding is marked to a price outside the range.

The optional stop loss and take profit are the only mechanisms that end a strategy for good. The guide constrains their placement — stop loss below the lower price, last price and trigger price; take profit above the upper price, last price and trigger price — which is a way of saying they must sit outside the range rather than inside it.

Grid count: spacing, and why the number is a fee decision

The grid count converts a wide interval into tradeable steps, and the two spacing modes do it differently.

Arithmetic mode: “Each grid has an equal price difference,” and the guide gives the formula directly.

Spread = (Upper Price - Lower Price) / Number of grids

Prices then step upward by that fixed amount: the first line is the lower price, the second is the lower price plus one spread, and so on.

Geometric mode: “Each grid has an equal price difference ratio,” with

Ratio = (Upper Price / Lower Price) ^ (1/n) × 100%

where n is the number of grids. The guide adds the consequence: in geometric mode, “the profits are fixed between each grid.”

That sentence is the argument for geometric mode in most crypto pairs. In arithmetic mode, a fixed dollar step is a large percentage move at the bottom of the range and a small one at the top, so the profit per matched pair varies with where the fill happened. In geometric mode every rung is the same percentage, which is what makes a per-grid profit comparable to a per-trade fee.

The fee test, worked

The guide never says “check that your per-grid profit exceeds your round-trip fee,” but the arithmetic does it for you in one line. A round trip in a grid is a buy and a sell, so it pays two fees. If the percentage step between rungs is smaller than that, the grid profit is negative before the position has moved at all — and because Binance reports grid profit net of fees, the interface will show a negative number rather than a small positive one.

Take a range of 40,000 to 60,000 — a ratio of 1.5 — and vary the grid count. Using geometric spacing:

Grids Step per gear Versus a 0.10% round trip
20 about 2.05% comfortable margin
50 about 0.81% workable
100 about 0.41% thin
200 about 0.20% marginal
500 about 0.08% below the round trip

The illustrative 0.10% round trip is an assumption, not a quote: it is 0.05% each way, and a reader should replace it with their own tier from the fee schedule, which is what Binance spot fees explains how to find. A maker order that rests on the book usually pays less than a taker order that crosses, and a grid bot’s orders are designed to rest — which is why the fee line is not as bad as the taker rate suggests, and why a badly configured grid can still cross the spread on every fill.

The general rule that falls out of the table: more grids is not more profit, it is more trades at a smaller margin. The total profit is the number of matched pairs multiplied by the profit per pair, and the number of matched pairs depends on how much the price oscillates, not on how many rungs you drew.

The same range, four grid counts: step size falls while the fee stays put 40,000 – 60,000 · geometric spacing 20 2.05% per gear 50 0.81% 100 0.41% 500 0.08% — under the 0.10% round trip 0.10% assumed round-trip fee Each extra gear halves the step and does nothing to the fee. Fee is an assumption for illustration; your tier is on your own schedule. Step sizes computed from (60,000 / 40,000) ^ (1 / n) - 1.
The horizontal axis is the percentage profit of one matched pair; the dashed line is what one round trip costs. Everything below the line is a strategy that pays the exchange to oscillate.

The capital constraint nobody puts in the range field

Spacing is not the only limit on grid count. Each rung needs an order, and each order must satisfy the exchange’s filters.

The public BTCUSDT symbol definition, read from Binance’s market data API on 2026-10-31, sets a minimum notional of 5 USDT, a quantity step of 0.00001 BTC and a tick size of 0.01 USDT. A grid with 500 rungs and 1,000 USDT of capital allocates 2 USDT per rung — below the notional minimum before any price movement. The bot will either refuse to start or place orders that cannot be filled.

Two consequences follow, and they pull in opposite directions:

  • More grids need more capital to keep every rung above the minimum.
  • More capital per rung does not increase the profit per matched pair — it increases the size of each pair, which multiplies both the profit and the loss.

The filter is the hard constraint and it is published. The softer constraint is that a rung whose order is worth exactly the minimum earns a profit so small that rounding in the fee calculation can erase it.

What the automatic parameters actually compute

Binance’s auto-parameter page is worth reading for what it does not contain. It gives formulas for the price bounds and no formula for the grid count.

The bounds come from a moving average and a standard deviation, with the multiplier fixed:

UB = Moving Average (MA) + Bollinger Bands (BBM) × Standard Deviation LB = MA − BBM × Standard Deviation

with BBM set to 3. The average price used is (Open + Close + High + Low) / 4 on one-hour candles, and the resulting band is then clamped to a range whose width depends on the lookback: minimum 1% × n^(1/3), maximum 15% × n^(1/3), default 5% × n^(1/3), where n is 7, 30 or 180 days.

Three standard deviations is a wide band by construction — it is designed to contain most of the recent price action, which is the same as saying it is designed to produce a range the price is unlikely to leave quickly. That is a reasonable default and it is not a forecast.

The grid count is left to the user, and the page’s other limits are the ones to remember: a minimum of 2 and a maximum of 500 grids for Spot Grid, 170 for the Trailing Up variant, and an automatic switch to a dynamic order mechanism above a default threshold of 170 orders. The auto-parameter page adds that you can create five grid strategies per trading pair.

What the strategy is actually exposed to

Three exposures sit outside the grid-profit number, and the interface reports them separately for a reason.

Unrealised P&L. The guide’s total-profit line is “Grid Profit + Unrealized P&L”. A bot that has earned 40 USDT of grid profit while holding a base asset that has fallen 200 USDT is a bot that is down. Grid profit measures the churn; unrealised P&L measures the inventory.

A directional move. Grids earn in oscillation and lose in trend. A sustained move in either direction converts the ladder into a one-sided position, and the range boundary is what stops it — by suspending the strategy with the position still on the books.

The assumption that the range holds. The bounds are set from history. Every parameter in the auto mode is computed from past candles, and none of them knows anything about the next week.

A checklist before switching one on

  1. Write down the range and why. If the reason is “it looks like it has been ranging”, the range is a bet, not a measurement.
  2. Compute the step: (upper / lower)^(1/n) − 1 for geometric spacing, or (upper − lower)/n for arithmetic.
  3. Compare the step with your own round-trip fee, from your own fee tier, not from a blog post.
  4. Check capital per rung against the minimum notional of 5 USDT on BTCUSDT and the quantity step.
  5. Decide what happens at the boundary — nothing, a stop, or a manual review.
  6. Read the total profit line, not the grid profit line. The difference is the position.

The order mechanics that decide whether a grid’s fills rest or cross are covered in maker versus taker orders, and the cost of the price you actually receive on each fill is in spread, depth and slippage.

Risk note. The formulas, limits, defaults and definitions in this article were read from Binance’s spot grid and auto-parameter guides, and the symbol filters from Binance’s public market data API, on 2026-10-31. The 0.10% round-trip figure is an illustration, not a quoted rate. A grid bot does not remove market risk; it redistributes it into inventory.

Sources

How this was researched. Written from primary documentation and the exchange or protocol's own published material, with sources listed at the end of the article.

Primary sources for the factual claims on this page. A date appears only where a human has actually read the source; where it is missing, the check is still outstanding.

  1. Binance — What is spot grid trading and how does it work(read 2026-10-31)
  2. Binance — How to use spot grid trading auto parameters(read 2026-10-31)
  3. Binance public market data API — BTCUSDT symbol filters, read 2026-10-31(read 2026-10-31)

Frequently asked questions

What is grid profit?

Binance defines it as the realised profit of filled grid orders that are matched by one buy order and one sell order, and says the trading fees incurred during the strategy are already deducted from it. The number therefore already includes the cost of trading, which makes it the right figure to compare against a fee assumption rather than a gross one.

Should I use arithmetic or geometric spacing?

Geometric mode gives every grid the same percentage step, and Binance's guide says profits are fixed between each grid. Arithmetic mode gives every grid the same price step, so the percentage profit per grid shrinks as price rises. For a strategy whose unit of profit is a percentage, geometric is the mode that keeps the unit constant.

What happens if the price leaves my range?

The strategy is suspended, not closed. Binance's example says that if price rises above the upper price or falls below the lower price the strategy will be suspended, and that when price returns to the set range it will resume. The stops, if configured, are what end a strategy permanently.

Is more grids always better?

No. More grids means narrower spacing, so each matched pair earns less and each round trip costs the same. Below a certain grid count the fee per round trip is larger than the profit per grid, and the bot trades actively while the balance declines.

What does the automatic parameter mode calculate?

Binance's auto-parameter page computes upper and lower bands from a moving average plus or minus three standard deviations, then clamps them to ranges of 1%, 5% or 15% scaled by the cube root of the lookback in days, using 7, 30 or 180 days of daily candles. The page does not publish a formula for grid count.

How many grid strategies can I run on one pair?

Binance's auto-parameter page states you can create five grid strategies for each trading pair. The same page says the recommendation defaults to arithmetic mode and enables sell-all-base-coin at stop.

Where to go next

Independent research. Each card shows the platform’s invite code, and its Create Account button is a referral link that may earn us a commission at no extra cost to you. Whether an account can be opened is decided by the platform at sign-up.

Binance

One of the largest global exchanges by traded volume, with a very broad product range.

20% Trading Fee Rebate

Use invite code con888 when signing up to enjoy trading fee benefits.

Download Android App

Download from the exchange's official download service. Verify the source and follow the on-screen installation instructions.

Do not install an APK from an unknown source, or one that has been modified or cannot be checked.

Read review →

OKX

A large global exchange offering spot, derivatives and a self-custody wallet.

20% Trading Fee Rebate

Enter invite code con888 when signing up to check available trading fee benefits.

Download Android App

Download from the exchange's official download service. Verify the source and follow the on-screen installation instructions.

Do not install an APK from an unknown source, or one that has been modified or cannot be checked.

Read review →