Risk Warning: CFDs and forex trading involve significant risk of loss. Leveraged products can result in losses exceeding your deposit. This calculator is for educational purposes only and does not constitute financial advice.
Forex Profit Calculator
Calculate the profit or loss on any closed forex trade in your account currency. Enter your pair, lot size, open and close prices, and trade direction to get the exact P&L in pips and in monetary terms.
Formula
Profit formula (long trade shown)
Signed Diff
Long: Close − Open · Short: Open − Close
Profit / Loss
P&L = Signed Diff × Position Units × Quote→Account Rate
P&L in Pips
P&L Pips = Signed Diff ÷ Pip Size
Position Units = Lots × 100,000 · Pip Size = 0.0001 (most pairs) or 0.01 (JPY pairs)
Worked Example
Given
EUR/USD long · 1 lot · Open 1.1000 · Close 1.1050 · USD account · rate = 1.0
- Position Units
- 1 × 100,000 = 100,000
- Signed Diff (long)
- 1.1050 − 1.1000 = +0.0050
- P&L in Pips
- 0.0050 ÷ 0.0001 = +50 pips
- Profit / Loss
- 0.0050 × 100,000 × 1.0 = +$500.00
Frequently Asked Questions
- How is forex profit calculated?
- Profit on a long trade = (Close Price − Open Price) × Position Units × Quote→Account Rate. For a short trade, the price difference is negated: (Open Price − Close Price) × Position Units × Rate. A positive result is profit; negative is a loss. The pip P&L is the same signed price difference divided by the pip size.
- Why do I need to enter the Quote → Account Rate?
- The profit is initially denominated in the quote currency. To express it in your account currency, you multiply by the quote-to-account exchange rate. For EUR/USD with a USD account, quote=USD=account, so rate=1.0. For GBP/JPY with a USD account, quote=JPY, so rate = 1÷USD/JPY (e.g. 0.00667 if USD/JPY=150).
- Does the calculator handle losing trades?
- Yes. Negative profitLoss means a loss in your account currency; negative pnlPips means pips lost. For a short trade where the market moved up (against you), the engine computes -(close−open) which is negative when close > open. Select the correct direction and enter prices as they were at open and close.
- What does the engine warn about unusually large pip moves?
- If the absolute pip P&L exceeds 500 pips, the calculator shows a warning to verify your open/close prices. Normal intra-day moves rarely exceed 200–300 pips on major pairs. More than 500 pips on a single trade often indicates a data entry error (e.g. using a daily high and low across multiple days).
- Can I calculate profit for gold (XAU/USD)?
- Yes. Gold (XAU/USD) is treated as a pair with pip size 0.0001 — though spot gold moves are typically quoted in dollars per troy ounce, so price differences will be larger than a typical forex pair. For XAU/USD with a USD account the rate = 1.0. Enter open/close prices as the XAU/USD spot rate (e.g. open=1950.00, close=1960.00).