Lot Calculator — Risk Management Series 01
Position sizing does not start with “how much do I want to trade.” You first set a loss budget, divide it by the loss per lot at your stop, then layer on the margin ceiling and the lot step to finalize the trade size. This guide organizes the relationship between account equity, risk percentage, stop distance, contract specification and currency conversion into seven steps, and serves as the pillar page you can reuse across FX, gold, index and crypto CFDs.
Key takeaways
The answer
The first principle of FX and CFD lot size calculation is to not choose the lot first. The basic method is to take a loss budget you decide in advance and divide it by the loss you would take if one lot were stopped out; that gives the number of lots. You then layer on the ceiling that your margin can support and the lot step, and round down in the direction that does not exceed your budget. Choosing a desired position size first and then fitting the stop distance to it reverses the logic that sound risk management requires.
Put another way, lot size is fixed at the single point where several conditions meet: account balance, risk percentage, stop distance, contract specification and margin. A large balance still produces a small lot if the stop is wide, and low leverage can make margin the binding limit even when the loss is within budget. If you want to build the foundation from what a lot actually contains, start with the guide that breaks down what 0.01, 0.1 and 1.0 lots mean in units.
This article is the pillar page for ten specialist guides. It states the conclusion and entry point for each theme while linking the detailed calculations to their own articles. Every number, diagram and mini-calculation shown here is fictional educational data, not a recommendation for any instrument or a forecast of future results. Because lots and contract specifications vary by broker, account, instrument and jurisdiction, confirm the official contract specification before you trade.
Terminology
Before the arithmetic, it helps to separate words that are easy to confuse. A lot is the unit of trade size, and what one lot means is set by the instrument and the broker’s contract specification. In forex, treating one lot as 100,000 units of currency is a common example, but even that is not universal. Contract size is the contents of one lot — the amount of currency, the number of ounces, the number of contracts — and it drives both the notional value and the size of your profit and loss.
A pip is the common name for the smallest price move in forex; in USDJPY, for instance, a move of 0.01 yen counts as one pip. In CFDs the same role is often called a point or a tick, and in index CFDs a move of 1.0 is treated as one point in some examples. Not only does the name differ, the profit-and-loss value of one pip or one point also differs by instrument, so carrying a forex intuition straight into CFDs is how traders misplace a decimal. This distinction is worked through concretely in the guide on lots, currency units, pips and pip value.
One more pair to keep apart: trade size and notional value. Trade size is expressed in lots, but the money you are actually exposing to the market — the notional value — is the contract size multiplied by the price. Even at 0.5 lots, a higher-priced instrument produces a larger notional value and therefore a larger required margin. Not judging risk from the lot number alone is the first mindset to adopt.
The big picture
Lot size calculation runs one way: it starts at the account base and ends by rounding down to the lot step. The SVG below shows that flow as six boxes (it scrolls horizontally).
In words, that is the following seven steps. The worked examples below carry all of them through with one consistent set of fictional educational data.
The point of this order is to fix the loss budget first in step 2, and to round down rather than round to nearest in step 7. Rounding up would exceed the loss budget, so the rounding always falls to the safe side.
General formula
Written with units, the skeleton of lot size calculation is the general formula below. Attaching units, not just variable names, makes a misplaced decimal easier to catch.
Now substitute the fictional educational data. When the P&L currency (JPY for USDJPY) is the same as the account currency (JPY), this is the example where the conversion step is not needed.
When the P&L currency differs from the account currency, you insert a separate step to convert the value per lot per pip into the account currency. For example, if P&L arises in USD and the account is in JPY, then “value per pip in USD × USDJPY rate = value per pip in JPY,” and the important thing is not to reverse this direction. Whether you multiply or divide by the rate depends on which currency is the base, so always confirm the direction in words as “convert the P&L currency into the account currency.” The full formula treatment for forex is covered in the guide on the forex lot size formula from risk and stop-loss pips.
Note that this formula addresses the lot ceiling based on the loss at the stop. It does not include spread, commissions, swap, tax or slippage at execution. Because these are handled differently by each broker, treat them as excluded and account for them separately.
Dual gate
The 0.50 lot from the previous section is only the ceiling seen from the loss side. Whether you can actually place it is also limited from the funding side — that is, by required margin. The two do not move together, and you always adopt the smaller one. The diagram below shows this dual gate (values are fictional educational data).
The margin-constrained lot is worked back from equity and leverage. In the example, with equity of ¥500,000 and leverage of 25x, the maximum notional value you can hold is ¥12,500,000. Taking USDJPY at 150.00, that is about 83,333 units, or roughly 0.83 lot at 100,000 units per lot — the funding-side ceiling. Because it is larger than the 0.50 lot from the loss side, the loss side binds first in this example and the adopted size is 0.50 lot. Conversely, when the stop distance is very tight, the risk-constrained lot grows and the margin-constrained lot can become the binding limit first.
For the 0.50 lot adopted here, it is worth also checking the required margin, margin usage and effective leverage. The notional value is 50,000 units × ¥150 = ¥7,500,000; the required margin is ¥7,500,000 ÷ 25 = ¥300,000; the margin usage is ¥300,000 ÷ ¥500,000 = 60%; and the effective leverage is ¥7,500,000 ÷ ¥500,000 = 15x. The higher the margin usage, the smaller your cushion before liquidation on an adverse move. Required margin, margin usage and effective leverage are an important theme on a separate axis from lot sizing, covered in detail in the guide on required margin, margin usage and effective leverage.
The loss budget, stop distance, value per pip and leverage from the steps above go directly into SG Group’s free lot size calculator. A good flow is to check the estimated lot, estimated loss, margin usage and effective leverage in recommended-size mode, then reverse-check a lot you have in mind in lot-check mode. Everything is computed in the browser.
Instrument differences
The skeleton of lot size calculation is the same for every instrument, but the contract specification you substitute is entirely different. The table below places FX (USDJPY), a gold CFD (XAUUSD) and an index CFD side by side on the same points, as fictional educational data (it scrolls horizontally).
| Aspect | USDJPY (FX) | XAUUSD (gold CFD) | Index CFD (example) |
|---|---|---|---|
| Contract size of one lot | 100,000 units | 100 ounces | 1 contract |
| Name of the minimum move | pip (0.01) | price increment (0.01 USD) | point (1.0) |
| P&L per lot per minimum move | ¥1,000 / pip | $1 / 0.01 | $10 / point |
| P&L currency | JPY | USD | USD |
| Conversion for a JPY account | not required | required (×150) | required (×150) |
| Main specialist guide | LC03 / LC05 | LC07 | LC08 |
There are three points. First, the contents of one lot (the contract size) differ fundamentally — units of currency, ounces, contracts. Second, what the minimum price move is called (pip / increment / point) and its profit-and-loss value per unit differ. Third, whenever the P&L currency differs from the account currency, a conversion step always enters. USDJPY produces P&L in JPY, so a JPY account needs no conversion; XAUUSD and the index CFD produce P&L in USD, so a JPY account requires conversion.
The gold (XAUUSD) price increment, P&L per lot and stop risk are shown with concrete numbers in the guide on XAUUSD lot size calculation, and the point values and contract sizes of instruments such as index and crypto CFDs are covered in the guide on CFD position sizing for indices and crypto, each with instrument-specific figures. What to hold onto here is the principle: the formula is shared, but the contract specification is per instrument.
Hands on
The mini-calculator below is an educational aid for getting a feel for the article’s formula. It holds no instrument presets or live rates and estimates only from the values you enter. Do your real lot size calculation, including contract specifications and margin, in the free lot size calculator. First, so it can still be read with JavaScript disabled, here is a static calculation table using the same example inputs.
| Item | Value | Formula / meaning |
|---|---|---|
| Account base | ¥500,000 | foundation of the calculation |
| Risk % | 2% | loss share allowed on one trade |
| Stop distance | 20 pips | price gap to the stop |
| P&L value per lot per pip | ¥1,000 | in account currency, post-conversion |
| Loss budget | ¥10,000 | 500,000 × 2% |
| Lot before rounding | 0.50 | 10,000 ÷ (20 × 1,000) |
| Lot after rounding down | 0.50 | rounded down at lot step 0.01 |
| Estimated loss | ¥10,000 | 0.50 × (20 × 1,000) |
This mini-calculator is a single-position estimate and includes simplifications that can differ from the production tool’s results. It does not reflect the direction of P&L-currency conversion, the margin constraint, or each broker’s lot step and minimum lot. For a check against your actual conditions, including contract specifications, use the free lot size calculator.
Check it free
Once you understand the flow by hand, enter your own conditions in SG Group’s free lot size calculator and check. For a single position, the free version can check the input-derived estimated lot, the estimated loss and risk percentage at the stop, the required margin and margin usage, the effective leverage, and a reverse check of a lot you enter, with estimates for FX, gold, index and crypto CFDs. The order of use is as follows.
The “recommended lot” shown here means an input-derived estimated upper bound or calculated result, not investment advice. The figures are estimates based on your inputs, and whether spread, commissions, swap, slippage and liquidation handling are included depends on the implementation.
Once you move beyond a single position and want to see aggregate risk across multiple positions, concentration in the same currency or index, or correlation, that is the territory of the guide on aggregate risk across multiple positions, which the Pro aggregate-risk features address. If you then need ongoing management with the encrypted Vault or stress testing, that is the scope of Premium. Treat the plans page as the single source of truth for the current features and pricing.
Avoid
Most lot size mistakes collapse into the same few patterns. If any of them feel familiar, that is your entry point into the next guide to read.
Checklist
Before you set your trade size, checking the following items top to bottom prevents gaps in the calculation.
| Stage | What to confirm |
|---|---|
| Loss budget | Did you fix the loss budget first from the account base and risk %? |
| Stop | Did you place the stop with a rationale and express the price gap in the correct unit? |
| Contract spec | Did you confirm the contract size of one lot and the P&L value per pip/point? |
| Conversion | If the P&L currency differs from the account currency, is the conversion direction correct? |
| Dual gate | Did you take the smaller of the risk-constrained and margin-constrained lots? |
| Rounding | Did you round down to the lot step so as not to exceed budget? Is it still at or above the minimum lot? |
| Excluded factors | Did you separately account for spread, commissions, swap, slippage and tax? |
Learning roadmap
Starting from this pillar guide and reading the cluster in beginner, intermediate and advanced order builds a full picture of lot sizing and risk management. You can also browse the full list from the English article library.
FAQ
Summary
What “lot size calculation” really decides is not the amount you want to trade, but the amount that stays within the loss you can accept. Divide the loss budget by the loss per lot at the stop, take the smaller of that and the margin constraint, and round down to the lot step — this sequence is the skeleton. Pips, points, contract size and currency conversion change shape by instrument, but the formula itself is shared.
In practice, five points keep you from going far wrong: (1) fix the loss budget first, (2) align the stop and contract specification in the correct units, (3) insert a conversion step when needed, (4) take the smaller of the risk-constrained and margin-constrained sizes, and (5) round down and check the minimum lot. After that, all that remains is to recompute with your own conditions.
Read next
LC02: What do 0.01, 0.1 and 1.0 lots mean? Units, pips and pip value explained — start by locking in what a lot contains and the value of one pip.
Disclaimer
Sources and further reading