Currency Exchange Margin Calculator

In forex, margin is the deposit you set aside to hold a leveraged position: required margin = units × rate × margin ratio. Enter your position and this calculator returns the required margin, the position value and the leverage your margin ratio implies.

Use this currency exchange margin calculator to see how much margin a forex trade ties up. Enter the exchange rate, the number of units and your broker's margin ratio — it returns the position value in your account currency, the margin you must post, and the leverage that ratio represents, so you can size a trade with your eyes open.

Enter the position and margin ratio, then press Calculate.

The Position
Leverage
%

How the currency margin calculator works

Forex margin is refreshingly straightforward once you separate two ideas. The position value is what you are actually controlling in the market — the number of units multiplied by the exchange rate, expressed in your account currency. The required margin is only a slice of that: the position value times the margin ratio your broker sets. Because the ratio is small, the margin is a small fraction of the position, which is exactly what leverage means.

The calculator also flips the margin ratio into a leverage figure, since traders think in both. A 2% margin ratio is 50:1 leverage; a 1% ratio is 100:1. Seeing the position value beside the margin makes the size of the bet obvious — a few hundred in margin can control tens of thousands in the market. It is the same leverage idea behind the stock trading margin calculator, and worth weighing against a plain ROI view.

The forex margin formulas

Position value =units × exchange rate
Required margin =position value × margin ratio
Leverage =1 ÷ margin ratio
  • Units — position size in the base currency
  • Rate — price in your account currency
  • Ratio — margin % the broker requires
Worked example — 10,000 units at a rate of 1.10, 2% margin ratio:
Position value = 10,000 × 1.10 = 11,000
Required margin = 11,000 × 2% = 220 (50:1 leverage)

Leverage is the double-edged sword

Posting 220 to control 11,000 sounds efficient, and it is — but it also means a move of just 2% against you wipes out the entire margin. That is the reality of high leverage: the smaller the margin ratio, the larger the position your deposit controls, and the smaller the price move needed to erase it. Currencies move in fractions of a percent most days, which is why forex is traded at such high leverage, and also why disciplined position sizing and stop-losses matter more here than almost anywhere else.

Keep a buffer above the minimum

The required margin is the minimum to open a position, not a safe operating level. As the market moves, your usable (free) margin shrinks, and once equity falls too far the broker will issue a margin call or automatically close positions at a stop-out level. Prudent traders use only a fraction of their account as margin, leaving plenty of free margin to absorb normal swings. Treat this calculator's figure as the floor, and keep well clear of it.

Leverage and margin limits by regulator

Leverage and margin are two sides of the same coin: leverage is simply one divided by the margin ratio, so a 2% margin requirement is 50:1 leverage and a 1% requirement is 100:1. The higher the leverage, the smaller the deposit you need to control a position — and the faster a small move can wipe out that deposit. How much leverage you can use depends on where you trade. In the United States, retail forex leverage on major currency pairs is commonly capped around 50:1 by the CFTC and NFA, and lower on minor and exotic pairs. In the European Union and the United Kingdom, regulators such as ESMA and the FCA cap retail leverage far tighter, around 30:1 on major pairs, precisely because high leverage causes so many retail traders to lose money. Professional accounts and offshore brokers may offer much more, but the extra leverage magnifies risk just as much as reward.

Estimate only — not investment advice. Forex is high-risk and leverage can cause losses beyond your deposit. Margin ratios and rules vary by broker and jurisdiction; confirm with your broker.

How to use it & key terms

Enter the exchange rate, the number of units and the margin ratio, then press Calculate to see the position value, required margin and leverage.

TermWhat it means
Exchange rateThe price of the base currency in your account currency.
UnitsThe position size in the base currency.
Position valueUnits times the exchange rate.
Margin ratioThe percent of the position posted as margin.
Required marginPosition value times the margin ratio.
LeverageThe inverse of the margin ratio, e.g. 2% = 50:1.

Sources & methodology

The position value is the number of units multiplied by the exchange rate, expressed in the account (quote) currency. The required margin is the position value multiplied by the margin ratio the broker requires, and the leverage is one divided by that ratio. These follow the standard conventions of leveraged foreign-exchange trading, where a broker's leverage of, say, 50:1 corresponds to a 2% margin requirement. Actual margin held can vary with the currency pair and market conditions, and regulators in some regions cap the leverage available to retail traders.

Sources: Standard leveraged foreign-exchange margin and leverage conventions (margin ratio = 1 ÷ leverage) used by forex brokers.

Size the trade around your risk, not the margin

