Risk warning: Trading CFDs and forex is high risk and you can lose all of the money you invest. Content on this site is educational only and is not investment advice.
Home / Tools / Gold XAUUSD profit and loss calculator
Free tool

Gold XAUUSD profit and loss calculator

Your net result is not just the price difference. Spread and commission come off it. This tool shows each part separately.

Formula checked against worked examples · Last reviewed 2026-10-05

Estimated net result
–
Before costs–
Spread cost–
Commission–

For learning examples, not a forecast. Swap and slippage are not included. The spread is a cost you pay as soon as you open a position.

How to use

  1. Choose buy or sell and enter entry and exit prices.
  2. Enter lots and contract size.
  3. Enter spread and commission if you know them.

Formula

Gross = (exit − entry) × direction × lots × contract size, then subtract spread × lots × contract size and commission × lots

Example

Buy at 2,000, exit at 2,010, 0.1 lot, contract 100 oz, spread 0.3 USD: gross 100 USD, spread cost 3 USD, net 97 USD.

Hypothetical example to explain the formula. It is not real market data and not a trading recommendation.

Frequently asked questions

Is the spread a real cost?
Yes. The spread is the gap between buy and sell prices, paid as soon as you open. The more you trade, the higher the total.
Does this include swap?
No. Swap (overnight financing) and slippage are not included. Check your account details.

Limits and risk

This tool is educational. Results are estimates from the numbers you enter and are not investment advice. Trading CFDs is high risk and you can lose everything. Read the full risk warning

Related articles

Related tools

Trading is high risk. You can lose everything.Free tools