An in-depth guide

Forex position size and margin: two separate calculations

Calculate lots from a risk budget and stop distance, allow for commission and slippage, then check margin. Worked EUR/USD and yen-pair examples keep the units explicit.

Updated:

Read the article

Trade size and margin answer different questions

Risk-based position size comes from the planned loss to the stop. Required margin comes from exposure and account terms. A trade can pass one calculation and fail the other: a position within the risk budget may need more available margin, while high leverage can permit a position whose loss is too large.

We will use a hypothetical USD 5,000 account and a 1% risk budget, or USD 50. That percentage is an arithmetic assumption, not a recommendation. First calculate size from estimated entry and exit prices, then add costs, and finally check margin. An ordinary stop does not guarantee that the actual loss will end at exactly the calculated amount.

Convert pips and lots into money

Under the convention that one EUR/USD lot is 100,000 euros, a pip of USD 0.0001 per euro is worth USD 10 per lot. At a tenth of a lot, it is worth one dollar. Units matter: a quantity of euros multiplied by a price change quoted in dollars per euro produces a dollar profit or loss.

Check the symbol specification for contract size, volume step and price increment. A pip is not always the last displayed digit; a more precise quote can include a fractional pip. For metals, indices or accounts displaying other units, do not automatically copy the 100,000 multiplier. Similar product names do not guarantee identical specifications at two brokers.

EUR/USD example: size the position to the stop

Assume a buy filled at 1.1000 and an estimated stop exit at 1.0980. The distance is USD 0.0020 per euro, or 20 pips. For this exercise, these are execution prices on the two sides of the trade, not two mid-prices. Do not add another spread to that distance.

The price loss per lot is 20 × 10 = USD 200. A USD 50 budget divided by USD 200 gives 0.25 lots, representing 25,000 euros. This is before commission, financing and slippage. Doubling the stop distance to 40 pips gives 0.125 lots. With a 0.01-lot trading step, round down to 0.12 lots to stay within the price-loss budget.

Allow for commission and slippage without promising a loss cap

Add a hypothetical USD 7 per-lot round-trip commission and a hypothetical 2-pip slippage allowance. At 0.25 lots, the USD 50 price loss plus USD 1.75 commission already exceeds the budget before the allowance. The arithmetic response is to recalculate volume.

Per lot, the calculation becomes USD 200 to the stop + USD 7 commission + USD 20 allowance = USD 227. Dividing 50 by 227 gives about 0.2203 lots. Rounding down to a 0.01-lot step gives 0.22 lots: USD 44 of price loss, USD 1.54 commission and USD 4.40 allowance, totalling USD 49.94. Actual slippage can exceed the allowance; this is a planning estimate, not a maximum-loss guarantee.

Now calculate margin for the same exposure

Return to the original 0.25-lot size to isolate the effect of leverage. At the hypothetical rate of 1.1000, 25,000 euros represent USD 27,500 of exposure. In a simple margin model, divide exposure by the permitted leverage ratio for that symbol after aligning currencies.

Scroll the table horizontally to read every column.

Now calculate margin for the same exposure
Hypothetical leverageRequired marginPrice loss over 20 pips
1:30About USD 916.67USD 50
1:100USD 275USD 50

Leverage changes margin, but not the pip value of the same position. These ratios are not promises of availability from any provider. Exposure tiers, other positions and product terms may alter actual margin requirements.

When quote currency differs from account currency

For a yen-quoted pair, the usual pip size is JPY 0.01. At 100,000 units of base currency, that is JPY 1,000. In a USD account, assuming a hypothetical USD/JPY conversion rate of 150, divide 1,000 by 150 to obtain about USD 6.67 per pip. Automatically using USD 10 would distort the sizing calculation.

The conversion rate can move before closing, so pip value in the account currency is not always constant. Also check whether the platform already displays it in account currency. Converting it twice introduces another error. In a general calculator, make sure price distance, multiplier and risk budget produce the same money unit before relying on the displayed size.

Free margin is not a loss budget

Balance records amounts booked to the account; equity also reflects open positions. Free margin depends on equity and margin already committed. Losses elsewhere in the account can reduce that headroom without any change to the new trade.

Check the whole account, not just the next order ticket. Depending on account terms, a margin closeout can occur before the planned stop. Several trades sharing the same risk driver are not necessarily diversification: positions across pairs that all depend on the same dollar direction can lose together. Sizing one trade is only part of budgeting risk across the account.

Use the calculator without mixing units

In the position-size calculator, first select USD as the currency label. You can illustrate the basic example with capital of 5,000, risk of 1%, entry at 1.1000, stop at 1.0980, a 100,000 multiplier and a 0.01 quantity step. With prices in dollars per euro and quantity in lots, the basic result is 0.25 lots. The calculator does not automatically add a slippage allowance or calculate your broker's margin terms.

Before acting, match the specification and check the account's margin and cost display. The Raw versus Standard guide develops the commission calculation. For futures, use the ticks and margin guide, where contract units differ. Changing interface language does not change account terms or establish eligibility.

Providers mentioned on this page

About the provider

FP Markets offers leveraged Forex and CFD trading through Standard and Raw accounts on MT4, MT5 and cTrader. Its international website also describes a TradingView connection using a cTrader ID. Fees, products and protections depend on the legal entity and account.

Service model
Leveraged CFD trading on currencies and other underlying markets; a CFD does not confer ownership of a share, digital currency or underlying asset.

The execution policy of Saint Lucia's FP Markets Ltd specifies cash settlement without delivery of the underlying asset.

Account types
The international website lists Standard and Raw accounts for MT4, MT5 and cTrader.

TradingView appears under Raw in the account table. This does not establish platform or instrument availability for every entity.

About the provider

Eightcap offers leveraged forex and CFD trading through different legal entities. Its international pages list Standard and Raw accounts alongside MT4, MT5, TradingView and TradeLocker. Pricing, available instruments and client protections depend on the account and contracting entity.

Raw commission in a USD account, per side per standard lot
3.5 USD / standard lot / side

Raw rate in the international account table. Opening and closing the same lot gives USD 7 in commission alone; spread and financing are additional. Match the rate to the instrument specification rather than applying it to every CFD.

Advertised starting spread, Standard
1 pips

Published starting level, not an average spread or live quote. Actual spreads depend on the pair and market conditions.

About the provider

Forex and CFD brokerage through Belize-based RoboForex Ltd. Prime starts with a $10 deposit, spreads from 0 pips and leverage up to 1:300. Leverage magnifies losses; the provider’s risk warning reports that 75.85% of retail accounts lose money.

Minimum deposit, Prime account
10 USD

Prime account only. The amount differs for other account types.

Commission, Prime account
10 USD/1M USD

In addition to a floating spread from 0 pips. Excludes swap charges.