Free profit tool

Trading P&L calculator for long and short trades

Turn an entry, exit and position size into a clear gross and net P&L before or after a trade. The calculator handles both long and short positions and keeps every input in your browser.

Use quantity as shares, coins or forex units. Leave the contract multiplier at one for ordinary units, or enter the multiplier published in your broker’s contract specification for CFDs and other derivatives.

Calculate trade profit or loss

Direction
Gross P&L
+$75.00
Net P&L
+$71.00
After the fees entered above.
Return on notional
0.65%

Leave the multiplier at 1 for shares, crypto units and most spot-forex unit calculations. For CFDs or other contracts, use the multiplier in your broker’s contract specification. Currency conversion, funding and tax are not included.

How the P&L calculation works

For a long trade, gross P&L is (exit price − entry price) × quantity × contract multiplier. A short reverses the price difference because it profits when the exit is below the entry. Net P&L subtracts the total fees you enter. The percentage result divides net P&L by the position’s entry notional, so leverage is not mistaken for investment return.

For example, buying 10,000 units at 1.0850 and closing at 1.0925 creates a 0.0075 price move. With a multiplier of one, gross P&L is $75. If commissions and other entered costs total $4, net P&L is $71. The arithmetic is simple; using the correct quantity, multiplier and account-currency conversion is the part that needs attention.

What the calculator deliberately does not assume

Contract rules differ across brokers and instruments, so this tool does not guess pip value, lot size, funding, swap, tax or currency conversion. A forex account whose quote currency differs from the account currency may need a conversion after the result. CFDs may use a contract multiplier. Check the broker specification and account statement rather than copying a default from another symbol.

Planned P&L and realised P&L answer different questions

Before entry, the result is a scenario based on a target or stop. After exit, it is a reconstruction of the trade. The difference between planned and realised P&L can reveal slippage, changed stops, partial exits and fees. Save those differences in a journal instead of treating the calculator as a one-off number.

Edgelog records realised results from MT4/MT5 sync, Binance and Bybit imports, or CSV and Excel files. Pair the result with the risk/reward calculator, then review actual performance in the P&L calendar. This calculator is educational and does not provide investment advice.

Frequently asked questions

QDoes this P&L calculator work for short trades?

Yes. Select Short and the calculation reverses the price movement, so a lower exit than entry produces a gain.

QWhat should I enter as the contract multiplier?

Use one for ordinary shares, coins and units. For a CFD or derivative, use the multiplier shown in the broker or exchange contract specification.

QAre commissions included?

Only the total fee amount you enter is deducted. Funding, swap, tax, slippage and automatic currency conversion are not estimated.

QIs P&L the same as profit factor?

No. P&L is the money gained or lost on a trade or period. Profit factor divides gross profits by gross losses across a sample of trades.

Log your trades. Master your edge.

Free for forex and crypto traders — up to 3 connected accounts and 50,000 stored trades, with MT4/MT5 auto-sync, exchange import, and full analytics.

Create your free journal