PipGauge

HomeCalculators › Profit / Loss

Forex Profit & Loss Calculator

Enter your entry and exit, the direction and size, and see the gross profit or loss on the trade in your account currency.

The trade

P&L (quote) = (close − open) × direction × lots × contract size

Result

Profit / loss
Pips moved
Price change
Gross result only — subtract spread, commission and swap for the net figure.
Trade-cost check

See what a real trade would cost you

Before you place this, compare brokers on the one number that matters — the all-in cost of spread and commission — using our open, for-sale-proof methodology.

Compare broker trading costs →

Disclosure. Some outbound links may be affiliate links; they never change a calculator’s result. How we make money.

Risk warning. CFDs are complex instruments and carry a high risk of losing money rapidly due to leverage. Between [XX]% of retail investor accounts lose money when trading CFDs with a given provider — a per-broker figure we publish only once verified (reviewed quarterly). Consider whether you understand how CFDs work and can afford the risk. Full risk disclosure.

Educational tools for non-US traders · not directed at US persons.

Quick answer

Profit or loss = (close − open) × direction × lots × contract size, then converted into your account currency. Buying 8 lots of GBP/USD from 1.27140 to 1.27165 is a 2.5-pip gain: 0.00025 × 8 × 100,000 = +$200. This is the gross result — subtract spread, commission and swap for the net.

How it works

What this calculates

It turns a price move into money. You give the open and close prices, whether you bought or sold, and the position size; it returns the profit or loss in the pair's quote currency and then in your account currency.

The formula

price change = (close − open) × direction  (direction is +1 for a buy, −1 for a sell)

P&L (quote) = price change × units, where units = lots × contract size

Then convert to your account currency: if it is the quote currency, no change; if it is the base currency, divide by the close price; if it is a third currency, multiply by the quote→account rate. This direct method does not depend on pip size, which makes it robust across yen pairs, gold and indices.

How to use this calculator

  1. Enter the pair and pick Buy/Long or Sell/Short.
  2. Enter your account currency and the trade size in lots.
  3. Enter the open and close prices.
  4. If the account currency is a third currency, add the conversion rate that appears.

Worked example 1 — a long that wins

Buy 8 lots of GBP/USD at 1.27140 and close at 1.27165. The move is 0.00025, or 2.5 pips. Profit is 0.00025 × 8 × 100,000 = +$200 on a USD account.

Worked example 2 — a short that wins

Sell 1 lot of EUR/USD at 1.2000 and close at 1.1950. Because it is a short, the 0.0050 fall is a gain: 0.0050 × 1 × 100,000 = +$500. Flip the direction and the same move would be a $500 loss.

When this matters

Use it to pre-check a target before you place the order, to compare two exits, or to confirm a closed trade's result. Pairing it with the Spread Cost Calculator turns the gross figure into the net you actually keep.

Common mistakes

  • Mixing up direction. A short profits when price falls. The direction sign handles this — make sure you set Buy or Sell correctly.
  • Forgetting the base-currency conversion. On a USD account trading USD/JPY, the raw P&L is in yen and must be divided by the close price to become dollars.
  • Calling it net profit. This is gross. Spread, commission and overnight swap all come out before you see the figure in your balance.

Frequently asked questions

How do I calculate profit on a forex trade?
Take the price change times the direction, multiply by your position size in units, then convert to your account currency: (close − open) × direction × lots × contract size.
What is the profit on 8 lots of GBP/USD for a 2.5-pip move?
A 2.5-pip move is 0.00025. On 8 standard lots that is 0.00025 × 8 × 100,000 = $200 in the quote currency, USD.
How is profit different for a short trade?
A short gains when the price falls. The calculator applies a direction sign of −1 for sells, so a falling price produces a positive result and a rising price a loss.
Is this gross or net profit?
Gross. It excludes the spread, any commission and overnight swap. Use the Spread Cost Calculator to subtract trading costs and get the net figure.
Why does a USD account on USD/JPY need the close price?
Because the raw profit comes out in yen (the quote currency). When your account is the base currency you divide by the close price to convert it back into your account currency.
Does it work for gold and indices?
The direct method works for any instrument as long as you use the right contract size. For indices, value is usually expressed per point and is broker-specific — confirm the contract size with your broker.

Related calculators