Position sizing: lot-sizing models
9.4 has already established the protective-exit distance. Now fit the number of lots to the amount permitted in your loss scenario. Volume follows from the budget, distance, pip value in account currency and costs; after rounding, it still requires a margin check. We examine four approaches to specifying the budget or distance: fixed fractional sizing, fixed amounts and fixed volume, a volatility range, and Kelly together with its empirical variant. You will also calculate the minimum equity for a particular setup and compare an intraday position with a multiday position at equal nominal risk. A shorter holding period alone does not establish which has the smaller loss after costs.

A volume can pass one limit and fail the next
Imagine that your worksheet returns a permissible volume, but the account cannot allocate that much initial margin while retaining its reserve. Neither calculation has to be wrong: they answer different questions. Start by naming the loss scenario and the resources reserved for opening the position, then test the same rounded volume against both.
Our hypothetical EUR/USD contract has 100,000 EUR per lot, a minimum of 0.01 lot and a step of 0.01 lot. The account is in USD and a pip is 0.0001 USD per EUR. Assume a long entry filled at Ask 1.07140 and a later protective exit filled at Bid 1.06960. The distance between these stipulated fills is 18 pips, worth 180 USD per lot. These are scenario fills, not a guarantee that an ordinary stop produces that price. No financing or other adjustments occur in this model.
Keep the minimum commission inside the inequality
The absolute loss budget is 85 USD. It is a made-up input, not a recommended amount or percentage. The entire opening-and-closing commission is the greater of 3.60 USD and 6 USD times the volume in lots. This minimum applies once to the whole round trip in our invented tariff; do not read it as a per-side charge.
For volume V, scenario loss is 180V+max(3.60,6V). Below 0.60 lot, the minimum commission binds. Solving (85−3.60)/180 gives about 0.45222 lot. The permitted grid therefore requires checking 0.45 lot and its neighbour. At 0.45, loss is 81.00+3.60=84.60 USD; at 0.46, it is 82.80+3.60=86.40 USD. The first passes the loss budget; the next fails. Rounding up would change the answer, even before considering margin.
Apply the separate initial-margin cap to the same candidate
| Volume | Scenario loss | Initial margin | Result |
|---|---|---|---|
| 0.45 lot | 84.60 USD | 1,607.10 USD | Passes loss; fails margin |
| 0.44 lot | 82.80 USD | 1,571.39 USD | Passes both |
For this model only, initial margin is EUR notional divided by 30, converted to USD at the stipulated 1.07140 rate. There are no other positions or orders affecting the calculation. A separate resource sheet supplies 1,900 USD, already net of the modelled immediate account adjustments. It reserves 300 USD outside initial margin, leaving a cap of 1,600 USD. This is a worksheet constraint, not a claim that every account displays those amounts.
The 0.45-lot candidate requires 100,000×0.45×1.07140/30=1,607.10 USD and fails that cap. At 0.44 lot, the requirement is about 1,571.39 USD after rounding to cents. Its scenario loss is 180×0.44+3.60=82.80 USD. It is the largest grid volume satisfying both model limits. The unused loss budget is 2.20 USD; there is no requirement to spend it.
Carry the assumptions into the order check
MetaQuotes lists volume limits, steps and commission settings in the instrument specification. Its margin documentation distinguishes calculation modes, currency conversion and additional settings. Those fields explain what must be checked; they do not supply our invented commission or universal margin formula.
The calculation does not authorise increasing the position until the budget is used. If a quote, commission, conversion or margin requirement changes before submission, rerun the affected checks. A worse exit fill can also exceed the planned loss afterward. Keep the requested volume, accepted volume and actual fills with the calculation. The detailed lesson develops other sizing models; this first worksheet establishes why a mathematically admissible loss budget is only part of an executable plan.
Three exercises with worked answers
The exercise data are hypothetical. Choose an answer, then check the calculation.
Continue to the full sizing models
The full lesson compares fixed fractions, fixed amounts, volatility-based distances and the Kelly family. It also develops currency conversion, volume granularity, margin buffers and an interactive calculator. Use those tools with the specification of the actual instrument.
1. Four quantities and one order
Position size is a function of four inputs and one formula:
V = RD × w
Where:
- V – volume in lots
- R – the permitted loss on this trade, expressed in the account currency (equity × risk percentage)
- D – the distance from the entry price to the protective exit, in pips
- w – the value of one pip on one lot, in the account currency (not in the quote currency)
The four quantities enter that formula as data fixed beforehand and independently of one another; V is nothing but their result. Equity follows from the state of the account. The risk percentage follows from the limit written into the plan – its derivation and the choice of base (settled balance or current equity) is settled by article 9.3, and that ruling holds across this whole section of the course. Distance D follows from the level at which the reason for entering stops holding – from article 9.4. The fourth input is the pip value w: you take it from the instrument specification and convert it into the account currency at the current rate. A conversion error can change the answer by an order of magnitude; an incorrect distance unit or percentage can have a similar effect – the exercise in section 12 shows exactly that mechanism, and the unit check there exists to catch it.
The order is one-directional: hypothesis → invalidation level → distance D → volume V. Reversing it – volume first, then adjusting the exit so the loss comes out to a round number – turns a technical level into a number that follows from convenience. We return to this in the section on mistakes.
Two notes on the status of the numbers, common to the whole article. All amounts, rates and parameters in the examples are illustrative values – they show the calculation procedure, not recommended settings; the one exception is the regulatory parameters in section 8, which have an authority, a legal basis and a date. The volume calculation is identical for long and short positions, so we do not repeat the direction in every example; it returns where it changes the answer: at the sign of the swap points in section 9.
The same trading rules at 1% and 8% risk per trade produce very different outcome distributions, because fixed-fraction losses compound multiplicatively even when the win rate is unchanged. 9.2 calculates ruin probabilities under specified parameters. Its relevant conclusion here is that reducing volume does not make a negative mean positive. In a fixed-amount model with independent ±R payoffs, ruin is then certain over an infinite horizon; a percentage model requires a positive ruin barrier and a separate log-growth check.
2. Model 1: a fixed percentage of equity (fixed fractional)
The model answers one question: how to hold risk constant relative to changing equity. You risk a fixed percentage of current equity on every trade, and you fit the volume to the distance to the protective exit3. The formula is the same one as in section 1, with R = equity × percentage.
V = equity × risk percentageDpips × wpips/lot
The pip value w has to be expressed in the account currency. For EUR/USD on a dollar account that is USD 10 per standard lot and no conversion is needed. For pairs quoted in the yen, or for an account in zloty, it is. Deriving the pip value and the contract size belongs to section 2 of the course; here it is an input taken from the instrument specification. What we do show in full is the conversion itself of that value into the account currency, because that is what enters the volume formula and that is what most often drops out of the arithmetic.
Example 1: EUR/USD, account in USD
Current equity: USD 25,000. Risk: 1%. Exit distance: 35 pips. Pip value: USD 10 per lot. Volume step: 0.01.
- Risk budget: 25,000 × 0.01 = USD 250
- Raw volume: 250 / (35 × 10) = 250 / 350 = 0.7143 lots
- Rounded down to the 0.01 step: 0.71 lots
- Risk after rounding: 0.71 × 35 × 10 = USD 248.50, or 0.994% of equity
The calculation is nominal – without execution costs. We show the variant with costs below, in example 2; the same correction applies here too.
Example 2: GBP/JPY – a pair that requires conversion
Current equity: USD 10,000. Risk: 1%. Exit distance: 60 pips. USD/JPY at the time of the calculation: 153.00 (mid rate, illustrative value).
- Risk budget: 10,000 × 0.01 = USD 100
- Pip value in the quote currency, from the instrument specification: JPY 1,000 per pip on a standard lot – where that quantity comes from is derived in section 2 of the course
- Conversion to account currency: JPY 1,000 / 153.00 = USD 6.5359477 per pip
- Unrounded volume: 100 / (60 × 1000/153) = 100 / 392.1568627 = 0.2550 lot
- Rounded down: 0.25 lots
- Actual nominal risk: 0.25 × 60 × 1000/153 = USD 98.04, or 0.98% of equity
Note step three. The pip value in the account currency was not supplied from memory – it was converted from the quote currency at the current rate. This is where the calculation most often breaks: USD/JPY changes every day, so the pip value on GBP/JPY does too. Had you used the rounded value of USD 6.50, the raw volume would have been 100 / 390 = 0.2564 – still 0.25 lots after rounding down. This time the difference did not change the answer; at a different distance it could have.
The same example after execution costs. The calculation above is nominal: it assumes entry at the price on the screen and an exit exactly at the invalidation level. The net variant puts into the formula the pips by which execution lengthens the actual path of price, together with the commission:
Vnet = R(D + S + G) × w + c
Where S is the spread in pips at the moment of execution, G is the assumed slippage in pips, and c is the commission for a full turn (opening and closing) in the account currency, quoted per lot. Commission per lot grows together with the volume you are solving for, so its place is in the denominator, alongside the other costs proportional to position size – not in the numerator as an amount subtracted up front, because there it would have to be computed on a volume we do not yet know; only a fixed fee, independent of volume, is subtracted from the numerator. The values below are illustrative and you substitute the numbers from your own account specification: c = USD 7 per lot round turn, spread 3 pips, slippage 2 pips. The spread enters the denominator here because the 60-pip distance was measured on mid prices – if your D is already the path from the actual entry price to the actual exit trigger price, set S = 0 so the same cost is not counted twice (see the FAQ at the end of the article). Article 9.10 uses a different illustrative commission rate in its examples – USD 7 per side, that is USD 14 per round turn; the convention is named in both articles.
- Effective distance: 60 + 3 + 2 = 65 pips
- Full loss-scenario cost per lot: 65 × 1000/153 + 7 = 424.8366013 + 7 = USD 431.8366013
- Net-sized volume: 100 / 431.8366013 = 0.23157 → round down → 0.23 lot
- Loss on protective-exit execution: 0.23 × (65 × 1000/153 + 7) = USD 99.32, or 0.99% of equity—within the limit
The difference is material. Nominal volume 0.25 lot, executed under the same assumptions, loses 0.25 × (65 × 1000/153 + 7) = USD 107.96, or 1.08% rather than 1.00%—about 8% above the limit, without price moving beyond the invalidation level. The whole difference lies in two hundredths of a lot. What invalidates this calculation: S and G are scenario assumptions, not upper bounds. They may be larger under other conditions; this calculation does not bound the loss. 9.10 gives a separate gap scenario.
Example 3: an account on which the rule stops being executable
Current equity: USD 2,000. Risk: 0.5%. Exit distance: 25 pips. EUR/USD.
- Risk budget: 2,000 × 0.005 = USD 10
- Volume: 10 / (25 × 10) = 0.04 lots – an exact result, no rounding
The same calculation at a distance of 90 pips: 10 / (90 × 10) = 0.0111 lots. Rounded down to the 0.01 step that leaves 0.01 lots, and the actual risk drops to 0.01 × 90 × 10 = USD 9, that is 0.45% instead of 0.5%. At a distance of 120 pips: 10 / 1,200 = 0.0083 lots – below the minimum volume. At that point the rule stops being executable before it becomes imprudent. There are two conclusions: skip this trade, or take an instrument with a lower pip value. Raising the risk percentage to 0.7% so that the number "works out" is a change of the limit to fit a trade chosen in advance.
A common way of describing the consequence – "200 trades times an average of 0.02 lots times 30 pips times USD 10 is USD 1,200, that is 8% of the account in extra risk" – is a category error. That sum is neither a loss nor a risk: it adds up risk amounts from 200 different trades, each computed off a different state of equity, and treats them as though they were realised simultaneously. The correct description of the consequence is far more modest and concerns a single trade: rounding up by 0.02 lots at a distance of 30 pips raises risk by USD 6, that is from 1.00% to 1.04% of equity. That is 4% of the value of the limit – eaten quietly, without a decision. The reason you round down is exactly that: the limit is meant to be a ceiling, not a reference point to oscillate around.

