Fill in the empty fields to see the result.
The inputs start with neutral sample values. Replace them with your own trade. The result updates next to the inputs, so you can change a price or the lot size and see the effect straight away.
What this profit and loss calculator does
This trade profit calculator answers one question: what did a closed trade make or lose? It needs four things:
- Instrument. The currency pair or other symbol you traded, for example EURUSD or XAUUSD.
- Direction. Buy (long) or sell (short).
- Entry and exit price. The price where the position opened and where it closed.
- Lot size. The trade volume. A lot is a standard contract size, and smaller trades use fractions of a lot.
It shows the result in two forms:
- Pips. A pip is the standard minimum price step used to quote a pair's movement. Pips show how far price moved in your favour or against you, whatever the trade size.
- Money. The same movement multiplied by the trade size and converted into your account currency.
A positive result is a profit and a negative result is a loss.
The formula behind the forex pnl calculator
For a buy trade:
P/L in quote currency = (exit price − entry price) × contract size × lots
For a sell trade:
P/L in quote currency = (entry price − exit price) × contract size × lots
The result in pips:
P/L in pips = price difference ÷ pip size
The quote currency is the second currency in the pair. In EURUSD it is USD. The raw result is always in the quote currency. If your account is in another currency, the calculator converts it at the current rate between the quote currency and your account currency.
Contract size and pip size are not the same for every instrument. Currency pairs, JPY pairs, metals and indices each have their own. The calculator uses the setting for the symbol you pick, but your broker's contract specification for that symbol is the reference to check.
How to read the result
- Same pips, different money. A larger lot size turns the same pip movement into a larger amount, in both directions.
- Direction matters. If the price rose, a buy shows a profit and a sell shows a loss of the same size before costs.
- Account currency changes the figure. The same trade gives a different number in USD, EUR or another account currency because of the conversion rate.
To see what each pip is worth before you open a trade, use the pip value calculator. To size a position from a stop-loss and a fixed risk, use the lot size calculator.
What the result does not include
The calculator shows the gross result of the price movement only. Your real result on the account statement can differ because of:
- Spread. The difference between the buy and sell price, paid when you enter. See the trade cost calculator.
- Commission. Some account types charge a fee per lot.
- Swap. A charge or credit for holding a position overnight. See the swap calculator and swap fees.
- Slippage. The fill price can differ from the price you expected, especially in fast markets or when stop orders trigger.
- Conversion timing. The rate used to convert the result into your account currency moves too.
Add these costs before you judge a trade or a strategy.
Ready to try it on a real or demo account?
Partner link · trading carries a high risk of loss
Using the calculator before a trade
You can enter a planned stop-loss as the exit price to see the possible loss in money, then enter the planned target to see the possible profit. Comparing the two gives the ratio that the risk-reward calculator works with. The break-even win rate calculator shows how often trades with that ratio need to win to cover the losing ones.
Leveraged forex and CFD trading can lose money fast. Leverage lets a small deposit control a large position, so the money result in this calculator can be large compared with your balance. A loss can wipe out a large part of an account in a short time. The risk management guide explains position sizing and stop-losses in more detail.
All other tools are on the calculators page.
Frequently asked questions
Why is my result in pips the same for different lot sizes?
Pips measure the price movement only. Lot size changes the money result, not the number of pips.
Why does the money result differ from my trading platform?
The platform includes spread, commission, swap and the actual fill prices. It may also use a slightly different conversion rate at the moment of closing. This calculator shows the gross result of the price movement.
Does it work for gold and indices?
Yes, if the symbol is in the list. Metals and indices use their own contract size and pip size, so check the contract specification of the symbol you trade.
What account currency should I choose?
Choose the currency your trading account is held in. To convert the result into PKR or another currency afterwards, use the currency converter.
Can a sell trade show a profit when the price goes down?
Yes. A sell trade gains when the exit price is below the entry price and loses when it is above.
