An in-depth guide

Forex position size and margin: two separate calculations

With 5,000 USD capital, a hypothetical 1% risk budget and a 20-pip EUR/USD stop, the example gives 0.25 lot before costs or 0.22 lot with commission and a reserve. Margin is calculated separately from exposure and leverage.

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.

In desktop MT5, Market Watch → right-click the symbol → Specification shows Contract size and Volume step. For example, an EUR/USD price increment of 0.00001 is one tenth of a 0.0001 pip; 20 pips equal 200 such increments. Use the specification to distinguish a tick, a price point and a pip before entering the stop distance.

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.

For the 0.22-lot quantity calculated after costs, exposure at the same rate is 22,000 × 1.1000 = 24,200 USD. Under the simple model, margin is about 806.67 USD at 1:30 or 242 USD at 1:100. Return to the final quantity rather than checking margin for the 0.25-lot position already reduced.

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 includes recorded amounts; equity adds open-position P/L. In a hypothetical account with a 5,000 USD balance, a 200 USD open loss and 800 USD of used margin, equity is 4,800 USD and free margin is 4,000 USD. An additional trade requiring 806.67 USD of margin would leave about 3,193.33 USD free in the simple model, before market changes and charges. That free amount is not the trade’s loss budget.

The account terms determine when forced closure occurs, potentially before the planned stop. Several trades depending on the same dollar direction can lose together. If the 200 USD loss on existing positions already exceeds the intended account budget, available margin does not resolve the excess. Position size and the account’s capacity to carry it require separate calculations.

Use the calculator without mixing units

In the position-size calculator, choose USD as the currency label and enter the basic scenario in these fields:

Scroll the table horizontally to read every column.

Use the calculator without mixing units
Calculator fieldExample value
Capital for this calculation5,000
Risk percentage for this calculation1
Entry price1.1000
Stop price1.0980
Value multiplier per unit100,000
Allowed quantity increment0.01

The basic quantity is 0.25 lot, with a calculated price loss of 50 USD and exposure of 27,500 USD. Here the multiplier matches EUR/USD lots and a USD account; it is not universal across instruments. The calculator does not add commission or a slippage reserve, or calculate conversion or margin. Including the article’s cost assumptions manually gives 0.22 lot and a 49.94 USD budget for price loss, commission and reserve; margin for that quantity is checked separately.

Raw versus Standard explains round-trip commission. For futures, see ticks and margin, where the contract units differ. These are educational scenarios; a stop price does not guarantee a maximum loss, and interface language does not establish account eligibility.

Providers mentioned on this page

About the provider

At FP Markets, Raw forex on MT4/MT5 in a USD account costs $3 per side per lot: $6 to open and close, before spread and financing. Standard includes forex charges in the spread. The global table lists MT4, MT5 and cTrader for both accounts and TradingView for Raw, with the documented connection using cTrader ID. Terms and protections depend on the entity; leveraged trading can cause rapid losses.

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 CFDs through Standard and Raw accounts. Its international Raw schedule charges USD accounts $3.50 per side per standard lot: $7 to open and close, before spread and financing. Platforms include MT4, MT5, TradingView and TradeLocker. Products, charges and protections depend on the entity and account; all trading funds can be lost.

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 costs 7 USD in commission alone; for 0.10 lot the calculation is 0.35 USD on entry plus 0.35 on exit, totaling 0.70 USD. Spread and financing are separate. Match the instrument specification rather than applying this rate 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

At Belize-based RoboForex Ltd, Prime requires a $10 minimum deposit and quotes commission of 10 USD per million USD of turnover, alongside spreads from 0 pips and leverage up to 1:300. A million dollars of turnover is not one lot: an EUR/USD lot is 100,000 euros. 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. Example calculation: hypothetical billable turnover of 220,000 USD × 10 ÷ 1,000,000 gives 2.20 USD in commission. This uses billable turnover, not a fixed fee per lot or per side.