What this model does, and what it does not do
- It reduces the next position's budget after a loss and increases it after a gain. With a fixed fraction, R follows current equity. Volume moves in the same direction if exit distance, pip value and costs stay unchanged; a shorter D can, for example, offset an equity decline. Automatic budget updating is an operational advantage. It does not protect against a gap larger than the exit distance (9.10), change the sign of the mean of an unchanged unit-outcome distribution (9.2), or constrain losses when related positions exit together (9.9). On a small account, a result below minimum volume means the position cannot be opened within the limit.
- It does not require estimated strategy parameters. Neither win rate nor reward-to-risk ratio enters the immediate lot calculation. Equity, costs or pip value can still be mismeasured; omitting p and RR does not eliminate those errors. This distinguishes the rule from Kelly.
- It does not react to volatility. It reacts to the exit distance, and that reacts to volatility only if you derive it that way yourself. That is the job of the model in section 4.
- Growth rate requires separating mean equity from mean log equity. At illustrative p=0.55, RR=1.5 and f=0.01,
g=0.55 ln(1.015)+0.45 ln(0.99)=0.0036661.ln 2/g≈189gives the step count at which mean log equity reaches ln 2; it is neither the median nor the mean first-doubling time. Expected equity doubles alongE[K_n]=K_0(1+f E[X])^n, hereln 2/ln(1.00375)≈185. First passage to twice initial equity requires a separate barrier-crossing distribution and may not occur within the horizon. Positive mean payoff and positive g are different conditions.1
Volume granularity: not every entry setup is available to every account
The table assumes an illustrative 0.01-lot minimum and step for a currency pair; some CFDs have a larger step and different contract size. This imposes a lower feasibility boundary on percentage sizing. The table shows the equity at which 1% and 0.5% rules become feasible at minimum volume with pip value USD 10:
| Exit distance (pips) | Risk on 0.01 lots | Smallest equity at which 1% suffices | Smallest equity at 0.5% |
|---|---|---|---|
| 15 | USD 1.50 | USD 150 | USD 300 |
| 30 | USD 3.00 | USD 300 | USD 600 |
| 50 | USD 5.00 | USD 500 | USD 1,000 |
| 80 | USD 8.00 | USD 800 | USD 1,600 |
| 120 | USD 12.00 | USD 1,200 | USD 2,400 |
The arithmetic of each row: risk on the minimum volume = 0.01 × distance × USD 10; smallest equity = that risk divided by the percentage. For an instrument with a different pip value the numbers are different – substitute your own w.
Kmin = (Vmin × D × w) / r
Below Kmin even the smallest permitted position carries more risk than the written percentage. The rule does not become imprudent at that point – it simply stops being executable, and those are two different things.
Data and status (the set on which article 9.11 runs the calculation, account in zloty): Vmin = 0.01 lots – a parameter of the account specification, read from the broker's documents, not a constant of the market; D = 45 pips – the distance to the protective exit, an illustrative value; w = 40 PLN per pip on one lot – an illustrative value after conversion; r = 1%, that is 0.01 – a user parameter, taken from the plan.
Intermediate result – the risk of a position at the minimum volume: 0.01 lots × 45 pips × 40 PLN per pip and lot = 18 PLN (lot × pip × PLN/pip/lot gives PLN).
Final result: Kmin = 18 / 0.01 = 1,800 PLN. At equity of 1,800 PLN the minimum position uses exactly 1%; at 1,500 PLN the same 18 PLN is 18 / 1,500 = 1.20% and the rule is broken the moment the position opens.
What follows below the threshold – and what must not be made of it. The conclusion is that this setup cannot be executed within the written limit. A shorter distance requires a new justification of the invalidation point under 9.4; it must not be moved merely to accommodate the minimum lot size. Raising the risk percentage to a value at which the minimum position fits does not solve the problem, it only removes it from the record: the rule stays in the plan and its content adapts to whatever happens to be openable. That is breaking your own rule, carried out in the form of an amendment to it. So the threshold does not say "the account is too small" – it says "this entry setup is unavailable to this account".
The threshold is not a recommendation about account size. It depends on three quantities and changing any of them moves it: the minimum volume, the exit distance and the pip value. The same account, the same instrument and the same percentage, but a distance of 20 pips instead of 45: risk on the minimum position 0.01 × 20 × 40 = 8 PLN, so Kmin = 8 / 0.01 = 800 PLN. The threshold fell by 1,000 PLN because one parameter of the entry setup changed. The number 1,800 PLN is an arithmetic identity for the four inputs given, not a threshold for entering the currency market nor a minimum capital from which "you can trade"; you compute your own threshold by substituting the minimum volume from your account specification, your own exit distance and your own pip value.
This is an operational conclusion: with equity USD 300, minimum 0.01 lot and pip value USD 10, a 1% rule cannot implement a setup with distance greater than 30 pips even before costs. That does not make the setups inferior; the volume step prevents their sizing. The same percentage rule on USD 2,000 and 200,000 accounts produces volumes two orders of magnitude apart, encountering minimum volume at one end and market depth at the other.
Minimum volume including a fixed charge
Nominal threshold K_min=V_min D w/r excludes fees. If full loss-scenario cost per lot is A=(D + S + G)w + c and fixed transaction charge F, feasibility requires K_min=(V_min A + F)/r. Illustrative inputs: V_min=0.01, D=45 pips, w=PLN 40/pip/lot, S+G=3 pips, c=PLN 28/lot, F=PLN 2, r=1% of current equity. Minimum volume gives scenario loss 0.01×(48×40+28)+2=PLN 21.48, hence K_min=PLN 2,148, rather than nominal PLN 1,800. This remains the threshold of this configuration, without protection against a larger gap.
A percentage from the literature needs its own justification
Practical literature, including Elder, discusses percentage rules.5 Finding an example 1% or 2% in a book does not derive a limit for a particular account. This model explains how to implement a chosen limit while accounting for distance, currency, costs and the volume step. Article 9.3 derives the limit itself. The book is supplementary reading; the calculations below are original arithmetic examples.
3. Model 2: a fixed amount and a fixed volume
The starting point here is not equity but an amount – how much I am prepared to lose in the account currency. In the "fixed amount" variant you set R rigidly (say 100 PLN per trade) and then compute the volume with the same formula. In the "fixed volume" variant you set V directly (say 0.10 lots) and compute nothing – risk comes out however it comes out.
When a fixed volume makes sense
- A testing phase and a test account. A fixed volume simplifies record-keeping and lets you compare trades without normalisation – the price is that the results are not comparable in units of risk.
- Learning execution. When the subject of the exercise is the order-entry procedure itself, not capital management.
- An account of fixed size. If equity does not change by definition, compounding the percentage does nothing and a fixed volume removes one source of mistakes.
When a fixed volume stops describing risk
- Equity grows. At equity of USD 50,000 and a volume of 0.10 lots with a 30-pip distance, risk is USD 30, that is 0.06% – the percentage rule has stopped holding, though nobody changed it.
- Equity falls. The same 0.50 lot representing 1.5% risk at USD 10,000 represents 5% at USD 3,000. The model does not respond to drawdown.
- Distances differ. The same volume at distances of 15 and 80 pips is USD 15 and USD 80 of risk. Two trades described as "the same size" differ in risk by more than fivefold.
0.01 lots → USD 3 → 0.06% · 0.03 → USD 9 → 0.18% · 0.10 → USD 30 → 0.60% · 0.30 → USD 90 → 1.80% · 0.50 → USD 150 → 3.00% · 1.00 → USD 300 → 6.00%.
Six steps described as "increasing it a bit" give a hundredfold larger risk. A streak of five losses costs 5 × 3 = USD 15 at the first step and 5 × 300 = USD 1,500 at the sixth, that is 30% of the starting capital. The same rule set, the same streak, two different accounts. The crucial point is that the schedule for raising volume has nothing to do with equity – it is a function of the calendar.
A fixed amount – unlike a fixed volume – keeps risk at one level in the account currency and still requires computing the volume from the distance. Its limitation is the reverse of the one under a fixed fraction: it does not react to a change of equity in either direction, so after a drawdown the risk expressed as a percentage rises by itself.
4. Model 3: volume from the range of movement (ATR)
The question changes again here: how to equalise risk between instruments with different ranges of movement. Instead of taking the exit distance from a technical level, you derive it from the instrument's current range of movement – most often from the average true range (ATR) – multiplied by a chosen multiple4. How ATR is calculated, and the choice of period and interval, belong to section 5 of the course; here ATR is nothing but an input to the distance calculation.
D = N × ATRpips
V = equity × risk percentageN × ATRpips × w
N is a range multiplier: a selected parameter, not a constant. N=2 below is illustrative, not an exit-selection recommendation. Other symbols are as in section 1.
A warning about the letter N when you reach for the literature: in some sources4 it denotes the unit of volatility itself rather than the multiple – check the role of the symbol before you carry a number across into this formula.
Example: the same risk percentage at two levels of volatility
Current equity USD 20,000, risk 1% of current equity (USD 200), EUR/USD, pip value USD 10 per lot, multiple N = 2.0, volume step 0.01.
| ATR | Distance D = 2.0 × ATR | Raw volume | Volume after rounding down | Actual risk |
|---|---|---|---|---|
| 72 pips | 144 pips | 200 / (144 × 10) = 0.1389 | 0.13 lots | USD 187.20 = 0.94% |
| 45 pips | 90 pips | 200 / (90 × 10) = 0.2222 | 0.22 lots | USD 198.00 = 0.99% |
Raw volume grows in exactly inverse proportion to the range: 72/45 = 1.60, so the volume is 60% larger. After rounding down the proportion breaks (0.22 / 0.13 = 1.69), and the actual risk of the two positions differs by 5.4 percentage points of the value of the limit – 93.6% against 99.0%. That is a normal consequence of granularity, not an error – but it is worth seeing before you start comparing the results of the two trades in units of risk. The calculation is nominal and the data illustrative; execution costs enter the denominator exactly as in section 2.

