Margin Calculator

Calculate trading margin for forex, stocks, or futures from position size and leverage.
Returns initial margin, maintenance margin, and margin call price.

Your data stays in your browser. We do not store, collect, or transmit any information you enter.
$
$
Changes the symbol only. No exchange-rate conversion is applied.
Margin Required

Margin trading lets a trader control a position larger than their account balance by borrowing from a broker. It amplifies gains and losses by exactly the same factor, which is why the margin requirement is the first number to work out, not the last.

Key formulas: Margin Required = Position Size / Leverage Leverage = Position Size / Margin Required Margin Level % = (Equity / Used Margin) × 100 Profit/Loss = (Exit Price − Entry Price) × Position Size Return on Margin = Profit / Margin Required × 100

What each variable means:

  • Position Size: total notional value of the trade (e.g., $100,000 in forex = 1 standard lot)
  • Leverage: ratio of position size to margin (e.g., 50:1 means you control $50 for every $1 deposited)
  • Margin Required: the collateral you must deposit to open the position
  • Equity: account balance + unrealized profit/loss
  • Margin Level %: broker monitors this; typically a margin call triggers below 100%, stop-out below 50%

Worked example: A forex trader wants to buy 1 standard lot (100,000 units) of EUR/USD at 1.1050. Broker offers 100:1 leverage.

Margin Required = $110,500 / 100 = $1,105 The trader only needs $1,105 to control a $110,500 position.

Price moves +50 pips (0.0050): Profit = 0.0050 × 100,000 = $500 Return on Margin = $500 / $1,105 = 45.2% on a 0.45% price move!

But if price drops 100 pips: Loss = $1,000, nearly wiping out the entire margin.

Margin level, and why it is not the same as maintenance margin

These two get confused constantly, and they are different quantities.

Margin Level % = (Equity ÷ Used Margin) × 100

Used margin is what the position ties up: $1,105 in the example above. Equity is your balance plus any unrealized profit or loss. If you funded the account with $2,000 and are down $300, equity is $1,700 and the margin level is 1,700 ÷ 1,105 = 154%.

Brokers act on the level, not on a dollar figure. A typical forex broker warns at 100% and force-closes at 50%. Stock brokers work differently: US Regulation T sets initial margin at 50% of the position and maintenance at 25% of it, so there the maintenance requirement really is half the initial one.

The practical consequence: how much room you have depends on how much you deposited, not just on the leverage. Fund an account with exactly the required margin and you are at 100% margin level before the trade has moved a single pip. Fund it with three times that and you can absorb a real move. The calculator below asks for your equity so it can work out the actual margin call price rather than guessing.

Risk reference:

  • Retail forex in the US: max 50:1 (major pairs), 20:1 (minors)
  • EU (ESMA): max 30:1 (major forex), 5:1 (crypto)
  • Futures: margin is called initial margin (typically 3-12% of contract value)

Margin call happens when the margin level falls to the broker’s warning threshold, and you either deposit more or the position gets closed for you. Use stop-loss orders so that decision is yours and not the broker’s.


How we build and check this calculator

This calculator runs entirely in your browser, so the numbers you enter stay on your device. The math behind it is written by hand and tested against worked examples and standard references before the page goes live.

SuperGlobalCalculator is independently built and maintained. See how we build and verify our calculators.


Embed This Calculator

Copy the code below and paste it into your website or blog.
The calculator will work directly on your page.