This page contains OKX affiliate links · Signing up through this link gives you a 20% fee rebate · Full disclosure →
Home Tools Grid calculator
TOOL · interactive calculator

OKX Grid Bot Parameter Calculator

Are your grid parameters healthy? Enter the price range, grid count, and capital — the tool auto-judges green (healthy) / amber (borderline) / red (unhealthy) and explains why. It also computes per-grid yield, the break-even fee count, and breakout boundary thresholds in real time. 100% browser-side, no data collected. Baseline: OKX Lv.1 spot fees, Taker 0.10% / Maker 0.08%.

5 parameters →

Default BTC — the deepest-liquidity target.
Upper / lower bound. At a current price of $67,234, ±7% is a typical beginner default.
Beginners: 30–50 grids. More grids mean smaller per-grid yield and need more frequent fills.
Beginners on first run: $200–500 — enough to generate meaningful fill data without painful losses.
Grid-bot fills are mostly Maker orders. Beginners: default Lv.1.
Per-grid yield (after fees)
+0.00%
USD per grid / capital per cell
Price step
$0
USD span per grid
Step yield
0.00%
Before fees
USD yield per grid
$0
After fees
Capital per cell
$0
Capital ÷ grid count
Healthy

Parameters look reasonable.

Calculation assumption: both legs of the limit-order pair fill at Maker price (no Taker hits). In reality one leg may be Taker-filled, adding ~0.02% to round-trip fees. The estimate is the "ideal-case lower bound" — actual yield may be slightly lower.

Once the parameters look healthy, head to the OKX grid bot page and start with a small live test.

Go to OKX grid bot

Grid distribution illustration

Each horizontal line = one grid limit order. The orange line is the current price ($67,234); the green zone is your grid range — the closer it gets to either boundary, the higher the one-sided breakout risk.

Reading the 4 core numbers

1. Per-grid yield (after fees)

This is the most important number. OKX spot Taker round-trip fees are 0.20%, so your "step yield" must strictly exceed 0.20% to generate net profit. The calculator does this math for you. Below 0.20% = your grid is just paying OKX.

2. Price step

Range width ÷ grid count = USD span per grid. A BTC range of $62K–$72K with 50 grids = $200 per grid. That's "how much BTC must move to trigger one fill". Too small (< $50) and slippage eats the yield.

3. Capital per cell

Total capital ÷ grid count = limit-order amount per grid. $500 ÷ 50 = $10/grid. OKX spot's minimum order size is typically $5–10; if your per-cell capital is too small, you may hit OKX's minimum-order limit — the calculator will flag this.

4. Breakout threshold

The core grid risk: if price breaks below the lower bound = full position stuck; if it breaks above the upper bound = no exposure to the rally. Leave 5–10% safety buffer on each side (i.e. set the range slightly wider than your "reasonable estimate").

Three example configurations

Conservative (recommended for beginners)

  • Range ±15–20% (e.g. BTC $58K – $78K).
  • 40–80 grids.
  • Per-grid yield ~0.30–0.40%.
  • Hard to break out, small but stable profit per grid.

Balanced

  • Range ±10% (e.g. BTC $61K – $73K).
  • 40–60 grids.
  • Per-grid yield ~0.40–0.50%.
  • Moderate breakout risk — check in every 1–2 weeks.

Aggressive (not recommended for beginners)

  • Range ±5% (e.g. BTC $64K – $71K).
  • 30–40 grids.
  • Per-grid yield ~0.50%+.
  • Extreme breakout risk — price can leave the range in days.

FAQ

What does a 0.20% per-grid yield mean?

OKX spot Taker is 0.10%, so a round-trip is 0.20%. Per-grid yield must strictly exceed 0.20% for "real profit". Below that threshold the grid is just paying OKX. The calculator auto-flags sub-threshold configurations in red.

With 50 grids configured, how many fills per day?

Depends on market volatility and your range width. Rough rule: BTC chopping across ±10% during one full week ≈ all 50 grids fill once. Quiet windows: 0–2 fills/day; volatile chop: 10–20 fills/day.

Why doesn't the calculator forecast APY?

APY depends entirely on future market choppiness — which cannot be forecast. The calculator only computes "earnings per grid + total grids + fills required to break even"; the projected APY assumption is yours to plug in. Any tool claiming "grid bots earn X% APY reliably" is misleading.

Does this calculator collect my data?

No. 100% browser-side JavaScript computation, no data uploaded, no cookies injected. Privacy policy.

Can I use this calculator for futures grid bots?

The calculator uses spot Maker / Taker as baseline. Futures grid bots have lower fees (~half), but also carry leverage, funding-rate, and forced-liquidation risk — not recommended for beginners. See perpetual futures risk.

Numbers checked out — run your first small live test

Run $200–500 for 2 weeks to gather real fill data before deciding whether to scale up. See the OKX grid-bot hands-on guide.

Take me to the first grid setup

Not signed up yet? Go to OKX · this is a referral link.