Scroll the diagram horizontally or open it at full size.
What this model assumes about the stability of its parameters
- That the past range of movement describes the future. A measure computed from past sessions does not see a change of regime until it has already happened – the model has no advance information about it.
- In a period of range compression the model enlarges the volume. A low ATR gives a shorter distance, and a shorter distance a larger volume. If compression is followed by a violent break out of the range, the enlarged position meets a move many times larger than the ATR it was sized on. An additional upper volume limit constrains this consequence of the formula – and it is not a safeguard against a gap, only against your own formula.
- The multiple N is an additional parameter to estimate. Every extra parameter is a place where the model can be fitted to past data.
5. Model 4: the Kelly family – the criterion and fractional Kelly
The last of the four models starts not from a limit but from an optimisation – it looks for the answer to the question what fraction of capital maximises the growth rate if the parameters are known. The condition "if the parameters are known" decides the usefulness of the whole model, so we start with the formula and end with a sensitivity calculation.
The formula
The original paper distinguishes expected equity from its logarithmic growth rate1. This closed-form expression applies to exactly two payoffs: +RR loss units and −1, with probabilities p and 1−p. The loss unit must include costs, or costs must be zero; mean Z and S alone do not suffice when outcomes have multiple sizes:
K = p − 1 − pRR
Where p is the hit rate (the share of profitable trades) and RR = Z/S is the reward-to-risk ratio computed on realised values after costs. The definitions of both quantities are given in article 9.6 – here they are inputs and nothing more.
Substitution
- Hit rate p = 0.55, reward-to-risk ratio RR = 1.5
- K = 0.55 − 0.45 / 1.5 = 0.55 − 0.30 = 0.25, that is 25% of capital per trade
- Half of that value: 12.5%. A quarter: 6.25%
All three numbers are a percentage of current equity before the trade and come from the same illustrative pair (p = 0.55; RR = 1.5) – setting a full fraction against its half only makes sense at identical parameters.
A sensitivity test on the estimation error of the hit rate
This calculation is the main argument against using the full value. We hold RR = 1.5 and change only the hit rate:
| Actual hit rate | K = p − (1 − p)/1.5 | Result | What fraction of their own K is someone trading 25% working at |
|---|---|---|---|
| 58% | 0.58 − 0.42/1.5 | 30.0% | 83% |
| 55% (the estimate) | 0.55 − 0.45/1.5 | 25.0% | 100% |
| 52% | 0.52 − 0.48/1.5 | 20.0% | 125% |
| 49% | 0.49 − 0.51/1.5 | 15.0% | 167% |
An error of 3 percentage points in the hit rate moves the result by 5 percentage points – by a fifth of the starting value. An error of 6 points means that someone convinced they are trading full Kelly is in fact trading 167% of their own value, that is above the point at which the growth rate stops rising and starts falling. The value K itself reacts to an error in the hit rate linearly and symmetrically – the table shows this directly: three points up and three points down move K by the same five points, because K = p × (1 + 1/RR) − 1/RR is a linear function of p. What is asymmetric is the consequences, not the number itself. Underestimating the hit rate lowers the growth rate and that is the end of it; overestimating it pushes the fraction above the value that maximises the growth rate, where the rate no longer rises but falls, while the drawdown keeps growing – the arithmetic is in section 6, in the row f = 0.50.
If we allow error in both parameters at once – a hit rate of 55% ± 5 points, a ratio of 1.5 ± 0.3 – the lower corner gives K = 0.50 − 0.50/1.2 = 8.3%, and the upper K = 0.60 − 0.40/1.8 = 37.8%. A more than fourfold spread, on estimates that in practice are hard to narrow. Fractional Kelly – working at half or a quarter of the result – is the answer to precisely that spread, not a variant "for the cautious"8.
Scroll the diagram horizontally or open it at full size.
Same p and mean payoffs, different Kelly fractions
For a general outcome X measured in a specified loss unit, maximise g(f)=E[ln(1+fX)], with 1+fX positive for every allowed outcome. An interior maximum satisfies E[X/(1+fX)]=0. Illustration: distribution A pays +1.5 with probability 0.55 and −1 with probability 0.45; f*=0.25. Distribution B pays +0.5 and +2.5, each with probability 0.275, and −1 with probability 0.45. It still has p=0.55 and mean win 1.5, but the equation's solution is approximately 0.21372. The closed formula using only p and RR misses this difference. Both calculations assume a known distribution with costs already in X.1
What full Kelly means in practice
At a 25% fraction recalculated from current equity, three consecutive losses give 0.753 = 0.422, a 57.8% drawdown. Five give 0.755 = 0.237, or 76.3%. Recovering after a 57.8% drawdown requires 0.578/(1 − 0.578) = 137%; 9.2 develops this recovery asymmetry.

