First you need to calculate how many pips the price has moved. Because your profit and loss will be the pip movement multiplied by the size of your position.
First you should calculate the spread i.e. the difference between the bid and ask price.
Bid – Ask = Spread
Here’s how to calculate the pip movement of your trade:
The EUR/USD exchange rate is 1.4100 meaning 1.41 US dollars is worth 1 euro. If you sell a euro you buy 1.4100 US dollars. If you buy 10,000 euros at a rate of 1.4100 that equates to selling $14,100 (1 euro = $1.41, therefore €10,000 = $14,100). If the euro rises and the rate moves to 1.4200. For every euro you bought, you have made 1 cent, in turn this means you profited by $100 ($14,200 -$14,100). Inversely if you sold the pair, meaning you sold euro and bought USD. So 10,000 euros at 1.41, meaning you lost 1 cent for every euro you bought. A 10,000 euros would equate to a loss of $100 ($14,200 – $14,100 ). Inversely if you were to sell 10,000 euros with the same price movement and conditions you would lose $100.