Gold (XAU/USD) Profit and Loss Calculator
Work out your rand and dollar profit or loss on a gold trade from entry, exit and lot size, with the pip move shown correctly for long and short positions.
How it works
Enter your entry price, exit price, lot size and whether you went long or short. The calculator converts the price difference into pips at 0.01 per pip, then into dollars using 100 oz per standard lot, and finally into rand at your chosen USD/ZAR rate. The sign flips automatically for a short, so a falling market shows a profit when you sold.
Related tools
What this gold profit calculator answers and when to use it
This calculator answers one question: given where you entered and where you exited gold (XAU/USD), what did the trade make or lose in dollars and rand? Use it before you place an order to size a position against a rand risk limit, and after you close to check the broker statement against your own arithmetic.
South African traders often think in rand while gold is quoted in dollars, so the rand conversion matters as much as the dollar figure. Run the numbers before a session on the JSE open or the London fix, especially if you fund the account by EFT and want to know what a move is worth in rands you can actually withdraw.
It is also the honest way to test a strategy on paper. Rather than guessing what a 40-pip move is worth, put the entry, exit and lot size in and let the calculator show the exact dollar and rand result. That keeps your risk plan grounded in numbers instead of feelings.
The formula in plain words
The formula is: profit or loss = (exit price − entry price) × direction × lot size × 100 oz, where direction is +1 for a long and −1 for a short. Entry price and exit price are the XAU/USD quotes you filled at, and lot size is how many standard lots you traded, with 1 standard lot equal to 100 oz.
The pip move is (exit price − entry price) ÷ 0.01 × direction. Because one pip on gold is 0.01, a move from 4275.0 to 4275.5 is 50 pips. Multiply pips by the dollar value per pip for your lot size, and you get the same dollar result as the first formula.
To express it in rand, multiply the dollar result by your USD/ZAR rate. Keep that rate as an input rather than a fixed assumption, because it moves and it changes what the same gold trade is worth in rands on the day you convert.
A fully worked gold example
Take a long 0.10-lot gold position entered at 4275.0 and exited at 4280.0. The price difference is 5.00, which is 500 pips at 0.01 per pip. With 0.10 lots, the position is 10 oz, so the dollar result is 5.00 × 10 = $50.00 before any costs.
For a short at the same prices, the direction is −1, so the result is −$50.00: the trade lost because price rose after you sold. The pip move is −500 pips, which is the sign flip the calculator applies automatically when you mark the position as short.
On margin, the reference figure is about $85.50 for a 0.10-lot gold position at 1:200 retail leverage. That is a margin requirement, not a cost, and it is separate from the profit or loss. Costs such as spreads, commissions and swaps are not included here and depend on your account and broker.
To convert the $50.00 to rand, multiply by your USD/ZAR rate. At a rate of, say, 18.50 the result would be R925, but use the live rate you actually face rather than a remembered one, since the rand conversion is only as good as the rate you enter.
Common mistakes and how to read the result
The most common error is mixing up pips and price points. On gold, a move from 4275.0 to 4276.0 is 100 pips, not 1 pip, because one pip is 0.01. If your result looks ten or a hundred times off, check whether you divided by 0.01 or by 1.00.
The second mistake is forgetting the direction sign. A short that profits when price falls will show a loss if you leave the calculator on long. Always set long or short to match the trade you actually placed, and read a negative result as a loss, not an error.
Finally, read the figure as gross trading result, not net cash in your account. Spreads, commissions, swaps and the rand conversion spread all sit outside this calculation. Treat the output as the market move's value, then subtract your actual costs from the statement to see what you kept.
Where the spread and overnight swap enter the gold profit calculation
The spread is a cost you pay the moment your XAU/USD order fills, because you buy at the ask and sell at the bid. On a standard lot of 100 oz, every 0.01 move is one pip, so the width between bid and ask is charged against you in pips before price moves at all. The exact width is not fixed: it depends on the broker's pricing, the session, and events like US data releases, so check the live quote on your platform rather than assuming a number.
The swap is a financing charge or credit applied when you hold a gold position past the daily rollover, and it is separate from the spread. For XAU/USD it depends on the interest-rate differential between the currencies involved, the direction of your trade, and the broker's own markup, so a long position can cost while a short may earn, or the reverse. Because gold is priced in US dollars, the calculation is quoted in USD and only becomes rand when your account or bank converts it.
Both costs belong inside the same result, not beside it. Take the gross pip movement, multiply by contract size, subtract the spread you actually paid on entry and exit, then subtract or add the swap for each night held. In rand terms, translate the final USD figure at the rate your account uses. A trade held for hours and one held for weeks can show the same price move but very different net outcomes once these two lines are included.
Why a gross result on gold overstates what reaches your account
A gross result measures only the price difference between entry and exit, so it ignores everything the broker deducts along the way. If you bought XAU/USD and price rose, the gross figure is the pip move times 100 oz times your lot size, converted to rand. That number is real but incomplete: it has not yet paid the spread on entry, the spread on exit, any swap accrued overnight, or the conversion cost when dollars become rands in your account.
The net result is the gross figure minus every cost you were charged, and it is the only number that matches your statement. Because the spread is paid twice, once going in and once coming out, a short-term gold trade needs a larger move just to break even than many traders expect. Swap compounds the gap the longer you hold. Until you subtract these, a position that looks profitable on the chart can settle at a smaller gain or an outright loss.
Treat the net figure as the decision number. When you compare two possible trades on XAU/USD, compare their net outcomes at your expected holding period, not their gross pip targets. A wider expected move held for several nights may net less than a smaller move closed the same session once swap is counted. This is also where leverage discipline matters: at up to 1:200 retail, margin of about $85.50 on a 0.10-lot position is a cap on size, not a target, and costs scale with the size you actually carry.
Expectancy across many gold trades matters more than any single outcome
Expectancy is the average result you would expect per trade if you repeated the same setup many times, and it is the honest way to judge a gold strategy. One XAU/USD trade is close to a coin flip influenced by news and timing; a series of trades with a positive expectancy is what produces a growing account. Calculate it as the average win times your win rate, minus the average loss times your loss rate, with spread and swap already baked into both averages.
A single large win does not prove an edge, and a single loss does not disprove one. If your gold trades win 55 percent of the time with an average net gain of R900 and lose 45 percent of the time with an average net loss of R800, expectancy is positive per trade, but any one trade can still lose. That is why position sizing on XAU/USD should survive a run of losses; a 0.10-lot position with roughly $85.50 margin at 1:200 is a size decision, and the pip value of 100 oz per lot means each 0.01 move is real money.
Track expectancy in rand after costs, not in pips before them. Keep a record of entry, exit, spread paid, swap charged, and net result per trade, then review the averages monthly rather than trade by trade. This turns the profit calculator from a single-trade toy into a planning tool: you can model whether your holding period, lot size and win rate combine into something that survives a losing streak. FxPro is licensed by the FCA (UK) and CySEC, and an FxPro entity holds an FSCA licence in South Africa, so confirm which entity holds your account before relying on any cost assumption.
How holding period changes the net result on XAU/USD
Holding period changes the net result because swap accrues every night while the spread is paid once per round trip. A gold trade opened and closed within a session carries the spread but little or no swap; the same trade held for two weeks carries the same spread plus fourteen rollovers. The longer you hold, the more the swap line dominates, and its sign depends on your direction and the rate differential, which is why a slow-moving XAU/USD position can quietly erode.
This makes the calculator's holding-period input as important as the price target. If you expect a 40-pip move over a month, the swap charged across those nights may consume a meaningful share of it, and the net result is what you should compare against a shorter trade with a smaller target. Because the exact swap is not a fixed number and depends on the broker's rates and the direction of the position, check the current swap on your platform for the specific side you intend to take.
Plan the exit before the entry so the holding period is a decision, not an accident. A trade that was meant to last a day but is held for three weeks because it went against you now carries costs you never modelled. On gold, where one standard lot is 100 oz and one pip is 0.01, small per-night charges multiply across size and time. Keep the modelled holding period honest, and let the net figure, not the gross one, tell you whether the trade is still worth carrying.
Setting lot size so the calculator reflects rand risk, not just dollars
Lot size is what converts a pip move on XAU/USD into rand risk, so the calculator is only meaningful once you fix it. One standard lot is 100 oz, and one pip is 0.01, so a 0.10-lot position moves R-equivalent value at one tenth of the standard rate for every pip. Because gold is quoted in US dollars, the rand figure depends on the USD/ZAR rate at the time, which means your risk in rand shifts even when the pip move does not.
Margin and risk are different numbers and should not be confused. At up to 1:200 for retail clients, a 0.10-lot gold position needs about $85.50 margin, which is the deposit the broker sets aside, not the amount you can lose. Your actual exposure is the pip value times the distance to your stop, converted to rand. Sizing from the stop distance and the rand you are willing to risk keeps the calculator's net result aligned with what your account can absorb.
Fund the account in a way that keeps the rand math clean. Local cards and bank transfers in ZAR, plus e-wallets, are the funding routes available, and each carries its own conversion treatment when dollars are involved. Whatever you use, record the rate applied so the calculator's output matches your statement. Leverage is a cap set by the broker, not a setting to aim at, and eligible or professional clients may see different limits depending on the instrument, so size from risk rather than from the maximum available.
Reading the calculator's net figure alongside your FSCA entity and costs
The net figure is only as accurate as the cost inputs you feed it, and those depend on which FxPro entity holds your account. FxPro is licensed by the FCA (UK) and CySEC, and an FxPro entity holds an FSCA licence in South Africa, but the entity serving South Africa is FxPro Markets Direct Costa Rica Latam SRL. Check which entity your own account is opened with, because the applicable terms, including how costs and funding are handled, follow that entity rather than the brand name.
Once costs are in, compare the net result against your reason for the trade, not against a gross target. A gold position that nets a modest rand gain after spread, swap and conversion is a valid outcome; one that only looks good before costs is not. Because no spread, commission, swap or minimum deposit is fixed here, treat every cost line as something to verify on your platform and in your account documents before you rely on a calculated figure for a real position.
Use the calculator as a pre-trade checklist rather than a forecast. Confirm lot size, pip value at 100 oz per lot, the spread you will actually pay, the swap for the direction and holding period, and the USD/ZAR rate applied to your funding. Then decide whether the net expectancy across many such trades is positive. Trading gold on leverage is high-risk and losses can exceed what you planned, so let the sober net number, not the gross one, drive the decision.
Common questions
How much is one pip worth on 0.10 lots of gold?
One pip on gold is 0.01 of a dollar per ounce. With 0.10 lots you hold 10 oz, so one pip is worth $0.10. A 100-pip move, from 4275.0 to 4276.0, is therefore $10.00 on that position, before any costs.
Why does my short trade show a profit when the gold price falls?
A short profits when price falls because you sold first and buy back lower. The calculator applies a direction of −1, so (exit − entry) × −1 turns a negative price change into a positive result. If the sign looks wrong, check that short is selected.
Should I convert the result to rand using the rate now or at exit?
Use the USD/ZAR rate at the moment you actually convert or value the trade. Gold is priced in dollars, so your rand result depends on that rate as well as the gold move. Enter the rate you face on the day, not a fixed assumption.
Does this calculator include spreads, swaps or commission?
No. It shows the gross result of the price move only. Spreads, commissions and overnight swaps depend on your account and broker and are not part of this formula. Subtract them from your statement to get the net figure you actually keep.
Can I use this for a position held overnight or over a weekend?
Yes, for the price move itself, but the result will not match your account exactly because swap charges accrue on positions held overnight. Use the calculator for the market move, then add the swap from your statement to reconcile the final rand figure.
Plan the gold trade before you place it
FxPro gives South African traders MT4, MT5, cTrader and FxPro Edge for gold, with funding by local card, bank transfer in ZAR or e-wallet. Use the calculators first, then trade the plan rather than the price.
Trade gold with FxPro →