A P&L calculator multiplies the price difference between entry and exit by the trade size, then converts to account currency.
When to use it
Pre-trade to validate that the reward justifies the stop. Post-trade to reconcile broker reports against your expected P&L.
Formula
Profit = (Exit − Entry) × Lot Size × Contract Size, sign-adjusted for long/short. Net Profit = Profit − Commission − Swap.
Worked example
Long 0.5 lot EUR/USD, entry 1.0800 → exit 1.0850 (+50 pips). Profit = 0.0050 × 50,000 = $250.
How do swap fees affect P&L?
Swap (rollover) is the overnight financing charge. For positions held past 5pm NY it can be a credit or debit depending on the interest-rate differential.