Account opening

Gold Profit and Loss Calculator (XAU/USD) for Nigeria

Work out the naira and dollar result of a gold trade from your entry, exit and lot size, including the pip move and which direction your money goes.

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

How it works

It takes four inputs: your entry price, your exit price, your lot size and whether you bought or sold. Because one standard lot of gold is 100 oz and one pip is 0.01, the price difference multiplied by 100 oz and your lots gives the dollar result. Short trades flip the sign, so a falling price becomes profit.

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

This calculator answers one question: after I close this gold trade, how much have I made or lost? You need it before you enter, to size a position against your account in naira, and after you exit, to check that your broker's statement matches what the price move should have produced.

Nigerian traders often fund with local NGN bank transfers or Visa and Mastercard debit cards, so the dollar figure matters twice. First it tells you the trade result in USD, then you convert at the rate your bank or card applies. Knowing the raw dollar number keeps the trading decision separate from the currency conversion.

It is also the fastest way to sanity-check a stop. If you know your loss per pip, you can see whether the stop distance you are considering fits the risk you are willing to take on that account, rather than picking a lot size by feel.

The formula in plain words

Profit or loss equals the price difference multiplied by the contract size and your lot size. The inputs are: entry price, exit price, lot size, and direction. Contract size for gold is fixed at 100 oz per standard lot, and one pip is 0.01 in the XAU/USD quote.

Written out: (exit price − entry price) × 100 × lots for a long, and (entry price − exit price) × 100 × lots for a short. The pip move is the price difference divided by 0.01, so a move from 4275.0 to 4280.0 is 500 pips.

The result is in US dollars because gold is quoted in dollars per ounce. Nothing in this formula includes spread, commission or swap, so treat the output as the gross price result and subtract your costs separately.

A worked example on XAU/USD

Suppose you buy 0.10 lots of gold at 4275.0 and close at 4285.0. The price difference is 10.0 dollars per ounce. Multiply by 100 oz, then by 0.10 lots: 10.0 × 100 × 0.10 = $100. The pip move is 10.0 ÷ 0.01 = 1000 pips.

Now flip it to a short at the same prices. Selling at 4275.0 and buying back at 4285.0 gives (4275.0 − 4285.0) × 100 × 0.10 = −$100. Same prices, opposite sign, because you were short into a rising market.

For margin context only, the reference figure for this site is that a 0.10-lot gold position needs about $85.50 margin at 1:200 via the offshore entity. That is a cap, not a target, and it says nothing about your profit or loss.

Common mistakes and how to read the result

The most common error is treating the calculator output as your final account change. It is the gross price result. Spread, commission and any swap are charged on top, so your realised figure will differ from the number shown here.

Second, check your lot size convention. Some platforms show 0.10 lots, others show 10 micro lots or 10 oz. Entering 10 where you meant 0.10 inflates the result a hundredfold. Confirm the unit before you trust the output.

Third, remember the sign. If you were short and the price rose, the loss is negative and real. Do not read a negative number as a data error. Finally, convert to naira only after you have the dollar figure, using the rate your own bank or card will apply.

The cost side of a gold trade: spread on entry and swap for each night held

The spread is the first cost you pay on any XAU/USD trade, and it is charged the moment you open the position. It is the difference between the bid and the ask price, and it is not a fixed number: it depends on the broker's pricing model, the time of day, and market volatility. For gold, the spread is quoted in dollars per ounce, and with one pip equal to 0.01, a spread of, say, 0.30 dollars means 30 pips. On a 0.10-lot position (10 ounces), that spread costs 3.00 dollars. You do not see this as a separate line item; it is built into the price at which your trade is filled. The exact spread you face depends on the broker and market conditions, so check the live quote before you trade.

Swap, or rollover, is the cost or credit applied when you hold a gold position overnight past the broker's daily cut-off time. It is not a fixed fee; it depends on the broker's swap rates, which are influenced by prevailing interest rates and the cost of carry in the gold market. For XAU/USD, swap is usually charged in dollars per lot per night, and it can be positive or negative depending on whether you are long or short and on the rate differential. The swap is applied to the full notional value of your position, so a larger lot size means a larger swap. Because swap rates change, you should check the broker's contract specifications for the current rate before holding a position overnight.

To account for costs in your profit calculation, subtract the spread cost and any swap charges from your gross profit. The spread cost is the spread in dollars multiplied by the number of ounces you trade. For example, if the spread is 0.30 dollars and you trade 0.10 lot (10 ounces), the spread cost is 3.00 dollars. Swap is calculated per night and depends on the rate and your position size; for a 0.10-lot position, if the swap rate is, say, 0.50 dollars per lot per night, the cost is 0.05 dollars per night. These costs reduce your net profit, and ignoring them can make a winning trade look better than it is. Always factor them into your expected outcome.

