Markets covered:XAU/USDEUR/USDUS30NAS100GBP/USDWTI
EN ▾
Get the app
Tools · Profit Calculator

Forex Profit Calculator: Work Out Profit or Loss Before You Trade

This forex profit calculator shows what a trade would make or lose between two prices. Pick the instrument, choose buy or sell, enter lots, the open price and the close price, and it returns the pips moved and the profit or loss in US dollars. It works for EURUSD, GBPUSD, USDJPY, gold (XAUUSD) and indices, and the formulas below let you check every result by hand.

QTFX.app editorial teamReviewed 4 min read
Forex profit calculator showing pips moved and profit for a EURUSD buy
Key points
  • Buy: P/L = (close − open) × contract size × lots. Sell: P/L = (open − close) × contract size × lots.
  • For JPY-quoted pairs, divide the yen result by the closing price to get US dollars.
  • Pips moved = price difference ÷ pip size (0.0001, 0.01 for JPY, 0.10 for gold in our examples).
  • Spreads, swaps and any commissions shown in the app also change the final result.
Pips moved–
Profit / loss–
Units–

Estimates for education only. Results exclude spread, swap and commission, and contract sizes vary; check the specification in the app. CFDs carry a high risk of loss.

Forex profit calculator: the profit and loss formula

Every CFD trade earns or loses the price difference multiplied by the size of the position. For a buy (long) trade: P/L = (close − open) × contract size × lots. For a sell (short) trade the sign flips: P/L = (open − close) × contract size × lots. A positive number is a profit, a negative number a loss.

The result comes out in the quote currency — the second currency in the pair. For EURUSD, gold and US indices that is already US dollars. For USDJPY it is Japanese yen, so the calculator divides by the closing USDJPY rate to show the answer in dollars. If you are unsure what base and quote mean, see our forex trading basics and the glossary of pips, lots and spreads.

InstrumentIllustrative contract sizePip size usedResult currency
EURUSD, GBPUSD100,0000.0001USD
USDJPY100,0000.01JPY, converted to USD
XAUUSD100 oz0.10USD
US30, NAS1001 per point1 pointUSD

Example 1: EURUSD buy

For example, you buy 0.5 lot of EURUSD at 1.0800 and close at 1.0850. The price difference is 0.0050, which is 0.0050 ÷ 0.0001 = 50 pips. P/L = 0.0050 × 100,000 × 0.5 = +250 dollars.

If instead the price had fallen to 1.0770 and you closed there, the difference would be −0.0030, or −30 pips, and the loss would be 0.0030 × 100,000 × 0.5 = −150 dollars. A quick check: at 0.5 lot each pip is worth about 5 dollars.

Profit and loss calculation for a gold XAUUSD sell trade

Example 2: XAUUSD sell

Selling gold profits when the price falls. For example, you sell 0.2 lot (20 ounces) of XAUUSD at 2,050.00 and close at 2,038.50. Using the sell formula, the difference is 2,050.00 − 2,038.50 = 11.50 dollars, which is 115 pips if a pip is 0.10. P/L = 11.50 × 100 × 0.2 = +230 dollars.

Had gold risen to 2,058.00 instead, the same position would lose (2,050.00 − 2,058.00) × 100 × 0.2 = −160 dollars. Gold moves of several dollars in a session are common, which is why position sizing matters so much; see how to trade gold.

Example 3: USDJPY buy (converting yen to dollars)

For example, you buy 1 lot of USDJPY at 150.00 and close at 150.60. The move is 0.60, which is 0.60 ÷ 0.01 = 60 pips. P/L in yen = 0.60 × 100,000 × 1 = 60,000 yen.

To express it in dollars, divide by the closing rate: 60,000 ÷ 150.60 ≈ +398 dollars. This conversion is why a pip on USDJPY is worth slightly less than 10 dollars per lot, and why the value changes as the rate moves. The pip value calculator shows the pip value at any price.

Open positions with real-time profit and loss in the QTFX Markets app

What the calculator leaves out: spread, swap and commission

The calculator measures the move between two prices. Your real result in the app also includes trading costs. You buy at the ask and sell at the bid, so the spread is a cost on every trade. Positions held overnight may be charged or credited a swap, and some accounts charge a commission. The app shows these figures for each instrument and position; check them there rather than relying on any fixed number.

Prices can also gap or slip in fast markets, so the close you get may differ from the level you planned. CFDs are complex and carry a high risk of losing money rapidly due to leverage — treat every profit figure as a scenario, not a forecast.

  1. Plan entry, stop loss and take profit levels on the chart.
  2. Enter entry and stop as open and close to see the loss if you are wrong.
  3. Enter entry and target to see the profit if you are right.
  4. Compare the two with the risk reward calculator before placing the order.

Questions & answers

How do I calculate profit in forex?

For a buy, subtract the open price from the close price and multiply by contract size and lots; for a sell, subtract the close from the open. Convert to US dollars if the pair is not quoted in dollars.

How much is 1 pip worth on EURUSD?

With a 100,000-unit contract, one pip (0.0001) is worth about 10 dollars per standard lot, 1 dollar per mini lot (0.1) and 0.10 dollars per micro lot (0.01).

How is profit calculated on gold?

Multiply the dollar move by the ounces you hold. With 100 ounces per lot, a 1-dollar move on 0.1 lot (10 ounces) is worth 10 dollars.

Why is my app P/L different from the calculator?

The calculator ignores spread, swap and commission, and uses illustrative contract sizes. The app shows your actual costs and the exact contract specification of the instrument.

Put this guide to work in the app

Ready to see real-time profit and loss on your own positions? Install the QTFX Markets app from Google Play and try your plan on a demo account first.

GET IT ONGoogle Play

QTFX Markets is currently available for Android only.

Scan with your Android phone to install
Trade gold & forex on AndroidGet the app