Gold Profit and Loss Calculator (XAU/USD) for Kenyan Traders
Work out exactly what a gold trade made or lost in US dollars and Kenya shillings, and how many pips price moved from entry to exit.
How it works
The calculator takes your entry price, exit price, lot size and trade direction. It converts the price difference into pips, multiplies by the contract size of 100 oz per standard lot, and signs the result so a short flips correctly. You then see the profit or loss in USD and can convert it to KSh at your own rate.
Related tools
What the gold profit calculator answers and when you need it
The gold profit calculator answers one question: given where you entered and where you exited XAU/USD, how much money did the trade make or lose, and how far did price actually move? It returns the pip move and the cash result in USD, which you can then read in KSh.
You need it every time you close a gold position and want the real number rather than a rough guess from the platform. It is also useful before you enter, to see what a given move is worth at your lot size, and when you are comparing a plan against your M-Pesa funding balance.
It matters most for gold because the contract is large. One standard lot is 100 oz, so a small price change becomes a meaningful shilling amount. Running the numbers first keeps your risk sized to your account rather than to hope.
The formula in plain words
Profit or loss equals the exit price minus the entry price, multiplied by 100 oz per standard lot, multiplied by your lot size, with the sign reversed for a short. In symbols: P/L = (exit − entry) × 100 × lots, and for a short you use (entry − exit) instead.
The inputs are four: entry price, exit price, lot size, and direction (long or short). The pip move is the price difference divided by 0.01, because one pip on gold is 0.01. That gives you the move in pips before any costs.
The result is gross, in US dollars. It does not include spread, commission or swap, which depend on your broker and are charged separately. Treat the figure as the raw price move translated into money, then subtract the costs your statement shows.
A worked example on gold
Say you go long XAU/USD at 4275.0 and exit at 4285.0 with 0.10 lots. The price difference is 4285.0 − 4275.0 = 10.0. In pips that is 10.0 ÷ 0.01 = 1000 pips. Multiply by 100 oz and by 0.10 lots: 10.0 × 100 × 0.10 = $100.
The same move on a short would lose $100, because a short profits when price falls. If you had entered short at 4275.0 and exited at 4265.0, the difference is 10.0 in your favour and the result is again $100 before costs.
To read it in shillings, multiply the USD figure by your own USD/KSh rate at the time. The calculator does not fix that rate for you, because it moves and your bank or M-Pesa conversion will use its own. Keep the USD number as the constant.
Common mistakes and how to read the result correctly
The most common mistake is forgetting the sign flip on a short. If you enter short at 4275.0 and price rises to 4285.0, you have lost, not gained. Always check direction before trusting the figure, and remember the pip move is negative for a losing short.
The second mistake is treating the gross figure as your take-home. Spread, commission and any swap are charged on top and depend on your broker and holding period, so the statement number will differ. Compare the calculator output to the platform result to see what costs were applied.
The third is mixing lot sizes. A 0.10-lot position is a tenth of a standard lot, so it moves a tenth of the money. Confirm the lot field matches what you actually traded, and remember margin is separate from profit: at the applicable leverage cap, a 0.10-lot gold position needs about $85.50 margin.
What the spread on entry and the overnight swap do to your gold profit result
The spread is the first cost your gold profit calculator must subtract: it is the gap between the price at which you buy and the price at which you sell, so a position starts slightly behind the moment it is opened. On XAU/USD, one pip is 0.01, and the spread is quoted in those pips. The exact spread is not fixed here; it depends on the broker, the time of day and market conditions, but you should treat it as a real deduction from any gross profit figure.
The overnight swap is the second cost, and it applies only when you hold a gold position past the daily rollover time. Gold swaps are financing charges or credits based on the difference between the two currencies involved and the broker's own markup. The amount depends on the broker, the direction of your trade and prevailing interest rates; it is not a number you can assume. For a position held for days or weeks, these nightly charges can accumulate and turn a small gross gain into a net loss.
Your calculator gives a gross result before costs. To see the net result, subtract the spread cost (spread in pips times pip value times lots) and any swap charges for the number of nights held. For a 0.10-lot gold position, the pip value is $0.10, so a spread of, say, 3 pips costs $0.30 per lot — but that spread figure is illustrative only. The actual spread and swap rates must come from your broker's live quotes and contract specifications, because they change and are not published as fixed numbers on this page.
Gross profit versus net profit: what the difference means for your gold trade
Gross profit is the raw gain from price movement alone: the difference between your entry and exit price multiplied by the position size and pip value. For gold, with 1 standard lot = 100 oz and one pip = 0.01, a move of $1.00 in the gold price equals 100 pips, which is $100 per standard lot. Gross profit ignores all trading costs, so it is always the larger, more flattering number.
Net profit is what remains after you deduct the spread, any swap charges, and any commissions if your account type carries them. It is the only figure that reflects what actually lands in your account. A trade that shows a gross profit of $50 on 0.10 lots might net $48 after a $2 spread cost — but the exact spread and any swap are broker-specific. The calculator's gross output is a starting point; you must adjust it with your own cost data to get the net result.
The gap between gross and net widens with holding time and trade frequency. A day trade closed within minutes may only bear the spread, while a position held for a week accumulates nightly swaps that can erode or even exceed the gross gain. For Kenyan traders funding via M-Pesa, the net figure is what matters for planning withdrawals and assessing performance. Always compare net results across trades, not gross, because costs are the consistent drag that separates a profitable strategy from an unprofitable one.
Why expectancy over many trades matters more than any single gold trade outcome
Expectancy is the average amount you can expect to win or lose per trade over a large number of trades. It combines your win rate, average win size and average loss size into one number. A single trade outcome is largely random; even a strategy with positive expectancy will have losing trades. The profit calculator helps you measure the result of one trade, but you should use those measurements to estimate expectancy across a series, not to judge the strategy on one result.
To calculate expectancy in practice, record the net result of each trade — after spread and swap — and average them over at least 30 to 50 trades. If the average is positive, the strategy has a statistical edge; if negative, no single big win changes the long-run outcome. On gold, where a 0.10-lot position moves $1 per pip, small cost differences per trade compound quickly. The exact expectancy depends on your entry and exit discipline, the prevailing spread and swap costs, and the market conditions you trade in.
Focusing on one trade leads to overconfidence after a win and despair after a loss, both of which distort decisions. Expectancy forces you to think in probabilities: a strategy with a 40% win rate can be profitable if winners are larger than losers, while a 70% win rate can lose money if the few losses are huge. Use the calculator to log net results consistently, then review the average. That average, not the last trade, is the number that tells you whether your gold trading approach is viable over time.
How to adjust the calculator's output for spread and swap costs on XAU/USD
Start with the gross profit from the calculator, then subtract the spread cost in monetary terms. The spread cost equals the spread in pips multiplied by the pip value for your lot size. For gold, one pip is 0.01 and the pip value per standard lot is $1.00; for a 0.10-lot position, it is $0.10 per pip. Because the actual spread varies by broker and market session, you must use the live spread from your trading platform at the time of entry, not a fixed assumption.
Next, account for swap if you hold overnight. Swap is charged or credited once per day at rollover, and the amount depends on your broker's swap rates, the direction of your trade (long or short) and the number of nights held. Multiply the nightly swap by the number of nights to get the total swap cost or credit. These rates are not published as fixed numbers here because they change with interest rate differentials and broker policy; check your broker's contract specifications for the current rates.
Finally, subtract any commission if your account type charges one. The resulting figure is your net profit or loss. For a Kenyan trader using M-Pesa for funding, this net number is what you should compare against your account balance growth. Because the maximum leverage available is a cap and not a target, using lower leverage reduces margin requirements but does not change the cost adjustment logic. Always base your cost estimates on actual broker data, not on assumed numbers.
The role of the pip value and lot size in turning price movement into profit
The pip value converts a price move into a cash amount, and for gold it is fixed by the contract size. One standard lot is 100 oz, and one pip is 0.01, so each pip is worth $1.00 per standard lot. A 0.10-lot position therefore has a pip value of $0.10. This means a 100-pip move ($1.00 in gold price) yields $10 on 0.10 lots, before costs. The calculator uses this relationship to translate your entry and exit prices into a gross profit figure.
Lot size scales the result linearly: doubling the lot size doubles both potential profit and potential loss, as well as the spread cost in cash terms. For example, a 0.10-lot trade with a 3-pip spread costs $0.30, while a 1.00-lot trade with the same spread costs $3.00. The exact spread is broker-dependent; the point is that cost scales with size. Traders should choose lot size based on risk tolerance and margin, not on the desire to amplify a single trade's outcome.
Margin requirements also depend on lot size. At the applicable leverage cap for the entity serving Kenya, a 0.10-lot gold position requires about $85.50 in margin. That figure is a reference, not a recommendation to trade that size. Higher leverage reduces the margin needed but increases the risk of rapid losses. The calculator does not account for margin calls or stop-outs; it only computes profit from price change. Use it alongside a clear risk plan that defines your maximum loss per trade in KSh terms.
Using the calculator to compare scenarios and plan exits before you trade
The calculator lets you test different exit prices against your entry to see the gross profit or loss before you commit money. By inputting a target price and a stop price, you can see the potential reward and risk in cash terms for your chosen lot size. This helps you set realistic take-profit and stop-loss levels based on the chart, rather than on hope. Remember that the output is gross; you must then subtract the spread and any expected swap to see the net scenario.
Scenario comparison is especially useful for gold because of its volatility. You can run the numbers for a 0.10-lot position with a 50-pip target and a 30-pip stop, then adjust the lot size to see how the cash outcomes change. The calculator does not predict price; it only does arithmetic. The value comes from forcing you to define your risk and reward in advance. Kenyan traders should also factor in the cost of funding via M-Pesa, though that cost is separate from trading costs and depends on the provider.
Planning exits with the calculator also highlights the impact of costs on small targets. A 20-pip target on 0.10 lots is $2.00 gross, but a 3-pip spread costs $0.30, leaving $1.70 before swap. If you hold overnight, swap may reduce it further. This shows why frequent small-target trades can be eroded by costs. Use the calculator to find the minimum target size that justifies the cost for your broker's spread, and always confirm live spread and swap rates before trading.
Common questions
How do I calculate gold profit in Kenya shillings?
Calculate the USD profit first using the price difference, 100 oz per lot and your lot size, then multiply by the USD/KSh rate you actually get. The calculator gives the USD figure because the exchange rate changes daily and your M-Pesa or bank conversion will use its own rate, not a fixed one.
Why does my short trade show a loss when price went down?
A short profits when price falls, so a falling market should show a gain. If it shows a loss, check that direction is set to short and that your exit is below your entry. Reversing the two prices is the usual cause, and the sign flip in the formula fixes it once direction is correct.
Does this gold calculator include spread and commission?
No. It shows the gross result from the price move only. Spread, commission and swap depend on your broker and are charged separately, so your statement will be lower than the calculator figure. Subtract the costs your platform reports to get the net amount.
How many pips is a $10 move on XAU/USD?
A $10 move on gold is 1000 pips, because one pip is 0.01 and 10.0 divided by 0.01 is 1000. On 0.10 lots that is $100 gross, since 10.0 × 100 × 0.10 = $100. The pip count is the same whatever your lot size; only the cash changes.
Can I use this to size a trade before I enter?
Yes. Enter your planned entry and exit and your intended lot size to see what the move is worth before risking money. Compare that to your account and to the margin you need, which at the applicable cap is about $85.50 for 0.10 lots of gold, so the risk fits your balance.
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 →