← All guides

How to calculate the right lot size

By Najm FX (NFX) · 8 min read · Risk · Published · Updated

Short answerLot size = (balance × risk percentage) ÷ (stop loss in pips × pip value per lot). With this formula your loss stays fixed (for example 1% of the balance) no matter how wide the stop is. Pip value differs between pairs and between brokers, especially on gold, so check it in Market Watch, then Specification, before you calculate.

The number one reason accounts get wiped is not bad analysis — it is the wrong trade size. A trader with average analysis and disciplined sizing survives for years. A trader with excellent analysis and random sizing blows up in a month. Here is the exact formula.

Do it instantly: lot size calculator for gold and forex — enter your balance, risk % and stop loss to get the right lot.

The rule before the formula

Set a fixed percentage of your balance that you risk on a single trade. The common range among professionals: 1% to 2%. With a $1000 balance, that means the maximum loss on one trade is between $10 and $20.

Why a fixed percentage and not a fixed amount? Because it shrinks when you lose (protecting you from a spiral) and grows when you win.

The formula

Lot size = (balance × risk percentage) ÷ (stop loss in pips × pip value per lot)

Example 1 — EURUSD

  • Balance: $1000
  • Risk: 1% → $10
  • Stop loss: 25 pips
  • Pip value for a full lot on EURUSD: $10

The calculation: 10 ÷ (25 × 10) = 10 ÷ 250 = 0.04 lots

So you open the trade at 0.04. If the stop is hit, you lose exactly $10 — not a dollar more.

Example 2 — same balance, wider stop

  • Same balance and the same 1% ($10)
  • Stop loss: 60 pips instead of 25

The calculation: 10 ÷ (60 × 10) = 0.016 lots → round it to 0.01

The lesson: the wider the stop, the smaller the size must be. The two are linked — you cannot increase both at once.

Pip value — how to find it precisely

Pip value varies by pair and by broker, especially on gold and indices. Do not rely on numbers from the internet — read it from your platform:

  1. In MetaTrader 5, open the Market Watch window (Ctrl+M).
  2. Right-click the symbol → Specification.
  3. Look at Contract Size, Tick Value and Digits.

The easiest practical check: open a 0.01 trade on a demo account and watch how much the profit changes with each pip of movement. Multiply by 100 and you have the value for a full lot.

Watch out for gold (XAUUSD): pip value varies widely from one broker to another depending on the number of decimal places. Calculating a gold lot with EURUSD numbers = an error that can be ten times too large. Always check Specification.

Mistakes that cost money

"I put the stop far away so it doesn't get hit"

A far stop is not protection — it is a postponed bigger loss. The right move is to reduce the size to match the far stop, not to increase the risk.

"This trade is a sure thing, I'll size up"

There is no sure trade. Most account wipeouts happen on a trade its owner was "certain" about.

Doubling the size after a loss

That is martingale in its manual form, and its ending is known mathematically. We explain it in detail in the types of robots guide.

Forgetting that leverage is not the risk

Leverage sets the maximum size you can open, not the size you should open. 1:500 leverage does not mean you open bigger — it means the broker allows you to, and that is your responsibility.

Quick table — $1000 balance, 1% risk

Stop lossLot size (pair with $10 pip value)Loss if hit
10 pips0.10$10
20 pips0.05$10
50 pips0.02$10
100 pips0.01$10

Notice: the loss is the same in every case. That is the whole idea.

Sizing decides how much you lose; it does not decide whether you win. It keeps you in the game long enough to learn — it is not a substitute for a strategy.

Author: Najm FX (NFX) Arab trader and founder of Yakuzza. He builds trading tools and uses them before publishing them, and shares analysis and tutorials on the Najm Forex YouTube channel.
About YakuzzaYouTube channel

More guides

How to install an indicator on MetaTrader 5 — step by step A complete guide to installing any ex5 or mq5 indicator on MetaTrader 5: where the file goes, why it sometimes does not show up, and how to fix that in a minute. How to install a robot (Expert Advisor) on MetaTrader 5 and run it properly Installing an Expert Advisor step by step, enabling algo trading, the button that keeps the robot idle if you miss it — and what to check before running it with real money. Types of trading robots — and the real risk of each one Grid, martingale, scalping, trend, breakout: how each type works and exactly where it breaks. The plain talk you will not find on sales pages. Trading gold XAUUSD — why it is different and how to handle it Gold is not a normal currency pair: higher volatility, a wider spread, and a reaction to the dollar and interest rates. What to know before trading it and how to set up for it. How to test a robot on a demo account properly (and how real differs) Opening a demo account on MetaTrader, exactly what to watch during the test, and the four differences that make a demo result different from a real one. Timeframes M1 M5 M15 H1 H4 D1 — which one suits you What each MetaTrader timeframe means, how many signals it gives, how much screen time it needs, and why running a tool on a timeframe it was not built for ruins its result. Smart money and liquidity — what an Order Block and a Liquidity Sweep really are A clear explanation of smart money concepts: order block, liquidity sweep, break of structure, fair value gap — and how to read them on the chart without the jargon. Moving averages and trend indicators — how to use them and where they stop working The difference between SMA and EMA, the crossover method, choosing the period, and most importantly: why trend indicators lag and how to work with that lag. Indicator vs robot (Expert Advisor) — what the difference is and which you need An indicator analyses and tells you; a robot executes for you. The difference explained in detail, which one suits your situation, and why confusing them costs money. Spread, commission and swap — the real cost of every trade The three costs that eat into your profit on every trade, how to see them in your platform, and why they decide whether your strategy is profitable at all. Trading indicators: the 20 that matter and what each tells you A plain guide to the 20 core trading indicators in four families: trend, momentum, volatility and volume. What each one measures, its common settings, and where it fails. Multi-timeframe scalping — trend from above, entry from below How to scalp with multiple timeframes: one for trend, one for the setup, one for entry. Timeframe ratios, session timing, costs, and the repainting trap in MTF indicators.

Everything here is educational, not investment advice. Leveraged trading carries a high risk and you can lose your entire capital. Test any tool on a demo account first, and never risk money you cannot afford to lose.