Calculate profit and loss including fees and funding
The PnL calculator computes your profit or loss from a trade, accounting for direction (long/short), leverage, trading commissions, and funding costs.
Gross PnL = direction × (exit price - entry price) × position size. Net PnL subtracts commissions (charged on entry and exit) and accumulated funding costs.
ROI is calculated relative to your margin (collateral), not the full position value, which is why leveraged trades show amplified percentage returns.