XAUUSD Profit Calculator
Calculate gross and cost-adjusted XAU/USD profit or loss from entered buy or sell prices, lots, broker contract size and account-currency conversion.
Enter the completed or hypothetical gold trade
Entry and exit are USD per troy ounce. Total costs are entered once in the account currency so spread, commission, swap and other verified charges are not mixed across incompatible units.
Entered XAU/USD trade result
Entered XAUUSD Contract Math 1.0.0.
| Calculation step | Entered arithmetic | Derived result |
|---|
How XAUUSD profit and loss is calculated
Signed price move = (exit − entry) × direction sign
Gold exposure (oz) = lots × contract size (oz per lot)
Gross USD P/L = signed price move × gold exposure
Gross account P/L = gross USD P/L ÷ USD per account-currency unit
Net account P/L = gross account P/L − entered total costs
A buy gains when the exit price is above the entry price; a sell gains when the exit is below entry. The direction sign makes that relationship explicit before any contract multiplication. The signed price move remains in USD per troy ounce and is multiplied by the entered ounce exposure to produce gross USD profit or loss.
Ounce exposure is lots multiplied by the broker contract size. At 0.20 lot and 100 oz per lot, the model carries 20 oz of price exposure. A USD 25 favorable move therefore produces USD 500 gross P/L. If the same volume used a 10-oz contract, gross P/L would be only USD 50; this is why the contract field is never hidden.
Total trading costs are entered as one non-negative amount in the account currency and subtracted from the gross account result. Costs deepen a loss as well as reduce a profit. Enter only costs you have verified for the scenario; the page does not estimate spread, commission, swap, conversion markup, rebates or tax.
A contract-first gold calculation workflow
Start with the instrument specification, not a remembered shortcut. XAU/USD price is a dollar amount per troy ounce, while lot volume is a broker-defined contract count. Connecting those two units correctly is the foundation for pip value, position size and P/L.
- Choose buy or sell before comparing entry and exit; the same price path has opposite signs for the two directions.
- Verify the contract size for the exact XAU/USD symbol and account rather than copying a generic 100-oz convention.
- Keep pip movement descriptive; monetary P/L is calculated directly from price change and ounce exposure.
- Enter all verified charges in one account-currency total and avoid double-counting spread already reflected in fills.
- For non-USD accounts, verify the conversion direction and the rate applicable to the broker statement.
- Do not extrapolate one hypothetical trade into weekly, monthly or annual income without a separate evidence-based model.
Worked example from the audited fixture
How to interpret the result
USD 492 is a scenario result, not an earnings projection. It assumes the entered prices are the effective fill prices and that USD 8 captures every relevant cost. For a completed trade, reconcile the result with the broker statement; for a hypothetical trade, treat both prices and costs as assumptions.
XAU/USD pip value, position size and profit compared
The three calculators share one precious-metals contract engine but answer different questions. Pip value translates a declared increment into money. Position size solves volume from a risk budget and stop distance. Profit translates an entered price path and volume into P/L. Keeping those jobs separate makes every assumption auditable.
| Gold tool | Question answered | Required decision | Primary output | Excluded |
|---|---|---|---|---|
| XAUUSD Pip Calculator | What is this entered pip worth? | Pip convention and lot volume | Money per pip and tick | Suitable risk |
| XAUUSD Position Size Calculator | What volume fits this stop-risk budget? | Risk basis, entry and stop | Floored broker lots | Stop quality and fills |
| XAUUSD Profit Calculator | What is the P/L for this entered price path? | Direction, fills, volume and costs | Gross and net P/L | Future price forecast |
Use the Symbol Specification Checker to organize the broker fields before calculating. Use the Total Trade Cost Calculator when spread, commission and financing need their own line-by-line estimate. Neither page can replace the trading server’s final figures.
Assumptions and limits
- Entry and exit are assumed to be effective fill prices; order rejection, partial fills and slippage are outside the model.
- The page does not retrieve live gold prices, broker statements, exchange rates, spreads, commissions or swaps.
- Total costs are one manual account-currency amount; their timing and tax treatment are not analyzed.
- The conversion uses one entered USD-per-account-currency rate and does not reproduce broker-specific conversion sides.
- Margin, leverage, liquidation, stop-out, portfolio exposure and opportunity cost are not calculated.
- The output is not a forecast, expected return, income promise, recommendation or guarantee.
Where to find the correct XAU/USD inputs
In MetaTrader 5, open Market Watch, choose the exact gold symbol, and review its Specification. Record trade contract size, tick size, tick value, minimum volume, maximum volume and volume step. Symbol suffixes and separate account groups can point to different contract rules even when the chart label still resembles XAUUSD.
MetaTrader exposes contract size, tick size, tick value and volume step as separate symbol properties. That separation is important: display digits do not by themselves define a “pip,” and the tick value shown by the server may reflect account-currency conversion. If a broker document and the live server disagree, pause and ask the broker which specification governs the account.
Also record account currency and the direction of the conversion rate. This model defines the rate as USD per one account-currency unit. For USD, enter 1. For a EUR account where one EUR equals USD 1.25, enter 1.25. Do not enter its reciprocal. Rates move, and a broker may use different conversion sides for a realized gain and loss.
Save the date, broker entity, account type, server, full symbol name and a screenshot of the specification with any material calculation. Those details make the result reproducible after a platform or contract update and are stronger evidence than a universal “gold pip value” table copied from another site.
Frequently asked questions
- Apply the buy or sell sign to exit minus entry, then multiply the signed USD-per-ounce move by lots and contract ounces per lot.
- Multiply USD 1 per ounce by your entered total ounce exposure. The exposure is lot volume times the broker contract size.
- For a sell, the direction sign reverses exit minus entry, so an exit below entry becomes a positive signed price move.
- Only the non-negative total cost amount you enter is included. The page does not retrieve or estimate spread, commission, swap, slippage or tax.
- Lot volume alone does not reveal ounce exposure. Contract size can differ across brokers and products, changing P/L materially.
- Gross USD P/L is divided by the entered USD-per-account-currency rate, then entered account-currency costs are subtracted.
- Yes as a hypothetical scenario, but neither price is a forecast or guaranteed fill and total costs remain assumptions.
- No. It values one entered trade scenario and provides no win rate, frequency, compounding, forecast or earnings promise.
Sources and methodology
- MQL5 Reference — Symbol Properties — Official definitions for contract size, tick size, tick value, minimum volume and volume step.
- MetaTrader 5 Help — Executing Trades — Official contract-volume and CFD deal-value arithmetic plus account-currency conversion context.
- FXOpen AU Product Disclosure Statement — Broker primary-source example documenting a 100-unit XAU/USD lot; it is an example, not a universal specification.
- CME Group — Gold Futures Contract Comparison — Primary exchange evidence that gold products can use materially different ounce multipliers.
The operational contract is Entered XAUUSD Contract Math version 1.0.0. Independent arithmetic fixtures cover USD and non-USD accounts, buy and sell signs, losses, cost subtraction, alternate pip/tick conventions, volume flooring and below-minimum withholding. Source links explain methodology; they do not endorse this site or any trading outcome.
Continue the gold risk workflow
Compare XAU/USD contract specifications
Before transferring any result into a live order, compare the exact gold symbol, contract size, tick size, volume step, minimum lot, spread, commission, financing and execution terms available for your account and jurisdiction. Broker conditions can change, so confirm them on the trading server rather than relying on the audited example.
Risk and affiliate disclosure: Leveraged forex and CFD trading can result in substantial losses. These are affiliate links, so ForexMT4Indicators.com may receive compensation if you register or trade through them, at no additional cost to you. Availability and terms vary by jurisdiction and broker entity.

