Category
Platform
Difficulty
Beginner
Used in
MT5 operationRisk managementEA evaluation

Lot size

The unit of trade volume in MT5. One standard lot is 100,000 units of the base currency; a micro lot is 1,000 units, entered as 0.01.

also: lot, trade size, volume, contract size

Updated

In plain English

Lot size is how much you are trading. Everything else — the profit, the loss, the margin, the cost of the spread — is that one number multiplied by something. It is the only input on a trade that scales all the others at once.

Why it matters

Almost every account that fails does so because of this field rather than because of the strategy. An edge that is real at 0.01 lots is still real at 0.5 lots; what changes is whether the account survives the drawdown on the way to collecting it.

  • It scales the outcome linearly and the survival probability non-linearly. Doubling the lot doubles the profit and more than doubles the chance of not being there to take it.
  • It is the field that connects a published backtest to your account. A result produced at 0.10 lots on $10,000 describes a percentage, not a lot size.
  • It is enforced by the broker on three separate axes — minimum, maximum and step — and an EA that ignores any of them fails at order send rather than at signal.
  • It is the one part of an EA that must be changed on deployment. Every other input can usually be left at the author's defaults; this one cannot.

In MetaTrader 5

Where it appears in MT5

  • New Order dialog (F9) → Volume — entered in lots, so 0.01 is a micro lot and 1.00 is a standard lot
  • Market Watch → right-click a symbol → Specification → Contract size, Minimal volume, Maximal volume and Volume step
  • Toolbox → Trade → the Volume column on every open position
  • Strategy Tester → Inputs — the EA's lot input, which is what a published backtest was produced with
  • Toolbox → Journal — where an order rejected for invalid volume is recorded, usually as invalid volume rather than as a strategy event

How EAs use it

  • A fixed-lot EA sends the same volume regardless of balance, so the risk per trade as a share of equity changes every time the account does.
  • A risk-based EA computes volume from equity, risk percentage and stop distance, then must round the result to the broker's volume step before sending it.
  • Rounding is where implementations differ: rounding up can exceed the intended risk, rounding down can produce zero on a small account, and neither is obviously right.
  • The computed volume has to be checked against the symbol's minimum and maximum, both of which vary by symbol and by broker.
  • Portfolio EAs multiply the problem by the number of legs — total exposure is the sum, and margin is consumed against all of them at once.

Typical settings

Setting Typical value Note
Standard lot 1.00 100,000 units of base currency. About $10 per pip on a USD-quoted major.
Mini lot 0.10 10,000 units. About $1 per pip.
Micro lot 0.01 1,000 units. About $0.10 per pip — the usual minimum, and the usual starting point.
Volume step 0.01 typical The increment the broker accepts. A computed 0.037 must be rounded to a valid step or the order is rejected.
Minimum volume 0.01 on most accounts Read it per symbol. A few accounts still require 0.10, which changes the smallest account an EA can run on.

Common operational problems

  • An EA sending a volume below the symbol minimum fails silently from the user's perspective — the Journal records it, the chart shows nothing.
  • A computed volume with more decimal places than the volume step allows is rejected, which looks like an EA that has stopped trading.
  • Fixed lots carried over from a backtest on a larger account means the same nominal risk against a fraction of the equity.
  • Maximum volume caps bite on large accounts, and a portfolio EA can hit the per-symbol cap while the account is far from its limit.
  • Contract size is not 100,000 for metals, indices and crypto, so pip value arithmetic carried over from FX gives the wrong risk on those symbols.

Related MT5 functions

SymbolInfoDouble(symbol, SYMBOL_VOLUME_MIN)
Smallest volume the broker accepts for this symbol.
SymbolInfoDouble(symbol, SYMBOL_VOLUME_STEP)
The increment a computed volume must be rounded to.
SymbolInfoDouble(symbol, SYMBOL_TRADE_CONTRACT_SIZE)
Units per lot — 100,000 on FX, something else on nearly everything else.
SymbolInfoDouble(symbol, SYMBOL_TRADE_TICK_VALUE)
Account-currency value of one tick per lot, which is what turns a stop distance into money.
OrderCalcMargin(type, symbol, volume, price, margin)
Margin the volume will require before the order is sent.

