Start investing in Bitcoin with Pix, in a few minutesSponsoredOpen free account
Trading

Grid Bot simulator: profit per grid, fees and fluctuations required

A calculator to test the configuration of your Grid robot before putting money, with the math explained step by step.

Grid bot simulator

Mathematical simulation based on the data you typed. It's not price or profit forecast: the real result depends on how many times the price fluctuates within the range, and the bot can have a loss if the price leaves it.

By Boletim Bitcoin newsroom

. 8 min reading.

In short: A grid bot divides a price range into bars and profits a little each time the price goes down to a grid and goes back to the top. The simulator below shows the net income per grid after the fees, how much it costs to assemble the robot and how many complete cycles are needed to pay that cost. The golden rule: If the distance between the bars is less than about twice the rate per order, each cycle is a loss.

Setting up a grid bot looks simple: choose a minimum price, a maximum and as many grids as you want. The problem is that small choices completely change the result. Too many grids leave the profit per cycle lower than the rate. Less bars make the robot hardly operate. Use the tool to test before activating a real robot.

How to use the simulator

  1. Set the trackMinimum and maximum price at which you expect the asset to fluctuate. Outside of it, the bot stops operating.
  2. Choose the number of gridsIt is in how many parts the track will be divided. More grids mean smaller and more frequent cycles.
  3. Inform capital and feeTotal capital that goes to the robot and the fee charged by order executed, in percentage.
  4. Put the current priceOptional. It serves to estimate how much of the capital the bot needs to buy at the start.
  5. Compare the grid typesArithmetic and geometric test and see how profit per cycle changes.

The values that already appear filled are just a didactic example, with a hypothetical asset that oscillates between 90 and 110. Exchange for the numbers of the pair you want to operate.

Boletim Bitcoin logo
Image: Pexels (free license)

What does a grid bot do, in a sentence

He puts purchase orders below the price and above sales orders, on steps. When the price drops and a purchase order rings, the bot buys; When the price goes up to the top grid, it sells that same amount at a profit. BingX describes the arbitrage profit of the grid as the difference between a sales order and a purchase order, and informs that if the price goes out of range, the system stops executing orders, according to the BingX Help Center. The step by step at the brokerage is in the grid bot on BingX.

The math behind the result

Let's call g the capital of each grid (total capital divided by the number of grids), of b the purchase price of a grid, of s the sale price of the above grid and c the fee in order.

  1. Purchased quantity: q = g / b.
  2. Cycle gross profit: q x (s - b).
  3. Cycle fees: C x G In the purchase more C x q x s on sale.
  4. Net Income: Gross profit less fees.

Simply put, the net profit as a percentage of the grid capital is as follows: (S - B) / B X (1 - C) - 2C. It is the same formula that Binance publishes for the maximum profit of an arithmetic grid, in Spot Grid Parameters Page (updated on 01/07/2026).

Arithmetic x geometric grid

On the grid arithmetic, the distance between the grids is fixed in price: (maximum - minimum) / number of grids. As the same distance represents a higher percentage when the price is low, the profit per cycle is higher in the lower and lower grids above. That's why the simulator shows a profit range.

On the grid geometrical, the distance is fixed in percentage. The ratio between one grid and another is r = (maximum / minimum) raised to 1 / number of grids, and the profit per cycle is equal in all: (r - 1) x (1 - c) - 2c. Binance uses exactly these definitions. BingX also features the geometric grid in the Spot Grid tutorial.

Numerical example, per account

With the values that already come in the tool: range from 90 to 110, 20 grids, capital of 1,000, rate of 0.1% for order, current price 100 and arithmetic grid.

StageAccountResult
Capital by grid1.000 / 2050
Distance between bars(110 - 90) / 201 in price
Lower grid: buys at 90, sells at 9150 / 90 x 1 = 0.5556 gross profit0,5556
Fees for this grid0.1% of 50 + 0.1% of 50.560,1006
Net profit on the lowest grid0,5556 - 0,10060.455 (0.91% of 50)
Highest grid: buys at 109, sells at 11050 / 109 x 1 - Fees0.358 (0.72% of 50)

Rates eat from 18% to 22% of the gross profit of each cycle in this example. Now the cost of setting up: with the price at 100, the 10 grids above the price must have the asset purchased right at the start so that the bot can place the sales orders. That's half the capital, 500, and the rate of 0.1% on this is 0.50.

As the average profit per cycle is about 0.40, it is necessary 2 complete cycles to pay for the assembly and 3 cycles To also pay the exit fee, when you close the bot and sell what is left. Only after that the robot starts to profit from the oscillations, not to mention what happens to the price of the asset.

