Home โ€บ Trading Tools โ€บ Margin Calculator

Margin Calculator

i What this calculator does

A margin calculator works out exactly how much of your account balance is required as a deposit to open a specific position, based on your chosen leverage ratio, position size, and the instrument's price. Enter your trade details and the tool returns the Rand (or account-currency) amount that will be reserved as margin the moment you open the position.

This is different from a position size calculator, which works backward from your risk tolerance a margin calculator instead confirms whether your available capital is sufficient for a trade you've already sized.

๐Ÿงฎ
Margin Calculator
Enter your trade details below

This calculator is for educational purposes only. Results are estimates and may vary depending on market conditions, spreads, commissions, platform settings, and exchange rates. It should not be considered financial advice.

โ†— Calculation Result
Calculation Breakdown
Full transparency on how this result was calculated.

Frequently asked questions

Does higher leverage mean lower risk?

No leverage changes how much capital is tied up as margin, not the actual Rand amount you stand to gain or lose, which is still determined by position size and price movement. This is one of the most persistent misunderstandings among newer traders, since higher leverage does make a given position size look more "affordable" in margin terms, which can create a false impression of reduced risk. In reality, two traders holding an identical position size will experience identical Rand gains or losses from the same price movement regardless of what leverage either of them used to open it leverage only changes how much of their own capital was tied up to hold that position, not the outcome of the trade itself.

What happens if my margin runs too low?

Most brokers issue a margin call warning first, typically when your margin level falls to somewhere around 100%, giving you a chance to add funds or close positions voluntarily. If the position keeps moving against you and margin level falls further, an automatic stop-out closes some or all open positions, usually starting with the largest losing one, to protect the account from going negative, which is why understanding your broker's negative balance protection policy matters. The exact percentages that trigger each stage vary by broker, so it's worth checking your specific platform's margin call and stop-out thresholds in advance, rather than discovering them for the first time during an actual margin call.

Is required margin the same across all brokers?

No, required margin depends on each broker's specific maximum leverage offering for a given instrument, so the same trade can require different margin amounts at different brokers. A broker offering a 500:1 leverage ratio on a particular forex pair will require considerably less margin for an identical position size than one offering only 50:1 on the same instrument, even though the underlying trade and its Rand risk are otherwise identical. This is worth keeping in mind when comparing brokers, since a lower margin requirement isn't inherently better it simply reflects higher available leverage, which doesn't change your actual risk from price movement.

Should I use maximum available leverage?

Not necessarily using maximum leverage minimises the margin tied up but doesn't reduce your actual risk, and it leaves a much smaller buffer before a margin call if the trade moves against you. Many experienced traders deliberately use leverage well below the maximum their broker offers, specifically to maintain a larger free margin buffer, even when their intended position sizes wouldn't technically require the maximum leverage to open. Choosing a moderate leverage setting, and then sizing positions based on genuine risk tolerance rather than on how large a position the maximum available leverage would technically allow, tends to produce a more comfortable and sustainable trading experience.

What's the difference between used margin and free margin?

Used margin is the total amount currently reserved across all your open positions, calculated the way this tool shows for a single trade but summed across everything you have running. Free margin is what remains available in your account after that reservation effectively your account equity minus used margin. Free margin matters because it's the buffer that absorbs unrealised losses on open positions before a margin call is triggered; a large used margin relative to your total equity leaves very little free margin, meaning even a modest adverse move can push you toward a stop-out. Checking free margin, not just the required margin for a single new trade, is important whenever you already have other positions open, since each additional trade reduces the buffer available to all your existing ones.

How does a margin call differ from a stop-out level?

A margin call is a warning typically triggered when your margin level (equity divided by used margin, as a percentage) falls below a threshold the broker sets, often somewhere around 100%. At this point most platforms notify you but don't automatically close anything, giving you a chance to add funds or reduce position size. A stop-out level is a lower, harder threshold commonly around 50% margin level at which the broker's system begins automatically closing positions, usually starting with the largest losing one, regardless of what you'd prefer, in order to protect both your account and the broker from a negative balance. The exact percentages vary by broker, so checking your specific platform's margin call and stop-out levels before trading with meaningful leverage is worth the five minutes it takes.

Does required margin change with market volatility?

The margin calculation itself position size ร— price รท leverage doesn't reference volatility directly, so required margin for a given trade stays fixed once you open it, based on the price and leverage at that moment. However, some brokers do adjust available leverage during periods of unusually high volatility, particularly around major news events, which changes the required margin for any new positions opened during that window even though the formula is the same. It's also worth noting that while required margin doesn't shift with volatility, your free margin absolutely does, since sharp price moves change the unrealised profit or loss on positions you already hold, which directly affects how much buffer remains before a margin call.

Can I have multiple positions open using the same margin pool?

Yes most trading accounts use a single shared pool of equity across all open positions rather than separate, ring-fenced margin per trade. This means the required margin for each individual position, calculated as shown here, gets added together to determine your total used margin, and all positions draw on the same free margin buffer. The practical implication is that opening several positions at once, even in unrelated instruments, reduces the buffer available to every position simultaneously a sharp adverse move on one trade can trigger a margin call that then forces the closure of a completely unrelated, otherwise fine position, simply because they share the same account equity.

How does negative balance protection relate to margin?

Negative balance protection is a safeguard, offered by most FSCA-regulated brokers, that prevents your account from going below zero even if the market gaps sharply through your stop-out level during extreme volatility. Margin and stop-out mechanisms are designed to close positions before losses exceed your equity, but in genuinely fast-moving markets, execution can occasionally happen at a worse price than the stop-out level intended, technically producing a negative balance. Negative balance protection caps that outcome at zero rather than leaving you owing the broker money. It's a backstop rather than a substitute for careful margin management relying on it instead of maintaining a reasonable free margin buffer is a much riskier way to trade than treating it as the safety net it's designed to be.