Gross versus net: what your gold trade actually earns after costs

Gross profit is the difference between your entry and exit price multiplied by the number of ounces, without deducting any costs. It is the headline number you see when you calculate (exit price - entry price) × 100 × lot size. For a 0.10-lot gold trade, a 10-dollar move in price gives a gross profit of 100 dollars. But gross profit is not what you keep; it is a starting point. The moment you open the trade, the spread has already been paid, and if you hold overnight, swap charges accumulate. Gross profit tells you whether the price moved in your favour, but it does not tell you whether the trade was profitable after the broker's charges.

Net profit is what remains after subtracting the spread cost and any swap charges from the gross profit. Using the same example, if the spread cost is 3.00 dollars and you held the position for two nights with a swap cost of 0.10 dollars, your net profit is 100 - 3.00 - 0.10 = 96.90 dollars. The difference between gross and net is the total cost of the trade. For short-term trades, the spread is the dominant cost; for longer holds, swap becomes more significant. Net profit is the only figure that matters for your account balance, and it is the number you should use when evaluating strategy performance.

The gap between gross and net widens with the number of trades and the holding period. A strategy that looks profitable on a gross basis can be unprofitable after costs if the spread and swap are large relative to the price moves captured. For example, scalping gold with a small target may see the spread eat a large portion of the gross gain. Conversely, a longer-term trend-following approach may have fewer trades but higher swap costs per trade. To make informed decisions, calculate both gross and net for each trade and track the cumulative costs. This practice reveals whether your edge is real or simply an artefact of ignoring costs.

Expectancy over many trades: why one gold trade's outcome tells you little

Expectancy is the average amount you can expect to win or lose per trade over a large number of trades, and it is a more reliable measure of a strategy's viability than any single outcome. It is calculated as (win rate × average win) - (loss rate × average loss), where wins and losses are measured in net terms after costs. For example, if a strategy wins 50% of the time with an average net win of 80 dollars and an average net loss of 60 dollars, the expectancy is (0.5 × 80) - (0.5 × 60) = 10 dollars per trade. A positive expectancy means the strategy is profitable on average, but it does not guarantee that any individual trade will win.

One trade's result is essentially random and should not be used to judge a strategy. A single gold trade can be affected by news, volatility spikes, or simply bad timing, and it may end in a profit or loss that is not representative of the strategy's long-term performance. Even a strategy with positive expectancy will have losing trades, and a strategy with negative expectancy can have winning trades. The only way to estimate expectancy is to record the net results of many trades, ideally over a sample that includes different market conditions. Without a sufficient sample, you cannot distinguish skill from luck.

To use expectancy in your gold trading, track the net profit or loss of each trade and calculate the average after a meaningful number of trades, such as 30 or more. This running expectancy helps you decide whether to continue with a strategy or adjust it. For instance, if after 30 trades the expectancy is negative after costs, the strategy may not be viable despite occasional wins. Remember that expectancy is an estimate and can change as market conditions shift. It is a tool for probabilistic thinking, not a guarantee of future results. Always consider risk of ruin and position sizing alongside expectancy.

How spread and swap enter the profit formula for XAU/USD

In the profit formula for gold, spread and swap are subtracted from the gross price difference to arrive at net profit. The basic formula is: Net Profit = (Exit Price - Entry Price) × 100 × Lot Size - Spread Cost - Swap Cost. The spread cost is the spread in dollars multiplied by the number of ounces (100 × lot size). Swap cost is the per-night rate multiplied by the number of nights held. For a 0.10-lot trade with a 0.30-dollar spread, the spread cost is 3.00 dollars; if swap is 0.05 dollars per night for two nights, swap cost is 0.10 dollars. These costs are fixed once the trade is closed, so you can calculate net profit precisely after the fact.

The spread is paid on entry and is embedded in the price, so your trade starts with a small loss equal to the spread cost. This means the price must move in your favour by at least the spread before you break even. For example, with a 0.30-dollar spread, a long position at 4275.0 needs the bid price to reach 4275.3 just to cover the spread. Swap is charged separately, usually at the end of the trading day, and accrues for each night the position is held. If you hold over a weekend, swap may be charged for multiple days. These mechanics mean that the effective entry price for your net result is adjusted by the spread, and the holding period determines the swap component.

When using a profit calculator, input the spread and swap rates to get a net result. Many calculators allow you to specify the spread in pips or dollars and the swap rate per lot per night. For gold, with one pip equal to 0.01, a spread of 30 pips is 0.30 dollars. If the calculator does not include costs, you must subtract them manually. Always use the current spread and swap rates from your broker, as these can vary. The net result is what you should use to evaluate the trade, not the gross figure. This is especially important for high-frequency or overnight strategies where costs can accumulate quickly.

Using net expectancy to compare gold trading approaches

