Gold Profit and Loss Calculator for Kenyan Traders (XAU/USD)
Work out exactly what a gold trade made or lost in dollars and Kenya shillings, and how far price actually moved in pips.
How it works
The calculator takes your entry price, exit price and lot size, then converts the price difference into money. For XAU/USD, 1 standard lot is 100 oz and one pip is 0.01, so a move of 1.00 in price is 100 pips. A long profits when the exit is above entry; a short flips the sign and profits when the exit is below entry.
Related tools
What the gold profit calculator answers, and when you need it
This calculator answers one question: given where you entered and where you exited, how much money did the gold trade make or lose, and how big was the move in pips? You need it before you close a position, when you are reviewing a past trade, or when you want to size a trade so a known stop distance means a known loss in KSh.
Kenyan traders with FxPro accounts funded via M-Pesa often think in shillings while gold is quoted in dollars. Running the numbers here turns a price move into a dollar figure you can then read in KSh, so the risk on a single XAU/USD trade is a real amount rather than an abstraction.
It also matters when you compare setups. Two trades can look similar on a chart but differ in pips and lot size. Converting both into money on the same basis is the only honest way to see which one actually carried more risk on your account.
The formula in plain words
Profit or loss equals (exit price minus entry price) multiplied by contract size multiplied by lots, then the sign is flipped for a short. The inputs are: entry price for XAU/USD, exit price for XAU/USD, lot size, and direction (long or short). Contract size is 100 oz per standard lot, and one pip is 0.01.
The pip move is the price difference divided by 0.01. So a move from 4275.0 to 4285.0 is 10.00 in price, which is 1000 pips. Pips describe distance; money describes impact. You need both, because a 500-pip move on 0.01 lots is a very different event from 500 pips on 1.00 lot.
For a short, reverse the subtraction: (entry minus exit). Getting the sign right is the whole point of the direction input. A short that is closed lower than entry is a winner; closed higher, it is a loss, and the calculator should show it as a negative number without you having to remember to add the minus sign yourself.
A worked example on gold
Take a long 0.10-lot XAU/USD trade with entry at 4275.0 and exit at 4285.0. The price difference is 4285.0 minus 4275.0 = 10.00. Multiply by contract size 100 oz and by 0.10 lots: 10.00 x 100 x 0.10 = $100.00 profit. The pip move is 10.00 / 0.01 = 1000 pips.
Now reverse it: same entry 4275.0, but exit at 4265.0. The difference is -10.00, so the trade loses $100.00 on 0.10 lots, and the pip move is -1000 pips. Nothing else changed; only the exit did. This is why the exit price, not the entry, decides the outcome.
For context on capital, at the applicable leverage cap a 0.10-lot gold position needs about $85.50 margin. That margin is not your risk. Your risk is the distance to your stop, converted with the same formula above, and it can exceed the margin figure if price moves far enough against you.
Common mistakes and how to read the result
The most common mistake is mixing up pips and price. On gold, one pip is 0.01, so a 10.00 price move is 1000 pips, not 10. Traders who carry forex habits over from EUR/USD routinely undercount by a factor of ten and misjudge how much a stop will cost them.
A second mistake is ignoring the lot size. The same 1000-pip move pays $10 on 0.01 lots and $1000 on 1.00 lot. Read the dollar figure together with the lot size, never on its own, and remember the result is in USD, so convert to KSh at the rate you actually expect rather than a round number you remember.
Finally, treat the output as gross. It shows the price move only. Commissions, swaps on positions held overnight, and the funding cost of moving money via M-Pesa sit outside this calculation, so the figure is a starting point for your net result, not the final word on it.
Where the spread and overnight swap enter the gold profit calculation
The spread on entry is the first cost the calculator must subtract, and it is charged the moment you open the trade because you buy at the ask and sell at the bid. For XAU/USD, one pip is 0.01, so a 0.10-lot position (10 oz) moves $0.10 per pip; the spread cost is the quoted spread in pips multiplied by that $0.10. The exact spread depends on the FxPro account type and market conditions at entry, so the calculator should take it as an input rather than assume a fixed number.
Overnight swap is the second cost, applied each night a gold position is held past the daily rollover, and it can be positive or negative depending on the direction of the trade and the financing rates in force. The calculator should treat swap as a per-night charge in account currency and multiply it by the number of nights held. Because swap rates change with interest-rate differentials and are published by the broker, the exact amount depends on the FxPro swap schedule for the day, not on a figure fixed in advance.
Both costs reduce the gross profit the formula produces, and both must be entered in the same currency as the result so the arithmetic stays consistent. For a Kenyan trader funding with M-Pesa, the account may be in USD or KSh, and the calculator should convert costs at the rate applied by FxPro before subtracting. The result after costs is the net figure that matters for judging whether the trade was worthwhile, not the raw price difference alone.
Why a gross result on gold overstates what reaches your account
A gross result is the price difference on the gold position before any cost is deducted, and it is the number most traders see first because it is simple to compute. For XAU/USD, gross profit equals the change in price in dollars multiplied by 100 oz per standard lot and by the lot size; at a reference price of 4275.0, a 0.10-lot trade moving 1.00 in price shows a gross gain of $10 before costs. That figure is useful for checking the formula but is not what the account receives.
The net result is the gross figure minus the spread paid on entry and minus any swap charged for nights held, and it is the only number that reflects the actual change in account equity. Two trades with identical gross outcomes can have different net outcomes if one was held overnight and the other closed the same day, or if one was opened during a wider spread. The calculator should show both lines separately so the cost drag is visible rather than hidden inside a single total.
For a Kenyan trader, the difference between gross and net also includes any conversion between the trade currency and the account currency, which depends on the FxPro conversion rate at the time. The net result is what you can compare against your M-Pesa funding and withdrawal amounts, so it is the figure to use when deciding whether a strategy is viable after all charges.
Expectancy across many gold trades compared with a single outcome
Expectancy is the average net result per trade over a large number of repetitions, and it is the correct measure of a gold strategy because a single outcome is mostly noise. One trade on XAU/USD can be won or lost for reasons unrelated to the method, while expectancy averages those outcomes and shows whether the method covers its costs over time. The calculator supports this by producing a net figure per trade that can be accumulated across a series rather than read in isolation.
Expectancy depends on the win rate, the average net win, and the average net loss, and all three must be measured after spread and swap rather than before. A method with a high gross win rate can have negative expectancy if the spread and overnight swap consume the edge on each trade. The exact expectancy cannot be stated without the trader's own record of net results, so the calculator should be used to log net outcomes consistently rather than to predict a future average.
A single outcome tells you what happened once; expectancy tells you what the method tends to produce if repeated under similar conditions. For a Kenyan trader paying costs in a foreign currency and funding through M-Pesa, the net expectancy also carries conversion effects that a gross calculation ignores. The practical use of the profit calculator is therefore to build a series of net results, not to judge a strategy from one gold trade.
How to enter spread and swap into the calculator without guessing
Enter the spread as the quoted difference in pips at the moment of entry, converted to account currency using the pip value for your lot size, because the calculator cannot know the spread FxPro will quote at your execution. For gold, one pip is 0.01 and a 0.10-lot position gives $0.10 per pip, so the conversion is mechanical once you have the quoted spread. The number you enter should come from the platform at the time of the trade, not from a remembered average.
Enter swap as a per-night amount taken from the FxPro swap schedule for the day and the direction of your trade, then multiply by the number of nights the position is held. Swap on gold can be a credit or a charge, so the sign matters and the calculator should accept both. Because the schedule changes with financing conditions, the exact figure depends on the date and the broker's published rate rather than on a fixed input.
Keep a record of the inputs used for each trade so the net results you accumulate are comparable over time. If the account is in KSh and the trade in USD, enter the conversion rate applied so the net figure matches your M-Pesa statement. The discipline of entering real quoted costs rather than assumed ones is what makes the expectancy calculation meaningful.
Reading a net gold result alongside margin and leverage limits
A net result should be read next to the margin that supported the position, because profit relative to margin is the return the trade actually produced on capital committed. At the leverage cap that applies to the FxPro entity serving Kenya, a 0.10-lot gold position needs about $85.50 margin, and that cap is a ceiling rather than a target to trade at. The calculator can show net profit against that margin so the return is expressed on the capital tied up, not on the notional value of 10 oz.
Leverage magnifies both the net result and the margin call risk, so a net profit figure without the margin context can mislead. A trade that returns a small net gain on a large notional position may still be a poor use of the margin if the same capital could support a different size. The calculator should therefore report net result and margin together, using the applicable cap for the entity that serves Kenya and not a higher ratio seen elsewhere.
The regulator caveat matters here: FxPro is licensed by the FCA (UK), CySEC and FSCA, not by the CMA of Kenya, so the leverage cap and client protections are those of the serving entity rather than of a Kenyan licence. Reading a net result in that context keeps expectations aligned with the actual account terms, and the margin figure of about $85.50 for 0.10 lots is the reference point for sizing within the cap.
Turning calculator output into a repeatable trade record in shillings
The calculator becomes useful when its net output is logged in a consistent currency and format, and for a Kenyan trader that means recording each result in KSh at the conversion rate applied to the M-Pesa funding or withdrawal. A trade closed at a net USD figure should be converted once, at the rate FxPro uses, so the record matches the cash movement. Without that step the series mixes currencies and the expectancy calculation loses meaning.
Each record should carry the entry and exit price, the lot size, the spread paid, the swap charged and the net result, because those are the inputs that let you recompute and audit the figure later. The profit formula itself is simple; the value is in the consistency of the cost inputs. A record that omits swap or spread cannot be used to judge whether the method covers its charges.
Over a series of records, the average net result per trade in KSh is the expectancy you can act on, and it should be reviewed against the margin used and the leverage cap for the serving entity. The calculator is a tool for producing that record accurately, not for predicting the next gold trade. Used that way, it turns individual outcomes into evidence about the method.
Common questions
How do I calculate gold profit in Kenyan shillings?
Calculate the dollar profit first using (exit minus entry) x 100 x lots, then multiply by the USD/KSh rate you expect. The calculator gives you the dollar figure; the shilling conversion depends on the rate at the time, so use a realistic rate rather than a favourable one when planning risk.
Why does my short gold trade show a different sign?
Because a short profits when price falls. The formula becomes (entry minus exit) x 100 x lots. If you enter at 4275.0 and exit at 4265.0 on a short, that is a gain, not a loss. Always set the direction input correctly before reading the result, otherwise the sign is inverted.
How many pips is a $1 move in gold?
A $1.00 move in XAU/USD is 100 pips, because one pip is 0.01. A move from 4275.0 to 4276.0 is 100 pips. This trips up traders used to forex pairs, so check the pip figure against the price difference before you use it to size a stop.
Does lot size change the pip value on gold?
Yes. One standard lot is 100 oz, so 1.00 lot pays $1 per 0.01 move, while 0.10 lot pays $0.10 per 0.01 move. The pip distance stays the same; only the money per pip changes. Scale the lot size to your risk in KSh, not to how confident you feel.
Is the profit figure the same as what lands in my account?
No. The calculator shows the gross result of the price move. Commission, overnight swap on multi-day positions, and any conversion between USD and KSh sit outside it. Treat the figure as the trading result before costs, and check your FxPro statement for the net amount.
Trade XAU/USD with FxPro
FxPro offers MT4, MT5, cTrader and its own app for gold, and you can fund an account from Kenya through M-Pesa. Check the entity that serves this country and its leverage cap before you size a position.
Trade gold with FxPro →