Warning: The profit from the bars is not the total result. If the price drops and falls below the range, the bot ends up loading the most expensive purchased asset, and the loss of value from that asset can be much greater than all the profit accumulated in the cycles.

The Golden Rule: Distance greater than two rates

Each cycle pays two fees, one on the purchase and the other on the sale. So, for the cycle to make a profit, the distance between the grids needs to be greater than about twice the rate per order. With 0.1% in order, the grids need to be more than 0.2% away. Test in the simulator the same example with a rate of 0.6%: all 20 bars are at a loss, because the distance of 0.9% to 1.1% does not cover the 1.2% of fees.

This account shows why the brokerage rate weighs so much on robots. On BingX, the standard spot rate starts at 0.1% for Maker and Taker, according to BingX Learn (16/01/2026). Compare with other brokers in our fee comparator and see the details in BingX fees.

Shortcuts to configure

2 x rateMinimum distance between bars
More barssmaller and more frequent cycles
Less barsBigger and rarer cycles
Out of rangeThe bot stops operating

How to choose track and number of grids

  • Narrow band: More cycles if the price stays lateral, but the greater chance of the price escaping. Combine with levels of support and resistance visible on the chart.
  • Wide range: The bot operates longer, but each grid is left with less capital or more distant, and the capital is stationary at the ends.
  • Many grids: Small profit per cycle, dangerously close to the cost of fees. Always check the simulator alert line.
  • Few grids: Higher profit per cycle, but the price needs to move more to complete each cycle.

There is no universal optimum configuration. What works in a side market loses money in a strong trend. Before using real money, make a backtest and watch out for the overfitting, which is to adjust the parameters for the past and wait for the future to repeat.

What the simulator does not consider

  • How many cycles will happen. That depends on the market, and no one knows beforehand.
  • Asset price variation. The gain or loss of the stock that the bot carries is out of the account.
  • Roundings and minimums of the brokerage. Brokers have a minimum order size and decimal places that change the result a little.
  • Slippage and partial orders. In pairs of low liquidity, the execution can be worse.
  • Futures grid. With leverage, funding and settlement risk come in. Vide funding rate e a settlement calculator.
Test the grid in practice, with little capitalBingX has Spot Grid with a standard rate of 0.1%. Start small and follow the cycles.Create Grid on BingX

If you want to go beyond the grid, the list of Trading robot strategies compares Grid, DCA and Martingale, and the guide of BingX robots Shows where each one is in the app.

Video: Introduction to the infinite grid

The video presents the grid variation without the maximum price, offered by BingX. The logic of profit per cycle and fees explained above is still valid.

Open your account and configure the first robotUse the simulator to choose the track and check the profit per grid on the bot screen before activating it.Open BingX account

Transparency: The Boletim Bitcoin can receive commission for registrations made through BingX's links, at no extra cost for you. That doesn't change what we write about risks and costs.

Trading robots do not guarantee profit. Crypto is volatile and you can lose some or all of the capital. This simulator is educational.

Frequently asked questions

How to calculate profit by grid of a grid bot?

Divide the capital by the number of grids, calculate how much of the asset this purchase installment in the purchase price, multiply by the distance to the top grid and discount the purchase and sale fee.

What is the difference between arithmetic and geometric grid?

In arithmetic, the distance between the grids is fixed in price, and the profit per cycle varies. In geometric, the distance is fixed in percentage, and the profit per cycle is the same in all grids.

How many grids should I use?

There is no right number. The distance between the grids needs to be greater than about twice the rate in order, otherwise each cycle is damaged. test in the simulator before.

What happens if the price leaves the lane?

The bot stops executing orders. If the price drops below the minimum, you keep the asset purchased; If it goes above the maximum, it is all in a quote coin and stops winning with the high.

Does the simulator predict how much I will profit?

No. It calculates the profit per cycle and the assembly cost. The actual result depends on how many cycles happen and the change in the price of the asset.

References

  1. BingX: How to Start Spot Grid (27/10/2022)
  2. Binance: Spot Grid parameters and profit formulas per grid (updated on 07/01/2026)
  3. BingX Learn: Trading fees (updated 1/16/2026)
  • grid bot
  • simulator
  • trading robot
  • BingX
  • fees
  • calculator

This content is informative and is not an investment recommendation. found an error? Write to contato@boletimbitcoin.com.

Read also

Start in crypto today

Open your free account, deposit with PIX and access Spot, Futures, Copy Trading and Trading Robots in one app.

  • Easy deposits
  • Copy trading
  • Grid and DCA bots
  • All-in-one app
Advertising. Crypto involves risk, invest responsibly.
Create free account