To calculate the P&L of a position, what you need is the position size and the number of pips the price has moved. The actual profit or loss will be equal to the position size multiplied by the pip movement or you can also use 2 quite straightforward formulas depending of the direction of your position:
P&L (Long) = (Close price - Open Price) *Lots*Lot Size
P&L (Short) = (Open Price -Close price) *Lots*Lot Size,
where Lots - amount of open lots;
Lot size - a quantity of the underlying asset units in a single standardized contract, can be found on the Contract specification page .
Alternatively, you can calculate with the help of our handy Trading calculator.