Options

Gold (XAU/USD) Profit and Loss Calculator for Kenyan Traders

Work out exactly what a gold trade made or lost in US dollars and Kenyan shillings, and see how many pips price moved.

Profit / Loss
XAU/USD · P/L from entry to exit
Profit / loss
—
Move
—
Position size
—
Contract
100 oz

How it works

The calculator takes your entry price, exit price and lot size, then measures the move in pips, where one pip on gold is 0.01. It multiplies that move by the contract size of 100 oz per standard lot and your lot size to get the dollar result. A short trade flips the sign, so a falling price becomes a gain. Convert to KSh at your own rate to see the M-Pesa-side figure.

P/L = (exit − entry) × 100 × lots
xau/usd · one bar, one hourTARGETENTRYSTOP
Profit is the distance between two of these lines, times the size you chose.

What the gold profit calculator answers and when you need it

The calculator answers one question: given where you entered and where you exited gold (XAU/USD), what is the profit or loss in dollars, and how far did price actually move in pips? You need it before you close a trade to sanity-check your own maths, and after you close to reconcile what your MT4, MT5 or cTrader statement shows against what you expected.

Kenyan traders also use it to size a trade before committing funds. If you know your target move in pips and your lot size, you can see the dollar outcome first, then convert to KSh to judge whether the risk fits your account. That step matters because gold moves fast and a position that looks small in lots can swing widely in shillings.

It is most useful when you are trading a defined plan rather than reacting to the screen. You set an entry, a stop and a target, run the numbers, and only then decide whether the reward is worth the risk. Running the calculation after the fact, once price has already moved, tends to justify decisions instead of testing them.

The formula in plain words

Profit or loss equals the price difference multiplied by the contract size and your lot size. On gold, 1 standard lot = 100 oz, so the formula is: (Exit price − Entry price) × 100 × lots. For a short position you reverse it: (Entry price − Exit price) × 100 × lots. The inputs are entry price, exit price, lot size and direction.

The pip move is separate and simpler: (Exit price − Entry price) ÷ 0.01 gives the number of pips, with the sign flipped for a short. Because one pip on XAU/USD is 0.01, a one-dollar move in gold is 100 pips. Keeping the two ideas apart stops you confusing a dollar move with a pip move when you compare trades or set targets.

To express the result in KSh, multiply the dollar figure by the USD/KSh rate you actually expect to convert at. That rate is not fixed, so treat the shilling number as an estimate and confirm it against the rate your funding route gives you when money moves through M-Pesa.

A worked example on gold

Suppose you buy 0.10 lots of XAU/USD at 4270.00 and exit at 4275.00. The price difference is 5.00. Multiply by 100 oz and by 0.10 lots: 5.00 × 100 × 0.10 = $50.00 profit. The pip move is 5.00 ÷ 0.01 = 500 pips. If the same trade had been a short at 4270.00 with an exit at 4275.00, the result would be a $50.00 loss.

Now start from the reference price of ≈ 4275.0. Say you go short 0.10 lots at 4275.0 and cover at 4270.0. The formula for a short is (4275.0 − 4270.0) × 100 × 0.10 = $50.00 profit, and the pip move is 500 pips in your favour. The margin behind that 0.10-lot position, at the applicable cap, is about $85.50, which shows how a modest lot size still ties up real capital.

Converting the $50.00 at a hypothetical rate illustrates scale only; use the live rate when you do it for real. The important habit is to run the arithmetic on the dollar figure first, because that is what your broker statement will show, then translate to KSh second so you know what lands in your account.

Common mistakes and how to read the result correctly

The most common error is mixing up dollars and pips. A 5.00 move in gold is 500 pips, not 5 pips, and a trader who confuses the two will misjudge both targets and stop distances. Always state which unit you are quoting before comparing one trade with another or with a strategy you read about.

The second mistake is forgetting the sign on a short. If you entered short and price rose, the result is a loss even though your exit price is higher than your entry, so apply the short formula rather than the long one. The third is treating the dollar figure as final cash in hand: costs such as spreads or commissions are charged separately and are not part of this calculation.

Read the result as an estimate of gross profit or loss before costs, not a promise of what you will withdraw. Confirm the actual figures on your statement, and remember that trading gold on leverage is high-risk and losses can exceed your expectation if you do not manage position size. FxPro is licensed by the FCA (UK), CySEC and FSCA — not by the CMA of Kenya.

Where the spread and overnight swap sit inside the calculator result

The spread is a cost you pay on entry because the price you buy at is higher than the price you sell at, and it is not included in a gross profit figure. On gold (XAU/USD), one pip is 0.01, so the spread is quoted in pips and scaled by your lot size: 1 standard lot is 100 oz, meaning each 0.01 move is worth $1 per lot. The calculator only sees the entry and exit prices you type in, so if you enter the same price for both sides, the spread is invisible. To capture it, subtract the spread cost from the gross result yourself, or enter a realistic exit price that already reflects the bid-ask gap.