Net expectancy allows you to compare different gold trading approaches on a like-for-like basis after costs. For example, a scalping strategy might have a high win rate but small average wins, while a swing trading strategy might have a lower win rate but larger average wins. By calculating net expectancy for each, you can see which one is likely to be more profitable over time. If scalping has an average net win of 10 dollars and an average net loss of 8 dollars with a 60% win rate, expectancy is (0.6 × 10) - (0.4 × 8) = 2.80 dollars per trade. A swing strategy with a 40% win rate, average net win of 50 dollars and average net loss of 30 dollars has expectancy (0.4 × 50) - (0.6 × 30) = 2.00 dollars per trade. The scalping strategy has higher expectancy despite smaller wins.

Costs play a crucial role in net expectancy, and strategies that trade frequently are more sensitive to spread. A scalping strategy may execute many trades per day, and each trade pays the spread, which can significantly reduce net expectancy. A swing strategy holds positions longer and pays swap, but fewer spreads. To compare fairly, you must include all costs in the average win and loss figures. For gold, the spread is typically a few dollars per ounce, and swap can be a few dollars per lot per night. These costs can turn a positive gross expectancy into a negative net expectancy, so it is essential to use net figures when evaluating any approach.

To build a reliable estimate of net expectancy, record at least 30 to 50 trades for each approach and calculate the average net profit per trade. This sample size helps smooth out randomness and gives a clearer picture of the strategy's edge. Keep a trading journal that includes entry and exit prices, lot size, spread paid, swap charged, and net profit. Over time, you can refine your approach based on this data. Remember that past net expectancy does not guarantee future results, but it is a more informed basis for decision-making than intuition or a few lucky trades. Use it alongside proper risk management and position sizing.

Why a single gold trade's profit is not a strategy result

A single gold trade's profit is the outcome of one specific market event and tells you nothing about the quality of your decision-making or the viability of your approach. It is influenced by randomness, timing, and unforeseen news. For instance, a trade might profit because of a sudden geopolitical event that you could not have predicted, or it might lose because of a temporary liquidity gap. Neither outcome is evidence of skill or a flawed strategy. To evaluate a strategy, you need a series of trades that can be averaged, because only then can you separate the signal from the noise and estimate the underlying expectancy.

The law of large numbers means that the average result of many trades converges toward the true expectancy of the strategy. With few trades, the average can be skewed by outliers. For example, one large winning trade can make a negative expectancy strategy appear profitable over a small sample. Conversely, one large loss can make a positive expectancy strategy look bad. To get a meaningful estimate, you need a sample size that is large enough to dilute the impact of any single trade. In practice, this means tracking dozens of trades, not just a handful, and focusing on the net result after costs.

Judging a strategy by a single trade can lead to poor decisions, such as abandoning a good strategy after a loss or sticking with a bad one after a win. Instead, use a trading journal to record each trade's net profit and calculate running expectancy. This habit builds discipline and helps you stick to a plan based on evidence rather than emotion. For gold trading, where volatility can be high, the difference between one trade and the long-run average can be substantial. Always remember that trading is a probabilistic endeavour, and your goal is to execute a positive expectancy strategy consistently over time, not to win every trade.

FAQ

Common questions

How much is one pip worth on 1 lot of gold?

One pip on gold is 0.01 of a dollar per ounce, so one standard lot of 100 oz makes each pip worth $1. A 0.10-lot position makes each pip worth $0.10, and a move of 1000 pips on 0.10 lots is $100. Always confirm your platform's lot unit before relying on that.

Does this gold calculator work for a sell position?

Yes. Enter your sell price as the entry and your buy-back price as the exit, and the formula flips the sign for you. Selling at 4275.0 and closing at 4285.0 returns a loss, not a profit, because you were short while the price rose.

Why is my broker's profit different from this result?

The calculator shows the gross price result only. Your broker also applies the spread at entry, any commission, and swap if the position is held overnight. Those costs explain the gap, and you should verify them on your own statement rather than assume this number is final.

Should I convert the profit to naira inside the calculator?

No. Keep the dollar figure separate and convert afterwards at the rate your bank or card actually applies when you move money. Local NGN bank transfers and card funding can carry their own conversion margin, so the naira you see depends on your provider, not on the price move alone.

Can I use this to size a trade before I enter?

Yes, run it backwards. Decide the dollar loss you can accept, then test lot sizes and stop distances until the output matches that figure. That keeps risk defined before you commit. Leverage is a cap on margin, not a target, and it does not change the loss a price move produces.

Ready to size a trade

Put the calculator to work on a live gold price

FxPro gives Nigerian traders MT4, MT5, cTrader and FxPro Edge on XAU/USD, funded by local bank transfer or Visa and Mastercard. Confirm any broker on the SEC Nigeria register before you send money.

Trade gold with FxPro →