Gold Position Size Calculator for Kenya (XAU/USD)
Work out the exact gold lot size where your stop-out costs precisely the amount of risk you have decided to accept.
How it works
It works backwards from your risk budget. You enter the amount you are willing to lose, the stop distance in pips, and the contract size for gold, and the calculator divides risk by stop value to give a lot figure. On XAU/USD one pip is 0.01 and one standard lot is 100 oz, so the arithmetic stays predictable across accounts funded in KSh through M-Pesa.
Related tools
What the gold position-size calculator answers, and when you need it
The calculator answers one question: what lot size makes my stop-out equal my chosen risk amount? You need it before every gold entry, because gold moves fast and an arbitrary lot size turns a planned loss into an unplanned one. A Kenya trader deciding between a small and a standard position should run this before placing the order, not after.
It matters most when your stop is set by structure rather than by a round number. If price action puts the invalidation level far from entry, the correct lot shrinks; if the stop is close, the lot can grow. The calculator keeps the risk constant either way, which is the whole point of sizing deliberately.
You also need it when your account is funded in shillings but gold is priced in dollars. The risk you type in should be in the currency you actually think in, and the result tells you the lot that respects that limit once the stop is hit.
The formula in plain words
Risk amount divided by the value of your stop distance gives the lot size. In full: Lot = Risk ÷ (Stop distance in pips × Pip value per lot). The inputs are your risk budget, the stop distance you place on XAU/USD measured in pips where 1 pip = 0.01, and the pip value for one standard lot of gold, which follows from 1 lot = 100 oz.
Pip value per lot is the bridge between price movement and money. For gold it is derived from the contract size, so a move of 0.01 on 100 oz is a fixed dollar figure per lot. Convert that to your account currency before dividing if your balance is in KSh.
Nothing in the formula depends on your leverage. Leverage decides how much margin is locked, not how much you lose when the stop is hit, so keep the two calculations separate in your head.
A worked example on gold
Take a reference price of 4275.0 on XAU/USD. Suppose you decide to risk $50 and your stop sits 200 pips away, which is 2.00 in gold price terms. Using the contract size of 100 oz, the stop distance in money per standard lot is 200 × the per-pip value of one lot, and the calculator divides your $50 by that figure.
The output is the lot where a 200-pip adverse move costs exactly $50. Round it down to the lot step your platform allows, because rounding up quietly raises your risk above the budget you set. That rounding is the only adjustment you should make to the result.
If the resulting lot looks too small for comfort, the fix is a smaller stop distance or a larger risk budget, not a bigger lot. Size follows risk and stop; it never leads them.
Common mistakes and how to read the result
The commonest error is entering the stop distance in price terms while the formula expects pips, or the reverse. On XAU/USD, 1 pip = 0.01, so a 2.00 price move is 200 pips. Mixing the two inflates or deflates the lot by a factor of a hundred.
A second mistake is setting risk as a percentage of balance and then forgetting to update it as the balance changes. Recalculate after a few trades so the shilling amount stays current. The lot is a snapshot, not a permanent setting.
Read the result as a ceiling, not a target. It is the largest lot that keeps your stop-out at your stated risk. Trading smaller is always allowed; trading larger means you have silently changed the risk you agreed to.
Risk as a fixed fraction of the account, not a shilling amount you pick from the air
Risk should be set as a fixed fraction of account equity, not as an arbitrary shilling amount. If you risk 1% of a KSh 200,000 account, that is KSh 2,000 per trade; if the account grows to KSh 250,000, the same 1% becomes KSh 2,500. The fraction stays constant, so position size scales with the account rather than with your mood. A fixed shilling risk, by contrast, becomes a larger fraction as the account shrinks and a smaller fraction as it grows, which distorts the risk profile over time. The calculator needs the fraction, not a shilling figure, to keep sizing consistent.
The fraction you choose determines how many consecutive losses the account can absorb before the damage becomes hard to reverse. At 1% risk, ten consecutive losses cost roughly 10% of equity, which is recoverable with disciplined trading. At 5% risk, the same streak costs about 40%, and recovery requires a much larger percentage gain. The calculator does not choose the fraction for you; it applies whatever fraction you enter. A common approach is to keep the fraction small enough that a losing streak does not force you to change your method, because changing method mid-drawdown is how small losses become large ones.
Gold’s pip value and contract size mean a fixed fraction translates into a specific lot size only when the stop distance is known. With 1 standard lot equal to 100 oz and one pip equal to 0.01, a 1% risk on a KSh 200,000 account with a stop 100 pips away gives a different size than the same risk with a stop 300 pips away. The calculator handles that conversion, but the fraction is the input that anchors the whole calculation. Fix the fraction first, then let the stop distance and the account currency conversion determine the lot size. Changing the fraction after seeing the result defeats the purpose of sizing.
A stop at a round number is a worse stop because the market has no obligation to respect it
A stop placed exactly at a round number such as 4275.00 or 4300.00 is a worse stop because those levels attract orders and are often traded through before reversing. The market does not treat round numbers as support or resistance by rule; they are simply where many participants cluster their stops and entries. That clustering can produce a quick move through the level, which triggers stops placed there and then continues in the original direction. A stop a few pips beyond the round number gives the position room to survive that noise while still capping the loss at the level you intended.
The position size calculator uses the stop distance you enter, so a stop placed at a round number produces a size based on that distance. If the round number is too close to the entry, the calculated size may be larger than the risk fraction allows once the stop is actually hit by a spike. Widening the stop to a level that reflects the structure, rather than the round number, increases the distance and reduces the lot size the calculator returns. That is the correct adjustment: the size should follow the stop that makes sense, not the stop that looks neat on the chart.
Round-number stops also interact with leverage and margin in a way that is easy to miss. A stop that is too tight may require a larger position to express the same risk fraction, and a larger position uses more margin. At the applicable cap, a 0.10-lot gold position needs about $85.50 margin, so a size inflated by a too-tight stop can tie up more of the account than intended. The calculator shows the size; the stop placement is your decision. Place the stop where the trade idea is invalidated, then let the calculator size the position from that distance.
When the account currency is not the quote currency, the calculator needs a conversion step
When the account currency is not the quote currency, the calculator must convert the risk amount into the quote currency before dividing by the pip value. Gold is quoted in USD, so a KSh account needs the KSh/USD rate to turn a shilling risk amount into dollars. The formula is the same, but the input changes: risk in KSh divided by the exchange rate gives risk in USD, which is then divided by the pip value and stop distance. Without that step, the lot size will be wrong by the exchange rate, which can be a large error. The conversion is not optional when the currencies differ.
The exchange rate used for conversion should be the rate at the time of sizing, not a rate remembered from last month. A move in KSh/USD changes the dollar value of the same shilling risk, so the lot size shifts even when the account balance and stop distance are unchanged. The calculator applies the rate you provide; it does not forecast future rates. For a Kenyan trader funding with M-Pesa, the rate that matters is the one at which the account is actually denominated, and that rate can move between the time you size the trade and the time you close it. Size with the current rate and accept that the result is an estimate.
Conversion also affects how the result is interpreted. A lot size calculated from a KSh risk amount is a dollar-denominated position size, because gold contracts are priced in USD. The profit or loss when the trade closes will be in USD and then converted back to KSh at the closing rate. That means the risk fraction you intended can differ from the risk fraction realized if the exchange rate moves during the trade. The calculator gives the size that matches your intended risk at the current rate; it cannot lock the rate. Treat the conversion as part of the risk, not as a separate administrative detail.
The smallest size the broker will accept, and what to do when the calculator returns less
The smallest size a broker will accept is the minimum trade size for gold, which is set by the broker and is not the same as the calculator’s ideal size. If the calculator returns a size below that minimum, you cannot place the trade at the intended risk fraction. The minimum is a broker rule, not a market rule, and it varies by account type and platform. The calculator does not know the minimum; it only computes the size from your inputs. When the result is below the minimum, the correct response is to adjust the trade plan, not to round up to the minimum and accept more risk than intended.
Rounding up to the minimum size is the most common mistake when the calculated size is too small. If the minimum is larger than the size that fits your risk fraction, rounding up means the trade risks more than the fraction allows. That single trade can then violate the risk limit that the whole sizing method is designed to enforce. The alternative is to skip the trade, widen the stop if the structure allows, or accept that the account is too small for that particular setup at that risk fraction. None of those options involves pretending the minimum is the calculated size.
A practical response is to treat the minimum size as a constraint that filters trades. If the calculator returns a size below the minimum, the setup is too large for the account at the chosen risk fraction, and the trade should be passed. That is not a failure of the method; it is the method working. The account can grow, or the risk fraction can be reconsidered, but the minimum size should never be the starting point. The calculator’s job is to show the size that fits the risk; the broker’s minimum is a separate limit that the size must clear.
When the result falls below the broker’s minimum, adjust the plan rather than the risk
When the calculated size falls below the broker’s minimum, the first adjustment is to the stop distance, not to the risk fraction. A wider stop reduces the lot size the calculator returns, which moves the result further below the minimum, so that is not the fix. A tighter stop increases the size, but a tighter stop also increases the chance of being stopped out by noise. The workable adjustment is to choose a setup where the stop distance and the risk fraction produce a size at or above the minimum, or to accept that the account cannot trade that setup at that fraction. The risk fraction is the anchor; the setup is what changes.
Another adjustment is to the instrument or the account, but gold is the instrument here and the account size is what it is. The calculator cannot create size that the risk fraction does not support. If the minimum is a hard floor, the only honest options are to increase the account balance, reduce the risk fraction only if that still clears the minimum, or wait for a setup with a stop distance that produces a size above the floor. Increasing the risk fraction to clear the minimum is the wrong direction because it raises the risk per trade above the intended level. The minimum should filter trades, not force them.
The broker’s minimum is a fact about the platform, not a target. When the result is below it, the trade is not available at the intended risk, and the disciplined response is to leave it. The calculator has done its job by showing that the size does not fit. The next step is to log the setup as skipped and move on, rather than to place a larger trade and hope the stop holds. Over time, the skipped trades are as important as the taken ones because they keep the risk fraction intact. The minimum is a boundary, and the method respects boundaries.
Account currency conversion shifts the answer, so size with the current rate and re-check before entry
Account currency conversion shifts the answer because the risk amount must be expressed in the quote currency before the pip value is applied. For a KSh account trading gold, the risk in shillings is divided by the KSh/USD rate to give risk in dollars, and that dollar figure is divided by the pip value and stop distance. A change in the rate changes the dollar risk for the same shilling risk, so the lot size moves even when the account balance and stop are unchanged. The calculator uses the rate you enter, so the rate is an input that must be current, not assumed.
The shift is not small when the rate moves. A 5% move in KSh/USD changes the dollar value of the same shilling risk by 5%, which changes the calculated lot size by 5%. That is enough to move a size from just above a broker minimum to just below it, or to change the margin required. At the applicable cap, a 0.10-lot gold position needs about $85.50 margin, and a size change from conversion moves that margin requirement proportionally. The calculator shows the size at the rate you provide; re-running it with a fresh rate before entry keeps the risk fraction honest.
The practical habit is to size with the current rate, write the rate and the resulting size down, and re-check the rate before placing the order. If the rate has moved enough to change the size materially, re-run the calculator rather than adjusting the lot by eye. The conversion is part of the risk calculation, not a separate step to be done later. For a Kenyan trader using M-Pesa to fund the account, the rate that matters is the one applied to the account, and that rate is visible before the trade. Use it, record it, and let the calculator do the conversion.
Common questions
How do I size a gold trade if my account is funded in KSh through M-Pesa?
Convert your risk budget into the same currency as your pip value before dividing, then let the calculator return the lot. If your balance is in KSh but gold pip values are quoted in dollars, apply the current exchange rate to one side only. The lot is currency-neutral; only the risk figure needs converting.
Should the stop distance be in pips or in dollars per ounce?
Use pips, where 1 pip = 0.01 on XAU/USD. If your platform shows the stop as a price difference, multiply by 100 to get pips. Entering a dollar-per-ounce figure directly into a pip field is the fastest way to get a lot size that is wrong by two orders of magnitude.
Why does the calculator ignore my leverage?
Because leverage does not change what you lose when the stop is hit. It only changes how much margin the broker locks to hold the position. Position size is set by risk and stop distance; margin is a separate question answered by the margin calculator. Keeping them apart prevents oversized trades.
What if the calculated lot is smaller than the minimum my platform allows?
Then the trade is not available at your chosen risk on that stop distance. You can widen the account balance, tighten the stop if structure genuinely allows it, or accept a slightly higher risk than planned. Do not round up to the minimum without acknowledging the extra risk you are taking.
Does the 0.10-lot margin figure of about $85.50 tell me my lot size?
No. That figure describes margin locked at the applicable leverage cap, not risk. A 0.10-lot gold position can still lose far more than $85.50 if the stop is wide. Use the margin number to check free margin, and the position-size calculator to decide the lot.
Trade gold with FxPro
FxPro gives Kenyan traders MT4, MT5, cTrader and the FxPro app for XAU/USD, funded through M-Pesa. The entity that serves Kenya is licensed by the FCA (UK), CySEC and FSCA, not by the CMA of Kenya, so understand the regulator you are actually dealing with before you fund.
Trade gold with FxPro →