Platform Choice

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

Work out your gold profit or loss in US dollars from an entry and exit price, plus the pip move, with the sign flipping automatically for a short.

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

How it works

It takes your entry price, exit price, lot size and direction, then multiplies the price difference by the contract size of 100 oz per standard lot. Price moves are counted in pips of 0.01, and the result is the gross figure before any costs the broker charges, which you should subtract yourself.

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 this gold calculator answers and when you need it

This calculator answers one question: how many US dollars did a gold trade make or lose, and how far did price travel in pips. You need it before you place an order to size the position sensibly, and after you close one to check the result against your statement.

Kenyan traders often check it when a XAU/USD idea is forming and they want to know what a move to a target would be worth in real money. Because gold is quoted in US dollars, the figure you get is in USD and you convert it to KSh at the rate your bank or wallet gives you on the day.

It is also useful when a trade goes against you. Running the numbers on a stop-loss level before entry shows the loss in dollars, which is a calmer way to judge whether the position fits your account than guessing from the chart alone.

The formula in plain words

The formula is: profit or loss = (exit price minus entry price) x 100 x lots, and for a short you reverse it to (entry price minus exit price) x 100 x lots. The 100 is the contract size, because 1 standard lot of gold is 100 oz, so each 1.00 move in the price is worth $100 per lot.

The inputs are entry price, exit price, lot size and direction. The pip move is the price difference divided by 0.01, since one pip on gold is 0.01. A 1.00 move is therefore 100 pips, and the pip count is the same whether you are long or short; only the dollar sign changes.

Direction matters because a short profits when price falls. If you enter at a higher price and exit lower, the subtraction gives a positive number only when you keep the order as entry minus exit. Mixing the two is the most common source of a wrong sign.

A worked example on gold at the reference price

Take a long 0.10-lot position with entry at 4275.0 and exit at 4280.0. The price difference is 5.00, which is 500 pips because 5.00 divided by 0.01 equals 500. Multiply 5.00 by 100 oz and by 0.10 lots, and the gross profit is $50.00.

Now flip it to a short. Enter at 4275.0 and exit at 4270.0 with the same 0.10 lots. Entry minus exit is 5.00, again 500 pips, and the gross profit is again $50.00. Had price risen instead, the short would show a loss of the same size, which is the sign flip at work.

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; the $50.00 figure above is the price move, and your real risk is set by where your stop sits.

Common mistakes and how to read the result correctly

The most common mistake is treating the gross figure as take-home money. The calculator shows the price move only, so you still need to subtract the costs your broker charges, which depend on your account type and the spread at the moment you trade. Those costs are not in this number.

A second mistake is entering lot size in ounces rather than lots. Because 1 standard lot is 100 oz, typing 10 when you mean 0.10 lots overstates the result a hundredfold. Check that the lot field matches your platform ticket before you trust the output.

Finally, read the pip move and the dollar figure together. A large pip count on a tiny lot can be smaller in cash than a modest move on a bigger position. The dollar figure is what hits your account; the pip count tells you how far price travelled to get there.

Costs That Reduce the Gross Result: Spread on Entry and Swap Each Night

The gross profit from a gold trade is reduced by two main costs: the spread you pay on entry and the swap charged for holding the position overnight. The spread is the difference between the bid and ask price at the moment you open the trade, and it is effectively a cost because you start with a small loss. The swap is a financing adjustment applied each night the position remains open, and it can be positive or negative depending on the direction of your trade and prevailing rates. Both costs are not fixed numbers in this calculator; they depend on the broker's current pricing and the swap rates for the specific instrument and account type.

The spread cost in monetary terms depends on the size of your position and the spread at entry. For gold (XAU/USD), one pip equals 0.01, and one standard lot is 100 ounces. If you trade 0.10 lots, a spread of, say, 0.30 pips translates to a cost of $0.30 (since 0.10 lots × 100 oz × 0.01 × 0.30 = $0.30). However, the exact spread is not provided here; it varies with market conditions and is set by the broker. The key point is that the spread directly reduces your net profit or increases your net loss, and it is incurred immediately upon opening the trade.

Swap, or rollover, is charged when you hold a gold position past the daily cut-off time (typically 5 PM New York time). The swap amount is based on the difference between the interest rates of the two currencies involved (USD and the other currency in the pair, though gold is USD-denominated) and the broker's markup. For a 0.10-lot gold position, the swap could be a few dollars per night, but the exact figure depends on the broker's swap rates and whether your position is long or short. Because swap is applied nightly, it accumulates over time and can significantly erode profits on longer-term trades. Always check the swap rates before holding a position overnight.

Gross Profit Versus Net Profit: What the Difference Means for Your Gold Trade