Fractional Kelly: the values, and what the drawdown column does not say
| Variant | Risk per trade | Growth rate against the full value – g(f)/g(0.25) | Drawdown depth from simulation – median / 95th percentile | Condition of applicability |
|---|---|---|---|---|
| Full Kelly | 25.0% | 100% | 96.5% / 99.7% | Parameters known exactly – a condition that cannot be met on sample data. At this fraction a drawdown close to losing all capital is, over a horizon of 500 trades, the rule, not the tail of the distribution |
| Half Kelly | 12.5% | 75% | 73.7% / 88.2% | A long, homogeneous record; acceptance of a drawdown of the order of three quarters of capital in a typical path and deeper in the tail of the distribution – this calculation gives no upper bound |
| Quarter Kelly | 6.25% | 44% | 45.6% / 61.6% | Parameters updated, costs subtracted from the average gain. The 95th percentile quoted is not a ceiling – one path in twenty comes out deeper, and this calculation gives no upper bound |
| One tenth | 2.5% | 19% | 20.6% / 30.2% | A large account, a requirement of low equity volatility. The 95th percentile quoted is not a ceiling – one path in twenty comes out deeper, and this calculation gives no upper bound |
| Fixed fraction of 1% | 1.0% | 8% | 8.7% / 13.2% | No credible estimate of p and RR – a value taken as an assumption, not derived (cf. 9.3). The 95th percentile quoted is not a ceiling – one path in twenty comes out deeper, and this calculation gives no upper bound |
The growth-rate column is the ratio g(f)/g(0.25), where g(f) = p × ln(1 + RR × f) + (1 − p) × ln(1 − f) at p = 0.55 and RR = 1.5 – the same formula that in section 6 identifies 0.25 as the value maximising the growth rate. The values of g: 0.0457 for the full value, 0.0344 for a half, 0.0202 for a quarter, 0.0089 for a tenth and 0.0037 for the 1% fraction. The fall in the growth rate is slower than the fall in the fraction only at the top of the table: half the fraction costs a quarter of the rate, but a tenth of the fraction costs four fifths of it.
Table replication parameters: 10,000 paths of 500 trades; p=0.55, RR=1.5, independent +1.5 R or −1 R payoffs, zero cost and a fixed fraction of equity before each step. Maximum drawdown is measured from the running peak without stopping paths. NumPy PCG64, seed 950303; linearly interpolated quantiles. The median splits the distribution; about 95% of simulated values do not exceed the 95th percentile. Section 7's single sequence is a different object and should not be identified with the median. These are illustrations, not observed trader accounts.
The 95th percentile is not the worst case. About 5% of paths go deeper; the quantile does not say how much deeper. With clustered losses, an independent model can underestimate drawdown, but arbitrary dependence alone does not determine the direction of error. This simulation includes neither gaps, slippage nor a joint scenario for several open positions.
At full Kelly, near-total peak-to-trough losses are typical over this horizon. Median 96.5% means that half the paths lose at least 96.5% of their earlier peak. A specified loss run's effect is arithmetic; its occurrence probability requires a model. Under the simulation's independent outcomes and constant loss probability 0.45, the probability of at least five consecutive losses within 500 trades is 0.995, close to certainty; the median longest run is seven. Both follow from recursion over current run length, rather than simulation: the state is the current number of consecutive losses, and 500 transitions accumulate the probability of reaching an absorbing state. Repeating the calculation for different lengths gives the median: probability of at least seven losses is 0.644, and at least eight is 0.369. At f=25%, seven losses give 1 − 0.757 = 86.7% drawdown; five give 1 − 0.755 = 76.3%, as calculated before the table.
The same arithmetic gives a lower bound for each table row: at f=12.5%, seven losses give 1 − 0.8757 = 60.7% drawdown. The measured median is higher—73.7% in the rounded replication—because the longest run is only one source of drawdown. Shorter runs and individual losses separated by incomplete recoveries also contribute.
Five things the formula does not account for
- The uncertainty of your own parameters. The formula takes p and RR as known numbers. On a sample of a hundred trades the standard error of the hit rate is √(p(1−p)/N); for p = 0.65 and N = 100 that gives a 95% confidence interval with a half-width of ±9.3 percentage points, that is an interval from 55.7% to 74.3%. At a hundred trades and a hit rate somewhere around 0.5–0.7 the half-width does not fall below roughly nine percentage points (the unit is a percentage point, not a percent of the value; the half-width itself depends on p – for p = 0.55 it is ±9.8 points, for p = 0.65 exactly ±9.3, and at extreme hit rates it is smaller: ±5.9 for p = 0.90) – and at 200 trades with p = 0.55 the half-width is still ±6.9 points, that is an interval from 48.1% to 61.9% – a binomial calculation assuming independent trials; positive covariances can widen the interval and negative covariances can narrow it. Without specifying the dependence, its effect on the width is unknown. The notation "±9.3" describes half the width of the interval, not its whole width; the whole is 18.6 points.
- The variability of the parameters over time. Values measured in one market regime do not carry across to another. The formula has no mechanism that would signal it.
- Dependence between trades. The construction assumes independent events. If market conditions cluster losses, the independent model omits that structure. Dependence by itself establishes neither clustering nor the direction of the drawdown change.
- Costs. Spread, commission, slippage and swap points have to be subtracted from the average gain and added to the average loss before RR is computed. Omitting them overstates K.
- The full distribution for growth. At the same mean, adding noise with zero conditional mean lowers expected log growth by concavity. Comparing variances alone does not establish that ordering. In an illustrative annual two-point model with equally likely +80% and −20%, mean return is 30%, standard deviation 50%, and exact log growth
0.5 ln 1.8+0.5 ln 0.8=0.18232. With +32% and −8%, the mean is 12%, deviation 20%, and log growth0.5 ln 1.32+0.5 ln 0.92=0.09713. These are two specific distributions, not real-account results. Do not automatically subtract half the variance from a discrete mean: the second-order approximation containsE[Y²]=σ²+μ²and can be inaccurate for moves this large.
Now the same thing with estimation error and costs taken into account. Under the independent Bernoulli approximation, the 95% Wald confidence interval for a hit rate based on a hundred trades has a half-width of about 9.3 percentage points, so the interval itself runs from 55.7% to 74.3% – an actual hit rate of 57% fits inside it comfortably; the reward-to-risk ratio after execution costs falls to 1.7. Then K = 0.57 − 0.43/1.7 = 0.3171, that is 31.7%. Working at 20% is 63% of that value, not 42% – and half Kelly here is 15.9%, not 23.8%. Nothing changed except that two parameters were substituted closer to the lower end of the interval they were inside anyway.
6. The Kelly family in its second form: optimal f
Optimal f2 seeks the equity fraction maximising the product of growth factors over the available trading history. For a grid of f from 0.00 to strictly below 1.00, calculate the product of (1 + f × outcomei / |largest loss|). The fraction with the largest product is the result.
For a distribution with two possible outcomes, optimal f and the Kelly criterion give the same number – these are not two different models. Both methods maximise the same quantity: the expected growth rate of the logarithm of capital per trade.
g(f) = p × ln(1 + RR × f) + (1 − p) × ln(1 − f)
The two-payoff maximum satisfies p RR(1−f)=(1−p)(1+RR f). At p=0.55 and RR=1.5, 0.375=1.5 f, hence f*=0.25, matching section 5's closed form. With multiple outcome sizes, maximise the same mean log growth over the full distribution. Optimising a sample product is the empirical version of this criterion, not a separate growth principle. Normalising by the largest loss changes f's unit; the result is especially sensitive to whether a future largest loss exceeds the sample's.2
| Fraction f | Median product of growth after 100 trades | Growth rate g(f) | Against the maximum | Note |
|---|---|---|---|---|
| 0.05 | 5.31× | 0.0167 | 37% | A fifth of the fraction that maximises the growth rate |
| 0.10 | 19.0× | 0.0295 | 64% | Two fifths of that fraction give close to two thirds of its rate |
| 0.20 | 80.5× | 0.0439 | 96% | 96% of the maximum rate at a fraction smaller by a fifth |
| 0.25 – maximum growth rate | 96.47× | 0.0457 | 100% | The same number the Kelly formula gives as K for p = 0.55 and RR = 1.5 |
| 0.30 | 80.3× | 0.0439 | 96% | Above the maximum: the same rate as at a fraction of 0.20, that is one and a half times smaller |
| 0.50 | 0.66× | −0.0041 | −9% | A negative rate – the median path loses, even though the expectancy of a single trade is positive |
No column comes from a simulation – all of them follow from the single formula given above, at p = 0.55 and RR = 1.5. The median product of growth after a hundred trades equals e100 × g(f), because the median number of winning trades out of a hundred is 55 and the product is an increasing function of that number: (1 + RR × f)55 × (1 − f)45. The column "against the maximum" is g(f)/g(0.25). We give the median for f = 0.25 to two decimal places – 96.47× – so that it is not confused with the median drawdown of 96.5% from the table in section 5: these are two independent numbers of opposite meaning, one describing a multiple of growth, the other the loss of peak value. Check the model's assumptions before use: two possible trade outcomes, constant and known p and RR, independence of consecutive outcomes, continuous scaling of the position with no volume step. Real data may depart from these conditions in different ways; the model's name alone does not establish which assumption a sample violates. The median is neither an expected value nor a bound – the dispersion around it is wide in both directions, and above f* = 0.25 raising the fraction further lowers the growth rate while still deepening the drawdown along the way (the drawdown column – the table in section 5).
The practical use of this model is one thing, and it is a point of reference: if you know the fraction that maximises the growth rate for your own history, you can say what fraction of it you are working at.
At f = 0.50 the expectancy of a single trade is still positive: 0.55 × 0.75 − 0.45 × 0.50 = +0.1875 of capital. And yet the median path after a hundred trades is 0.66 of the starting state – the median loses a third of its capital. Positive expectancy on a single trade and a positive growth rate of capital are two different properties; at too large a fraction they diverge in sign, because a loss of a given percentage takes away more than a gain of the same percentage adds. The same phenomenon, in a milder form, is described by the recovery asymmetry in article 9.2.
The common denominator of models that compute a fraction of equity
Of the four models described, one does not react to a change of equity in either direction: model 2, in both its variants – a fixed amount and a fixed volume set the size in advance, in the account currency or in lots. A fraction of current equity is computed by the other three: the fixed fraction, the model built on the range of movement, and the Kelly family, that is the Kelly criterion together with optimal f. Only these three update the monetary budget with equity. Lower equity gives lower volume when D, w and costs stay unchanged; simultaneous changes in those inputs can reverse the direction of the lot-size change. That is the reverse of a martingale, in which the stake rises after a loss. That mechanism is not protection, however: it changes amounts and the equity path; the sign of the unit-outcome mean stays unchanged at fixed parameters, and it stops working in three places – at a gap larger than the exit distance, at the minimum volume, below which there is nothing left to reduce, and on positions whose exits will trigger simultaneously.
The variant with a moving base
Consider another illustrative rule: calculate the percentage from a base including half the profit, rather than full current equity. When K≥K₀, the base is K₀+0.5(K−K₀). It moves both upward and downward with equity; it is not a one-way lock on a previous peak. Specify the rule separately when K falls below K₀: freezing the base at K₀ increases the effective fraction of current equity.
- Start: capital USD 10,000, risk 1% = USD 100
- Equity rises to USD 12,000. Full base: 12,000 → risk USD 120. Base moved by half the gain: 10,000 + 0.5 × 2,000 = 11,000 → risk USD 110
- After a drawdown to USD 10,500: full base 10,500 → USD 105; moving base 10,250 → USD 102.50
The variant slows the compounding of gains and reduces the volatility of position size. It changes nothing about what happens at a gap or under negative expectancy.
An equity fraction is not a fraction of notional value
In sections 5–6, f is the share of equity exposed to one model loss unit. It is neither 25% of position notional nor 25% of used margin. With equity PLN 10,000, f=0.01 and loss per lot PLN 2,000, volume is 0.05 lot. Changing notional while retaining the same loss per lot leaves this calculation unchanged, although margin changes. In an empirical product scaled by the largest loss, state that unit explicitly; otherwise identical numerical fractions can represent different amounts.
7. Comparing the models
The four models answer four different questions and do not form a ranking. The table sets them out in five rows, because the Kelly family has two computational forms – the Kelly criterion and optimal f – which with two possible trade outcomes give the same number and differ only in the route to it. The table sets the models against what each determines, what it demands of the data, and where its main limitation lies7.
| Model | What it determines | Condition of applicability | What it demands of the data | Main limitation |
|---|---|---|---|---|
| Fixed amount | Fixed R; V adjusted for distance and pip value | Comparing outcomes at the same nominal risk amount | Exit distance and pip value; also costs if fully included in the budget | Does not update the budget with equity; after losses it becomes a larger percentage of the account |
| Fixed volume | Fixed V | Comparing outcomes at the same number of lots | Volume remains unchanged | Changing distance, pip value or costs changes the monetary loss; it does not maintain a fixed R |
| Fixed fraction | R as a percentage of current equity | An account on which the minimum volume does not block the rule | Only the state of equity | Knows nothing of the instrument's volatility; the percentage has to come from somewhere (9.3) |
| The model built on the range of movement | D from the instrument's current range | Comparing instruments with different ranges of movement in one portfolio | ATR and the multiple N | A range taken from the past; under range compression it enlarges the volume |
| The Kelly family – first form: the Kelly criterion | The fraction that maximises the growth rate | Parameters known exactly and stable | Hit rate and reward-to-risk ratio after costs | The value of K reacts to an error in the hit rate linearly; what is asymmetric is the consequences of working above the optimum – the arithmetic is in section 5 |
| The Kelly family – second form: optimal f | The fraction maximising the product of growth over the history; with two possible trade outcomes this is the same number the Kelly criterion gives | A point of reference for a fraction already in use | The full history of outcomes | The strongest dependence on the choice of sample – the result reacts to every trade in the history, most strongly to the largest loss – and that is the only difference against the Kelly criterion, not a different optimal value (section 6) |
Scroll the diagram horizontally or open it at full size.
Three lines, one sequence. The 200 draws with seed 950307 contain 101 wins and 99 losses. Multipliers are 1.1875 and 0.875 at f=12.5%, versus 1.015 and 0.99 at f=1%. The fixed amount of 1% of initial equity adds +1.5% or −1% of initial equity at each step. Final equity is respectively 6263.1%, 166.3% and 152.5% of initial equity; maximum drawdowns from prior peaks are 67.5%, 7.8% and 5.8%. Different updates to the sizing base produce different amounts and drawdowns on the same sequence. These are not percentiles from the 10,000-path, 500-step table. The diagram shows the rules on one common sequence; the table shows their outcome distribution.
Logarithmic scale. Equal vertical distances represent equal multipliers, not equal monetary differences. This helps compare different growth rates, but drawdown percentages should not be read from pixel distances. Calculate MDD from equity divided by the previous peak; the stated numbers come from the same sequence as the chart.
The chart shows one path. Its endpoints are not medians by construction, and a different ordering changes the location and depth of drawdowns. A higher fraction can improve log growth only up to the optimum for the distribution; beyond that optimum, growth falls. In this particular sequence, the larger fraction has both a higher endpoint and a deeper drawdown. A fixed amount does not reinvest profits by updating risk, but under a negative mean, omitting that update does not make the mean positive. One path illustrates the mechanism, not the superiority of one rule over every horizon.
Which model for which situation
| Situation | Model | Risk percentage | What has to be checked in addition |
|---|---|---|---|
| The first months on a live account | Fixed fraction | A value set lower than the target | Whether the minimum volume blocks the rule at a typical exit distance |
| One instrument, positions closed within the day | Fixed fraction | Derived in 9.3 | Required margin at a short exit distance – section 8 |
| Several instruments with different ranges of movement | Range of movement + fixed fraction | Derived in 9.3 | Total exposure and dependence between positions – 9.9 |
| A long, homogeneous record of your own trades | Fractional Kelly | A fraction of the result – in this article's examples a quarter (an illustrative value from section 5); your own fraction is a user parameter and requires a sensitivity test | Costs subtracted from the average gain, updating of parameters, the confidence interval of the hit rate |
Currency conversion can also worsen the budget
For GBP/JPY in a USD account, a JPY 1,000 loss is USD 6.53595 at USD/JPY=153, but USD 7.14286 at 140. At 0.23 lot, a 65-pip scenario and commission USD 7 per lot give 0.23×(65×1000/140+7)=USD 108.40, rather than USD 99.32. This is an illustrative conversion-rate scenario, not a forecast. If the USD 100 limit must cover it, unrounded volume is 0.21218 and the 0.01 step gives 0.21 lot, loss USD 98.97. An adverse conversion rate need not coincide with the exit move, so name the scenario explicitly.
8. Two constraints at once: the risk limit and the required margin
The intended loss amount and required margin are different quantities. Both depend on position size, but their calculations use different additional inputs. Risk follows from the distance to the protective exit and the volume. Margin follows from the notional value of the position and the leverage limit. The exit distance does not enter the margin calculation at all. Volume has to fit inside both constraints at once, and the binding one is whichever is tighter – and it is not always risk.
The regulatory inputs below have a specific authority, legal basis and verification date. Authority: the Polish Financial Supervision Authority (KNF). Basis: decision DAS.456.2.2019 of 1 August 2019 restricting marketing, distribution and sale of CFDs to retail clients, effective 2 August 2019. It maintained in Poland limits introduced temporarily by ESMA's 2018 decisions6. The national decision's scope depends on provider and client activity: it covers activity in and from Poland, including activity performed in Poland from another state, with exceptions in paragraphs 9–12. The account's country alone does not settle applicable protection. Verification date: KNF's product-intervention list checked 5 October 2026. For the standard retail category, excluding the decision's separate experienced-client category, minimum initial margin is 3.33% for pairs composed of two of USD, EUR, JPY, GBP, CAD and CHF, and 5% for other currency pairs. The examples assume specifications at leverage 30:1 or 20:1, hence margin 1/30 or 1/20 of notional. Close-out protection requires closing at least one CFD when cash plus unrealised P&L falls below 50% of total required initial margin for all open CFDs (paragraph 1(b)). Negative balance protection limits aggregate CFD liabilities on that account to its funds (paragraph 1(c)); it guarantees neither a stop price nor a particular equity level. Confirm these inputs with the relevant regulator before using them. Section 13 covers the full framework; here they are calculation inputs.
Case A: the risk limit binds
Current equity 5,000 PLN, risk 1% (50 PLN), EUR/USD, exit distance 12 pips. Rates at the time of the calculation (illustrative values, mid rates): USD/PLN = 3.95, EUR/PLN = 4.28.
- Pip value in the account currency: 10 USD × 3.95 = 39.50 PLN per lot
- Volume from the risk limit: 50 / (12 × 39.50) = 50 / 474 = 0.1055 → down → 0.10 lots
- Notional value: 0.10 × 100,000 EUR = 10,000 EUR = 10,000 × 4.28 = 42,800 PLN
- Required margin at 30:1: 42,800 / 30 = 1,426.67 PLN, that is 28.5% of equity
- Volume permitted by margin if the whole account were tied up: 5,000 × 30 = 150,000 PLN of notional → 150,000 / 4.28 = 35,047 EUR → 0.35 lots
The risk limit binds: 0.10 versus 0.35. The same position has nominal risk PLN 47.40 after rounding, margin PLN 1,426.67 and notional PLN 42,800. These answer three different questions; none replaces the others. Both examples in this section use nominal sizing from exit distance alone, without execution cost in the denominator as in section 2's Vnet. Even adding a 1-pip spread gives 50 / (13 × 39.50) = 50 / 513.50 = 0.0974, rounded down to 0.09 lot rather than 0.10.
Risk limit, margin and buffer in one calculation
With linear rates, calculate two unrounded limits: V_risk=(Kr−F)/A and V_margin=(free_margin−buffer−F_entry)/(M_lot+C_entry_lot). In the second denominator, entry costs reduce equity at opening, and M_lot is margin per lot. Use K before the new position, and count fees once in each of the two separate constraints. Round down the smaller volume, then recalculate loss, margin and the free buffer.
Illustrative case B: free margin PLN 5,000, buffer PLN 1,500, M_lot=PLN 14,266.67, entry spread PLN 39.50/lot, other entry costs zero. Margin permits 3500/(14266.67+39.50)=0.24465, rounded to 0.24 lot. With a 1-pip spread, the PLN 50 loss limit permits 0.31646; margin plus buffer binds. After rounding: margin PLN 3,424, initial cost PLN 9.48, free margin PLN 1,566.52 and scenario loss PLN 37.92. The PLN 1,500 buffer is an illustrative choice, not a regulatory requirement.
Case B: the required margin binds
The same data, but the exit distance is 3 pips.
- Volume from the risk limit: 50 / (3 × 39.50) = 50 / 118.50 = 0.4219 → down → 0.42 lots
- Notional value: 0.42 × 100,000 = 42,000 EUR = 179,760 PLN
- Required margin: 179,760 / 30 = 5,992 PLN – more than the whole account
- Volume permitted by margin: 0.35 lots – at which the required margin is 0.35 × 100,000 × 4.28 / 30 = 4,993.33 PLN, and the free margin: 5,000 − 4,993.33 = 6.67 PLN, less than the value of one pip on that position (0.35 × 39.50 = 13.83 PLN)
- With the condition that margin does not exceed 30% of equity: 1,500 PLN × 30 = 45,000 PLN of notional → 10,514 EUR → 0.10 lots; the actual risk at that volume is 0.10 × 3 × 39.50 = 11.85 PLN, that is 0.24% of equity
The required margin binds. The risk rule permitted 0.42 lots, but at 0.42 lots the required margin (5,992 PLN) exceeds equity and the position would not open at all. At 0.35 lots, ignoring the initial equity reduction from spread and fees gives a boundary calculation: the margin level – the ratio of current equity to required margin – starts at 100.13%, and free margin at 6.67 PLN, so the very first pip of drawdown takes the account below 100% and blocks any increase in exposure. Two numbers have to be kept apart here, because the 100% level is not the close-out threshold: the 50% threshold means current equity falling to half the required margin, that is to 2,496.67 PLN – a loss of 2,503.33 PLN, at that volume about 181 pips (2,503.33 / 13.83). The absence of free margin freezes the account almost immediately; forced closure arrives only after half the capital is gone. That reversal is worth remembering: the shorter the exit distance, the larger the volume at the same risk, hence the larger the notional value and the sooner margin binds.
9. Does a shorter horizon mean less risk
The claim "a shorter horizon means less risk" comes back in section 8 of the course when trading styles are compared, and every time it is referred back here – because without a way of determining position size it cannot be settled. The settlement is arithmetic and fits into one table.
We take two positions – both long; for short positions, read the separate swap rate, whose sign need not be opposite – with different horizons, and we size them so that the risk in the account currency is identical. Current equity USD 20,000, risk 1% = USD 200, EUR/USD, pip value USD 10 per lot, volume step 0.01.
The full set of cost components – and the place of each. The calculation below uses four; we list them together, because the difference between the columns arises precisely from the fact that each scales differently.
- Spread S = 1 pip – an illustrative rate for EUR/USD. Grows with volume. Enters the execution cost and the loss when the exit triggers.
- Slippage G = 2 pips – the same illustrative rate as in section 2. Grows with volume. Enters, and in exactly the same way as the spread: both quantities lengthen the actual path of price, so both sit inside the same bracket.
- Commission P = USD 7 per lot round turn – the rate from section 2. Grows with volume. Enters.
- Swap points Sw at an illustrative rate of −USD 8 per lot per day. Grow with volume and with the number of charges. They enter: for B as USD 12.80, for A as zero – because the example assumes closure before the relevant charging time. Opening and closing on the same calendar date alone does not exclude financing.
A fixed charge for a particular trade, F, independent of lots, reduces the formula's numerator by F. Data subscriptions and monthly account charges are period costs; do not automatically allocate their full amount to each position. The comparison below uses F=0. A gap larger than scenario G has a separate row; do not count the same price movement twice. USD 600 and 280 show price losses alone at a fill 40 pips beyond the barrier, excluding commission and financing. Full losses would include those omitted charges.
We size both columns nominally, so that the planned risk comes out identical, and we add the costs to the result rather than to the denominator – the variant with costs in the denominator is handled in section 2. The loss row is therefore a substitution into a single expression:
loss = (D + S + G) × w × V + P × V + H, where H is the positive monetary financing debit
| Position A – intraday horizon | Position B – multi-day horizon | |
|---|---|---|
| Exit distance D | 20 pips | 100 pips |
| Volume V = 200 / (D × 10) | 1.00 lots | 0.20 lots |
| Notional value | 100,000 EUR | 20,000 EUR |
| Planned risk | USD 200 = 1.00% | USD 200 = 1.00% |
| Required margin at 30:1 (EUR/USD at 1.08 – mid, illustrative) | 108,000 / 30 = USD 3,600 | 21,600 / 30 = USD 720 |
| Units of swap charge | 0 | 8 (six charges, including the triple Wednesday one: 5 × 1 + 3 = 8) |
| Holding cost at the illustrative rate of −USD 8 per lot per day | USD 0 | 0.20 × 8 × 8 = −USD 12.80, that is 6.4% of the risk budget |
| Execution cost: (S + G) in pips plus commission P | 1.00 × (1 + 2) × 10 + 1.00 × 7 = USD 37.00, that is 18.5% of the risk budget | 0.20 × (1 + 2) × 10 + 0.20 × 7 = USD 7.40, that is 3.7% of the risk budget |
| Loss when the protective exit triggers, after the full set of four components | (20 + 1 + 2) × 10 × 1.00 + 7 + 0 = USD 237.00 = 1.185% | (100 + 1 + 2) × 10 × 0.20 + 1.40 + 12.80 = USD 220.20 = 1.101% |
| Financing accrual dates | 0 — assumed closure before the accrual time | 6, with a total weight of 8 units |
| Weekend breaks within the specified horizon | 0 | 1 |
| Loss on a gap overshooting the exit level by 40 pips | 1.00 × 60 × 10 = USD 600 = 3.0% | 0.20 × 140 × 10 = USD 280 = 1.4% |
The calculation yields three conclusions, and none of them is the one usually repeated.
- Planned nominal risk is equal—USD 200—but after all costs the difference is USD 16.80, or 8.4% of the risk budget. Holding time does not enter V = R/(D × w) directly. It enters through D, which volume offsets; that is the conclusion for planned risk. Costs do not offset completely. Only B pays swap, USD 12.80, but execution costs scale with volume: five-times-larger A pays USD 37.00 versus 7.40, a USD 29.60 difference against USD 12.80 financing. After this partial offset, protective-exit losses are USD 237.00 for A and 220.20 for B, or 1.185% and 1.101% of equity. The shorter-held position pays more for execution here, because pip costs and per-lot commission grow with volume, which rises as exit distance shrinks. Omitting slippage, one of four components, would give USD 217.00 and 216.20, nearly identical columns. That resemblance belongs to an incomplete calculation.
- Volume and notional value differ – fivefold. The shorter-horizon position is larger, not smaller. It also requires five times more margin, so it is the one that collides sooner with the constraint from section 8.
- Exposure to events outside observation hours differs – and in both directions. Position B passes through six settlement times, including one triple accrual, and a weekend break; position A passes through none. But once an event of the same size in pips does occur, it is position A that loses more on it – because it has five times the volume, and a gap expressed in pips does not scale with the exit distance. A shorter horizon reduces the number of windows of exposure and increases the effect of a single hit.
Holding period alone determines neither risk nor volume. In this example, different exit distances require different volumes to maintain equal risk, with differences in required margin, execution and holding costs, and the number and size of events that bypass the protective exit.
Equal risk after costs changes both volumes
Section 9 equalised nominal USD 200. To fit the entire stated cost-scenario loss within USD 200, A uses 200/237=0.84388 → 0.84 lot, loss USD 199.08. For B, cost per lot is 103×10+7+8×8=USD 1101; 200/1101=0.18165 → 0.18 lot, loss USD 198.18. The holding-period difference remains but is reflected in position size. This check excludes a larger gap or an extra financing date.
10. The position size calculator – what it computes and what it does not know
Working out the volume by hand before every trade is feasible, but on pairs that require two conversions it becomes a source of mistakes. A tool that makes sense does three things: it takes equity, the instrument, the entry price, the protective exit level and the risk percentage; it derives the pip value for the account currency at the current rate; and it returns the volume rounded down to the step, the risk in the account currency and the required margin. If it does not return the last of those numbers, section 8 remains undone. The position size calculator is available here.
Five places where the result can be wrong
- An account currency different from the quote currency. With an account in zloty and a position on EUR/USD, the pip value arises in dollars and needs converting at the current USD/PLN rate. On a yen cross – two conversions, as in the exercise in section 12.
- A contract size other than 100,000 units. For metals, indices and commodities the contract size, the tick and its value differ from those of currency pairs, and they differ between brokers for the same instrument. Checking the specification is part of the calculation, not a formality.
- Rounding to the nearest value instead of down. A tool that rounds to the nearest step raises risk above the limit when rounding increases volume.
- The percentage base. If the calculator uses settled balance while the plan specifies current equity, unrealised losses make the larger balance overstate sizing relative to equity. With unrealised gains, the relationship reverses; 9.3 settles this choice.
- The execution price at larger volumes. The calculator computes from the visible price, and a large order is sometimes filled worse – execution mechanics and the differences between brokers belong to sections 11–13 of the course.
Why this calculation changes the result. Exit distance 20 pips and target 30 pips give reward-to-risk 1.5. Adverse entry slippage 3 pips and stop-exit slippage 2 pips change both sides of the ratio. Entry 3 pips worse reduces target distance from 30 to 27, and simultaneously widens stop distance: the invalidation level is unchanged, while distance is measured from the actual fill, raising the denominator from 20 to 23. Exit slippage adds another 2. The correct calculation is (30−3)/(20+3+2)=27/25=1.08, rather than 27/22=1.23. The latter adjusts only one distance for entry slippage and inconsistently uses the reference entry on the stop side; this is section 11's first sequencing error. Win rate and expectancy are inputs here; 9.6 defines them. At illustrative p=45%, expectancy changes from 0.45×1.5−0.55=+0.125 risk units to 0.45×1.08−0.55=−0.064. The sign changes without changing entry rules. A measured systematic difference between planned and realised risk belongs in sizing, including an adjustment to the percentage, rather than a marginal note.
• exit distance 55 pips → risk 0.50 × 55 × 10 = USD 275 = 3.44%
• exit distance 22 pips → risk 0.50 × 22 × 10 = USD 110 = 1.38%
The same number in the volume field, risk differing by a factor of 2.5. Against an intended 1%, both trades are outside the limit, and neither was consciously chosen to be. What settles it is not the size of the discrepancy but the fact that it is not a decision.
Rounding leaves a calculable unused budget
Let unrounded volume be V*=B/A and the step ΔV. After rounding down, unused budget is B−VA, less than ΔV A. For GBP/JPY with A=USD 431.83660/lot and step 0.01, one step represents USD 4.31837 scenario loss. At budget USD 100 and V=0.23, utilisation is USD 99.32. Increasing to 0.24 would give USD 103.64. Decimal precision alone does not establish whether a step is small relative to the budget.
11. Seven mistakes in lot sizing
Mistake 1: volume fixed before the exit distance
The resolution "I trade 0.50 lots" is taken before the analysis. The distance following from the invalidation level is 42 pips, so the risk is 0.50 × 42 × 10 = USD 210 – on current equity of USD 10,000 that is 2.1%, above the limit. The solution becomes moving the exit to 20 pips so that 0.50 lots fits inside 1%. The 20-pip level follows from nothing but arithmetic: it is closer than the point at which the reason for entering stops holding, so the trade will be closed by a move that does not invalidate the hypothesis. The order is one-directional: invalidation → distance → volume.
Mistake 2: the percentage computed from the wrong base
Settled balance USD 15,000, unrealised loss on an open position −USD 800, current equity USD 14,200. The 1% rule gives USD 150 or USD 142 depending on the base, and the difference grows with the loss and works in the direction the rule was meant to avoid: it permits larger positions on an account already strained. The ruling on which base applies and at what moment it is measured belongs to article 9.3 and holds across this whole section of the course – here it is enough to say that the choice has to be single and written down, because it enters the formula as R.
Mistake 3: assessing the risk of a position in isolation from the others open
Three 1% budgets from the same base can be summed to 3% for a scenario in which all positions reach their planned exits. This sum is neither portfolio dispersion nor the probability of that event. Long EUR/USD, long GBP/USD and short USD/CHF share directional exposure against the dollar, but also have other currencies and exit distances. A common move can bring their losses closer in time without guaranteeing simultaneous execution. 9.9 covers aggregate exposure, reporting correlation with its measurement method and reversing signs for opposite positions. Individual sizing uses the same calculation, but does not determine how many positions may be held together.
Mistake 4: raising the stake after a loss
A loss at 1% risk, the next trade at 2%, the next at 4%, the next at 8%. After four losses in a row equity is 0.99 × 0.98 × 0.96 × 0.92 = 0.8569 of the starting state, that is a drawdown of 14.3% – not 15%, because percentages are computed off a changing base and must not be added. Under a fixed fraction of 1% the same four losses give 0.994 = 0.9606, that is 3.9%. The mechanism concentrates larger risk amounts on trades following losses. With an unchanged payoff distribution, it does not change the mean in R units, but it changes monetary amounts and the equity distribution; after seven losses in a row the required stake is 128 times the original.
With independent outcomes and constant loss probability 0.45, 0.454 ≈ 4.1% concerns four preselected trades, not encountering such a run over a trading history. Over several hundred trades, the latter probability is close to certainty.
Mistake 5: confusing planned risk with realised risk
The plan says 1%. Slippage at the exit, a wider spread at the moment of execution and a price gap mean the realised loss is 1.4%. The consequence of that difference is often described wrongly – for example like this: "300 trades a year times an extra 0.4% is 120% of the account in extra risk".
The correct calculation. Take 300 trades, a hit rate of 55% (165 winners, 135 losers), planned risk of 1%, a reward-to-risk ratio of 1.5 and a fixed fraction. Without slippage, final capital is 1.015165 × 0.99135 = 3.00 times the starting amount. With a realised loss of 1.4% instead of 1.0%: 1.015165 × 0.986135 = 1.74 times. The difference is 42% of final capital – a large number, but of an entirely different kind from "120% of extra risk", and calculated for the specified 165 wins and 135 losses, a fixed fraction, and the same multiplier for every trade of each type. An additional assumption is that slippage burdens only losing trades, while the winning result stays at the planned level. The symmetric convention, in which the same 0.4 percentage points also come off every gain (1.1% instead of 1.5%), gives 1.011165 × 0.986135 = 0.91 times, that is final capital below the starting amount. The range 1.74× to 0.91× matters more here than any single number, because what settles it is not the market but the convention adopted – and which one to adopt is told by your own record of executions. This is a conditional calculation for specified counts and payoffs. Independence is not needed for the product itself; a constant p and a dependence model are needed only when assigning probabilities to those counts.
Translating this into position size. Measure the divergence as a multiple, not as a difference in percentage points – the risk percentage enters the volume formula multiplicatively and only in that form can the correction be substituted. The first address for the correction, however, is the costs in the denominator of the formula from section 2 – spread, slippage and commission – because they are what produces the divergence. Dividing the risk percentage by the measured, systematic multiple (at 1.4× the 1.0% becomes 0.71%) is a supplementary correction and creates no ceiling: it aligns the median in the specified sample, while executions above it may still exceed the plan. The exact proportion of exceedances depends on the distribution, ties and future sample.
How to measure it. The multiple – realised risk divided by planned risk – is computed from your own record of trades; keeping that record and its format are described in section 15 of the course. From the sample you take the median and the 90th percentile of the multiple: the first serves to correct the percentage, the second tells you how often the correction will turn out to be too small. With only a few positions, the quantiles are very imprecise – the fewer observations, the wider the uncertainty interval of both quantiles.
Mistake 6: equity not updated between trades
Equity at the start of the day USD 20,000. After three losses USD 19,400, but the fourth position is still computed off 20,000 – the risk is then 200/19,400 = 1.03% instead of 1.00%. The single effect is small, but it works systematically in one direction: after a losing streak it raises risk, after a winning streak it lowers it – that is, exactly the opposite of the mechanism for which the fixed fraction was chosen. Recompute equity before every trade, not once a day.
Mistake 7: rounding up on a small account
Current equity USD 1,500, risk 1% of current equity = USD 15, a pair with a pip value of USD 10.
- Distance 30 pips: 15 / 300 = 0.05 lots – an exact result
- Distance 50 pips: 15 / 500 = 0.03 lots – an exact result
- Distance 80 pips: 15 / 800 = 0.0188 → down → 0.01 lots, risk 0.01 × 80 × 10 = USD 8 = 0.53%
- The same rounded up to 0.02 lots: risk USD 16 = 1.07% – the limit exceeded by 7% of its value
On a small account granularity forces either smaller risk or giving up trades with a distant exit. Both ways out are permissible. The third – raising the limit so the number falls out more conveniently – is a change of the rule to fit a particular trade.
When the standard volume does not fit the conditions
The risk percentage is calibrated to typical conditions. There are windows in which typical conditions do not hold – then either the volume is smaller or there is no position. The list is short and operational:
- The first minutes after a high-impact macroeconomic release – the stream of quotes is sometimes interrupted, and the execution price bears no relation to the order level. The release calendar belongs to section 6 of the course, the effect on the size of the loss to 9.10.
- The rollover window – see the note above.
- Weekend and holiday breaks – a position carried through a break is exposed to the opening price, not to the protective exit level.
- Instruments with a wide spread and irregular liquidity – the cost of entry and exit eats part of the risk budget before price has moved at all.
- The first sessions after a violent move – until the spread returns to its usual range, the result of the formula describes conditions other than the ones prevailing.
Separately, there exists a paid order construction with a guaranteed execution price – its terms and limitations are discussed in sections 11–13 of the course.
1. The invalidation point – where the reason for entering stops holding (9.4)
2. Distance D in pips – the spread added only if it is not already contained in that distance (the FAQ at the end)
3. Current equity – including the unrealised result of open positions
4. The pip value for this instrument, converted into the account currency at the current rate
5. The volume from the formula, rounded down to the step in the specification
6. The required margin and the free-margin buffer after opening (section 8)
7. Variability of the margin requirement – whether the permitted leverage is constant for this position size and this window
8. Execution conditions: a data release in the coming hour, the rollover window, the weekend break
9. Swap points times the planned number of days
10. Total exposure with positions already open (9.9)
11. The measured multiple of realised over planned risk – systematically above 1 means a correction: costs in the denominator first, a reduced percentage as a supplement
The sizing calculation is complete only after these checks. A result of the formula below the minimum volume means skipping the trade, not raising the percentage.
Scroll the diagram horizontally or open it at full size.
12. Self-check exercise
Data other than those used in the text, an instrument priced in a currency other than the account currency, a two-stage conversion. The exercise has two parts: the first runs on the numbers given below, the second on your own – and that second one is the real exercise here. The solution to the first part is folded away under the instruction: work it out yourself before you unfold it.
Compute: (1) the risk budget in PLN, (2) the pip value on one lot in the account currency, (3) the raw volume, (4) the volume after rounding, (5) the actual risk in PLN and as a percentage of equity, (6) the required margin and which constraint binds.
Part two – on your own numbers. Repeat steps 1–6 for your own current equity, your own percentage limit and the exit distance from your own entry setup, on the instrument you actually trade, and with the pip value and volume step from your own account specification. Then three checks. First: whether the volume after rounding down does not fall below the minimum volume – if it does, the rule is not executable on those data and the correct answer is to skip the trade or take an instrument with a lower pip value, not to raise the percentage (section 2). Second: whether the required margin fits inside equity together with a buffer for the drawdown (section 8). Third: whether lots are what remains after the units cancel. There is no solution to this part and there cannot be, because the result depends on your data – what is checkable is whether all three conditions hold.
Model solution to part one – unfold only after your own calculation
- Risk budget. 18,500 × 0.0075 = 138.75 PLN
- Pip value in the quote currency. From the instrument specification: JPY 1,000 per pip per lot. Deriving that quantity from the contract size and the pip convention belongs to section 2 of the course – here it is an input and the only step you do not compute yourself
- JPY → PLN conversion. JPY/PLN is not supplied directly. Derive it from two inputs: JPY 1 = USD (1/148.00), and USD 1 = PLN 3.95, hence JPY 1 = PLN 3.95/148.00 = 0.026689. Pip value: 1,000 × 0.026689 = PLN 26.689 per pip per lot. Cross-check: 1,000/148.00 = USD 6.7568; 6.7568 × 3.95 = PLN 26.689.
- Unrounded volume. 138.75 / (45 × 26.689) = 138.75 / 1,201.00 = 0.11553 lot
- Rounded down to the 0.01 step. 0.11 lots
- Nominal risk. 0.11 × 45 × 26.689 = PLN 132.11, or 132.11/18,500 = 0.714% of equity instead of 0.750%. Rounding down causes this conservative difference.
- Required margin. Notional: 0.11 × 100,000 = AUD 11,000. AUD/PLN: 0.6600 × 3.95 = 2.607, hence notional 11,000 × 2.607 = PLN 28,677. At 20:1, margin is 28,677/20 = PLN 1,433.85, or 7.75% of equity.
- Binding constraint. The risk limit permits 0.11 lot. Committing all equity as margin would permit unrounded 18,500 × 20 / 2.607 / 100,000 = 1.41926 lots, rounded down at step 0.01 to 1.41 lots. Rounding up to 1.42 would require PLN 18,509.70 margin, more than equity. The risk limit binds, with roughly thirteenfold margin headroom—the reverse of section 8's short-distance case B.
The calculation is nominal – execution costs enter as in section 2: spread and slippage enlarge the distance in the denominator, and the commission per lot becomes the component c.
Unit check. In the numerator PLN, in the denominator pips times PLN per pip per lot – after cancelling, lots remain. If lots do not remain after cancelling in your calculation, you have lost a conversion somewhere. The most common mistake in this exercise is dividing by 148.00 twice, or multiplying by the rate instead of dividing – the check is the order of magnitude: the pip value on a yen pair, with an account in zloty, should come out somewhere around twenty-odd zloty, not several hundred and not a few groszy.
Exercise extension: execution after costs
Add illustrative spread 1 pip, slippage 2 pips and round-trip commission USD 7 per lot to the AUD/JPY inputs; the 45-pip distance is measured from mid-prices. Loss-scenario cost per lot: 48×(1000×3.95/148)+7×3.95=PLN 1308.731081. Unrounded volume 138.75/1308.731081=0.1060187; step 0.01 gives 0.10 lot. Loss PLN 130.87 is 0.7074% of PLN 18,500 equity; margin is 10000×2.607/20=PLN 1303.50. The previous 0.11 lot would give PLN 143.96, or 0.7782%, above budget. Complete your own exercise in this version too, checking free margin after entry costs.
13. What follows from this
Position size is the result of a calculation, not a decision. The order: the invalidation point, the distance, current equity, the percentage, the pip value after conversion, the volume rounded down to the step, the check on required margin. The models differ solely in where one of those numbers comes from – the fixed fraction takes the percentage from the plan, the model built on the range of movement takes the distance from volatility, the Kelly criterion computes the percentage from parameters you do not know exactly.
The calculation ends not with the result of the formula but with a check on whether that result is executable: whether it fits the volume step, whether it fits inside the required margin together with a buffer, whether the spread has been counted exactly once – in the distance or in the cost – and whether the same exposure is not already open under another name. Uniformly reducing a positive volume does not change the sign of the unit-outcome mean under an unchanged distribution. An illustrative 0.5% fraction does not then remove the possibility of crossing a positive equity barrier. The probability and timing depend on the model; the percentage alone determines neither. The risk percentage, the sizing model chosen and the condition under which either of them changes then go into a single document – assembling those rulings into a written plan is described in article 9.11, the last in this section of the course.
In the next article (9.6) we take up the three numbers that were inputs and nothing more in this text: the hit rate, the reward-to-risk ratio and expectancy – together with the break-even threshold after costs.
FAQ – Frequently asked questions
Does 1% of equity imply a particular result, and does a larger account increase profit?
Are a fixed amount and fixed volume the same model?
When should I include spread, slippage and financing?
Is full Kelly an appropriate limit, and how does optimal f differ?
What if the calculated volume is below the minimum?
Does a short-term position require less risk, and does margin limit the loss?
Sources and references
- Kelly, J.L., "A New Interpretation of Information Rate," Bell System Technical Journal, 35(4), 1956 – the original formulation of the criterion maximising the growth rate.
- Vince, R., The Mathematics of Money Management, Wiley, 1992 – optimal f, the product of growth over a trade history.
- Tharp, V.K., Trade Your Way to Financial Freedom, McGraw-Hill, 2006 – position sizing models, including the fixed fraction of capital.
- Faith, C., Way of the Turtle, McGraw-Hill, 2007 – volume derived from the average true range ("N") in the Turtle Trading system.
- Elder, A., Trading for a Living, Wiley, 1993 – the source of the popularised percentage rule with a starting value of 2%.
- European Securities and Markets Authority (ESMA) Decision (EU) 2018/796 on product intervention measures on contracts for differences (30:1–20:1–10:1–5:1–2:1 leverage limits, 50% margin close-out and negative balance protection), continued permanently by national competent authorities, including the KNF Decision DAS.456.2.2019 of 1 August 2019 (product-intervention registry, checked 5 October 2026); confirm applicable current values with the relevant regulator before use.
- Kaufman P., Trading Systems and Methods, Wiley, 2019, 6th edition—position-sizing models and simulation methods.
- MacLean, L.C., Thorp, E.O., Ziemba, W.T., "Long-term capital growth: the good and bad properties of the Kelly and fractional Kelly capital growth criteria," Quantitative Finance, Vol. 10, No. 7, 2010, pp. 681–687 – the short-term risk of the full value, the sensitivity of the result to parameter estimation error, and the justification for working at a fraction.
- Swiss National Bank, press release of 15 January 2015 on the discontinuation of the minimum exchange rate of CHF 1.20 per euro and the reduction of the policy rate to −0.75%. The exchange-rate levels from that day, together with the data provider and the price type, are given in article 9.10.