Free calculator

Grid bot profit calculator

See what a grid bot earns per completed grid after fees, how wide each step is and how much capital and margin the grid needs, before you start it.

$
$
$
%
x

Profit per grid

0.68% to 0.82%

In dollars
$0.6848 to $0.8187
Grid step
$500
Capital
$2,000
Margin at 3x
$666.67
Per completed buy and sell, highest grid to lowest. Excludes funding and the position's own gain or loss.

How grid profit is calculated

A grid bot splits your range into evenly spaced levels. It buys at a level and sells one step higher, over and over while price moves sideways. With order size S, step d and fee f, a grid that buys at price p earns:

Step d = (Upper − Lower) ÷ Grids
Profit = (S ÷ p) × d − f × S − f × S × (p + d) ÷ p

The same step is a bigger share of a lower price, so the bottom grid earns the most and the top grid the least. Read how to pick a range in the grid bot guide, or plan a dip-buying ladder with the DCA bot calculator.

FAQ

Grid bot profit questions

How is grid bot profit calculated?

A grid bot earns each time price rises one grid step after a buy: it sells the units it bought one level higher. Profit per grid is the step times the units bought, minus the fee on both fills. More completed grids means more profit.

How many grids should I use?

More grids mean smaller steps, so the bot trades more often but earns less per trade. The step must stay well above twice your fee, or the grid loses money on every round trip. This calculator warns you when it does.

How much capital does a grid bot need?

About the number of grids times the order size. On perp DEXs leverage lowers the margin needed, but it also raises liquidation risk if price leaves the range.

What happens if price leaves the range?

The grid stops trading. Below the range a long-leaning grid holds the units it bought at a loss; above it, it has sold everything and waits. You can set the Coinner grid bot to close and stop when price leaves the range.

Is a grid bot profitable?

It profits when price swings up and down inside the range and loses when price trends out of it. The profit per grid here is before any loss on the position itself, so pick a range that matches how the market is moving.

More calculators

Other free trading calculators