Gold (XAU/USD) Profit and Loss Calculator
Work out the profit or loss and the pip move on a gold trade from your entry and exit, in Australian dollars.
How it works
It takes your entry and exit price on XAU/USD, your lot size and direction, then converts the price difference into dollars using 100 oz per standard lot. One pip on gold is 0.01, so the pip count is the price move divided by 0.01. A short position flips the sign, so a falling market shows a gain.
Related tools
What the gold profit calculator answers and when to use it
This calculator answers two questions at once: how many pips price travelled, and what that move is worth in dollars on your position size. You need it before you enter a trade to size the position sensibly, and after you close to check the result against your own records.
Australian traders often run the numbers in A$ terms because their account and tax reporting are in Australian dollars. A move that looks small in pips can be material once you multiply by 100 oz per lot. Running the figure first keeps the risk visible rather than abstract.
Use it whenever you are testing an idea on gold, comparing two possible entries, or reviewing a closed trade. It is a planning and review tool, not a prediction — it tells you what a given move is worth, not where price will go.
The formula in plain words
The inputs are the entry price, the exit price, the lot size and the direction (long or short). For a long, subtract the entry from the exit; for a short, subtract the exit from the entry so the sign flips. That gives the price move in dollars per ounce.
Convert the price move to pips by dividing by 0.01, since one pip on XAU/USD is 0.01. Convert the dollar move per ounce to a position result by multiplying by 100 oz per standard lot and then by your lot size. The formula is: (exit − entry) × 100 × lots for a long, and (entry − exit) × 100 × lots for a short.
The result is in US dollars because gold is quoted in USD. To express it in A$, apply the AUD/USD rate at the time you are measuring. The pip figure is independent of lot size, which is why traders quote moves in pips and size in lots separately.
A worked example on XAU/USD
Take a long 0.10-lot gold position with an entry at 4275.0 and an exit at 4280.0. The price move is 4280.0 − 4275.0 = 5.00. Divide by 0.01 and the move is 500 pips. Multiply 5.00 by 100 oz and by 0.10 lots to get $50.00 in US dollars.
For a short at the same prices, the sign flips: 4275.0 − 4280.0 = −5.00, so the result is −500 pips and −$50.00. That is the same magnitude in the opposite direction, which is exactly what you want to see when you reverse a trade.
Margin is a separate figure. At 1:200, a 0.10-lot gold position needs about $85.50 margin, which is the amount set aside, not the amount at risk. The profit or loss above is the change in the position's value, and it is the number that moves your account balance.
Common mistakes and how to read the result
The most common error is mixing up pip value with position value. A 500-pip move on 0.10 lots is $50, not $500, because the pip count still has to be multiplied by the contract size and your lot size. Check the units before you act on the number.
Another mistake is ignoring direction. A short position that loses when price rises is correct behaviour, not a calculator bug — the sign flip is deliberate. Read a negative result as a loss on a long or a gain on a short, depending on which way you traded.
Finally, remember the result excludes costs. Spreads, commissions, swaps and the AUD/USD conversion all affect what actually lands in your account, and each depends on your broker and the time you hold. The calculator gives the gross move; treat the net as lower.
Why the spread you pay on entry is the first deduction from a gold trade
The spread is a cost you pay on entry because you buy at the ask and sell at the bid, and the gap between them is subtracted from your result the moment the position opens. On XAU/USD the spread is quoted in pips, where one pip equals 0.01, so a spread of, say, 20 pips on a 0.10-lot position (10 oz) equals 20 × 0.01 × 10 = $2.00. That amount is already a loss before price moves. The exact spread you face depends on the broker's pricing, the time of day, and market liquidity, so check the live quote before you trade.
The spread cost scales with position size, not with the size of your account. For gold, one standard lot is 100 oz, so a 1-lot position pays the spread on 100 oz, while a 0.10-lot position pays it on 10 oz. If the spread is 20 pips, the cost is 20 × 0.01 × 100 = $20.00 per standard lot, or $2.00 for 0.10 lots. Because the pip value is fixed at $1 per pip per standard lot, you can calculate the spread cost directly from the quoted spread in pips. Always confirm the current spread in your platform, as it can widen around news events.
The spread is not a one-off fee that you can recover by simply breaking even on price. To cover the spread alone, the market must move in your favour by at least the spread before you see any gross profit. For example, if you buy at 4275.0 and the spread is 20 pips (0.20), the bid must rise above 4275.2 just to offset the entry cost. This means your break-even price is your entry price plus the spread. When you use a profit calculator, the gross result often excludes the spread, so you must subtract it manually to find your true net outcome.
How overnight swap charges accumulate and change the net result on a multi-day gold position
Swap is a cost or credit applied to your account when you hold a gold position overnight, and it depends on the interest rate differential between the two currencies in the pair and the broker's markup. For XAU/USD, the swap is calculated on the notional value of your position and is charged in USD. The exact swap rate is not fixed; it varies by broker and can change daily. You can find the current swap rates in your trading platform or the broker's contract specifications. Because swap is applied each night, a position held for several days will see the cost compound, reducing your net profit or increasing your net loss.
The swap charge is proportional to your position size and the number of nights held. A 0.10-lot gold position (10 oz) will incur a smaller swap than a 1-lot position (100 oz). If the swap rate is, for example, a debit of $0.50 per night per 0.10 lot, then holding for five nights adds $2.50 to your costs. That amount is deducted from your gross profit to arrive at net profit. Since swap rates are not given as a fixed number here, you must check the live rate in your platform. Remember that swap can also be positive, meaning you receive a credit, but for gold it is often a cost.
Swap affects the net result of a trade that is held beyond the daily rollover time, typically 5pm New York time. If you open and close a position within the same trading day, no swap is charged. For longer holds, the accumulated swap can turn a gross profit into a net loss if the market movement is small. For instance, a 10-pip gross profit on a 0.10-lot position is $1.00, but if you held for three nights with a $0.50 per night swap, the net result is -$0.50. Therefore, always factor in the expected swap cost when planning multi-day trades.
Gross profit versus net profit: what the difference means for your gold trade
Gross profit is the difference between your entry and exit price multiplied by your position size, before any costs are deducted. On XAU/USD, if you buy 0.10 lots at 4275.0 and sell at 4285.0, the price moved 100 pips (1.00). Since one pip is 0.01 and the pip value for 0.10 lots is $0.10 per pip, the gross profit is 100 × $0.10 = $10.00. This figure ignores the spread you paid on entry and any swap charges, so it overstates what you actually keep. Gross profit is useful for strategy analysis, but it is not the amount that hits your account.
Net profit is what remains after subtracting the spread and any swap costs from the gross profit. Using the same example, if the spread was 20 pips, the spread cost is 20 × $0.10 = $2.00. If you held the position overnight for one night with a swap debit of $0.50, total costs are $2.50. Net profit is therefore $10.00 - $2.50 = $7.50. This is the actual increase in your account balance. The gap between gross and net can be significant, especially for short-term trades where the spread is a large proportion of the target move. Always use net figures when evaluating performance.
The difference between gross and net is not just a minor adjustment; it determines whether a strategy is viable. A trade that looks profitable on a gross basis may be a net loser after costs. For example, a 30-pip gross gain on 0.10 lots is $3.00, but with a 20-pip spread ($2.00) and one night's swap ($0.50), net profit is only $0.50. If the swap were $1.00, the trade would break even or lose. This is why the profit calculator should include fields for spread and swap, or you should subtract them manually. Focusing on net results forces you to account for the real cost of trading.
Why a positive expectancy 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, and a positive expectancy is what makes a trading strategy profitable in the long run. It is calculated as (Win rate × Average win) - (Loss rate × Average loss), with costs included. For example, if your strategy wins 50% of the time with an average win of $20 and loses 50% with an average loss of $15, the expectancy is (0.5 × $20) - (0.5 × $15) = $2.50 per trade. This means that over many trades, you can expect to earn $2.50 per trade on average, despite individual outcomes varying.
A single trade outcome is essentially random and tells you nothing about the quality of your strategy. You could have a winning trade due to luck or a losing trade despite a good decision. Expectancy smooths out this randomness by focusing on the average across a series of trades. For instance, a trader with a positive expectancy might have several losing trades in a row, but if they stick to the plan, the law of large numbers means their results will converge to the expected value. Therefore, judging a strategy by one trade is misleading; you need a sample size of many trades to assess expectancy.
To improve expectancy, you need to either increase your win rate, increase your average win size, decrease your average loss size, or reduce costs. Costs directly reduce expectancy because they are subtracted from each trade's result. A high spread or swap can turn a positive expectancy strategy into a negative one. For example, if your average win is $20 and average loss is $15, but costs average $3 per trade, your expectancy drops to -$0.50. This highlights the importance of factoring in spread and swap when calculating expectancy. Always paper trade or backtest with realistic cost assumptions to ensure your expectancy remains positive after costs.
How to incorporate spread and swap into your profit calculator for accurate net results
To get a net result from a gold profit calculator, you must subtract both the spread cost and the swap cost from the gross profit. Start by calculating the gross profit using the price difference in pips multiplied by the pip value for your lot size. Then subtract the spread cost, which is the spread in pips multiplied by the same pip value. Finally, subtract the swap cost, which is the swap rate per night multiplied by the number of nights held. The formula is: Net Profit = (Exit Price - Entry Price) / 0.01 × Pip Value - Spread × Pip Value - Swap × Nights. This gives you the actual amount added to or removed from your account.
The pip value for gold is straightforward: for 1 standard lot (100 oz), one pip (0.01) is worth $1.00. For 0.10 lots, it is $0.10 per pip. So if you know the spread in pips, you can quickly compute the spread cost. For example, a 20-pip spread on 0.10 lots costs $2.00. Swap is typically quoted in points or as a monetary amount per lot, so you need to check your platform for the exact rate. If the swap is given in points, convert it to dollars using the pip value. Always use the current swap rate from your broker, as it changes.
Many online profit calculators only compute gross profit, so you need to adjust manually or use a calculator that allows input for spread and swap. When using a calculator, ensure you input the correct lot size, entry and exit prices, and the spread in pips. For swap, input the number of nights and the swap rate per night. The result will be your net profit. Remember that swap can be positive or negative; if positive, it adds to your profit. Always double-check the calculator's assumptions, as some may use different pip definitions. For XAU/USD, confirm that one pip equals 0.01 and that the lot size is 100 oz per standard lot.
Why Australian traders must factor in funding costs and regulatory differences when calculating net profit
Australian traders funding with PayID or bank transfer in AUD face currency conversion costs that can affect the net result of a gold trade. When you deposit AUD, your broker converts it to USD to trade XAU/USD, and the exchange rate includes a markup. This cost is not shown in the profit calculator but reduces your overall return. Additionally, withdrawals in AUD incur similar conversion costs. These funding costs are separate from trading costs like spread and swap, but they impact your net profitability. Always check the deposit and withdrawal fees and the conversion spread before funding your account.
The regulatory environment also matters: FxPro is licensed by the FCA (UK) and CySEC, but it does not hold an ASIC licence, so Australian residents deal with an offshore entity. This means you are not covered by Australian investor protection laws, such as the AFCA dispute resolution scheme. While the offshore entity may offer up to 1:200 leverage, you should verify the entity you are contracting with and understand the risks. Leverage is a cap, not a target; using high leverage increases both potential profits and potential losses. Always calculate your margin requirements; for example, at 1:200, a 0.10-lot gold position needs about $85.50 margin.
When calculating net profit, include all costs: spread, swap, and any funding-related fees. Use a profit calculator that allows you to input these costs, or subtract them manually. For Australian traders, it is prudent to keep a trading journal that records not only trade results but also deposit/withdrawal fees and conversion costs. This gives a true picture of your net performance. Remember that trading gold with an offshore broker carries counterparty risk, and you should only fund with money you can afford to lose. Always prioritise understanding the total cost structure over chasing leverage.
The net result in your gold calculator is gross profit minus spread on entry and swap for every night held
The cost side of a gold trade has two named components: the spread you cross on entry and the swap charged for each night the position stays open. On XAU/USD, one pip is 0.01, and one standard lot is 100 oz, so the spread is deducted in price terms before the trade even moves. Swap depends on the broker's financing rates, your direction, and how many nights you hold. Neither cost is a fixed number you can memorise; both must come from the live platform or the broker's contract specifications before you trust a net figure.
Spread is a cost you pay once, at entry, because you buy at the ask and sell at the bid. On gold at a reference price near 4275.0, a one-pip move is 0.01 in price, which equals $1 per standard lot (100 oz). The spread itself is not given as a fixed number here; it depends on the broker and market conditions. In your calculator, subtract the spread from the gross price move before applying position size. For a 0.10-lot position, a one-pip move is $0.10, so the spread's dollar impact scales directly with the lot size you enter.
Swap is charged or credited each night a gold position is rolled over, and it depends on the broker's financing rates, the direction of your trade, and the number of nights held. A multi-day position therefore accumulates swap costs that a same-day trade avoids. To model net profit accurately, multiply the per-night swap by the number of nights you expect to hold, then subtract that total alongside the entry spread. Because swap rates are not fixed in this example, you must read the current rate from the platform; the calculator cannot invent it for you.
A gross result ignores costs, while a net result shows what remains after spread, swap and funding are removed
Gross profit is the price difference on the trade before any costs, and net profit is what is left after spread, swap, and funding costs are deducted. For gold, gross profit equals (exit price minus entry price) times 100 oz times the number of lots, with the sign depending on whether you are long or short. That figure is a starting point, not a spendable result. Every real trade carries at least the entry spread, and any position held overnight also carries swap. The net figure is the only one that reflects the money that would actually reach or leave your account.
The gap between gross and net is made up of identifiable deductions, not a vague adjustment. On entry, the spread is the first deduction: it is the difference between the bid and ask at the moment you trade, and on XAU/USD it is measured in pips of 0.01. If you hold overnight, swap is added to the cost side for each night. Australian traders may also face funding costs when moving money via PayID or bank transfer, though these are separate from the trade itself. A net result that omits any of these is an overstatement of profitability.
To move from gross to net in your calculator, subtract the spread cost and the total swap cost from the gross profit. The spread cost in dollars is the spread in pips multiplied by the pip value for your lot size; for a standard lot, one pip is $1, so a 0.10-lot position has a pip value of $0.10. Swap cost is the per-night charge multiplied by nights held. Funding costs, if any, are deducted last. The resulting net figure is the one to compare against your risk, because it reflects the actual outcome after the costs you cannot avoid.
Expectancy across many gold trades is a more reliable guide than the result of any single trade
Expectancy is the average net result you would expect per trade over a large number of repetitions, and it is more informative than any one outcome. A single gold trade can be won or lost for reasons that do not repeat, such as a news spike or a random spread widening. Expectancy smooths those out by combining your win rate, average win, and average loss after costs. If expectancy is positive, the strategy has an edge over many trades; if negative, no single win changes the underlying arithmetic. The calculator helps you estimate net results per trade, which you can then average.
One outcome tells you almost nothing about a method's viability because variance dominates in the short run. A trader can have a losing week with a positive-expectancy approach, or a winning week with a negative one. On XAU/USD, where a 0.10-lot position moves $0.10 per pip, a handful of trades can swing widely. Expectancy forces you to account for the cost side consistently: spread on every entry and swap on every night held. Without that, a few lucky gross wins can mask a net-negative process. The number to track is the average net result per trade over a meaningful sample.
To use expectancy with your gold calculator, record the net result of each trade after spread, swap, and funding costs, then average them over a sample large enough to be meaningful. There is no universal minimum sample size, but the principle is that more trades give a more stable estimate. A positive expectancy means the costs are being overcome; a negative one means the strategy loses money on average even if some trades win. Australian traders should also note that FxPro is licensed by the FCA (UK) and CySEC but does not hold an ASIC licence, so they deal with an offshore entity; check this before funding, as it affects the cost and risk backdrop.
Common questions
How much is one pip worth on 0.10 lots of gold?
One pip on XAU/USD is 0.01, and one standard lot is 100 oz, so a 0.01 move is worth $1.00 per standard lot. On 0.10 lots that is $0.10 per pip. Multiply the pip count by that figure to get the dollar result.
Why does my short trade show a profit when the price fell?
Because the calculator flips the sign for a short. A short gains when price falls, so entry minus exit gives a positive number. If you entered at 4275.0 and exited at 4270.0 on a short, the move is +5.00, or 500 pips, and the result is positive.
Is the result in Australian dollars?
The raw calculation is in US dollars because gold is quoted in USD. To see it in A$, apply the AUD/USD rate at the time you are measuring. Your broker's conversion rate may differ slightly from the mid-market rate, so treat the A$ figure as an estimate.
Does the calculator include spread, commission or swap?
No. It shows the gross move from entry to exit. Spread, commission and swap depend on your broker, the instrument and how long you hold the position, and they reduce or increase the net result. Subtract them separately to see what you actually keep.
Can I use it for a partial close or multiple entries?
Yes, but run each leg separately. A partial close is a smaller lot size on the same entry and exit, and multiple entries are separate calculations added together. Averaging entries into one lot size gives the same total if the exits match.
Size your gold trade before you place it
FxPro offers gold on MT4, MT5, cTrader and its own app, with funding from Australia by PayID or bank transfer. Use the calculators here to set risk first, then check the broker's terms and the offshore entity that serves Australian residents.