The margin formula
Position value = lots × contract size × price
Required margin = position value ÷ leverage
Both are shown in your account currency. With leverage of 1:100, a position needs 1% of its value as margin; with 1:500 it needs 0.2%.
Worked examples
- 1 lot EUR/USD at 1.1000, 1:100, USD account: position value 100,000 × 1.1000 = $110,000. Margin $110,000 ÷ 100 = $1,100.
- 0.50 lots of gold at 2,400.00, 1:100, USD account (an example price): position value 0.5 × 100 oz × $2,400 = $120,000. Margin $1,200.
Margin level, margin call and stop out
Your margin level is your equity divided by the margin in use, as a percentage. While it stays high you can open more trades; as losses reduce equity, it falls. Brokers send a margin call when it gets close to 100% and start closing positions at their stop out level.
Margin matters most for strategies that hold many positions at once, such as grid systems. Read how that plays out in our grid and martingale guide, and size each trade by risk with the position size calculator rather than by the margin you have free.