Gold (XAU/USD) Profit and Loss Calculator for South African Traders
Work out the rand-and-dollar profit or loss on a gold trade from your entry and exit prices, including the pip move in the correct direction for a long or a short.
How it works
It takes your entry price, exit price, lot size and direction, then converts the price difference into pips and into money using the contract size. Because one standard lot of gold is 100 oz and one pip is 0.01, the calculation stays the same whether you are long or short; only the sign flips. The result is the gross move, before any costs your broker charges.
Related tools
What this gold profit calculator answers, and when a South African trader needs it
This calculator answers one question: given where you entered and where you exited a gold (XAU/USD) trade, what is the profit or loss in money, and how many pips did the price move? You need it before you place a trade to size a position against a rand risk budget, and after you close one to check the result against your plan. It is also useful when you want to compare a long idea with a short idea on the same chart.
South African traders often think in rand while gold is quoted in US dollars, so the calculator is most useful when you pair the dollar result with your own rand conversion. That keeps the risk decision in the currency you actually spend. It does not account for spreads, swaps or commission, so treat the figure as the gross move and adjust for the costs your own account carries.
You do not need a live platform to use it. Any entry and exit pair works, including a hypothetical one, which makes it a planning tool rather than a record-keeping tool. Use it to test whether a stop distance in pips is affordable at your lot size before you commit capital.
The profit formula in plain words
The formula is: profit or loss = (exit price − entry price) × contract size × lots, and for a short the sign is reversed. The inputs are the entry price, the exit price, the number of lots and the direction. Contract size for gold is 100 oz per standard lot, so a 0.10-lot position covers 10 oz. The pip move is (exit − entry) ÷ 0.01, again with the sign flipped for a short.
Each input has a clear job. The entry and exit prices set the raw price difference in dollars per ounce. The lot size scales that difference to your actual exposure. The direction decides whether a rising price helps or hurts you. Nothing else enters the formula, which is why the result is a clean gross figure and not a net one.
Because the pip size for gold is 0.01, a one-dollar move in the gold price is 100 pips. That relationship is worth memorising: it lets you sanity-check any result quickly. If your calculator says a two-dollar move is 20 pips, something is wrong with the inputs.
A worked gold example using the reference price
Take a long 0.10-lot gold position entered at the reference price of 4275.0 and exited at 4280.0. The price difference is 4280.0 − 4275.0 = 5.00 dollars per ounce. Multiply by the contract size of 100 oz and then by 0.10 lots: 5.00 × 100 × 0.10 = $50.00 profit. The pip move is 5.00 ÷ 0.01 = 500 pips.
Now flip the direction to a short at the same prices. The raw difference is still 5.00, but the sign reverses, so the result is a $50.00 loss and a −500 pip move. The arithmetic is identical; only the direction input changes the outcome. This is the single most common place where a manual calculation goes wrong.
For margin context only, at up to 1:200 for retail, a 0.10-lot gold position needs about $85.50 margin. That figure is a requirement, not a cost, and it does not change the profit or loss above. Your rand equivalent depends on the exchange rate at the time, which the calculator does not supply.
Common mistakes and how to read the result correctly
The most common mistake is treating the gross figure as take-home profit. Spreads, swaps and commission are real costs that sit outside this formula, so the number you see is the move before those are applied. Read it as the size of the price move expressed in money, then subtract what your account actually charges. That keeps expectations honest, especially on short-held gold positions where costs can be a meaningful share of a small move.
A second mistake is mixing up pips and dollars. A 500-pip move sounds large, but on a 0.10-lot it is $50. Always check the lot size before reacting to a pip figure. A third mistake is forgetting the sign flip for shorts, which turns a correct formula into a wrong answer. Enter the direction deliberately and re-read the output.
Finally, do not read a single result as a forecast. The calculator reports what happened between two prices you chose; it says nothing about the next move. Use it to plan risk and to review trades, not to predict. A result that looks good on paper still has to survive the costs and the rand conversion in your own account.
The cost side of the result: spread on entry and swap each night
The spread is the first cost you pay on every gold trade, and it is set by the difference between the bid and ask price at the moment you enter. For XAU/USD, one pip equals 0.01, so a spread quoted in pips is a direct deduction from your gross profit. If you buy at the ask and later sell at the bid, the spread is already working against you before the market moves. The exact spread depends on the broker, the time of day, and market volatility, so check the live quote on your platform before you commit.
Swap is the overnight financing cost or credit applied when you hold a gold position past the daily rollover, and it depends on the instrument, your position size, and the direction of your trade. For a 0.10-lot gold position, which controls 10 oz, the swap is calculated on the full notional value and can add up over multiple nights. Swap rates are not fixed and change with interest rate differentials and broker terms. If you plan to hold for days or weeks, factor swap into your net result rather than looking only at the entry and exit price.
The total cost side of a gold trade therefore includes the spread you cross on entry and exit, plus any swap charged for each night the position remains open. For a South African trader funding in rand, the ZAR/USD exchange rate also affects the rand value of these costs, even though gold is priced in US dollars. Because spreads and swap rates are variable, the only reliable way to estimate them is to check your platform’s current quotes and contract specifications before trading. Never assume a cost is negligible; small amounts per trade can compound.
Gross versus net result: what the calculator shows before and after costs
The gross result is the profit or loss calculated purely from the price difference between your entry and exit, multiplied by the position size. For gold, with 1 standard lot equal to 100 oz and one pip equal to 0.01, a move of 1.00 in XAU/USD on a 0.10-lot position gives a gross profit of $10. That figure ignores all trading costs. The gross result is useful for understanding price movement, but it is not the amount that lands in your account.
The net result is what remains after subtracting the spread and any swap from the gross result. If you entered a 0.10-lot gold trade and held it overnight, the net figure will be lower than the gross by the spread cost and the swap charge. Because the spread is incurred on both entry and exit, it effectively reduces your profit or increases your loss by that amount. Swap adds or subtracts depending on whether you are long or short and the prevailing rates. Always use the net result for any real assessment of a trade.
For a South African trader, the net result should also be considered in rand terms if your account is funded in ZAR. The conversion from USD to ZAR will reflect the exchange rate at the time, and any card or bank transfer fees for funding are separate from trading costs. The calculator’s net output is the starting point for judging whether a trade was worthwhile, but it does not include account-level fees. Use the net figure as your practical outcome, and treat the gross figure as a theoretical maximum before costs.
Expectancy over many trades: why one outcome does not define your edge
Expectancy is the average amount you can expect to win or lose per trade over a large number of trades, and it is calculated from your win rate and the size of your average win and loss. A single trade’s result, whether a large profit or a loss, tells you nothing about whether your approach has a positive expectancy. You need a series of trades to estimate it. For gold trading, where volatility can produce wide swings, one outcome is especially misleading. Focus on the pattern across many trades, not the last one.
A positive expectancy means that, on average, each trade returns a profit after costs, even though individual trades will vary. For example, if your strategy wins 50% of the time with an average win of $200 and an average loss of $150, the expectancy per trade is $25 before costs. After subtracting spread and swap, it may be lower. The key is that the average holds over a sufficient sample. South African traders should track their results in a journal, including costs, to estimate expectancy realistically rather than relying on memory or a few standout trades.
One outcome, such as a single large win, can create a false sense of skill, while a single loss can cause unnecessary doubt. Expectancy smooths out these variations and directs attention to the process: consistent risk management, realistic cost assumptions, and a strategy that has been tested over many trades. Because gold prices are influenced by global factors and can gap, past expectancy does not guarantee future results. Use the concept to evaluate your approach over time, and always account for the spread and swap that reduce gross returns.
How spread and swap change the break-even price on a gold trade
The break-even price is the exit price at which your net result is zero after all costs, and it is always worse than the raw entry price because of the spread and any swap. For a long gold position, you need the bid price to rise above your entry ask by at least the spread plus any swap cost per unit. For a 0.10-lot trade, each pip (0.01) is worth $0.10, so a spread of, say, 0.30 pips would require a move of 0.30 in your favour just to cover the spread. Swap adds to that required move if held overnight.
The exact break-even shift depends on the spread at entry and exit and the swap rate for the number of nights held. Because spreads vary with market conditions and swap rates change, the break-even is not a fixed number. For South African traders, the rand value of the break-even move also depends on the USD/ZAR exchange rate at the time of conversion. The practical approach is to calculate break-even using the current spread and swap from your platform, then add a buffer for slippage. This gives a more realistic target than simply aiming to cover the price difference.
Ignoring the break-even shift is a common reason traders see gross profits disappear into net losses. A trade that looks profitable on a price chart may be a loser after costs, especially if held for several nights. Always compute the net break-even before entering a trade, and use the calculator to see how different exit prices affect your net result. This is particularly important for gold, where spreads can widen around news events and swap accumulates daily. A clear break-even target keeps your expectations aligned with actual costs.
Using the calculator to compare holding periods and their swap impact
The holding period directly affects the swap component of your net result, so comparing scenarios with different durations shows how overnight costs accumulate. A trade closed within the same day incurs no swap, while one held for a week incurs swap for each night. For a 0.10-lot gold position, the swap per night may be small in dollar terms, but over many nights it can become significant relative to your expected profit. The calculator lets you input different holding periods to see the net effect, assuming you know the swap rate from your platform.
Swap rates are not fixed and depend on the instrument, the direction of your trade, and the broker’s terms. For gold, swap is typically calculated on the notional value of the position, which for 0.10 lots is 10 oz multiplied by the gold price. Because the gold price is around 4275.0, the notional is substantial, so even a small percentage swap rate translates into a real cost. South African traders should check the swap rate in the contract specifications and remember that it can change. The calculator does not predict swap; you must input the current rate.
Comparing holding periods also highlights the trade-off between capturing a larger price move and incurring more swap. A longer hold may allow a trend to develop, but the accumulating swap reduces the net profit. By running the calculator with different exit times, you can estimate whether the potential extra gain justifies the additional cost. Keep in mind that swap can be positive or negative depending on whether you are long or short and the rate differential. Use the comparison as a planning tool, not a guarantee, and always base inputs on live data.
Why the rand value of your gold profit differs from the dollar figure
The rand value of your gold profit differs from the dollar figure because the profit is calculated in US dollars and then converted at the prevailing USD/ZAR exchange rate. If the rand weakens against the dollar, your dollar profit translates into more rand; if it strengthens, you get fewer rand. This currency effect is separate from the trading result and can amplify or reduce your return. For a South African trader with a rand-denominated account, the final amount in rand is what matters for your finances, so monitor the exchange rate alongside the gold price.
The conversion also applies to costs: spread and swap are charged in dollars (or the account currency) and then converted. If your account is in rand, the broker will apply an exchange rate at the time of conversion, which may include a markup. Local funding methods such as local cards and bank transfers in ZAR, or e-wallets, may have their own fees that further affect the rand amount. These funding fees are not part of the trading costs but affect your net rand outcome. Always check the conversion terms and any fees before funding.
To manage currency risk, some traders consider hedging or simply being aware of the exchange rate trend when planning trades. However, the core profit calculator focuses on the gold trade in dollar terms; the rand conversion is an additional layer. For accurate planning, use the calculator to get the dollar net result, then apply the current USD/ZAR rate to estimate the rand value, keeping in mind that the rate at exit may differ from the rate at entry. This two-step approach gives a clearer picture of what you might actually receive.
Common questions
How do I calculate gold profit in rand if my account is in dollars?
Calculate the dollar result first, then convert at the exchange rate your bank or broker applies. The calculator gives the dollar figure from entry, exit and lot size; the rand value depends on the rate on the day you convert, so it will differ from a rate you saw earlier. Keep the two steps separate so you can see which one moved your outcome.
Why does my short trade show a loss when the price fell?
A short profits when the exit is below the entry, so check the order of the two prices. If you entered the higher price as the exit and the lower as the entry, the sign flips and a winning short reads as a loss. Re-enter entry and exit in the order they happened, then set the direction to short.
Does a 0.10-lot gold position always mean the same profit per pip?
Yes, for a given lot size the money per pip is fixed because one standard lot is 100 oz and one pip is 0.01. A 0.10-lot covers 10 oz, so each 0.01 move is worth $0.10 before costs. Change the lot size and the per-pip value changes in proportion, which is why lot size is the main risk dial.
Should I include spread and swap in this profit figure?
No, this calculator reports the gross price move only. Spread, swap and commission are separate costs that depend on your account and holding period, and they are not part of the entry-to-exit formula. Subtract them afterwards if you want a net view, and remember that a position held overnight can carry a swap charge.
Can I use this calculator for a partial close or scaling out?
Run it once per exit price and add the results. Each partial close is its own entry-to-exit pair with its own lot size, so a trade closed in two parts is two calculations. Summing them gives the total gross move. This is more accurate than averaging the exit prices, which can hide the effect of closing different sizes at different levels.
Trade gold with FxPro
FxPro gives South African traders MT4, MT5, cTrader and FxPro Edge for XAU/USD, with funding by local card, bank transfer in ZAR and e-wallet. Check which FxPro entity your account is opened with before you fund it.
Trade gold with FxPro →