Performance Measurement
Realized vs. Unrealized P&L, Explained
Your account shows a big green number. You feel rich. Then the position drops overnight and half of that number is gone. Nothing left your account, and nothing came in. So what actually happened?
The answer sits in one distinction that most new traders skim past: the difference between realized and unrealized profit and loss. Get it wrong and you will misread your own performance, mistime your taxes, and let a paper gain talk you into a bad decision. Get it right and your P&L becomes a decision tool instead of a mood ring.
The one-line difference
Realized P&L is money you have locked in by closing a position. Unrealized P&L is the paper gain or loss on a position you still hold.
- Realized P&L is settled. You bought, you sold, and the difference is final. It cannot change.
- Unrealized P&L is provisional. It is the current market price minus your cost basis, marked on a position that is still open. It moves every tick and can vanish before you act on it.
A quick example. You buy 100 shares of a stock at $50, for a cost basis of $5,000. The price rises to $65. You are now sitting on an unrealized gain of $1,500 (100 shares times the $15 move). That $1,500 is real on the screen and imaginary in your bank account at the same time. The moment you sell at $65, the gain becomes realized: $1,500 is locked in and the position closes. If instead the stock falls back to $50 before you sell, your unrealized gain simply disappears. You never had it in any spendable sense.
The formula behind both is identical. It is the source data and the finality that differ.
- Realized P&L = (exit price minus entry price) times quantity, minus fees and commissions, on a closed position.
- Unrealized P&L = (current market price minus cost basis) times quantity, on an open position, before any exit costs.
Why the distinction changes how you should read your account
Most brokerage screens blend the two into a single equity figure, and that blend hides useful information. When you separate them, three things become clear.
Your realized number tells you what your strategy has actually produced. It is the score. Every closed trade, win or loss, feeds it. If you want to know whether your approach works, you look at realized results across a meaningful sample, not at the green glow of positions you have not sold. A string of large unrealized gains can coexist with a losing realized record if you keep cutting winners short and letting losers ride (more on that below).
Your unrealized number tells you about risk you are still carrying. An open position with a large unrealized gain is exposed capital. It can reverse. Treating unrealized profit as if it were banked is how traders give back a quarter of good work in a single session. The unrealized figure is best read as "here is what is currently at stake," not "here is what I made."
The gap between the two is a behavior signal. If your unrealized losses are large and persistent while your realized book is full of small wins, you are probably holding losers and booking winners early. That pattern has a name, and decades of research behind it.
The psychology: why unrealized losses are so hard to close
In a 1998 study published in The Journal of Finance, Terrance Odean analyzed the trading records of 10,000 households at a large discount brokerage from 1987 to 1993. He measured two ratios: the proportion of gains realized (PGR) and the proportion of losses realized (PLR). Investors realized 14.8% of their available paper gains but only 9.8% of their available paper losses (Odean, 1998). In plain terms, they were markedly quicker to sell winners than to sell losers, even after accounting for tax reasons that should have pushed the other way.
This is the disposition effect, first named by Hersh Shefrin and Meir Statman in 1985: the disposition to sell winners too early and ride losers too long (The Journal of Finance, 1985). The mechanism is emotional. An unrealized loss still feels reversible. As long as you have not sold, you have not "lost," so closing the position forces you to admit the loss was real. An unrealized gain feels fragile, so you grab it before it slips away. Both instincts run backwards from what disciplined risk management asks of you.
The practical takeaway: the realized-versus-unrealized line is exactly where this bias lives. The number you refuse to realize is usually the one you should. Watching your own PGR-versus-PLR pattern over time is one of the more honest mirrors a trader has. This is also why a separate record of closed trades matters, and why tracking behavior across accounts, as covered in how to track P&L across multiple brokers, gives you the full sample rather than a flattering slice of it.
The taxes: only realized P&L is a taxable event
Here is where the distinction stops being philosophical and starts costing money. Under current US federal tax law, you are generally taxed on gains only when they are realized. An unrealized gain is not income and is not reported to the IRS, because no transaction has occurred. As the IRS puts it, the capital gain or loss is the difference between your adjusted basis in the asset and the amount you realize from the sale (IRS Topic No. 409). No sale, no realized amount, no tax.
Once you do sell, the holding period sets the rate:
- If you held the asset for one year or less, the gain is short-term and taxed as ordinary income at your regular graduated rate.
- If you held it for more than one year, the gain is long-term and taxed at 0%, 15%, or 20% depending on your taxable income (IRS Topic No. 409).
That single day of difference between "one year or less" and "more than one year" can be the difference between your top ordinary rate and a 15% rate. It is a reason to know your entry date, which lives in your trade records, before you decide to realize a gain.
Realized losses matter too. You can use them to offset realized gains, and if your losses exceed your gains, you can generally deduct up to $3,000 of net capital loss against ordinary income per year and carry the rest forward. But watch the wash sale rule. If you sell a security at a loss and buy the same or a substantially identical security within 30 days before or after the sale (a 61-day window in total), the loss is disallowed for now and added to the cost basis of the replacement shares (Fidelity, on IRS Publication 550). Active traders trip this constantly by closing a loser for the tax benefit and re-entering the same name two days later. The realized loss you thought you booked does not count.
None of this applies to unrealized positions. You can watch a stock sink 40% on paper all year and owe nothing on it, because you never realized the loss. That is the whole point of the line.
This is general information, not tax advice. Rules vary by country and by situation, and the thresholds above are current US figures that change over time. Confirm your specifics with a qualified tax professional.
How to track both without fooling yourself
The mistake is treating your account's headline equity number as your performance. It is not. It is a live blend of settled results and open risk. To read it honestly, keep the two separated:
- Log every closed trade with its realized result, including fees. This is your true track record and your tax basis. Realized P&L is the number you judge your strategy by.
- Mark open positions to market for unrealized P&L, and read that figure as risk-at-stake, not as earnings. A useful habit is to ask, before every session, "how much of my current profit is unrealized, and am I comfortable holding that exposure?"
- Watch the drift between the two. If your unrealized book is dominated by losers while your realized book is a pile of tiny wins, the disposition effect is running your account. That is a process problem, not a market problem.
- Do not compound the confusion with time-weighting. Deposits and withdrawals distort simple percentage returns, which is why serious portfolio measurement uses a time-weighted return that isolates the performance of your decisions from the effect of cash moving in and out.
Once you have a clean realized record, you can start answering the questions that actually improve trading. Which setups produce your realized gains? How long do you hold winners versus losers? And how do your realized results compare against simply holding an index, a question worth answering with a real yardstick, as in how to benchmark your portfolio against the S&P 500.
TradeReveal keeps realized and unrealized P&L as distinct fields, marks open positions to last-known market prices, and computes your portfolio value and return from your own positions rather than a broker's stale snapshot. Its deterministic behavioral insights surface patterns like hold-time asymmetry between your winners and losers, so the disposition effect shows up as a stat instead of a hunch. That is the free core, and it is enough to read your own account without deceiving yourself.
Frequently Asked Questions
Is unrealized P&L real money?
Not in any spendable sense. It is the current market value of a position you still hold, minus your cost basis. It changes with every price tick and can disappear entirely before you sell. It is real as a measure of risk you are carrying, and provisional as a measure of profit.
Do I pay taxes on unrealized gains?
Generally no. Under current US federal tax law, gains are taxed only when realized through a sale. Unrealized gains are not income and are not reported to the IRS, because no transaction has occurred (IRS Topic No. 409). Tax is triggered when you close the position. Rules differ by country, so confirm your own situation with a professional.
Why does my broker show a different total than my realized profit?
Because most brokers display account equity, which blends your realized results with the unrealized P&L on open positions. To see what your strategy has actually produced, you need the realized number alone. That is why keeping a separate record of closed trades matters.
Should I sell a position just to realize the gain?
Realizing a gain locks it in and removes reversal risk, but it also triggers a taxable event and may forfeit further upside. The holding-period rule matters here: crossing the one-year mark can move a gain from your ordinary rate to a long-term rate of 0%, 15%, or 20% (IRS Topic No. 409). The decision should follow your plan and your risk tolerance, not the emotional pull of a green number.
What is the disposition effect and how do I avoid it?
It is the documented tendency to sell winners too early and hold losers too long. Odean (1998) found investors realized 14.8% of paper gains but only 9.8% of paper losses (Odean, 1998). You counter it by defining exits in advance, tracking your realized results honestly, and reviewing whether you consistently cut winners short while nursing losers.
Final Thoughts
The line between realized and unrealized P&L is not accounting trivia. It is where your performance, your tax bill, and your psychology all meet. Unrealized gains measure risk you are still holding. Realized gains measure what your decisions have actually produced, and only realized results move your tax situation. Read the two separately, watch the drift between them, and the green number on your screen stops running your account and starts informing it.
Sources
- IRS, Topic No. 409, Capital Gains and Losses
- Fidelity, Wash-Sale Rules (on IRS Publication 550)
- Odean, T. (1998). Are Investors Reluctant to Realize Their Losses? The Journal of Finance
- Shefrin, H. and Statman, M. (1985). The Disposition to Sell Winners Too Early and Ride Losers Too Long. The Journal of Finance
Start your free TradeReveal account today
Happy Trading,
The TradeReveal Team