Gross P&L Calculator
Estimate the gross profit or loss of a closed position from entry price, exit price, and quantity.
Enter values and calculate to see results here
How the Gross P&L Calculator works
Formula
Linear: pnl = direction × (exit - entry) × quantity × contract_size. Futures: pnl = direction × ((exit - entry) / tick_size) × tick_value × quantity. Inverse: pnl = direction × quantity × contract_size × (1/entry - 1/exit).
Example
EURUSD BUY at 1.0850, exit at 1.0900, 0.10 lots (contract_size=100000): P&L = $500
Inputs & units
Direction, entry, exit, quantity, and formula. Result is gross P&L in the instrument's profit currency.
Supported formulas
Linear (forex, stocks, indices), Futures tick value (futures), Inverse (crypto contracts).
Limitations
Gross P&L only. Spread, commissions, slippage, swap, funding, leverage, and margin are excluded.
Metadata source
Contract specifications (contract_size, tick_size, tick_value, quantity_unit, profit_currency) are sourced from the AlgoVistra instrument database.
This tool is for educational purposes only and does not constitute financial advice. Calculations are deterministic and do not account for market conditions, execution costs, or account-specific parameters.
Explore other calculators
Price Distance Calculator
Calculate the distance between two price levels in pips, points, or percentage — useful for mapping trade ranges and measuring moves.
Open toolRisk / Reward Ratio Calculator
Compute the risk-to-reward ratio of a trade setup from entry, stop loss, and take-profit levels.
Open toolSolve Trade Level Calculator
Find a missing take-profit or stop-loss level given the other values and a desired risk/reward ratio.
Open toolPosition Size Calculator
Determine the correct position size from your risk amount, entry, and stop loss — the foundation of trade risk management.
Open toolFrequently asked questions
Is this net of fees?
No. This estimates gross P&L only. Spread, commissions, slippage, swap, and funding are not included.
Does it support all instrument types?
It supports forex, crypto, metals, indices, and equities. The calculation adapts to the instrument's unit and contract specifications when available.