Example

The same 50-pip stop, on the same $5,000 account, at three lot sizes. The strategy is identical in all three columns; only the field marked Volume differs.

0.01 lots
$5 at risk
0.1% of the account. A twenty-loss streak costs 2%.
0.10 lots
$50 at risk
1% of the account — the conventional starting point for a strategy with a known record.
0.50 lots
$250 at risk
5%. A ten-loss streak, which most strategies produce eventually, halves the account.
1.00 lots
$500 at risk
10%. Ruin is now an ordinary losing sequence rather than a disaster.

Nothing about the edge changed across these rows. What changed is how many consecutive losses the account can absorb before the arithmetic stops working.

Calculation 50 pips × $10 per pip per lot × volume = risk per trade

Result One strategy, four completely different accounts

How it is used

Lot size is an output, not a setting. Decide risk per trade first, then let the stop distance and the pip value produce the volume.

Range What it means
Risk per trade under 1% of equity Conventional. A long losing streak is uncomfortable rather than terminal.
1–2% Workable for a strategy with a long, verified record and a known worst streak.
2–5% A ten-loss streak takes a quarter to a half of the account. Justify it explicitly.
Over 5%, or fixed lots never revisited The account is sized to an ordinary losing sequence rather than to the strategy.
  • Compute volume from risk and stop distance, then round down to the broker's volume step. Rounding up quietly exceeds the risk you chose.
  • Read minimum volume, maximum volume and volume step per symbol before deployment, not after the first rejected order.
  • Translate any published backtest into a percentage of its account before comparing it with yours. The lot size in the report is not transferable.
  • For portfolio EAs, add the legs. Per-leg risk that looks conservative can be several percent when six legs open together.
  • Check contract size on anything that is not an FX pair, because pip-value arithmetic carried over from FX is wrong there.

Every EA listed here publishes the account size and lot size its backtest was produced with, so the result can be restated as a percentage before it is compared with anything.

Common mistakes

Deploying the author's default lot

An EA's default volume was chosen for the account the author tested on. On a smaller account the same number is a multiple of the intended risk, and it is the single most common reason a strategy that backtested well ends an account in its first drawdown.

Sizing from margin instead of from risk

The largest position the margin permits and the largest position the strategy should take are unrelated numbers. Margin says what the broker will allow; risk per trade and stop distance say what the account can survive. Only the second is a sizing method.

Rounding a computed volume the convenient way

A risk calculation produces something like 0.037 lots, which no broker accepts. Rounding up to 0.04 exceeds the chosen risk by 8% on every trade forever; rounding down to 0.03 does not. On small accounts the rounding decides the risk more than the calculation does.

Assuming a lot is 100,000 units

It is on FX. On gold, indices and crypto the contract size is different, so pip value per lot is different and a stop distance converts into a completely different amount of money. Read contract size from the symbol specification rather than assuming it.

Frequently asked questions

What lot size should I use?
The one that follows from your risk per trade. Take a fixed share of equity — one percent is the usual starting point — divide it by the stop distance in pips and by the pip value per lot, then round down to the broker's volume step. The number that comes out is the lot size; it is not something to choose directly.
Why does my EA say invalid volume?
The volume it computed is below the symbol's minimum, above its maximum, or not a multiple of the volume step. All three are read from the symbol specification and all three vary by symbol and broker. The rejection is recorded in the Journal rather than shown on the chart, which is why it often looks like an EA that has simply stopped trading.
Can I run an EA that was backtested at 0.10 lots on a smaller account?
Only after restating the result as a percentage. A backtest at 0.10 lots on $10,000 risks a certain share of equity per trade; the same 0.10 lots on $1,000 risks ten times that share, which turns the tested drawdown into a stop-out. Scale the lot by the account ratio, or use the EA's risk-based sizing if it has one.
Is 0.01 lots too small to be worth trading?
It is the right size for verifying that an EA behaves on a live account the way it did in testing, which is a different question from whether the returns are meaningful. Running a strategy small for a few dozen trades costs very little and is the only way to see the execution, the costs and the order handling on your own broker.