Profit and loss, in trading, is the financial result of a trade, a position or a whole account: the amount gained or lost between the price at which a holding was opened and the price at which it was closed or is currently valued, after costs. It is usually abbreviated P&L or PnL. Traders, brokers and risk managers treat it as the basic measure of performance, calculated trade by trade and summed by day, month and year.
The trading sense is narrower than the accounting one. A company's profit and loss statement reports revenue and expenses for a period. A trading P&L reports the change in value of market positions. The two meet in the accounts of banks and trading firms, where the results of the dealing desks flow into reported income.
Formula and examples
For a single trade the calculation is:
for a long position, and with in place of for a short position.
- is the entry price and is the exit price, or the current price for an open position.
- is the quantity and is the contract multiplier, which is 1 for shares.
- is the total of commissions, fees and financing charges.
A trader who buys 300 shares at 25.00 and sells them at 27.50, paying 6 in commissions, has a gross profit of and a net profit of . A trader who sells short one futures contract with a multiplier of 50 at 4,000 and buys it back at 4,030, with fees of 5, has a result of , a loss.
Where the instrument is priced in a foreign currency, the result arises in that currency and is converted to the account's base currency, so the exchange rate adds a further source of gain or loss.
Realized and unrealized
Realized profit and loss is the result on positions that have been closed. It is final and, in most tax systems, is the point at which a capital gain or capital loss is recognised. Unrealized profit and loss is the result on positions still open, valued at current prices through mark-to-market. It changes with every price move and may never be collected.
Total P&L for a period is the sum of the two. When a position is closed in part, the realized figure depends on which purchase is treated as sold, so brokers apply a cost basis method such as first in, first out or average cost.
Futures work differently in cash terms. Gains and losses are paid between accounts each day as variation margin, so the unrealized result of a futures position is settled in cash daily even though the position stays open. The detail is covered under futures profit and loss.
Gross, net and daily P&L
Gross P&L counts only price changes. Net P&L deducts trading costs: the commission, exchange and regulatory fees, interest on borrowed money, fees for borrowed shares and, for some products, overnight financing. It also reflects dividends and coupons received or owed. For active strategies the difference between gross and net can decide whether the approach is profitable, and estimates must allow for slippage between the expected and actual execution price.
Daily P&L is the change in account value from the previous close, adjusted for deposits and withdrawals. It combines the day's realized results with the change in value of each open position.
Analysis of results
A total says little about how it was earned, so traders break it down. A common summary is the expected result per trade:
where is the proportion of winning trades, the average win and the average loss. A strategy that wins 40 percent of the time, with an average win of 300 and an average loss of 150, has an expectancy of per trade. The figures show that a strategy can lose more often than it wins and still be profitable. Results are also judged against the risk taken, for example by the maximum drawdown suffered along the way.
Banks and funds go further and attribute each day's result to its causes. For an options book, the change in value is explained by moves in the underlying price, volatility, interest rates and the passage of time, using the option Greeks. Any large unexplained remainder points to a pricing or data error. Bank capital rules for trading books include a test that compares the result predicted by the risk model with the result actually recorded.
Limitations
An unrealized figure depends on the price used to value the position. For thinly traded or complex instruments that price is an estimate, and mis-marked positions have concealed losses in several well-known trading scandals. A short record of results is also a weak guide to skill, since a few trades can dominate the total by chance.