Position Size Calculator
A position size calculator works out how many lots to trade so that, if your stop loss is hit, you lose only the amount you chose to risk. Lots = money at risk ÷ (stop distance in pips × pip value per lot).
How do you calculate position size?
Position size in lots = money at risk ÷ (stop distance in pips × pip value per lot). The money at risk is the share of your balance you choose to risk, and the pip value per lot comes from the contract size and pip size. It takes three steps:
- Money at risk = account balance × risk per trade (%) ÷ 100.
- Pip value per lot = contract size × pip size, converted into your account currency if the price is quoted in a different currency.
- Lots = money at risk ÷ (stop distance in pips × pip value per lot).
The calculator rounds the result down to the nearest 0.01 lot, so the size it shows never risks more than the amount you entered.
What is a worked example of position sizing?
With a $5,000 account, 1% risk and a 25-pip stop on EURUSD, the position size is 0.20 lots, which risks exactly $50. The money at risk is $5,000 × 1 ÷ 100 = $50, and one pip on 1 lot is worth $10, so $50 ÷ (25 × $10) = 0.20.
| Step | Calculation | Result |
|---|---|---|
| Money at risk | $5,000 × 1 ÷ 100 | $50 |
| Pip value per lot | 100,000 × 0.0001 | $10 per pip |
| Position size | $50 ÷ (25 × $10) | 0.20 lots |
Check: at 0.20 lots each pip is worth $2, so a 25-pip stop costs 25 × $2 = $50, the amount you chose.
The same trade in an account held in another currency works the same way once the pip value is converted at the exchange rate you enter. MT5 converts every result into your account currency at the live rate; the country guides show local examples.
The idea behind this calculation is covered in the position sizing lesson of Module 5, Risk Management, and pip value in the lots, pips and pip value lesson of Module 2. Lot sizes themselves are explained in our guide to forex lot sizes.
What does each input mean?
The calculator needs your balance, the percentage you want to risk, your stop distance in pips and the instrument's contract size, pip size and quote currency. An exchange rate field appears when the price is in another currency. Where to put the stop itself is covered in the stop loss and take profit lesson.
- Instrument: fills in example contract size, pip size and quote currency for common symbols. Choose Other to enter your own.
- Account currency: the currency your account is held in. The results are shown in it.
- Contract size: the number of units in 1.00 lot, for example 100,000 for most currency pairs.
- Pip size: the price step counted as one pip, for example 0.0001 for EURUSD and 0.01 for USDJPY.
- Quote currency: the currency the price is quoted in, the second currency of a pair.
- Account balance: the money in your account that the risk percentage is applied to.
- Risk per trade (%): the share of the balance you choose to lose if the stop is hit.
- Stop distance (pips): how far your stop loss is from your entry price.
- Exchange rate: appears only when the quote currency differs from your account currency. Enter today's rate from your platform; the calculator never fetches prices.
What are the assumptions and limits?
The result is a lot size rounded down to 0.01, so it never risks more than you entered, using generic contract and pip sizes. Check the symbol's own values in MetaTrader 5. The stop can fill past its level in a fast market, so the realised loss can differ from the plan.
- The presets are generic market conventions, not the specification of any account. Contract size and pip size vary by instrument and broker, so check your symbol's specification in MetaTrader 5 and enter those values.
- Any exchange rate is the one you enter. If it is out of date, the result is too.
- The stop is assumed to fill exactly at its price. In fast markets or over a weekend, prices can gap past a stop and the loss can be larger than the amount at risk.
- Spread, commission and swap are not included; they add to the cost of a trade.
- The calculator does arithmetic on your numbers only. It does not suggest trades, stop levels or how much to risk, and nothing you enter is stored.
Frequently asked questions
Is a lot size calculator the same as a position size calculator?
Yes. Position size is measured in lots, so both names describe the same calculation: how many lots fit the amount you choose to risk and the distance to your stop.
What percentage of my account should I risk per trade?
This academy does not recommend a figure. The calculator shows the arithmetic for whatever percentage you enter, so you can see what a given risk means in money before you decide.
Why does the calculator round the lot size down?
So the position never risks more than you entered. Rounding 0.207 lots up to 0.21 would make the loss at the stop slightly larger than your chosen amount; rounding down to 0.20 keeps it at or below it.
What does it mean if the result is below 0.01 lots?
It means even the smallest usual position size would lose more than your chosen amount if the stop is hit. The calculator shows this as below 0.01 rather than rounding up.
Does the position size include spread and commission?
No. The calculation covers the price distance to your stop only. Spread, commission and swap are extra costs, so the total loss on a stopped-out trade can be a little larger than the money at risk shown.
Sources
- MetaQuotes, MetaTrader 5 Help: Market Watch (accessed 20 October 2026): the symbol specification lists contract size (units in one lot), tick size, tick value, profit currency, minimal volume and volume step. https://www.metatrader5.com/en/terminal/help/trading/market_watch
- MetaQuotes, MetaTrader 5 Help: Executing Trades (accessed 20 October 2026): a stop loss closes a position when the price reaches a set level to limit losses, and a stop order fills at the specified price or worse, so it can fill with slippage. https://www.metatrader5.com/en/terminal/help/trading/performing_deals
- U.S. Securities and Exchange Commission, Investor.gov, Stop Order (accessed 20 October 2026): a stop order becomes a market order when the stop price is reached, and the execution price may differ from the stop price in a fast-moving market. https://www.investor.gov/introduction-investing/investing-basics/glossary/stop-order
- Commodity Futures Trading Commission (CFTC), CFTC Glossary (accessed 20 October 2026): a pip is the smallest price unit of a commodity or currency. https://www.cftc.gov/LearnAndProtect/AdvisoriesAndArticles/CFTCGlossary/index.htm
Practise what you learned
Open an account to use MetaTrader 5. Start on a demo account before risking real money.
Open Account