Entry
Home › Articles

How to calculate profit and loss when trading gold (XAUUSD)

Updated: · 2 min

XAUUSD is one of the most traded instruments, yet there is a lot of confusion around “pips”, “points” and lot value. Let’s start with a simple formula.

The core formula

Buy: PnL = (exit − entry) × lot × 100
Sell: PnL = (entry − exit) × lot × 100

Here 100 is the contract size: at most brokers, 1 standard lot of gold equals 100 troy ounces. The result is in US dollars because gold is quoted in dollars.

Examples

TradeCalculationResult
Buy 0.10: 4012.30 → 4018.806.50 × 0.10 × 100+$65.00
Sell 0.05: 4020.00 → 4026.40(4020.00 − 4026.40) × 0.05 × 100−$32.00
Buy 0.01: 4000.00 → 4010.0010 × 0.01 × 100+$10.00

Remember: at 0.01 lots, a $1 price move is $1; at 0.10 lots it is $10; at 1 lot it is $100.

Points vs pips: where the confusion comes from

Gold is usually quoted to two decimals (4012.30). The smallest step is 0.01, which MetaTrader calls a “point”, so a $1 move equals 100 points. A “pip”, however, is defined differently by different sources — some call $0.10 a pip, some $0.01, some $1. That is why “I caught 20 pips” is ambiguous on gold; it is better to record results as a price difference (e.g. $6.50) or in dollars.

What else affects the result?

Skip the manual math

In the Entry trading journal you enter the instrument, lot, entry and exit price, and PnL in dollars appears automatically — for XAUUSD, XAGUSD and other metals, 38 forex pairs, indices, energies and crypto. To pick the right size in advance, read how to calculate lot size.

See this on your own trades

Log a trade in Entry in 10 seconds — PnL, win rate, profit factor, a mistakes report and prop firm rules are calculated automatically. Works without an account too.

Start free

More articles

What is a trading journal and how to keep oneWhat a trading journal is, what to record in it and why traders who log every trade improve faster. A worked example and a simple routine to follow.Win rate, profit factor and R:R: how to read your trading statisticsWhat win rate, profit factor, risk/reward (R:R) and expectancy mean, how to calculate them and which values are considered good. Explained with a simple example.How to calculate lot size: the 1% risk ruleHow to calculate position size from account balance, risk percentage and stop loss distance. Worked examples for EURUSD and gold (XAUUSD).