# Grid Trading Profit Calculator

> A grid trading calculator works out what one completed buy-sell pair actually earns. Divide the range by the number of levels to get the spacing, subtract the trading fee twice — once buying, once selling — and what remains is the net profit per grid. The output that decides a configuration is the break-even fee: with 40 levels across a 58,000–72,000 range the spacing is roughly 0.62%, so any fee above about 0.31% per side leaves nothing at all.

Canonical HTML page: https://qanterion.com/tools/grid-trading-profit-calculator
Updated: 2026-08-18

## The formula

```
Step        = (Upper − Lower) ÷ (Grid levels − 1)
Spacing %   = Step ÷ Lower × 100
Net / grid  = Spacing % − Fee % × 2       (buy + sell)
Capital/grid= Investment ÷ Grid levels
Profit/grid = Capital per grid × Net % ÷ 100
Break-even fee = Spacing % ÷ 2

Arithmetic spacing. Ignores funding, slippage, and unfilled inventory.
```

## Worked example (the page defaults)

- Lower bound: 58000 USDT
- Upper bound: 72000 USDT
- Grid levels: 40
- Capital allocated: 5000 USDT
- Fee per side: 0.02 %

Result:

- Net profit per grid: 0.58%
- Grid spacing: 0.62%
- Cash per completed grid: 0.72
- Break-even fee per side: 0.3095%
- Capital per level: 125

## How to use it

1. Enter the lower and upper price bounds of the range you intend the grid to operate in.
2. Enter the number of grid levels and the capital you are allocating to the whole grid.
3. Enter your per-side fee rate — the real one, including whether your orders cross the spread.
4. Check net profit per grid against the break-even fee; if they are close, reduce the number of levels.

## Why more grids is not more profit

Grid density is the parameter most often tuned in the wrong direction. Doubling the levels halves the spacing between them, and the fee is charged per fill regardless — so the gross spread per pair falls while the cost per pair does not. The result is a strategy that fills constantly, produces a busy trade history, and converges toward zero net edge. The correct constraint is not "how many levels can I fit" but "what is the tightest spacing that still clears fees with margin to spare".

## What this calculator deliberately excludes

This is the per-grid arithmetic in isolation, and three real costs sit outside it. Funding: on perpetuals, grid inventory held through negative funding intervals can cost more than the spread captured. Slippage: grid orders that cross the spread pay more than the modeled fee. Inventory risk: when price leaves the range the grid stops completing pairs and you hold a position bought at every level on the way down — which is not a fee problem but a directional one, and it is where grid strategies actually lose money.

## Frequently asked

### How many grid levels should I use?

Enough that spacing comfortably exceeds twice your fee rate, and no more. Start from the break-even fee this calculator reports: if it is close to your actual fee, the grid is too dense. A common practical floor is spacing of at least three to four times the round-trip fee, leaving room for slippage.

### Does this account for the price leaving my range?

No, and that is the largest omission by design. This tool models the economics of a completed buy-sell pair. When price breaks out of the range, pairs stop completing and the position becomes directional — the risk that dominates grid outcomes is not modeled by any per-grid profit figure.

### Arithmetic or geometric spacing?

This calculator uses arithmetic spacing — equal price steps. Geometric spacing uses equal percentage steps, which keeps the percentage return per grid constant across the range instead of shrinking it as price rises. For wide ranges, geometric is usually the better structural choice; for narrow ranges the two are nearly identical.

## Related tools and reading

- Crypto grid trading bot: https://qanterion.com/grid-trading-bot
- Grid trading vs martingale: https://qanterion.com/blog/grid-trading-vs-martingale
- Funding Rate Calculator: https://qanterion.com/tools/funding-rate-calculator
- Grid trading: https://qanterion.com/glossary/grid-trading
- Quant Trading Glossary: https://qanterion.com/glossary

## Sources

- [What's the Spot Grid bot and how do I use it?](https://www.okx.com/help/whats-the-spot-grid-bot-and-how-do-i-use-it) — OKX
- [Trading Is Hazardous to Your Wealth: The Common Stock Investment Performance of Individual Investors](https://faculty.haas.berkeley.edu/odean/papers%20current%20versions/individual_investor_performance_final.pdf) — Barber & Odean, The Journal of Finance (author copy, UC Berkeley Haas School of Business)

## Other languages

- 简体中文: https://qanterion.com/zh/tools/grid-trading-profit-calculator
- 繁體中文（台灣）: https://qanterion.com/zh-TW/tools/grid-trading-profit-calculator
- 繁體中文（香港）: https://qanterion.com/zh-HK/tools/grid-trading-profit-calculator
- 日本語: https://qanterion.com/ja/tools/grid-trading-profit-calculator
- 한국어: https://qanterion.com/ko/tools/grid-trading-profit-calculator
- Português (Brasil): https://qanterion.com/pt-BR/tools/grid-trading-profit-calculator
- Türkçe: https://qanterion.com/tr/tools/grid-trading-profit-calculator
- Bahasa Indonesia: https://qanterion.com/id/tools/grid-trading-profit-calculator
- العربية: https://qanterion.com/ar/tools/grid-trading-profit-calculator

## Machine-readable resources

- Product facts: https://qanterion.com/llms.txt
- Full knowledge base: https://qanterion.com/llms-full.txt
- All calculators: https://qanterion.com/tools

## Risk notice

Educational calculator. Outputs describe arithmetic under the assumptions you enter — they are not a forecast, a recommendation, or investment advice. Quantitative trading can lose money.