CustomTradingPlatform .com
Log in Get started free
Home / Trading Tools / Margin Calculator

Account & costs

Margin Calculator

Required margin for a position, and the effective leverage it puts on the account.

Inputs it asks for
Position size, lots value
Price value
Leverage 1 : value
Formula shown · assumptions disclosed

What it computes

Required margin for a position, and the effective leverage it puts on the account. The page states the equation, the units it expects and the rounding it applies, so the result can be reproduced by hand.

Where it sits in the chain

A calculator gives you a number. This one feeds the next: account to risk, risk to position size, position size to the trade, and the trade to expectancy, drawdown and risk of ruin.

See the performance tools →
Inputs
Result
Notional exposure $58,250
Margin required $1,942
Standard contract size of 100,000 units per lot, quote currency USD.
Save this result to your dashboard. Save

The formula

margin = (lots × contract size × price) ÷ leverage

Margin is the deposit the broker holds, not the risk. A position can be well within your margin and far outside your risk budget.

Worked example

One standard lot of EURUSD at 1.1650, on 30:1 leverage:

notional = 1 × 100,000 × 1.1650 = $116,500
margin = 116,500 ÷ 30 = $3,883

The margin is $3,883. The risk, on a 40-pip stop, is $400. These are unrelated numbers and confusing them is how accounts get over-leveraged.

What it assumes

  • Leverage caps vary by jurisdiction and instrument — 30:1 on majors in much of Europe and Australia, higher elsewhere.
  • Brokers raise margin requirements around news and weekends without notice.

Crypto margin, and the number that actually matters

Same division, different contract size — a crypto position is quoted in coins rather than lots, so notional is simply units times price.

0.5 BTC at $62,000 on 10x isolated margin
notional = 0.5 x 62,000 = $31,000
margin = 31,000 / 10 = $3,100

The figure crypto venues make prominent is the liquidation price, not the margin. On isolated margin at 10x, roughly a 10% adverse move liquidates the position — before funding and fees, which move it closer.

Margin is still not risk. $3,100 of margin on a position you would exit at a $400 loss is a $400 risk; conflating the two is how leveraged crypto accounts are sized by what the exchange permits rather than by what a loss costs.

Common questions

Is margin the same as risk?

No. Margin is what the broker holds to open the position; risk is what you lose if the stop is hit. They can differ by an order of magnitude.

What happens at a margin call?

The broker closes positions when equity falls below a maintenance level, usually 50% of margin. Sizing by risk rather than by margin keeps you well clear of it.

What is free margin?

Equity minus the margin currently held against open positions. It is what you have available to open more, and it falls as open positions move against you even though the margin requirement has not changed.

What to work out next

A calculator answers one question and raises the next. These are the ones this figure feeds into.

Leverage Calculator

Exposure relative to equity, and why an affordable margin can still be reckless risk.

Lot Size Calculator

Convert a position size into standard, mini and micro lots for your broker.

Position Size Calculator

Turn an account balance, a risk percentage and a stop distance into a size in lots, shares or contracts.

Margin Calculator · rounding shown to the precision displayed

More in account & costs

All 26 →
Leverage Calculator

Exposure relative to equity, and why an affordable margin can still be reckless risk.

Open →
Spread Calculator

The spread in currency terms, and as a percentage of the risk on the trade.

Open →
Swap Calculator

Overnight financing on a held position, per night and over the expected hold.

Open →

Quantify the trade, then keep the record.