PnL means profit and loss. In trading, it measures how much money a position, trade, strategy, or account has gained or lost over a defined period. A positive PnL indicates a profit, while a negative PnL indicates a loss. PnL can be shown for an open position, a closed trade, a trading day, or an entire portfolio.
The basic idea is simple: compare the value at which a position was entered with its current value or exit value, then adjust for position size and relevant costs. The details vary by market. Stocks are usually calculated from price change times shares, futures use contract specifications, forex may require currency conversion, and options add premium behavior and contract multipliers.
The most important distinction is realized vs unrealized PnL. Unrealized PnL changes while a position remains open. Realized PnL is generally locked in when some or all of the position is closed, although settlement and accounting rules can differ by product.
What does PnL mean in trading?
PnL is a running measure of trading outcome. It answers a specific question: if the relevant position or account is valued now, how far is it above or below the value used as the starting point?
For a single trade, that starting point is usually the entry price. For an account, the starting point may be the beginning-of-day equity, beginning-of-month equity, or another reporting baseline. This is why two screens can both show a figure called PnL while measuring different things.
PnL can also be presented as gross or net. Gross PnL reflects the market movement of the position before specified trading costs. Net PnL adjusts the result for costs included by the broker or reporting system, such as commissions, exchange fees, financing charges, or other transaction expenses.
How PnL is calculated
For a straightforward long position, the core calculation is the exit or current price minus the entry price, multiplied by the quantity. For a short position, the direction is reversed because the trade benefits when the price falls.
| Position | Basic gross PnL formula |
|---|---|
| Long | (Current or exit price - entry price) x quantity x applicable multiplier |
| Short | (Entry price - current or exit price) x quantity x applicable multiplier |
| Net PnL | Gross PnL - included trading costs - included financing costs + included credits or income |
The multiplier is 1 for many cash instruments quoted per unit, but derivatives often have contract-specific multipliers or tick values. Currency conversion may also be required if the PnL is produced in a currency different from the account's base currency.
A simple long trade example
Suppose a trader buys 100 shares at $50 per share. The position cost is $5,000. If the market price rises to $53 while the shares remain open, the unrealized gross PnL is ($53 - $50) x 100 = $300.
If the trader later sells all 100 shares at $52.80, the gross realized PnL becomes ($52.80 - $50) x 100 = $280. If the platform includes $8 of total transaction costs for the completed trade, net PnL would be $272. The exact cost treatment depends on what the broker includes in its PnL field.
A simple short trade example
Suppose a trader opens a short position of 200 shares at $25 and later buys them back at $22.50. The gross PnL is ($25 - $22.50) x 200 = $500. If the price had risen to $27 instead, the gross PnL would be ($25 - $27) x 200 = -$400.
Short positions can also involve costs that do not appear in the basic price-difference formula, including stock-borrow charges in some cases. Net PnL is therefore more useful than gross PnL when the goal is to understand the economic result of the completed trade.
Realized vs unrealized PnL
Unrealized PnL is the gain or loss on a position that is still open. It changes as the market price changes. Realized PnL is the gain or loss associated with the portion of a position that has been closed under the platform's accounting method. A brokerage statement may report both categories separately. The U.S. Securities and Exchange Commission uses separate realized and unrealized categories in an Investor.gov sample brokerage statement.
| Feature | Unrealized PnL | Realized PnL |
|---|---|---|
| Position status | Still open | Closed in whole or in part |
| Changes with market price | Yes | Normally no for the closed portion |
| Uses current valuation | Yes | Uses execution or settlement data for the closed portion |
| Can reverse before exit | Yes | No for the already closed portion |
| Main use | Shows current open-position outcome | Shows outcome already crystallized by closing activity |
Partial closes and realized PnL
If only part of a position is closed, only that portion becomes realized. The remaining quantity continues to carry unrealized PnL. The calculation can become less intuitive when the position was built through several fills at different prices.
For example, a trader may buy 100 shares at $40 and another 100 shares at $44. A platform might display an average entry price of $42 for the 200-share position. If 50 shares are sold, the realized result depends on the platform's lot-selection or accounting method. The remaining open quantity can then show a different cost basis from the simple average a trader expected.
Gross PnL vs net PnL
Gross PnL is useful for measuring how the market movement affected the trade. Net PnL is usually more useful for judging what the trade actually contributed after costs included in the calculation.
Depending on the product and platform, net PnL may reflect some or all of the following:
- Broker commissions and exchange fees
- Bid and ask spread paid through execution which is usually embedded in fill prices rather than deducted as a separate fee
- Overnight financing or margin interest
- Borrow costs for short positions
- Funding payments on some perpetual derivatives
- Currency conversion charges or conversion effects
- Exercise assignment or settlement fees where applicable
The spread deserves special attention because it may not appear as a separate fee. A long position opened at the ask and immediately valued near the bid can begin with a small negative PnL even if the quoted market has barely moved. This is not necessarily an error. It can be a consequence of how executable prices are used.
Break-even PnL and trading costs
A trade can move in the expected direction and still show a negative net PnL if the favorable move is too small to cover costs. The break-even price is the price at which the trade's net PnL reaches zero after the costs included in the calculation. For a long trade, break-even is generally above the entry price when costs are positive. For a short trade, it is generally below the entry price.
How PnL works across trading markets
The economic idea behind PnL is consistent across markets, but the unit of exposure changes. A trader should know what one unit, lot, contract, point, pip, or tick is worth before relying on the number shown on a platform.
Stocks and ETFs
For a basic cash equity position, gross PnL is usually the price change multiplied by the number of shares. A long position gains when the price rises. A short position gains when the price falls. Corporate actions, dividends, borrow costs, commissions, and tax-basis rules can make account reporting more complex than the basic trading formula.
Forex
In spot forex, PnL depends on the change in the currency pair and the position size. If a trader buys 10,000 EUR/USD at 1.1000 and closes at 1.1050, the price move is 0.0050 dollars per euro. The gross PnL is 10,000 x 0.0050 = $50.
If the account is denominated in another currency, the result may need to be converted at a relevant exchange rate. Brokers can also include spread, commission, and overnight financing in different ways, so the number labeled PnL should be read together with the platform's methodology.
Futures
Futures PnL depends on the contract specification. One common form is price change x contract multiplier x number of contracts. Another equivalent approach is number of ticks moved x tick value x number of contracts. CME Group explains that contract size, tick size, trading price, and entry price all matter when calculating futures profit or loss.
Futures also use daily mark-to-market processes in which gains and losses are settled through the clearing system. As a result, the cash movement and the way a platform labels daily or cumulative PnL can differ from the simpler idea of waiting until a position is finally closed.
Options
For an option position, PnL is based on the change in the option premium multiplied by the number of contracts and the contract multiplier, before costs. If one option contract is bought at a premium of $2.00 and later sold at $3.20 with a multiplier of 100, gross PnL is ($3.20 - $2.00) x 100 = $120.
Options require extra care because the premium can change due to the underlying price, time remaining, implied volatility, interest rates, and other pricing inputs. At expiration, payoff depends on the option's terms and whether it has intrinsic value. A trader should not infer option PnL from the underlying asset's price change alone.
Why platform PnL can differ from manual calculation
A manual calculation can be correct and still differ from a broker's screen because the two calculations may use different inputs. The most common reason is valuation price. One platform may mark an open position to the last traded price, another may use bid or ask, and another may use a midpoint or official mark price.
Other common causes include:
- Average entry price: several fills may be combined into one displayed cost.
- Partial exits: the system must decide which lots or fills were closed.
- Fees: some displays show gross PnL while others deduct commissions or financing.
- Currency conversion: PnL generated in one currency may fluctuate when translated into the account currency.
- Settlement rules: futures and some derivatives can recognize cash movements differently from cash securities.
- Corporate actions: splits distributions and other adjustments can change cost or position data.
- Timing: delayed quotes and end-of-day marks can produce a temporary mismatch.
When checking a discrepancy, compare the entry price, quantity, valuation price, contract multiplier, currency rate, and included costs one by one. That usually identifies the source faster than comparing only the final PnL number.
PnL percentage and return
A dollar PnL shows the absolute result. A percentage can make results easier to compare, but only if the denominator is defined consistently.
A common calculation is PnL percentage = PnL / capital basis x 100. The problem is that "capital basis" can mean several things: the full cash cost of a position, notional exposure, margin posted, beginning account equity, or the amount intentionally risked on the trade.
Suppose a leveraged position produces a $200 profit on $5,000 of market exposure while only $1,000 of margin was posted. That is 4% of notional exposure but 20% of the posted margin. Both calculations are mathematically valid, but they answer different questions. Using margin return alone can make leveraged performance look larger while obscuring the corresponding increase in risk.
Daily PnL and cumulative PnL
Daily PnL measures the gain or loss over a trading day or broker-defined session. Cumulative PnL adds results over a longer period, such as a week, month, strategy history, or account history. A position can therefore have a positive cumulative PnL but a negative daily PnL if it gives back part of an earlier gain.
Account-level daily PnL can also include multiple open and closed positions at once. It should not automatically be treated as the realized result of trades closed that day. The platform may combine realized changes, unrealized changes, fees, interest, and other ledger items.
Trading PnL and tax gain are not always the same
A trading platform's PnL is primarily an economic or account-performance measure. Tax reporting follows jurisdiction-specific rules and can use adjusted cost basis, lot identification, holding periods, wash-sale rules, mark-to-market elections, or other treatments that differ from the number shown on a trading screen.
For U.S. federal tax purposes, the Internal Revenue Service explains that a capital gain or loss on a sale is generally determined by comparing the amount realized with the asset's adjusted basis. That tax concept should not be assumed to match a broker's intraday PnL field. Traders should use the records and tax rules that apply to their jurisdiction rather than substituting a platform display for formal tax reporting.
Common PnL mistakes
- Ignoring position size: a small price move can produce a large PnL when the position or contract multiplier is large.
- Using the long formula for a short: the direction of the price difference must reverse.
- Confusing unrealized profit with cash already secured: open-position PnL can change before the trade is closed.
- Comparing gross PnL with net PnL: costs can materially change the result.
- Ignoring account currency: conversion can alter the final account-level number.
- Assuming every percentage uses the same denominator: return on notional exposure and return on margin are different measures.
- Judging a strategy from PnL alone: identical profits can come from very different levels of leverage drawdown and downside risk.
How to read PnL correctly
PnL is most useful when the scope of the number is explicit. Before interpreting it, identify whether it is realized or unrealized, gross or net, trade-level or account-level, and daily or cumulative. Then confirm the position size, valuation price, multiplier, currency, and costs used in the calculation.
A positive PnL does not by itself show that a strategy is robust, and a negative PnL does not by itself explain what went wrong. Performance evaluation also needs context such as risk taken, maximum drawdown, consistency, exposure, leverage, transaction costs, and the number of observations. PnL tells you the financial outcome. It does not tell you whether the process that produced that outcome was repeatable or appropriately controlled.
A practical PnL checklist
- Confirm whether the number is for one trade, one position, one day, or the full account.
- Check whether the PnL is realized, unrealized, or a combination of both.
- Verify entry price, current or exit price, quantity, direction, and any contract multiplier.
- Check which market price the platform uses to value open positions.
- Determine whether commissions, spread, financing, borrow charges, and other costs are included.
- Confirm whether currency conversion affects the account-level result.
- For partial closes, review how the platform assigns cost basis or average entry price.
- Use the broker's product specification and account methodology when a manual result differs from the displayed PnL.
In practical terms, what is PnL in trading comes down to a disciplined comparison of entry value and current or exit value after scaling for exposure and applying the relevant costs. Understanding how PnL is calculated and separating realized from unrealized PnL makes the number far more useful for reviewing trades, reconciling account statements, and measuring performance consistently.