Home / Learn / How Leverage and Margin Work in Trading
How leverage and margin work
Leverage lets a trader control a position larger than the money deposited. Margin is the deposit the broker holds to keep that position open.
Margin explained
When opening a leveraged position, the broker sets aside part of the account balance as margin. The margin rate is usually shown as a percentage of the position value.
| Margin rate | Leverage | Margin for a 10,000 position |
|---|---|---|
| 50% | 2:1 | 5,000 |
| 20% | 5:1 | 2,000 |
| 5% | 20:1 | 500 |
| 3.33% | 30:1 | 333 |
Leverage is simply the position value divided by the margin. A 5% margin rate is the same as 20:1 leverage.
Why leverage magnifies results
Profit and loss are calculated on the full position, not on the margin. With 20:1 leverage, a 1% move in the market changes the account by 20% of the margin used.
Free margin, margin level and margin calls
- Equity is the account balance plus or minus open profit and loss.
- Used margin is the total margin tied up in open positions.
- Free margin is equity minus used margin. It is what remains for new positions or for absorbing losses.
- Margin level is equity divided by used margin, as a percentage.
If losses push the margin level below the broker's threshold, the broker may issue a margin call and then close positions automatically. Thresholds vary by broker and region, so they are listed in each broker's terms.
Limits on retail leverage
Several regulators cap the leverage available to retail clients. In the UK and the European Union, for example, retail limits range from 30:1 on major currency pairs down to 2:1 on cryptocurrencies. Brokers in other regions may offer more, which also means more risk.
Using leverage carefully
- Size positions by the amount at risk, not by the maximum leverage available. See Risk management and position sizing.
- Keep enough free margin to survive normal price swings.
- Remember that gaps over weekends or news can move prices past a stop-loss.
A worked example: how far a move goes
Take an account of 2,000 and a position worth 10,000 in an index CFD. The table shows what a 1% and a 5% move in the index does to the account at different leverage levels, for a position of that size.
| Leverage | Margin used | 1% move | 5% move | 5% move as share of account |
|---|---|---|---|---|
| 2:1 | 5,000 (more than the account) | ±100 | ±500 | not possible with 2,000 |
| 5:1 | 2,000 | ±100 | ±500 | 25% |
| 20:1 | 500 | ±100 | ±500 | 25% |
The profit or loss is the same 500 at every leverage level, because it depends on the position size, not the margin. What leverage changes is how large a position the account allows. A trader with 2,000 at 20:1 could open a position worth 40,000, where a 5% move is 2,000: the whole account.
Margin calls and close-outs
Brokers watch the margin level: account equity divided by margin used. If losses push it below a set level, the broker warns (a margin call) and, below a lower level, closes positions automatically, starting with the largest loss. For retail clients in the UK and the EU, positions must be closed when equity falls to 50% of the margin required.
Common mistakes
- Using all the available leverage. The maximum leverage is a limit, not a target. Most of the risk comes from position size.
- Forgetting that margin changes. Brokers can raise margin requirements before big events or in volatile markets, which can trigger close-outs.
- Adding to a losing position. Adding more exposure to a position that is already losing uses more margin and brings a close-out closer.
Try it on Intraday Markets
Use the live charts to see how much an index or currency typically moves in a day, then size positions so that a normal day's move is a small share of the account. Our risk management guide shows the calculation.
Frequently asked questions
What does 30:1 leverage mean?
A position can be up to 30 times the margin. 30:1 is the most a retail client may use on major currency pairs in the UK and EU; other markets have lower limits.
Is higher leverage more profitable?
No. Profit and loss depend on position size. Higher leverage only allows larger positions, and with them larger losses.
Leverage limits around the world
Regulators set different ceilings for retail traders. In the UK and the European Union the maximum is 30:1 on major currency pairs, 20:1 on major stock indices, gold and minor currency pairs, 10:1 on other commodities, 5:1 on individual shares and 2:1 on cryptocurrencies. Australia applies similar limits. In the United States, retail forex leverage is capped at 50:1 on major pairs and CFDs are not offered to retail clients at all; stock margin accounts usually allow 2:1 overnight and up to 4:1 within the day for pattern day traders. Brokers registered in places with looser rules may offer 500:1 or more, which removes most of the protection the limits were designed to give.
Margin level, margin calls and stop-outs in practice
Most platforms show a margin level: the account's equity divided by the margin in use, as a percentage. With 5,000 of equity and 2,500 of margin used, the margin level is 200%. As losses grow, equity falls and so does the margin level. Many brokers send a margin call warning at 100% and begin closing positions, largest loss first, at a stop-out level such as 50%. Closing happens at the next available price, which in a fast market can be worse than expected, so the real loss can be larger than the level suggests.
The practical lesson is to keep plenty of free margin: using only a small share of the account as margin means ordinary price swings cannot trigger a forced close.
Questions to ask before using leverage
- How much of my account am I willing to lose on this trade, in money, not percent?
- Where will my stop-loss be, and what happens if the price jumps past it?
- How much free margin will remain if the trade moves against me before it reaches the stop?
Worked example: the same move at three leverage levels
You have a $5,000 account and the market you trade moves 2% against you. Here is what that move does at different position sizes.
- No leverage: a $5,000 position loses $100, or 2% of the account.
- 5:1 leverage: a $25,000 position loses $500, or 10% of the account.
- 30:1 leverage: a $150,000 position loses $3,000, or 60% of the account. A slightly bigger move would trigger a margin call or close the position automatically.
The market moved the same amount in each case. Leverage multiplies the effect of every move on your account, in both directions. That is why regulators in the UK, the EU and Australia cap retail leverage, and why experienced traders size positions by how much they would lose at their stop-loss rather than by how much margin the broker allows.
How a margin call happens
Suppose the broker requires 3.33% margin (30:1) and closes positions when your equity falls to 50% of the margin used. On a $150,000 position the margin is $5,000. If losses bring your equity down to $2,500, the broker starts closing positions, usually the biggest loser first, at whatever price is available. In a fast market that price can be worse than expected. Negative balance protection, required for retail clients in the UK and EU, stops the account going below zero, but it does not protect the money already lost.
Questions beginners ask
Is leverage the same as borrowing? In effect, yes. With margin trading the broker lends you the rest of the position's value, and you usually pay interest or a financing charge for holding it overnight.
What leverage should I use? There is no single answer, but a common rule is to risk only 1% to 2% of the account on any trade. Work back from that: the stop distance and the risk you accept decide the size, and the leverage follows.
Why do I need less margin for some markets? Regulators set lower leverage limits for more volatile markets: higher for major currency pairs, lower for shares and lowest for crypto.
Key points
- Margin is a deposit; leverage is position value divided by margin.
- Profit and loss are calculated on the full position.
- Falling below the margin requirement can trigger an automatic close-out.