Skip to content
Investment Math
Investment Math

Currency and number style

Only changes how amounts look. There is no currency conversion.

Forex Position Size and Margin Calculator

How large a position does this risk amount and stop distance take, and what margin does it need?

What this tells you: The page turns three figures you choose — the balance, the share of it the stop may cost, and the stop distance in pips — into a position size in lots and units, then works the notional value and the margin that position needs at the leverage you type.

Go to the calculator

Also called: forex margin calculator · forex lot size calculator · position size stop loss calculator Read the guide Last updated

What the account holds now.

The share of the balance the stop is allowed to cost if it is hit.

The gap between your entry price and your stop price, counted in pips.

How much one pip is worth in your account currency, for one lot.

How many units make up one lot.

The price the position is entered at.

Type the N of a 1:N ratio, so 30 means 1:30.

Result

A balance of 10,000 risking 1.00% over a stop of 50 pips takes 0.2 lots, 20,000 units, with 733.33 of margin at 1:30, 7.33% of the balance.

This tool shows math, not advice.

Details

Position size0.2
Units20,000
Risk amount100
Notional value22,000
Margin required733.33
Margin as a share of the balance7.33%

How we got this

  1. Risk amount = 10,000 × 1.00% = 100. Lots = 100 ÷ (50 pips × 10 a pip) = 0.2, which is 20,000 units at 100,000 a lot.
  2. Notional = 20,000 units × 1.1 = 22,000.
  3. Margin = 22,000 ÷ 30 = 733.33, which is 7.33% of the balance.

About this answer

  • The pip value and the leverage arrive as example figures; both are typed, and nothing is stored. The risk amount, the lots and the margin follow whatever is typed.
  • The figures are the position the inputs describe at the moment of entry. Rates and pip values move, so the margin figure moves with them.

Did this calculator help?

Keep this calculator. Your numbers are in the address, so a bookmark brings them back exactly as you left them. Press Ctrl + D · ⌘ + D

What to do next

Calculators that usually come after this one.

Not quite what you need?

Type your question in plain words and get the calculators that answer it.

    How to use it

    1. Type the balance and the risk share per trade.
    2. Type the stop distance in pips and the value of one pip for one lot.
    3. Type the entry price and the leverage, and read the lots, units, notional and margin.

    Example

    A balance of 10,000 risking 1% over a stop of 50 pips, with one pip of one lot worth 10, takes 0.2 lots, or 20,000 units, with 733.33 of margin at 1:30, which is 7.33% of the balance.

    Type these numbers into the boxes

    Account balance
    10,000
    Risk per trade
    1 % of balance
    Stop distance
    50 pips
    Value of one pip for one lot
    10
    Units per lot
    100,000 units
    Entry price
    1.1
    Leverage
    30 the N in 1:N

    What you get: A balance of 10,000 risking 1.00% over a stop of 50 pips takes 0.2 lots, 20,000 units, with 733.33 of margin at 1:30, 7.33% of the balance.

    Put this example into the calculator

    What your answer means

    The lot figure is the position whose stop costs exactly the risk amount. The margin is a separate question: it depends on the entry price and the leverage typed, and the page flags the case where the margin needed is more than the account holds.

    Words explained

    Margin
    the share of the position the account has to put up, worked here as the notional divided by the leverage.
    Maintenance margin
    the level below which the account has to add funds or reduce the position; a separate figure from the margin needed at entry.

    How we calculate · the conventions behind every answer, in one place.

    What this forex position size calculator does

    Type a balance, a risk share and a stop distance, and the page works the position size in lots and units whose stop costs exactly the risk amount. It then works the notional value of that position at the entry price and the margin it needs at the leverage typed, reported both as an amount and as a share of the balance.

    The pip value per lot, the units per lot and the leverage arrive as example figures and are typed like everything else; the field help says so on each one. Nothing is stored, so a different account currency, contract size or leverage changes the answer rather than breaking it.

    When the margin needed is more than the balance, an amber flag says so with both figures. The page states the arithmetic of the position; it does not rate the trade.

    Questions about the forex position size calculator

    How is the forex position size worked out?

    Risk amount = balance × risk share, and lots = risk amount ÷ (stop pips × pip value for one lot). On the defaults, 10,000 × 1% = 100, and 100 ÷ (50 × 10) = 0.2 lots, which is 20,000 units at 100,000 a lot. A wider stop gives a smaller position for the same risk.

    What does the margin figure mean?

    It is the money the account puts up to hold the position: the notional value divided by the leverage. On the defaults, 22,000 ÷ 30 = 733.33, which is 7.33% of the balance. Margin is not the amount at risk; the risk is set by the stop distance and the position size.

    How do leverage and notional value interact?

    The notional is units × entry price, 20,000 × 1.1 = 22,000 on the defaults, and the leverage divides it into the margin. Lower leverage means more margin for the same position. The position size does not move, because it depends on the risk amount and the stop, not on the leverage.

    What happens when the margin is more than the balance?

    The page raises a warning with both figures. It means the position as sized does not fit the account at the leverage typed. A lower risk share, a wider stop or more leverage each change that, and the page shows the effect of each as you type.

    Why is the pip value an example figure?

    The value of one pip for one lot depends on the currency pair and on the currency the account is held in, and the page stores no exchange rates. The 10 in the box is a commonly quoted figure. Change it to the value your platform shows, and the lots, units and margin follow.

    Does the calculator say what risk per trade to use?

    No. The risk share is an input, not an answer. Whatever share you type, the page works out the position whose stop costs exactly that amount, 100 on the defaults, and shows the arithmetic. The choice of share is yours.

    Ask about this calculator

    Something the page does not answer? Ask it here. A person reads every question, and the useful ones are answered on this page.

    Your question goes to the site owner by email and is not stored on this site. If you add an email it is used only to reply.

    Cite this page

    Copy this line into a reference list, a report or a spreadsheet note.

    Investment Math Calculator. “Forex Position Size and Margin Calculator”. Updated 2026-11-29. https://investmentmathcalculator.com/tools/forex-position/

    This tool shows math, not advice.

    Disclaimer: For education only. These calculators show arithmetic and hypothetical scenarios. They are not investment, tax or legal advice and do not recommend any security or product. Consult a licensed adviser in your country before acting.