How do I choose a safe leverage level for my account size?

There's no single leverage number that's universally safe, since the right choice depends far more on your position sizing discipline than on the leverage ratio itself. A trader using 500:1 leverage but only ever opening positions sized to risk 1% of their account per trade is, in practical terms, taking on less risk than a trader using 10:1 leverage while sizing positions far too aggressively relative to their stop-loss distance. That said, higher leverage does reduce your margin buffer for a given position size, which matters if the market moves sharply, so many risk-conscious traders deliberately choose a leverage level well below the maximum their broker offers, even if their intended position sizes wouldn't technically require it. Smaller accounts sometimes need proportionally higher leverage simply to open a meaningfully sized position at all, since a very small account at low leverage may not have enough margin available to trade even a micro lot on some instruments in that case, the leverage requirement is being driven by practical necessity rather than a deliberate risk choice, which is itself worth recognising as a sign the account may be undercapitalised for the instrument being traded. A reasonable approach is to decide your position size first, based on your risk-per-trade rules and stop-loss distance using tools like our Position Size Calculator, and only then check what leverage that implies, rather than picking a leverage ratio first and sizing positions to match whatever margin it leaves available. This keeps leverage as a background mechanic rather than the primary driver of how large your positions become.

What happens step by step when a margin call occurs?

The sequence typically starts when your margin level equity divided by used margin drops to the broker's warning threshold, commonly somewhere around 100%, usually because open positions have moved against you. At this point, most platforms send a notification, sometimes by app alert, email, or an on-screen warning, indicating that your account is approaching a critical level. You then generally have three options: deposit additional funds to increase your equity and restore a healthier margin level, manually close some or all open positions to free up margin, or take no action and hope the market reverses in your favour, which is the riskiest of the three since it leaves the outcome entirely outside your control. If the margin level continues falling and reaches the broker's stop-out threshold, typically lower than the margin call level, often around 50%, the platform's automated system begins closing positions without further warning, usually starting with the position carrying the largest unrealised loss, continuing until the margin level rises back above the stop-out threshold or all positions are closed. Some brokers close positions one at a time and re-check the margin level after each closure, while others may close multiple positions in quick succession if the market is moving fast, so the exact experience can vary depending on your platform and how quickly conditions are deteriorating at the time. Understanding this sequence in advance rather than encountering it for the first time during an actual margin call makes it much easier to act calmly at the first warning stage rather than waiting until the automated stop-out stage removes the choice from your hands entirely.

How does margin interact with position sizing and risk management together?

Margin and position sizing answer two different questions that traders sometimes conflate. Position sizing, driven by your risk-per-trade rules and stop-loss distance, determines how large a position makes sense given how much you're willing to lose if the trade goes wrong. Margin then simply tells you how much of your account balance gets reserved to hold that already-decided position size open, given your leverage. A common mistake is working backward from available margin instead seeing that a large position is affordable from a margin perspective and opening it for that reason, without first checking whether the Rand risk at that size, given your actual stop-loss, fits within a sensible risk-per-trade limit. Because leverage can make very large positions require surprisingly little margin, it's entirely possible to open a position that's perfectly fine from a margin availability standpoint while being far too large from a genuine risk standpoint this gap between "affordable" and "appropriately sized" is one of the more dangerous traps that high leverage creates for newer traders specifically, since the margin figure alone gives no indication of whether the position matches sensible risk management. The more reliable sequence is to size the position first using your risk tolerance and stop-loss distance, then check the resulting margin requirement afterward simply to confirm your account has sufficient free margin treating margin as a constraint to verify, not as the starting point for deciding how large to trade. Running both checks together, in this order, every time before opening a new position is a small habit that meaningfully reduces the chance of accidentally taking on a position that's technically affordable but genuinely too large for your actual risk tolerance. See What Is Position Sizing and How Do I Calculate It? and What Is the Difference Between Leverage and Margin in Practice? for more on keeping these two decisions properly separated.

What happens if my account equity falls below the required margin?

Your broker will typically issue a margin call, and if equity continues falling toward a critical threshold, may automatically close some or all of your positions to prevent your account from going into a negative balance.

Does required margin change if the market moves against my position?

The initial margin requirement is generally fixed at the point of opening the trade, based on position size and leverage, though your available (free) margin decreases as unrealised losses accumulate, increasing your risk of a margin call.

Is margin the same as the money I could lose on a trade?

No, margin is collateral required to open and maintain a leveraged position, not a cap on potential loss, without appropriate risk management, losses on a leveraged position can exceed the initial margin amount.

Why do different brokers require different margin for the same trade?

Margin requirements depend on the maximum leverage a broker offers for that specific instrument, which can vary based on the broker's own risk policies and applicable regulatory limits in their jurisdiction.

Does margin requirement differ between instrument types?

Yes, typically, more volatile instruments carry higher margin requirements (lower maximum leverage) than more stable major currency pairs, reflecting the higher inherent risk of larger, faster price swings.

๐Ÿ›ก๏ธ
Put the numbers into practice

Try Your Results on a Free Demo Account

Open a free demo account to test position sizes, margin, and risk settings with real market conditions before risking real funds.

Open a free demo account
  • FSCA RegulatedTrade with confidence
  • Practice Risk FreeReal market conditions
  • Beginner FriendlyPerfect for learning

79% of retail CFD accounts lose money. Demo accounts do not guarantee future profits.