Swap is the overnight financing charge or credit applied when a gold position is held past the daily rollover, and it depends on the broker's rate, your position size and direction. Gold is a non-yielding metal, so holding a long position typically carries a cost while a short may carry a cost or a small credit depending on prevailing rates. The calculator does not know how many nights you hold, so it cannot include swap unless you add it manually. In Kenya, where many traders fund via M-Pesa and hold positions across several sessions, swap can quietly erode a result that looked positive on entry and exit alone. Check the swap rate for the specific day and multiply by nights held.

Both spread and swap are costs that sit outside the price-to-price calculation, so the result you see is a gross figure until you adjust for them. The spread is a one-off cost at entry, while swap accrues for every night the position remains open. A trade held for one hour carries the spread but no swap; a trade held for a week carries both. Because neither is a fixed number you can read from the calculator, the practical approach is to treat the calculator's output as the market-move component and then subtract your known spread cost and any swap charges. That gives you a net figure that reflects what actually lands in or leaves your account.

Gross versus net: what each figure includes and which one to act on

A gross result is the profit or loss from the price difference alone, calculated as (exit price minus entry price) multiplied by contract size and lot count, with no costs deducted. For gold, with 1 standard lot equal to 100 oz and a pip of 0.01, a 1.00 move on 0.10 lots is $10 before any costs. The gross figure answers the question of whether the market moved in your favour by enough to cover your thesis, but it does not answer whether the trade made money after the broker's charges. Treat gross as the first filter: if the market move does not clear the spread and expected swap, the trade is unlikely to be worth placing.

A net result is the gross result minus the spread cost on entry and minus any swap charged for the nights the position was held. Because the spread is embedded in the prices you actually trade at, the cleanest way to get a net figure is to use the real entry and exit prices from your statement rather than mid-market prices. Swap is separate and appears as a line item, so subtract it explicitly. The net figure is the one that matches your account balance and the one you should use for any decision about whether a strategy is viable. Gross is useful for comparing market moves; net is useful for judging outcomes.

The difference between gross and net is the total cost of carrying the trade, and it changes the verdict on marginal setups. A trade that shows a small gross profit can be a net loss once the spread and a few nights of swap are removed, especially on gold where the spread is a real cost per lot and swap accrues daily. In Kenya, where account funding through M-Pesa is straightforward but the trading costs are the same as anywhere, the discipline of checking net rather than gross prevents the common error of celebrating a move that did not actually pay. Use gross to test the idea, net to judge the result, and never report a gross figure as if it were money in your account.

Expectancy across many trades compared with judging a single outcome

Expectancy is the average result you would expect per trade if you repeated the same setup many times, and it is calculated as (win rate times average win) minus (loss rate times average loss), with costs included. A single trade tells you almost nothing about whether a method works because one outcome is dominated by randomness. Expectancy shifts the question from did this trade win to does this pattern of wins and losses, after spread and swap, produce a positive average over a sample. On gold, where a 0.10-lot position moves $10 per 1.00 of price, a handful of trades can swing widely, so the average is only meaningful across a series.

Judging a strategy by one outcome is misleading because the result of any single trade depends on where price happened to be at entry and exit, not on the quality of the decision. A losing trade can come from a sound process, and a winning trade can come from a poor one. Expectancy forces you to record the gross result, the spread cost and the swap for each trade, then average them. Over a large enough sample, the average net result per trade is the number that determines whether the method grows the account. In Kenya, where traders often review results in KSh, converting the average net result into shillings makes the expectancy tangible and comparable to other uses of the capital.

A positive expectancy does not guarantee a profit in any given month, and a negative expectancy can still produce a winning streak by chance. That is why the calculator's per-trade output should be treated as one observation in a distribution, not as a verdict. The practical use of expectancy is to compare setups before risking money: if the average net result after spread and swap is negative, more trades will only deepen the loss. If it is positive, the job is to execute consistently and let the average play out. Keep the per-trade calculator for planning, but keep a running log of net results so the expectancy you rely on is measured rather than assumed.

How to add spread and swap to the calculator output by hand

To add the spread by hand, convert the quoted spread in pips into dollars using the contract size, then subtract it from the gross result. For gold, 1 standard lot is 100 oz and one pip is 0.01, so each pip of spread costs $1 per standard lot, or $0.10 on a 0.10-lot position. If your broker quotes the spread in dollars rather than pips, use that figure directly. Because the calculator uses the prices you enter, the simplest method is to enter the ask as your buy price and the bid as your sell price, which embeds the spread automatically. Either way, the spread is a cost on entry and should reduce the result before you judge it.

To add swap by hand, find the overnight financing rate for gold for the day, apply it to the notional value of your position, and multiply by the number of nights held. The notional value is the lot size times 100 oz times the gold price, so a 0.10-lot position at a reference price near 4275.0 has a notional of roughly $42,750. The swap rate itself is set by the broker and varies, so the number you use must come from the broker's schedule rather than from the calculator. In Kenya, where positions are often held across multiple sessions, counting the nights accurately matters because each night adds another charge or credit to the net result.

