Forex Position Size Calculator

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.

Loading a reference rate…

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.

Please fill in every box with a number greater than zero.
Amount at risk —
Pip value, 1 standard lot —
Exact position size —
Lot size to trade (rounded down) —
Mini lots / micro lots —
Units —
Actual risk at that lot size —
Too small. At this stop loss and this risk percentage, the lot size comes out below your broker's Minimal Volume, so the account is too small to take this trade. Raising the percentage to make it fit means risking more than you planned.
This tool calculates position size only. Check the Contract Size, Volume Step and Minimal Volume against your own broker's Specification window, and confirm the margin requirement and the exact price before placing a trade. Trading forex and CFDs carries a high level of risk and may result in the loss of your invested capital.

How to Calculate Position Size in Forex

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.

Gold, Indices and Other Instruments

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.

Lot Sizes: Standard, Mini and Micro

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.

LotUnitsEntered in MT4/MT5 asPip value*
Standard100,0001.0010
Mini10,0000.101
Micro1,0000.010.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.

Position Size Is a Consequence, Not a Setting

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.

Three Things That Will Make This Calculation Wrong

The exchange rate is a snapshot

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.

Your EA may count in points, not pips

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.

Nothing here models correlation

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.

Frequently Asked Questions

How do I calculate lot size in forex?
Multiply your balance by your risk percentage to get the amount at risk. Divide that by the stop loss in pips multiplied by the pip value of one standard lot in your account currency. A $10,000 account risking 1% with a 25-pip stop on EUR/USD gives $100 ÷ (25 × $10) = 0.40 lots.
Is a lot size calculator the same as a position size calculator?
Yes. Both names describe the same calculation. MetaTrader expresses position size in lots, so a forex lot size calculator and a position size calculator return the same answer from the same inputs.
Can I use it for gold, indices and other instruments?
Yes, for any instrument whose profit MetaTrader 5 works out from the contract size, which covers forex and CFDs. Choose Other instrument, then copy Digits, Contract size and Profit currency from your broker's Specification window: in Market Watch, right-click the symbol and choose Specification. The calculator gives no lot size until the Contract Size is filled in, because brokers set different contract sizes for the same instrument. It does not cover exchange-traded futures, whose profit is worked out from a tick price and a tick size.
What risk per trade should I set on an EA?
We do not publish a recommended figure, because the right number depends on your drawdown tolerance, the EA's trade frequency and whether positions can overlap. What the calculator does is show you the consequence of whatever figure you choose. A low percentage applied to many simultaneous correlated positions is not low risk.
How does the calculator work out pip value?
A pip is 0.0001 on most pairs and 0.01 on JPY pairs, so one pip on a standard lot of 100,000 units is worth 10 units of the quote currency, or 1,000 yen on a JPY pair. If the quote currency is not your account currency, the calculator converts that figure at the exchange rate shown, which you can overwrite with your broker's price. For gold, indices and other instruments there is no pip value to enter: the calculator multiplies your stop loss, as a price distance, by the Contract Size. It never asks for the Tick value shown in MetaTrader 5's Specification window, because Tick value is not a pip value.
My EA's stop loss is in points. Do I need to convert it to pips?
No. Set the unit beside Stop Loss to Points and check the Digits box against your symbol. A point is the last decimal place of the price: with Digits 5 a point is 0.00001, so a 250-point stop on EUR/USD is 25 pips. With Digits 2, as on many gold symbols, a point is 0.01.
Why is my broker rejecting the lot size this gives me?
Almost always a volume step or minimal volume rule. The calculator rounds down to the Volume Step in the box, which is 0.01 unless you change it, and shows the risk at that size. If your broker's step or minimum for the symbol is different, type in the figures from its Specification window. If the rounded size is below the Minimal Volume, the calculator gives no lot size: the account is too small for that stop loss at that risk percentage. Rounding up to the minimum would silently increase your risk.
Does this work for MT4 and MT5?
Yes. The arithmetic is platform-independent. Balance, risk percentage, stop distance and contract size do not change between MetaTrader 4 and MetaTrader 5. The boxes are named after the rows of the Specification window in MetaTrader 5. On MetaTrader 4, take the same figures from that platform's own symbol specification.
Is it free, and do you store what I enter?
Free, with no signup. Every calculation runs in your own browser, so the figures you type are never sent to us or anyone else and are not stored. The only thing the page loads from outside is the public European Central Bank reference rate table, requested from Frankfurter, an open-source exchange rate service.

Before You Let an EA Size Your Trades

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.

The Sizing Is the Easy Part

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.

The Robotic Trader Logo

© 2026 The Robotic Trader. All rights reserved.