Skip to content
Economicium Free tools for markets and money.

Margin & Leverage Calculator

How much of your own capital a leveraged position ties up, the notional it controls, and the effective leverage you are really running, the number that decides how hard a price move lands.

By , founder and editor Updated

Notional value
Required margin
Effective leverage
Margin / equity

What margin is

Margin is the good-faith deposit a broker locks up while a leveraged position is open. It is not a fee, and it is not the most you can lose. Leverage is what lets a small deposit control a much larger position: at 1:30, $1 of margin backs $30 of exposure. Required margin is that exposure divided by the leverage, and the broker releases it the moment you close the trade. The figure most traders are after is how much of the account a position ties up and how much exposure that buys, which is what this calculator returns from the instrument, lot size and leverage you enter.

The formula

notional = contract size × lots × price
required margin = notional ÷ leverage
effective leverage = notional ÷ account equity

Notional is the full face value of what you control. One standard lot of EUR/USD at 1.09 is 100,000 × 1.09 = $109,000 of exposure. At 1:30 leverage the broker asks you to post 109,000 ÷ 30 ≈ $3,633 as margin, and returns it when you close. The notional is denominated in the quote currency; we convert margin to your account currency using daily ECB reference rates, so it reads in the units you actually fund the account in.

Effective leverage is the number that matters. Post that $3,633 margin from a $10,000 account and your effective leverage is 109,000 ÷ 10,000 ≈ 11x, even though the account is capped at 30x. An 11x position loses 11% of your equity for every 1% the price moves against you. The headline leverage sets a ceiling; the effective figure is what you are actually risking, and it is entirely your choice within that ceiling.

The same maths across forex, crypto, CFDs and futures

Required margin works the same way on every leveraged market; only the contract size and the leverage cap change. A standard forex lot is 100,000 units of the base currency, so the margin scales with the pair's price. A crypto position's notional is just quantity times price, and exchange leverage runs far higher than regulated forex, which is why liquidations arrive fast, so check the level on the liquidation price calculator. Share and index CFDs use the contract size the broker sets and often quote a flat percentage margin (5% is 1:20) rather than a round leverage number. Commodities and futures post an exchange-set initial margin per contract instead of a simple divide. Pick the instrument here and the contract size is pre-filled; edit it to match your own broker's schedule.

Using it to stay solvent

Margin is where leverage stops being abstract. The lower your effective leverage, the more room the position has to move against you before a margin call force-closes it. Traders who blow up rarely do so because their analysis was wrong once; they do so because effective leverage was so high that ordinary noise triggered liquidation before the thesis could play out. Size the trade with the position size calculator, confirm the pip math with the pip value calculator, and use this page to check that the resulting effective leverage leaves you a survivable buffer.

The honest limits

The arithmetic is exact, but your broker's margin schedule is the final word. Regulated retail brokers cap leverage (commonly 1:30 on major forex, less on volatile pairs), while offshore and crypto venues go much higher. Many use tiered margin, where larger positions require a higher margin percentage, so a big trade can tie up proportionally more than a flat divide suggests. Required margin is also not the same as maintenance margin, the lower level your equity must stay above to avoid liquidation, and some brokers raise margin overnight or over the weekend. Treat the figure here as the baseline your broker builds on, and read effective leverage, not the headline cap, as your real risk.

Frequently asked questions

Is margin a cost or a deposit?
A deposit, not a fee. Margin is the slice of your own capital the broker sets aside as collateral while a leveraged position is open; you get it back when you close. It is not money paid to anyone. What leverage does is let a small margin control a much larger notional position, which magnifies both gains and losses on your actual capital.
What is the difference between leverage and effective leverage?
Leverage (like 1:30) is the maximum the broker allows and sets the minimum margin. Effective leverage is what you are actually using: total position notional divided by your account equity. You can trade at 1:2 effective leverage inside a 1:30 account by using only a fraction of the available margin. Effective leverage, not the headline number, is what determines how a price move hits your account.
Why do regulated brokers cap leverage at 1:30?
Regulators in the EU, UK and Australia cap retail forex leverage (commonly 1:30 on majors, lower on volatile instruments) precisely because high effective leverage is how retail accounts blow up. Offshore brokers advertise 1:500 or more; the maths of a margin call arrives far sooner there. This calculator shows the margin at whatever leverage you enter so you can see the trade-off directly.
How does a margin call happen?
As a position moves against you, your equity falls while the required margin stays roughly fixed, so your margin level (equity divided by used margin) drops. Cross a broker threshold (often 100% for a warning, 50% for liquidation) and positions are force-closed. Lower effective leverage leaves more buffer before that happens; this tool shows how much notional a given margin controls so you can plan that buffer.
How do I calculate required margin?
Required margin = position notional ÷ leverage, where notional = contract size × lots × price. One standard lot of EUR/USD at 1.09 is a $109,000 notional; at 1:30 that needs 109,000 ÷ 30 ≈ $3,633 of margin. If your account is funded in a different currency, convert the result at the current rate. Enter the instrument, lot size, price and leverage above and the calculator does both steps, and the currency conversion, for you.
Is this a gross or profit margin calculator?
No. This works out trading margin: the deposit that a leveraged forex, crypto, CFD or futures position ties up. It has nothing to do with business profit margin, the (revenue minus cost) ÷ revenue figure a shop or seller uses to price goods. If you are pricing a product rather than sizing a trade, you want a gross-margin tool, not this one.
How much margin do I need for crypto or a CFD?
Take the position notional (quantity × price for crypto, contract size × lots × price for a CFD) and divide by the leverage the venue gives you. Crypto exchanges often allow very high leverage, which shrinks the margin but pulls the liquidation price close to your entry; a share CFD at 5% margin is running 1:20. Select the instrument here to pre-fill a typical contract size, then set the leverage your broker actually offers.

Method and limitations

Pure arithmetic on your inputs; margin is converted to your account currency using daily ECB reference rates baked into the site. Nothing is fetched during your visit and nothing you type leaves your browser. Contract sizes are pre-filled with common conventions and editable, and some brokers compute margin on tiered or instrument-specific rules rather than a flat divide, your broker's margin schedule is the authority. This is an information tool, not trading advice.

Data sources

This tool runs entirely in your browser. Nothing you enter is sent to us or stored.

For general information and education only. This is not financial advice and not a recommendation to buy or sell anything. This tool is provided as is, with no warranty of accuracy: like any software it can contain errors, so always verify figures against your broker or the original source before acting on them. Trading and investing carry risk, including the risk of losing more than your initial outlay.

Spotted an error? Email [email protected] and it will be corrected. Maintained by Joey van Diest.