Forex/CFD Position Size Calculator
Calculate position size from account balance, risk percentage, entry and stop loss.
ATR
Save Broker Preset
Portfolio Risk
How to use the Forex/CFD Position Size Calculator correctly
Calculate position size from account balance, risk percentage, entry and stop loss. This page is designed to show not only a result but also the assumptions that drive it. The output is an educational calculation, not a trade signal, and should be checked against the current contract specification of your own broker before an order is placed.
Key inputs
The main inputs on this page are Category, Symbol Search, Symbol, Account Currency, Account Balance, Risk (%), Leverage, Side, Entry Price, Stop Loss, Contract Size, P/L per 1 price unit per lot. Contract size, minimum volume, lot step, pip/point convention, margin method and account-currency conversion may differ even when two brokers use the same symbol name.
Formula
risk budget = balance × risk%; loss per lot = stop distance × value per price unit + trading costs; lots = risk budget ÷ loss per lotThe calculator links account risk to market distance and contract value, then also shows margin and effective leverage as separate constraints. Leverage and margin should be treated as capital constraints; they do not replace a cash-loss budget based on the planned stop.
Worked example
10,000 balance at 1% gives 100 risk. If a one-lot stop loss would lose 500 including costs, raw size is 0.20 lot before broker rounding.
The example is intentionally simple so the arithmetic can be checked by hand. For a real position, replace every assumption with the values shown in your platform and include costs that are material for your holding period.
How to interpret the result
Use the result together with account-level limits: planned cash risk, required margin, effective leverage, and risk already open in other positions. A mathematically valid maximum is not the same thing as a prudent trade size.
Common mistakes
- Mixing pips, points and whole price units.
- Using a contract size copied from a different broker.
- Ignoring spread, commission, financing or currency conversion.
- Rounding a raw position size up instead of down to the permitted lot step.
FAQ
Can I send the calculated value directly as an order?
Use it as a reference only. Verify contract size, minimum volume, margin rate, account-currency conversion, spread and commission, then round conservatively to a valid order size.
Does higher leverage automatically make the position safer?
No. Higher available leverage generally lowers required margin. It does not reduce the profit or loss created by the same position size and price move.
Why can MT5 or another calculator show a different number?
Differences usually come from symbol specifications, conversion rates, pip/point definitions, rounding rules or whether trading costs are included. Compare the inputs before comparing the final number.
Content reviewed: 2026-08-31