Skip to content
Economicium Free tools for markets and money.

Position Size Calculator

Work out exactly how many lots to trade from your account size, risk percentage and stop-loss, across forex, gold, oil, indices and crypto, in your own account currency.

By , founder and editor Updated

Stop-loss as
Contract settings (match your broker)

 

Money at risk
-
Units / quantity
-
Pip value (per lot)
-

Why size from risk, not from gut feel

Position Sizing solves only one problem completely under your control prior to entering into a trade — How much will I lose if I am incorrect? Before you place an order; fix the dollar loss amount based on the account size in dollars (percentage) and then through simple math the position size is determined. Because the position size is a direct function of the stop placement distance (a wide stop = smaller position / tighter stop = larger position), regardless of which market you are trading and time frame; each trade will risk the same percentage of your account.

The alternative, picking a lot size first and hoping the stop is survivable, is how accounts die: the same 1.00 lot that is conservative on EUR/USD is wildly aggressive on gold, because contract sizes and volatility differ by an order of magnitude between instruments.

The formula

lots = (balance × risk%) ÷ (stop distance × contract size × conversion rate)

where stop distance is in price units (pips × pip size, or |entry − stop|), contract size is the units per 1.00 lot, and conversion rate turns the instrument's quote currency into your account currency (it is 1 when they already match).

A worked example

A $10,000 account risks 1% on EUR/USD with a 20-pip stop. Risk budget: $100. One standard lot is 100,000 EUR, and a pip is 0.0001, so a 20-pip stop on one lot loses 20 × 0.0001 × 100,000 = $200. The quote currency is already USD, so no conversion:

lots = $100 ÷ $200 = 0.50 lots (50,000 EUR)

Same account, same 1%, but on gold with a $5.00 stop: one lot is 100 oz, so the stop on one lot loses 5.00 × 100 = $500, and the position is $100 ÷ $500 = 0.20 lots. Same risk, very different lot number, which is the entire point.

Where other calculators go wrong

Many have learned the hard way to never assume all instruments will behave like Forex. Index CFDs (and other products) are the mine field; with some brokers, you could find that one NAS100 lot can be priced at $1/point, while others price it at $5/point, $10/point, or even $20/point; a twenty fold difference in results from using identical input data. In oil, we see both 100 barrel CFD lots and 1,000 barrel futures. The position size tool provides reasonable default values for the majority of commonly traded products. It flags each product type where different brokers may use different sizes. Most importantly, it allows you to enter the specific contract size from your brokers specifications so you know what you're doing. A position size tool that does nothing but guess is as bad as having no such tool.

One calculator for forex, gold, crypto and index CFDs

The main reason we can use just one tool to measure all of these trades (EUR/USD; Gold; Bitcoin; DAX) is simply because there are really only two numbers in play: the Contract Size (the amount of money in each trade lot), and how many Units one Lot contains. Therefore, the Risk Math used is virtually the same as well. When selecting an Instrument, the Calculator automatically loads the most commonly accepted Broker Convention for each. For example: Standard Forex Lot = 100,000 Units; Gold Spot = 100 oz; One Coin = Crypto Spot; Index Unit = Cash Indices. It will then either confirm this setting based on the Broker’s specifications or allow you to replace it with whatever they specify. All subsequent calculations – i.e., Pips/Points and the actual Lot Number – come from that first entry.

What trips people up is that the answer arrives in a different unit per market, and the word “lots” quietly shifts meaning. On forex it is lots of 100,000. On gold it is lots of 100 ounces. On spot crypto most people size in coins or dollars rather than lots, so set the contract size to 1 and read the result as the number of BTC or ETH. On futures, one “lot” is one exchange-defined contract, an MES or an MNQ, with a fixed multiplier per point. The calculator sizes all four; you only have to know which unit you are reading.

Sizing the stop from ATR

Many users will use a multiple of their average true range (atr) from the price they entered as a stop loss rather than entering a fixed dollar amount, thus allowing the stop loss to move with volatility. This does not require a special calculator as most charting packages have an atr value listed somewhere on the screen. Simply choose the multiple (1.5 and 2.0 are popular multiples) and put this into the box labeled "stop". With a larger atr, you automatically get a smaller size, or less exposure to a given market for the same level of account risk. Again, the method used to determine your stop distance is irrelevant, it simply determines what number you enter.

Frequently asked questions

What percentage of my account should I risk per trade?
Most risk-management writing converges on 1% to 2% per trade, with 0.5% common for newer traders. The point of a fixed fraction is survival: at 1% risk, even ten straight losses draw the account down under 10%, which is recoverable. This calculator takes whatever percentage you choose; it does not recommend one.
Why does the calculator ask for my account currency?
Stop-losses are based on the quote currency (not necessarily your own) so if you have an account denominated in euro but trade USD/JPY, the actual loss will occur in yen which then needs to be converted into euros, so that it can be evaluated relative to your total risk exposure. It uses dated ECB reference rates for this conversion and also allows the use of the current rate offered by your brokerage firm.
Why is my broker’s result slightly different?
Three common explanations: Your broker is using an actual exchange rate, whereas this tool is using the daily European Central Bank (ECB) reference rates. The Contract Size for Metals, Oil Indices, Crypto etc., for your account is different than the default one (you can edit this in the contract settings section). Or your brokerage firm has stepped up the rounding of Lot Sizes by .01 Lots.
Does this work for futures contracts?
Partially. The math is the same, however; futures have set contract sizes defined by a tradeable unit or exchange definition (for example, one CL crude contract is for 1000 barrels, whereas a single MES contract is valued at $5 per index point). Define your contract size in the Contract Size field and use "Lots" as the number of contracts. A dedicated futures calculator that calculates tick value per contract is planned.
Does leverage change my position size?
no, and this is probably the single biggest mistake people make in terms of sizing their trades with crypto and cfd's. The only things that determine the correct position size are the amount of money you can afford to lose when the stop gets triggered (risk) and the stop-loss itself. It does NOT matter how high your account leverage is - higher leverage simply allows for less collateral to be required to place the same sized trade. So, first establish the position size based on your maximum acceptable loss, then run that through an appropriate margin calculator to see if you have enough free margin to support that size of trade.
Is there an app to download, or does it run in Excel or MT5?
You don't have to get anything. It's a completely free web-based application that works exactly the same way as it would on your mobile device or desktop computer with no software download required. To use a setup again, the "Copy Link" button will encode your entries into a URL you may save/bookmark/share (to act like a saved spreadsheet) while using the same math in an Excel worksheet or an MT5 script, however, their value is in automating the process versus arriving at a different result; this formula contains all of the math.

Method and limitations

The calculation is pure arithmetic on your inputs: risk budget = balance × risk%, loss per lot = stop distance × contract size (converted to your account currency), position = risk budget ÷ loss per lot. Nothing is estimated or modelled.

Limitations worth knowing: the result ignores spread, commission, slippage and swap, all of which add to the real cost of a losing trade, so treat it as the ceiling, not the target. Currency conversion defaults to a once-daily ECB reference rate rather than a live quote. Contract-size defaults follow common retail conventions and your broker may differ, which is why the field is editable and flagged per instrument. Brokers also round lot sizes to their own minimum step.

Data sources

This tool runs entirely in your browser. Nothing you enter is sent to us or stored.

For general information and education only. This is not financial advice and not a recommendation to buy or sell anything. This tool is provided as is, with no warranty of accuracy: like any software it can contain errors, so always verify figures against your broker or the original source before acting on them. Trading and investing carry risk, including the risk of losing more than your initial outlay.

Spotted an error? Email [email protected] and it will be corrected. Maintained by Joey van Diest.