Free tool
Grid and martingale risk calculator
Every level of a grid or martingale basket: its lot, the margin it ties up, the floating loss, and the step and price where the broker closes everything.
Result
Stopped out at step 12
With 12 positions open the account reaches the 50 % stop-out level at 1.028: a move of 0.052 (25.9 steps) against the first entry.
- Positions
- 12
- Lots open
- 2.57
- Largest margin
- $2,728.88
- Worst floating
- −$982.00
| Step | Price | Lot | Total lots | Margin | Total margin | Floating | Equity | Margin level | Stop-out price |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 1.080 | 0.01 | 0.01 | $10.80 | $10.80 | $0.00 | $10,000.00 | 92,593 % | — |
| 2 | 1.078 | 0.02 | 0.03 | $21.56 | $32.36 | −$2.00 | $9,998.00 | 30,896 % | — |
| 3 | 1.076 | 0.02 | 0.05 | $21.52 | $53.88 | −$8.00 | $9,992.00 | 18,545 % | — |
| 4 | 1.074 | 0.03 | 0.08 | $32.22 | $86.10 | −$18.00 | $9,982.00 | 11,593 % | — |
| 5 | 1.072 | 0.05 | 0.13 | $53.60 | $139.70 | −$34.00 | $9,966.00 | 7,134 % | 0.311 |
| 6 | 1.070 | 0.08 | 0.21 | $85.60 | $225.30 | −$60.00 | $9,940.00 | 4,412 % | 0.602 |
| 7 | 1.068 | 0.11 | 0.32 | $117.48 | $342.78 | −$102.00 | $9,898.00 | 2,888 % | 0.764 |
| 8 | 1.066 | 0.17 | 0.49 | $181.22 | $524.00 | −$166.00 | $9,834.00 | 1,877 % | 0.871 |
| 9 | 1.064 | 0.26 | 0.75 | $276.64 | $800.64 | −$264.00 | $9,736.00 | 1,216 % | 0.940 |
| 10 | 1.062 | 0.38 | 1.13 | $403.56 | $1,204.20 | −$414.00 | $9,586.00 | 796 % | 0.982 |
| 11 | 1.060 | 0.58 | 1.71 | $614.80 | $1,819.00 | −$640.00 | $9,360.00 | 515 % | 1.011 |
| 12 | 1.058 | 0.86 | 2.57 | $909.88 | $2,728.88 | −$982.00 | $9,018.00 | 330 % | 1.028 |
How it is calculated
- The first position opens at the entry price. Each further position opens one step further against it (lower for a buy grid, higher for a sell grid), with the previous lot × the multiplier. A multiplier of 1 is a plain grid; above 1 it is a martingale.
- Floating loss at a step = the sum, over the open positions, of lot × contract size × the distance from its entry to the current price.
- The stop-out price is where equity (balance + floating) falls to the stop-out level × the margin in use. The calculator solves it between each pair of levels, so the stop-out step is the last level that opens before it.
- Before each new position, the free margin (equity − margin in use) must cover its margin; when it cannot, the platform refuses the order and the grid stops growing.
What the model assumes
- The symbol is quoted in the account currency (EURUSD, GBPUSD, XAUUSD or BTCUSD on a USD account): one lot moves by the contract size per 1.0 of price.
- Margin of a position = lot × contract size × open price ÷ leverage, fixed when it opens. Brokers that charge margin differently (fixed margin per lot, other currencies, hedged margin) give other numbers.
- No spread, commission or swap. Lots are rounded to the 0.01 volume step, never below 0.01.
- Everything is calculated in your browser; nothing you type is sent.
The table is arithmetic on your inputs, not a forecast: it shows how much adverse movement a basket can take, not how often that movement happens.