Margin
Margin is the part of your capital that the broker sets aside while a leveraged position is open. It acts as collateral and is released when you close, plus or minus the result.
How to calculate it
Required margin = position value ÷ leverage
Example
Opening 0.5 lot of EUR/USD (worth €50,000) with 1:30 leverage requires a margin of about €1,667.
Why it matters
If unrealised losses push your available capital below a certain level, the broker can issue a margin call, then close your positions automatically.
Not to be confused with
Margin is neither a loss nor a fee: it is collateral. Free margin is what remains available to open other positions or absorb losses.