Example 1 — Gold (XAU/USD), buy
- Instrument
- Gold (XAU/USD)
- Direction
- Buy (long)
- Lots
- 0.10
- Open → close
- $2,400.00 → $2,412.50
Price move = 2,412.50 − 2,400.00 = +$12.50, or +1,250.0 pips. This buy closes with a profit of +$125.00 (+4,082.50 THB).
See what a buy or sell trade makes or loses between its open and close price, in pips, USD, and Thai baht (THB). This result doesn't include spread, swap, or commission, so your broker's actual number will land a little lower.
Profit or loss
+125.00USD
≈ +4,082.50 THB (Profit)
Price move = 2,412.50 − 2,400.00 = +$12.50, or +1,250.0 pips. This buy closes with a profit of +$125.00 (+4,082.50 THB).
Price move = 146.80 − 147.50 = -$0.70, or -70.0 pips. Because USD/JPY isn't quoted in USD, pip value converts at the close price, 146.80. This buy closes with a loss of -$476.84 (-15,573.57 THB).
What each variable means:
Example: buying 0.10 lot of XAU/USD at $2,400.00 and closing at $2,412.50 gives a price move of $12.50, or 1,250.0 pips at a pip size of 0.01. Value of 1 pip (USD) at 0.10 lot = 0.01 × 100 × 0.10 = $0.10, so profit = 1,250.0 × 0.10 = $125.00.
A buy (long) position profits when the close price ends up higher than the open price, so profit or loss follows close price minus open price directly. A sell (short) position profits when price falls, so the calculator flips the subtraction to open price minus close price. Getting the direction right matters, because using the wrong sign turns a profit into a loss on paper.
XAU/USD and EUR/USD already price in USD, so their pip value never needs converting. USD/JPY, USD/CHF, and USD/CAD quote in a currency other than USD, and that exchange rate moves with the market just like the trade itself. Converting pip value at the close price keeps the calculation tied to the same moment the trade actually ended, rather than a rate you typed in separately.
This calculator works from the open and close price alone, so it doesn't include the spread (the gap between a broker's buy and sell price), any swap (the overnight financing charge for holding a position past end of day), or a commission your broker might charge per trade. Each of those costs chips a small amount off the result shown here. Check your broker's trade confirmation for the number that actually landed in your account.
No. This tool works out profit or loss purely from the open price, close price, lots, and direction you enter. Your broker's spread, any swap charged for holding overnight, and any per-trade commission all come out of the raw result, so the amount that lands in your account is usually a little smaller.
XAU/USD already prices in USD, so its pip value needs no conversion. USD/JPY quotes in Japanese yen, so the pip value has to be converted back to USD using the exchange rate at the close price, and that rate shifts as the market moves.
A sell (short) position is a bet that the price will drop, so the calculator measures the move as open price minus close price for a sell instead of close minus open. A lower close price than open price then produces a positive result.
Break-even means the close price came back to exactly the open price, so the price move and the profit or loss both round to zero. It doesn't account for spread, swap, or commission, so a real break-even trade usually costs you a small amount once those are included.
Yes. Enter your planned open price and a target close price, such as a take profit or stop loss level, to see the profit or loss that outcome would produce before you place the trade.
Find the value of one pip for XAU/USD and major pairs, in USD and THB.
Example 1 lot XAU/USD = $1.00/pip
Open toolWork out the right lot size from your account balance and the risk you accept per trade.
Example $1,000 account, 2% risk, SL $2.00 = 0.10 lot
Open toolLearn more about pip value and trade sizing in Chapter 04: Trading XAU/USD on a Forex Platform → · See the full curriculum →