SoloTrade
SoloTrade
LearnMarketPricing

Profit / Loss Calculator — User Guide & Reference

Profit and loss is the difference between what you paid to enter and exit a trade, adjusted for position size and every cost in between. This guide explains gross versus net P&L, the long and short formulas, every input, and a worked example.

Disclaimer: This guide is provided for education only and does not constitute investment advice.

Gross versus net P&L

Gross P&L is the price change multiplied by position size, before costs. Net P&L subtracts commission, fees, and slippage. The net figure is the honest number — ignoring costs overstates every result. Every profit and loss calculation should end with the net number.

How the formula works

For a long trade, P&L is (exit minus entry) times size; for a short, it is (entry minus exit) times size. The formula flips because a short profits as price falls. The calculator handles the market conventions — pips and lots for forex, shares for stocks, coins for crypto.

Why P&L conventions differ by market

Forex quotes movement in pips and trades in lots, so P&L first appears in the quote currency and must be converted to your account currency. Stocks use shares directly in the account currency. Crypto uses coins on the pair you trade. The calculator normalizes all three.

How to use the calculator

Choose the market, enter entry, exit, and size, and read the gross and net result. For held positions, add overnight or funding costs separately. Run the numbers before the trade so there are no surprises at the target or the stop.

Worked example: a 200-share stock trade

You buy 200 shares at $25 and sell at $28, long. Gross P&L is ($28 minus $25) times 200, or $600. If commission and slippage total $12, the net P&L is $588 — the money that actually reaches your account. If you had shorted from $28 to $25, the formula flips but the $600 gross result is the same, because a short profits as price falls.

Why net is the number that matters

A $600 gross profit that becomes $588 after costs is the real result — the $12 gap is the price of trading itself. Over many trades, that gap compounds. Tracking net P&L keeps your records honest and reveals whether fees are eating your edge.

Common mistakes

The most common error is quoting gross P&L as if it were the bottom line. Another is forgetting the formula flips for shorts. And ignoring overnight and funding costs on positions held across rollover understates the true cost of a trade.

Parameters explained

ParameterWhat it means
Asset typeForex, US stocks, or crypto — changes the unit and the P&L formula.
DirectionLong or short — the formula flips between the two.
InstrumentThe specific currency pair or symbol whose price move produces the P&L.
Open / close priceThe entry and exit prices that define the price move.
Trading feeCommission and slippage subtracted from the gross result for net P&L.
Concepts

Key concepts

Gross P&L

The price change multiplied by position size, before costs.

Net P&L

Gross P&L minus commission, fees and slippage.

Market conventions

Forex uses pips and lots, stocks use shares, crypto uses coins.

Common mistakes

Mistakes traders make

✗ Quoting gross P&L as if it were the bottom line

✓Costs are real. The net figure is what reaches your account; the gross number only flatters the result.

✗ Forgetting the formula flips for shorts

✓Longs earn entry-to-exit; shorts earn the same distance in reverse. Mixing them up reverses the sign.

✗ Ignoring overnight and funding costs on held positions

✓Swaps and financing are separate lines that belong in the net result when a position is held across rollover.

When to use

When this tool fits — and when it does not

Use it when

  • ✓Before a trade, to see exactly what the target and stop are worth in dollars.
  • ✓After a trade, to reconcile what the platform reports.
  • ✓When converting pips, shares, or coins into account currency.

Skip it when

  • ✗Using gross numbers for journaling and performance tracking.
  • ✗Comparing P&L across markets without matching units.
  • ✗Treating P&L as the final word while forgetting fees and financing.
Pro tips

Practical tips that actually help

Always compute net, never just gross

Make net P&L the habit. It keeps your records honest and reveals whether costs are eating the edge.

Check the math in the account currency

Forex P&L first appears in the quote currency; convert to your account currency so the money figure is unambiguous.

Fold overnight costs into held trades

For multi-day positions, add swaps or funding so the net result reflects everything, not just the price move.

FAQ

Frequently asked questions

Gross vs net P&L — why does it matter?▾

Costs like commissions and slippage are real. Ignoring them overstates results, which is why net P&L is the honest number.

Does P&L include overnight fees?▾

Swaps or financing are separate lines beyond a basic P&L check; add them when relevant to your market.

How does the formula differ for a short trade?▾

For a long you earn as price rises, so P&L is exit minus entry. For a short the order is reversed: entry minus exit, multiplied by size.

Why do forex P&L results quote pips instead of money?▾

Pips are a universal measure of price movement across currencies, but your account is funded in one currency. The calculator converts the pip move into your account currency.

What is the difference between realized and unrealized P&L?▾

Realized P&L is locked in when you close the trade. Unrealized P&L is the floating gain or loss on an open position, which changes with price until you actually exit.

Should I calculate P&L before entering a trade?▾

Yes, and it is the whole point of the tool. Running the numbers first shows exactly what the trade yields at your target and costs at your stop.

How do costs change my break-even?▾

Costs move break-even away from entry. A stock bought at $50 with $12 of total costs needs price to reach $50.06 or above before the trade stops losing.

Type
User guide
Updated
2026-09
Source
SoloTrade.io educational content

The formulas are standard market math. Actual results depend on your broker's pricing, spreads and fees.

Profit / Loss Calculator — User Guide & Reference | SoloTrade.io