Combining the two adjustments gives a net figure you can trust more than the raw output. Subtract the spread cost once, then subtract the swap for each night the trade was open, and compare the result with the gross figure. The gap between them is the total cost of the trade and is the amount the market move must overcome before the position is profitable. Because neither spread nor swap is a fixed number in the calculator, the discipline of adjusting by hand keeps the tool honest. Use the reference price only as a starting point; the actual prices and the broker's swap schedule are what determine the net outcome.

Why the lot size and holding period change the cost picture more than the entry price

Lot size changes the cost picture because both the spread and the swap scale with the size of the position, while the entry price only shifts the starting point. On gold, moving from 0.10 lots to 1.00 lot multiplies the spread cost and the swap by ten, so a trade that was marginal at 0.10 lots can be clearly negative at 1.00 lot even if the price move is identical. The calculator's gross result also scales with lot size, but the costs scale just as fast, which is why the net result is more sensitive to size than to a small difference in entry. In Kenya, where the margin requirement at the applicable cap is a real constraint, sizing up also ties up more capital for the same price move.

Holding period changes the cost picture because swap accrues every night, so a trade held for a week carries several times the financing cost of a trade closed the same day. The spread is paid once, but swap is paid repeatedly, which means the break-even move grows the longer you stay in. A strategy that looks profitable on a one-day hold can turn negative over a two-week hold if the swap is against you. This is why the calculator's output should be paired with a realistic holding period: the same entry and exit prices produce different net results depending on how many nights the position was open. Count the nights before you trust the figure.

The entry price matters less than size and duration because the price move is what you are trying to capture, while size and duration determine what you pay to try. A slightly worse entry on a small, short-held position can still be net positive, whereas a good entry on a large, long-held position can be eaten by costs. The practical rule is to decide the lot size and expected holding period first, then use the calculator to see whether the gross move clears the spread and swap for that combination. That order keeps the cost side visible and prevents the common error of sizing up after a good gross result without checking the net.

Recording net results in KSh so the calculator feeds a real trading log

Recording net results in KSh turns the calculator from a one-off tool into a feedback loop for your trading. Because the calculator outputs dollars, the conversion step is where you account for the exchange rate you actually received when funding or withdrawing via M-Pesa. The net result in dollars, after spread and swap, multiplied by the KSh rate gives the figure that matches your account history. Keeping that log in shillings makes it comparable to other uses of the money and makes the expectancy calculation tangible. Without the log, the calculator's output stays theoretical and the same costing mistakes repeat.

The log should record, for each trade, the lot size, entry and exit prices, the spread cost, the swap charged, and the net result in both dollars and KSh. Those fields are exactly the ones the calculator does not capture automatically, so writing them down is what closes the gap between the tool and reality. Over time, the average net result per trade in KSh becomes your measured expectancy, which is more reliable than any single outcome. In Kenya, where M-Pesa statements give a clear record of deposits and withdrawals, reconciling the log against those statements keeps the shilling figures honest and catches any cost you forgot to include.

A consistent log also shows whether the cost side is stable or drifting. If the spread cost per lot or the swap charge changes, the net results will shift even if your price calls are unchanged, and the log will reveal that before it becomes a large drawdown. The calculator remains the planning tool for a single trade, but the log is the evidence base for the method. Reviewing it regularly, in KSh, keeps the focus on net outcomes and away from the temptation to judge a strategy by its best gross trade. That habit is what separates a useful calculator from a decorative one.

FAQ

Common questions

How many pips is a one-dollar move in gold?

A one-dollar move in gold is 100 pips, because one pip on XAU/USD is 0.01. So a move from 4275.0 to 4276.0 is 100 pips. Keep this in mind when you compare a gold target with a forex pair, where pip values behave very differently.

Why does my short trade show a profit when the exit price is lower?

That is correct for a short: you sell first and buy back later, so a lower exit price is a gain. The short formula is (Entry price − Exit price) × 100 × lots. A higher exit price on a short is a loss, which is why the sign flips.

How do I turn the dollar profit into Kenyan shillings?

Multiply the dollar result by the USD/KSh rate you expect to convert at. That rate moves, so the shilling figure is an estimate. If you fund and withdraw through M-Pesa, check the rate your route actually applies rather than assuming a fixed number.

Does this calculation include spread or commission?

No. It gives gross profit or loss from the price move only. Spread and commission are charged on top and depend on your account and the market conditions at the time, so your statement figure will differ from the calculator result.

What lot size should I enter in the calculator?

Enter the lot size you actually traded, such as 0.10 for a tenth of a standard lot. Because 1 standard lot is 100 oz, a 0.10-lot position covers 10 oz. Using the wrong lot size is the fastest way to get a result that does not match your statement.

Ready when your numbers are

Size the gold trade before you take it

FxPro gives Kenyan traders MT4, MT5, cTrader and the FxPro app for XAU/USD, funded through M-Pesa. Run the calculators first, then trade a position you can actually carry.

Trade gold with FxPro →