Choose a currency pair, or any other instrument your broker offers, enter your balance, risk and stop loss, and get the lot size to trade. Free, no signup, and nothing you type leaves your browser.
For a currency pair the calculator works out the pip value for you. For gold, an index or another instrument, it uses the figures in your broker's Specification window. It returns the amount at risk and the lot size to trade, rounded down to your broker's Volume Step.
Contract Size, Volume Step and Minimal Volume are filled in with the usual figures. Replace them with the ones in your own broker's Specification window: in Market Watch, right-click the symbol and choose Specification. Type the number only.
Every position size calculator, including this one, runs the same three steps. Decide how much of the account you will lose if the stop is hit. Work out what one pip is worth on a standard lot of the pair, in your account currency. Then divide the first figure by the stop distance multiplied by that pip value.
Lot size = amount at risk ÷ (stop loss in pips × pip value per standard lot)
Example 1: EUR/USD on a USD account. Balance $10,000, risk 1%, stop loss 25 pips.
Amount at risk: $10,000 × 1% = $100. EUR/USD is quoted in US dollars, so one pip on a standard lot is worth $10.
Lot size: $100 ÷ (25 × $10) = 0.40 lots, or 40,000 units.
Example 2: USD/JPY on a USD account. Balance $10,000, risk 1%, stop loss 30 pips, USD/JPY at 150.00 (an illustrative price, not a current quote).
A pip on a JPY pair is 0.01, so one pip on a standard lot is worth ¥1,000. Converted at 150.00, that is $6.67.
Lot size: $100 ÷ (30 × $6.67) = 0.50 lots.
The second example is why a single remembered pip value goes wrong. Whenever the pair is not quoted in your account currency, the pip value depends on an exchange rate, and the calculator above asks for that rate. If you are sizing trades for a funded account, the Prop Firm Challenge Risk Calculator works backwards from a firm's daily and maximum loss limits instead.
Away from currency pairs there is no standard pip, and what one lot is worth is set by each broker. So the calculator does the same sum with the contract size in place of the pip value. Choose Other instrument and copy the figures from your broker's Specification window in MetaTrader 5: in Market Watch, right-click the symbol and choose Specification.
Lot size = amount at risk ÷ (stop loss as a price distance × contract size)
The boxes carry the names of the rows in that window: Digits, Contract size, Profit currency, Volume step and Minimal volume. Type the number only. The window can show a contract size with a space and a currency after it, such as 100 000 EUR, and the calculator reads that as 100000. If the Profit currency is not your account currency, the calculator converts at the exchange rate shown, as it does for a currency pair.
Example 3: a gold symbol on a USD account. Balance $10,000, risk 1%, stop loss 500 points, Digits 2, Contract size 100, Profit currency USD (illustrative figures: read your own broker's).
With Digits 2, one point is 0.01, so 500 points is a price distance of 5.00. One lot at the stop loses 5.00 × 100 = $500.
Lot size: $100 ÷ $500 = 0.20 lots. At a broker whose contract size for the same symbol is 500, one lot loses $2,500 and the lot size is 0.04 lots.
Do not use the Tick value row. The calculator does not ask for it. Tick value is not a pip value, and it does not appear for every symbol. On a gold symbol we checked in November 2026 (MetaTrader 5 build 6327), the window showed a Tick value of 0.1 where the tick size multiplied by the contract size gives 1.00. Sizing a trade from that row would have given a lot ten times too large.
What this calculator does not cover. A symbol whose profit MetaTrader 5 works out from a tick price and a tick size, which is how exchange-traded futures are calculated, rather than from the contract size. The Calculation row of the Specification window names the method your symbol uses. It also cannot size an instrument whose Profit currency is not one of the eight currencies listed.
On a currency pair, a lot is a fixed number of units of the base currency. MetaTrader expresses every order in standard lots, so a mini lot is entered as 0.10 and a micro lot as 0.01. On any other instrument, one lot is whatever your broker's Contract size says it is.
| Lot | Units | Entered in MT4/MT5 as | Pip value* |
|---|---|---|---|
| Standard | 100,000 | 1.00 | 10 |
| Mini | 10,000 | 0.10 | 1 |
| Micro | 1,000 | 0.01 | 0.10 |
*In account currency, on a pair quoted in that currency, such as EUR/USD on a USD account. For any other pair, use the calculator.
Most traders pick a lot size and discover their risk afterwards. The calculation runs the other way round. Risk per trade is the decision. Stop distance is set by the strategy. Lot size is simply what falls out of the two.
That ordering matters more with an Expert Advisor than it does manually, because an EA will apply whatever sizing rule it is given, thousands of times, without ever asking whether the result still makes sense. An EA that lets you set lots directly, with no risk-based sizing option, is handing you the least useful of the three controls — and it will keep using that fixed lot size as your balance halves.
For any pair or instrument not priced in your account currency, the result moves with the exchange rate. The calculator pre-fills the European Central Bank's reference rate for the latest published day, which is close enough to size a trade but is not the price on your screen. For a precise figure, overwrite it with your broker's current price.
On five-digit pricing (three digits on JPY pairs), MetaTrader measures distances in points, and one pip is ten points. An EA input showing a stop loss of 250 is usually 25 pips. Enter it as 250 with the unit set to Points, or as 25 with the unit set to Pips. Enter 250 as Pips and the calculator will size the trade ten times too small. When the unit is Points, the Digits box tells the calculator how big one point is, so check it against your symbol.
Risking 1% on six positions is not the same as risking 6% across six unrelated ones, if those six are effectively the same bet on the dollar. This calculator sizes one position in isolation. A basket or grid EA holding several correlated trades at once carries a combined exposure this figure does not show, and that combined exposure is what actually threatens the account.
Getting the lot size right is worth very little if the EA doing the trading was never worth running. We publish two free documents that cover the checks we run before we will cover a product at all: the EA Red Flag Checklist, and a Broker and VPS Quick Reference covering the conditions an EA actually needs to perform as advertised.
Both are yours the moment you submit — the download page opens immediately, with no waiting and nothing to find in your inbox. The marketing email tick-box is optional and you can leave it blank.
A correct lot size protects you from one bad trade. It does nothing about an Expert Advisor whose track record was never evidence in the first place. Most of the Expert Advisors we look at never get past our first screen, and most of the ones we review in full do not earn a recommendation.
We publish the reviews that fail as well as the ones that pass, with the current verdict on each. Each review carries the arithmetic, the account each figure came from, and the date it was read. How we test Expert Advisors sets out the method.
This tool performs arithmetic on figures you supply and runs entirely in your browser. Exchange rates are European Central Bank reference rates, published once each working day, and are not live prices. It is not financial advice and it is not a recommendation to trade. Position size is one input among several — it does not account for correlated exposure, margin requirements or slippage against your stop. Trading forex and CFDs carries a high level of risk and may not be suitable for all investors.

© 2026 The Robotic Trader. All rights reserved.