Margin Calculator
Shows the margin a broker holds back to open a leveraged position of the size you choose.
Calculator
- Position value
- $110,000.00
- Margin as a share of the position
- 3.3333%
This is an estimate from the numbers above, not a quote. How it works
What Does The Margin Calculator Do?
The calculator shows the margin a broker holds back to open a leveraged position of the size you choose. It gives three figures: the margin needed, the value of the position, and the margin as a share of that value.
Who this is for: traders who want to check a platform's margin figure by hand before opening a position.
Margin is money set aside to cover an open position. It is a deposit held against the position and not a cost. The position value is what you control, and the margin is the part you put up. The gap between the two is the leverage.
The calculator reads no prices and no broker data. Price, rate and leverage are inputs. It shows results in the account currency you pick: £, € or $. The sums on this page use pounds.
What Does A 0.45-Lot Position Hold Back, And When Is It Closed Out?
A £1,600 deposit buying 0.45 lot of EUR/GBP at 30:1 holds back £1,305.00 and leaves £295.00 free. The price of 0.8700 is illustrative.
The position is 0.45 × 100,000 × 0.8700 = £39,150.00 (case 3 below), and the margin is £39,150.00 ÷ 30 = £1,305.00. One pip on 0.45 lot is £4.50.
For the loss case, retail rules in the UK and EU close positions when funds fall to 50% of the margin required. The sources are the 2018 measures of the European Securities and Markets Authority (ESMA) and COBS 22.5 of the Financial Conduct Authority (FCA).
Half of £1,305.00 is £652.50. Close-out therefore comes after a loss of £1,600 − £652.50 = £947.50. That is 947.50 ÷ 39,150 = 2.42% of the position, or 947.50 ÷ 4.50 = about 211 pips. The calculator does not compute this step, which comes from the close-out rule in the sources.
A smaller fall already hurts. A 90-pip drop loses 90 × £4.50 = £405.00, and a 1.2-pip spread adds £5.40, which makes the loss £410.40. Equity is then £1,189.60, which is 91.2% of the margin held (1,189.60 ÷ 1,305).
Change one input and the margin moves. At an illustrative 100:1 the same position needs £391.50, and the loss per pip is still £4.50. Higher leverage lowers the margin held and not the loss. It lets the same £1,305.00 of margin hold a £130,500 position, where one pip is £15.00 (1.5 lots × £10.00). The bigger position is what multiplies a loss.
This account holds 81.6% of its deposit as margin (1,305 ÷ 1,600), which leaves little room for the market to move. In March 2018 ESMA reported national regulators' analyses across EU jurisdictions: 74-89% of retail contract for difference (CFD) accounts typically lose money.
What Is The Formula?
Position value = lots × contract size × price × quote-to-account rate
Margin = position value ÷ leverage
Margin share = 100 ÷ leverage, as a percentage of the position
- Lots is your position size. A standard lot is 100,000 units of the base currency by default.
- Price is the current price of the instrument in its quote currency.
- Quote-to-account rate is how many units of your account currency one unit of the quote currency buys. Enter 1 when the quote currency is your account currency.
- Leverage is the position size divided by the margin. At 30:1 the margin is one thirtieth of the position, which is 3.3333%.
MetaQuotes gives the same shape for retail forex: margin equals volume in lots × contract size ÷ leverage. For retail clients in the UK, the FCA Handbook sets a minimum margin of 3.33% for major currency pairs in COBS 22.5.11R, which is 30:1. ESMA's 2018 measures use the same 30:1 limit for major pairs. The margin requirement entry defines the term.
What Does The Calculator Assume?
The page prints three assumptions, and this explainer repeats them without change.
- Margin = lots x contract size x price x quote-to-account rate, divided by leverage.
- Real brokers may use different margin rules per instrument, and may close positions as margin runs low. This is a plain estimate.
- Price, rate and leverage are inputs, not data from any broker.
The defaults are 1 lot, a contract size of 100,000, a price of 1.1, a rate of 1 and leverage of 30. They are illustrations.
Lots accept 0.01 to 1,000 in steps of 0.01, and contract size accepts 1 to 10,000,000 units. Price and rate accept 0.00001 to 10,000,000 and 0.00001 to 100,000. Leverage accepts 1 to 1,000 in steps of 1. Your broker and your country set the maximum you may use, and the calculator does not check it.
Which Test Cases Can You Redo By Hand?
Enter these inputs and compare. Each result is multiplication and one division, and amounts are rounded to two decimals for display.
| Case | Lots | Price | Rate | Leverage | Position value | Margin needed | Margin share |
|---|---|---|---|---|---|---|---|
| 1. Defaults | 1 | 1.1 | 1 | 30 | 110,000.00 | 3,666.67 | 3.3333% |
| 2. EUR/USD, pound account, one dollar buys 0.79 pounds | 0.4 | 1.1 | 0.79 | 30 | 34,760.00 | 1,158.67 | 3.3333% |
| 3. EUR/GBP, pound account | 0.45 | 0.87 | 1 | 30 | 39,150.00 | 1,305.00 | 3.3333% |
| 4. Case 3 at 20:1 | 0.45 | 0.87 | 1 | 20 | 39,150.00 | 1,957.50 | 5% |
| 5. Case 3 at 100:1 | 0.45 | 0.87 | 1 | 100 | 39,150.00 | 391.50 | 1% |
| 6. Defaults at 1:1 | 1 | 1.1 | 1 | 1 | 110,000.00 | 110,000.00 | 100% |
To redo case 2: 0.4 × 100,000 × 1.1 × 0.79 = 34,760, and 34,760 ÷ 30 = 1,158.67. Case 6 shows the point of the formula: with no leverage the margin equals the whole position.
What Does The Calculator Not Cover?
- Margin level, free margin and equity. It does not track your account as prices move, which the margin guide explains.
- The close-out level and the order in which a broker closes positions, covered in the margin calls and stop-outs guide.
- Margin rules that differ by instrument, by client category or by position size. Some brokers also change margin around news or weekends.
- Hedged or netted positions, where margin may be calculated differently.
- Spread, commission, swap and conversion costs.
- Live prices and rates. Enter the current ones.
A low margin is not a sign of low risk, because the loss is set by the position value and not by the margin.
How Can You Check The Result At Your Broker?
Read the broker's contract specification for the instrument: contract size, margin rate and the leverage limit for your client category. Open a small demo order and compare the margin the platform shows with this page. A difference usually comes from the rate, the price or a margin rule specific to the instrument. Ask the broker for its margin policy in writing.
Sources
- MetaTrader 5 Help: Margin Calculation, Retail Forex, Futures (opens in a new tab), read on 2026-11-02. Supports: Forex margin = volume in lots x contract size / leverage.
- FCA Policy Statement PS19/18, instrument FCA 2019/78 (COBS 22.5, in force 1 August 2019) (opens in a new tab), read on 2026-11-08. Supports: COBS 22.5.11R minimum margin of 3.33% for a major currency pair, equal to 30:1; COBS 22.5.13R close-out when net equity falls below 50% of the margin requirement.
- ESMA press release ESMA71-98-128, 27 March 2018 (opens in a new tab), read on 2026-11-02. Supports: 30:1 leverage limit for major currency pairs; margin close-out at 50% of the minimum required margin; national regulators' analyses showed 74-89% of retail CFD accounts typically lose money.
Frequently Asked Questions
Is Margin A Fee?
No. Margin is a deposit held against an open position. You get it back when the position closes, adjusted for the profit or loss on the trade. Spread, commission and swap are the costs.
What Leverage Can Retail Clients Use?
ESMA's 2018 measures capped leverage for retail clients at 30:1 on major currency pairs. They were temporary, and national measures replaced them. The FCA's COBS 22.5.11R sets a 3.33% minimum margin for them, which is the same limit. Other instruments have lower caps, and your broker may offer less than the cap.
Why Does The Calculator Show A Margin Share?
The share is 100 divided by the leverage. It shows how much of the position you put up: 100 ÷ 30 = 3.33% at 30:1, 100 ÷ 20 = 5% at 20:1 and 100 ÷ 100 = 1% at 100:1.