Gross profit is the difference between the closing price and the opening price, multiplied by the position size and contract value, without deducting any costs. Net profit is what remains after subtracting the spread, swap, and any commissions. For gold, if you buy 0.10 lots at 4275.0 and sell at 4280.0, the gross profit is $5.00 (5.0 price move × 0.10 lots × 100 oz = $5.00). But if the spread cost is $0.30 and you held overnight with a swap of -$0.50, the net profit is $4.20. The difference is the total cost of the trade, and it is what actually hits your account balance.

The gap between gross and net can be large relative to small price moves, especially in gold where spreads can widen during volatile periods. For a short-term trade aiming for a few dollars per ounce, costs can consume a significant portion of the gross gain. For example, a 0.10-lot trade targeting a 2.0 move (gross $2.00) might see costs of $0.30 or more, leaving a net of $1.70. On longer holds, swap becomes the dominant cost. Therefore, always evaluate a trade's potential on a net basis: subtract the expected spread and estimated swap from your target gross profit to see if the trade is worthwhile.

The calculator's result can be configured to show either gross or net, but the default should be net to reflect reality. To convert gross to net, you need to know the spread at entry (which you can observe on your trading platform) and the swap rate for holding overnight (available in the instrument specifications). Since these numbers are not fixed in this article, you must obtain them from your broker. The key takeaway is that net profit is the only meaningful measure of success, and it is always lower than gross profit due to costs. Ignoring costs leads to overestimating performance and poor decision-making.

Expectancy Over Many Trades: Why One Outcome Does Not Define Your Strategy

Expectancy is the average amount you can expect to win or lose per trade over a large number of trades, and it is calculated by multiplying your win rate by the average win and subtracting the product of your loss rate and average loss. A single trade's outcome is largely random, but over many trades, a positive expectancy strategy will be profitable. For gold trading with a 0.10-lot position, if your average win is $10 and average loss is $5, and you win 50% of the time, your expectancy is (0.5 × $10) - (0.5 × $5) = $2.50 per trade. This means that over 100 trades, you could expect to make about $250, but individual results will vary widely.

The profit calculator gives you the result of one hypothetical trade, but it cannot predict your long-term success. To assess a strategy, you need to track many trades and compute the average win and loss, including costs. Costs reduce both wins and losses, but they have a disproportionate impact on small wins. For instance, if your average gross win is $5 and costs are $1, your net win is $4; if your average gross loss is $3 and costs are $1, your net loss is $4. This can turn a seemingly profitable strategy into a losing one. Therefore, always incorporate costs into your expectancy calculation.

Expectancy also highlights the importance of risk management. A strategy with a high win rate but large losses can have negative expectancy, while a low win rate with small losses and large wins can be positive. For gold, volatility means that losses can mount quickly if not controlled. Use the calculator to model potential outcomes, but remember that it is a tool for understanding single-trade mechanics, not for predicting future returns. The only way to know your expectancy is to record your trades over time, including all costs, and review the statistics regularly. Without this discipline, you are trading on hope rather than evidence.

How Spread and Swap Are Applied in the Profit Calculator's Net Result

The profit calculator applies the spread by adjusting the entry price: for a long position, the entry is at the ask price, and for a short, at the bid price, effectively deducting the spread from the gross result. Swap is applied as a separate line item if the position is held overnight, with the amount depending on the number of nights and the swap rate for the direction of the trade. However, the calculator does not have fixed spread or swap values; these must be input by the user based on current broker data. This means the net result is only as accurate as the inputs you provide, so always use the latest spread and swap figures from your platform.

For gold, the spread is typically quoted in pips, with one pip equal to 0.01. When you enter a long trade, the effective entry price is the ask, which is the bid plus the spread. The calculator subtracts the spread cost from the gross profit. For example, if the gross profit is calculated from the bid prices, the spread is added to the cost. Swap is calculated per night and can be found in the contract specifications. Since swap rates change, the calculator allows you to input an estimated swap per night. The net result is then gross profit minus spread cost minus total swap. This transparency helps you see the impact of each cost component.

The calculator's output should be interpreted with the understanding that costs are estimates. Spreads widen during news events and market opens, and swap rates can change without notice. Therefore, the net result is a best-case scenario if you use typical spreads. To be conservative, use a higher spread estimate and a negative swap if you are unsure. The calculator also does not account for commissions if your account type charges them, so you must subtract those separately. Always cross-check the net result with your broker's statement after trading to refine your estimates. This iterative process improves the accuracy of your planning over time.

Using the Calculator to Compare Scenarios: Different Lot Sizes and Holding Periods

