Margin and free margin calculator
Estimate a new position’s margin, free margin and margin level after including margin already used by other positions.
Start with an example
Assumed EUR/USD 1.1000 and USD/PLN 4, a 0.12-lot position and leverage 1:30. New margin is 1,760 PLN. With 500 PLN of existing margin and equity of 10,000 PLN, free margin is 7,740 PLN.
Work through the calculations
Pip value → position size → margin → portfolio risk. Transfer with a button and confirm before applying on the next page.
Data from the previous step
A draft remains usable for 30 minutes and is stored in this browser session on this domain. We do not send it to the server or put amounts in the URL. A browser may retain a restored tab session; use “Clear calculation draft” to remove the data.
How the result is calculated
Notional = lots × contract size × price, converted from quote currency to account currency. New margin = notional / leverage. Total margin = existing margin + new margin. Free margin = equity − total margin. Margin level = equity / total margin × 100%.
Worked example
Hypothetical example: 0.12 lot × 100,000 EUR × 1.1000 USD/EUR = 13,200 USD notional. At 1:30, margin is 440 USD. Equity of 10,000 USD with no other positions gives free margin of 9,560 USD and a margin level of approximately 2,272.73%.
Specifications and conventions: MetaQuotes: margin calculation · MetaQuotes: account properties
← Return to the article exerciseInputs before results
Where do I find this calculator’s inputs?
Gather the instrument specification, account settings and your own assumptions. Do not treat default values as your broker’s settings.
Conclusion: 10,000 USD balance and 9,800 USD equity are not interchangeable. Subtract new margin from the 8,800 USD free margin; this diagram excludes fees on the new order.
Contract and volume specification
Open the specification for the exact symbol and account type you will use. In MT5: Market Watch → symbol context menu → Specification. Read the contract size per 1 lot and the minimum, maximum and volume step.
100,000 base-currency units per lot is our example assumption. A position of 0.10 lot then represents 10,000 units. A 0.01 step does not establish the minimum or maximum; check all three settings.
Return to the form ↑Price in quote currency
Read the instrument price from the appropriate order estimate or use an explicit scenario. EUR/USD at 1.1000 means 1.1000 USD per 1 EUR. It is not the rate converting USD into account currency.
Use the price for the appropriate side of the planned order. The calculator uses an assumed linear-contract model; the platform’s official margin estimate takes precedence when instrument terms differ.
Return to the form ↑Currency and conversion direction
Read account currency from account settings and quote currency from the pair: it is USD in EUR/USD. The conversion rate must connect the amount’s currency and account currency; also record the time and source of the quote.
Fictional 1 USD = 4 PLN: direct rate 4 converts 10 USD × 4 to 40 PLN. The same inverse quote is 1 PLN = 0.25 USD; 10 USD / 0.25 = 40 PLN. Enter 1 for identical currencies. Changing the currency label neither retrieves a rate nor converts the amounts you entered.
Return to the form ↑Balance, equity and used margin
Read current account amounts in the same currency. Balance, equity including open P/L, and free margin describe different quantities.
For the loss budget, deliberately choose balance or equity and keep that definition throughout the plan. In the margin calculator, enter current equity and margin already used by other positions. Do not substitute free margin for equity or count the new position’s margin twice.
Return to the form ↑Leverage for this instrument
Check margin terms for the chosen instrument, volume and account. In a 1:x field enter the denominator, such as 30 for 1:30. It is an input assumption, rather than a statement of your local leverage limit.
The model uses one fixed leverage factor. If your platform applies exposure tiers, fixed margin or different treatment for hedged positions, compare with its order estimate. MetaQuotes OrderCalcMargin returns an account-currency amount without existing positions or orders. Margin does not define the maximum loss.
Return to the form ↑Check field meanings in the platform documentation: MetaQuotes: symbol properties · MetaQuotes: order margin estimate · MetaQuotes: account amounts