Margin and leverage calculator
Required margin, effective leverage, margin level and the largest position your equity allows.
Example inputs, not market prices: change them to your trade.
Result
How it is computed
Margin = Volume × Contract size × Price ÷ Leverage
The margin is the share of the position value your broker locks. With your equity, the calculator also gives the effective leverage, the margin level and the largest position you can open at that leverage.
Worked example
Inputs
- Instrument
- EURUSD
- Account currency
- USD
- Volume (lots, contracts or shares)
- 1
- Price
- 1.1
- Leverage (1:N)
- 30
- Account equity
- 10,000
Result
Required margin
$3,666.67
- Position value
- $110,000.00
- Margin rate
- 3.33%
- Effective leverage
- 11×
Computed on the server by the same code as the form above (calculator table 2026-10-04.1).
Questions
What is the margin level?
Equity divided by the margin in use, in percent. Brokers close positions when it falls below their stop out level.
What is effective leverage?
Position value divided by equity. A 1:30 account can hold a position at 3× effective leverage: what matters for risk is the effective figure.
How do I compute futures margin?
Futures margins are set per contract by the exchange or the broker: enter it in “Margin per lot or contract”.
Related calculators
All toolsPosition size calculator
Lots, contracts or shares for a given risk and stop, on forex, indices, metals, crypto, shares and futures.
Pip value calculator
What one pip, tick or point is worth in your account currency.
Swap and overnight financing calculator
Cost or credit of holding a position overnight, triple rollover included.
Lot size converter
Standard, mini, micro and nano lots and units of the underlying.
Tools traders use
Charting, journals, backtesting and servers. Listed alphabetically; we may be paid when you sign up through these links.
A calculation, not a forecast. Not investment advice.