The profit calculator lets you compare how different lot sizes and holding periods affect net profit, which is essential for planning trades around your risk tolerance. For instance, a 0.10-lot gold position at the reference price of 4275.0 requires about $85.50 margin at the applicable leverage cap. If you increase to 0.20 lots, the margin doubles, and both gross profit and costs scale proportionally. Holding overnight adds swap, so a trade held for three nights will incur three times the nightly swap. By adjusting these variables, you can see how costs accumulate and choose a position size and duration that aligns with your account balance and goals.

When comparing scenarios, keep in mind that the spread cost is fixed per trade in pip terms but scales with lot size. Swap, however, is charged per lot per night, so it also scales with size and time. For example, a 0.10-lot trade held for one night might have a swap of -$0.50, while a 0.50-lot trade held for five nights would have a swap of -$12.50 (assuming the same rate). The calculator allows you to input these variables to see the net effect. This is particularly useful for swing traders who need to account for financing costs over several days. Always use realistic swap rates from your broker to avoid underestimating costs.

The calculator also helps you understand the breakeven point: the price move needed to cover costs. For a 0.10-lot trade with a spread cost of $0.30 and one night's swap of -$0.50, the total cost is $0.80, which corresponds to a price move of 0.80 pips (since 0.10 lots × 100 oz × 0.01 = $0.10 per pip, so $0.80 / $0.10 = 8 pips). Thus, the trade must move 8 pips in your favor just to break even. By running different scenarios, you can set more realistic profit targets and stop-loss levels. This prevents setting targets that are too tight to cover costs, a common mistake that leads to frequent small losses.

Why the Calculator's Result Is a Planning Tool, Not a Prediction of Future Performance

The profit calculator provides a deterministic result based on the inputs you provide, but it cannot predict future market movements or guarantee that a trade will achieve that result. Gold prices are volatile and influenced by many factors, so any calculated profit is hypothetical. The calculator is a planning tool to help you understand the relationship between price moves, position size, and costs. It does not account for slippage, requotes, or sudden market gaps, which can alter the actual outcome. Therefore, use it to set realistic expectations and to stress-test your strategy under different assumptions, but never treat the output as a forecast.

One key limitation is that the calculator assumes you can exit at your desired price, but in fast markets, your order might be filled at a worse price. This is especially true for gold during economic data releases or geopolitical events. The spread can also widen dramatically, increasing your cost. Additionally, swap rates are not guaranteed and can change, affecting longer-term trades. To mitigate these risks, always use stop-loss orders and avoid holding positions through major news if you are not prepared for volatility. The calculator helps you quantify the potential impact of costs, but it cannot eliminate market risk.

Finally, the calculator does not replace a trading plan or risk management. It is a tool to be used alongside proper education and practice. Before trading with real money, consider using a demo account to test your understanding of how spreads, swaps, and leverage affect your results. The margin figure of $85.50 for a 0.10-lot gold position at the applicable cap illustrates how leverage works, but remember that leverage amplifies both gains and losses. Always trade with money you can afford to lose, and consult the regulator caveat: FxPro is licensed by the FCA (UK), CySEC and FSCA — not by the CMA of Kenya. This means local dispute resolution may be limited, so ensure you understand the risks.

FAQ

Common questions

How do I convert the gold profit figure from USD to KSh?

Multiply the USD result by the USD/KSh rate your bank or M-Pesa conversion gives you at the time. The calculator works in USD because gold is quoted in US dollars, so the shilling figure moves with the exchange rate as well as with your trade. Check the rate you will actually get, not a headline one.

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

A short profits when price falls, so the calculation uses entry minus exit. Entering at 4275.0 and exiting at 4270.0 gives 5.00, which is a gain. If you accidentally use exit minus entry on a short, the sign flips and a winning trade appears as a loss.

Does a 0.10-lot gold position always carry the same risk?

No. Lot size fixes how much each price move is worth, but your risk depends on where your stop-loss sits. The same 0.10 lots with a wide stop loses more than with a tight one. The calculator shows the outcome for the exit you type in, so test your stop level as well as your target.

Is the profit shown before or after broker costs?

It is before costs. The figure is purely the price difference times contract size, so any spread, commission or swap your broker applies still has to come off. Those amounts depend on your account and the market at the time, so check your platform or statement for the actual charge.

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

One dollar in gold is 100 pips, because one pip is 0.01. A move from 4275.0 to 4280.0 is 5.00, or 500 pips. On 0.10 lots that is $50.00 gross, since each pip on that size is worth $0.10.

Ready to trade

Trade XAU/USD with FxPro

FxPro gives you MT4, MT5, cTrader and its own app for gold, with funding from Kenya through M-Pesa. Remember the entity serving this country is licensed by the FCA, CySEC and FSCA, not by the CMA of Kenya, and leveraged gold trading can lose more than you deposit.