P&L on a trade, long or short.
Educational tool only — not financial advice. Verify figures with your broker.
The Profit / Loss Calculator is a trade-outcome tool that computes the gross profit or loss on a position from your entry price, exit price and size, for both long and short trades. It answers the question: given where I got in and out, how much did (or would) this trade make or lose?
For a long: P&L = (exit price − entry price) × position size in units. For a short: P&L = (entry price − exit price) × position size in units. In pip terms, P&L = price move in pips × pip value × lots. The result is gross — before costs.
Multiply the price difference between entry and exit by your position size, using (exit − entry) for a long and (entry − exit) for a short. This forex profit calculator does that for you and flips the sign automatically for short positions.
On a short you profit when price falls, so the calculation reverses: entry minus exit. A higher exit than entry produces a loss on a short.
No — it shows gross profit or loss from the prices you enter. Subtract your spread, commission and swap separately to get the net result.
Keep in mind: The figure is gross P&L based only on the prices and size you enter — it excludes spread, commission, swap and slippage, so your actual net result after costs will be smaller than a gain or larger than a loss shown here.