It is tempting to let the required margin decide how big a trade should be — if the account can post the margin, the position feels affordable. That reasoning is backwards, and it is how many newcomers get hurt. Margin is only the collateral the broker sets aside; it tells you nothing about how much you can lose. A far safer habit is to decide first how much money you are willing to lose if the trade goes against you, and then work the position size out from there, treating the margin figure as a check rather than a guide.

In practice that means choosing a small slice of your account as the most you will risk on any single trade, deciding in advance where you would admit the idea was wrong and place a stop, and letting the distance to that stop — not the margin — set the number of units. A wider stop calls for a smaller position; a tighter stop allows a larger one for the same risk. The margin this calculator returns then simply confirms you hold enough free collateral to keep the trade open, instead of dictating how large it should be.

Be honest, too, about the ways real losses can run past the plan. A stop is an instruction, not a guarantee: when a currency gaps over a weekend or lurches on a news release, your order can fill well beyond the level you chose, and in an extreme move the loss can exceed the margin you posted and eat into the rest of your account. High leverage makes these tail events bite harder, which is precisely why a risk-first approach matters more in fast-moving currency markets than in slower ones.

How margin is used sensibly depends on the goal behind the trade. A business paying invoices abroad may hold a position to lock in a rate and remove uncertainty, treating the margin as the price of certainty; a speculator holds one hoping to profit from a move, and must accept that the same leverage can erase capital quickly. Neither should size a trade just because the margin happens to fit. Set the loss you can genuinely accept, size to that, keep ample free margin in reserve, and never assume the market will give you time to react — no amount of leverage turns a losing trade into a safe one.

Frequently asked questions

What is margin in currency (forex) trading?

In forex, margin is a good-faith deposit you set aside to open and hold a leveraged position — not a fee, but a portion of your account equity the broker locks up as collateral. It lets you control a large position with a fraction of its value. When the position is closed, the margin is released back to your account, adjusted for any profit or loss. It works much like a security deposit that is returned when you move out.

How is the required margin calculated?

Multiply the position's value in your account currency by the margin ratio. The position value is the number of units times the exchange rate, and the margin ratio is set by the broker's leverage. For example, 10,000 units at a rate of 1.10 is a position worth 11,000, and at a 2% margin ratio the required margin is 220. This calculator does that in one step and also shows the leverage the ratio implies.

What is leverage in forex trading?

Leverage is how much larger your position is than the margin you post, and it is the inverse of the margin ratio. A 2% margin ratio is 50:1 leverage, meaning $1 of margin controls $50 in the market; a 1% ratio is 100:1. Forex is often traded at high leverage because currency moves are small in percentage terms, but that leverage magnifies both gains and losses on your deposited margin just as powerfully.

What is a margin ratio?

The margin ratio is the percentage of a position's value that you must hold as margin, and it is simply the reciprocal of the leverage. A 50:1 leverage corresponds to a 2% margin ratio, 100:1 to 1%, and 200:1 to 0.5%. Brokers set the ratio based on the currency pair, market volatility and regulation, and they may raise it during turbulent conditions, which increases the margin you must keep against an open position.

What is a margin call in forex?

A margin call happens when losses erode your account equity below the margin needed to support your open positions. The broker then asks you to deposit more funds, and if you do not, it will close positions automatically to limit further loss — often called a stop-out. Because forex leverage is high, adverse moves can trigger a margin call quickly, which is why traders watch free margin closely and keep a buffer well above the minimum.

What are the risks of trading forex on margin?

High leverage means small currency movements produce large swings in your equity, so losses can mount fast and exceed your deposit in extreme cases. Add in gaps over weekends or news events, financing costs on positions held overnight, and the pressure of automatic stop-outs, and forex margin trading becomes high-risk. It is suitable only for traders who understand leverage fully, use disciplined risk limits, and can afford to lose the capital involved.

What is the difference between free margin and used margin?

When you open a position, part of your account balance is locked as collateral, and that is your used margin. The rest, the equity still available to open new trades or absorb losses, is your free margin. Brokers also track the margin level, which is your equity divided by used margin as a percentage: a high level means plenty of cushion, while a falling level warns you are close to trouble. Keeping healthy free margin is how traders avoid being forced out of positions when the market moves against them.

What is a margin call and a stop-out in forex?

Both happen when losses eat into the collateral behind your open positions. A margin call is the broker's warning that your margin level has dropped too low and you should add funds or reduce positions. If the level keeps falling to the broker's stop-out threshold, the broker automatically closes your positions, starting with the biggest loser, to stop your balance going negative. The exact levels vary by broker, so a margin call might come at a 100% margin level and a stop-out at 50% or 20%; check your broker's rules, because stop-outs happen fast.