XAUUSD Profit Calculator
Calculate gross and net XAU/USD profit or loss for a buy or sell across three entered exit prices. The model keeps contract ounces, pip convention, broker tick, account conversion and verified costs explicit.
Enter the gold position and exit scenarios
Prices are USD per troy ounce. Use effective fills for a completed trade or clearly entered assumptions for a hypothetical one.
Gold exit-scenario reconciliation
XAU/USD Profit Scenarios 2.0.0.
Stop, reference and target P/L
Each row uses the same entered direction, volume, contract, conversion and total cost assumption.
On smaller screens, scroll this table horizontally; the page itself remains contained.
| Scenario | Exit price | Signed move | Selected pips | Gross account | Costs | Net account | Outcome |
|---|
How XAUUSD profit and loss is calculated
Gold exposure (oz) = lots × contract size (oz per lot)
Signed move = (exit − entry) × direction sign
Gross USD P/L = signed 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 costs
Profit is calculated from the entered price move and troy-ounce exposure. The selected pip size is used only to describe that move in pips, so switching between USD 0.01 and USD 0.10 does not change gross or net P/L.
Worked example from the audited fixture
Load the example for a 0.20-lot buy at 2,650 with a 100-oz contract. Exposure is 20 oz. At the 2,635 stop, gross P/L is −USD 300 and net P/L after USD 8 costs is −USD 308. At the 2,675 reference exit, gross P/L is USD 500 and net P/L is USD 492. At the 2,690 target, net P/L is USD 792.
Covering USD 8 of costs over 20 oz requires a USD 0.40 favorable move, so the cost-adjusted buy break-even is 2,650.40. These are entered scenarios, not executable quotes or projections.
Use and limitations
- Verify contract size and tick size for the exact XAU/USD symbol and account.
- Use effective fills for reconciliation; a chart price may not match the executed side.
- Enter only verified costs and avoid counting spread twice.
- The account conversion is manual and not timestamped.
- Leverage affects margin, not this contract price-move P/L arithmetic.
- The result is not a stop guarantee, position-size recommendation, forecast, expected return or financial advice.
Frequently asked questions
- Apply the buy or sell sign to exit minus entry, multiply by lot volume and contract ounces per lot, convert the USD result into the entered account currency, then subtract entered costs.
- Yes. Enter the stop exit price and the table values that exact-price scenario. It is not a guaranteed loss cap because gaps, spread and slippage are not modeled.
- Multiply USD 1 per ounce by your entered total ounce exposure. Ounce exposure is lots multiplied by the broker contract size.
- No. It changes the displayed pip count for a price move. Gross P/L is calculated directly from the USD-per-ounce move and ounce exposure.
- Convert entered costs to USD, divide by ounce exposure, then add that move to a buy entry or subtract it from a sell entry.
- Not for the same price move, volume and contract. Leverage changes required margin and can affect liquidation or stop-out conditions, which this page does not calculate.
- Lot volume alone does not reveal troy-ounce exposure. Contract multipliers can differ by broker, account and product, changing P/L materially.
- No. It values three entered exit prices and costs. It does not retrieve a quote, predict direction, generate a signal or estimate a probability of reaching any price.
Sources and methodology
- MQL5 Reference — OrderCalcProfit — official reference for pre-evaluating buy or sell profit from symbol, volume, open and close prices in account currency.
- MQL5 Reference — Symbol Properties — distinguishes contract size, tick size, tick value and volume properties.
Version 2.0.0 performs deterministic entered-data arithmetic locally. It does not call a trading server or claim the defaults match a broker symbol.
Continue gold trade planning
Compare Top Forex Brokers
Gold P/L arithmetic does not establish execution quality or suitability. Verify the current entity, account, symbol, contract, tick, spread, commission and financing terms available in your jurisdiction.
Risk and affiliate disclosure: Leveraged forex and CFD trading can result in substantial losses. Scenario calculations do not predict direction, execution or returns. 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 entity.

