InvestFrame
PERFORMANCE EDUCATION

Realized vs unrealized P&L: what is the difference?

A closed trade and an open position can produce different profit-and-loss results at the same time.

Explore the original InvestFrame siteCreate a free account

Realized profit or loss

Realized P&L reflects the result attributed to securities sold, compared with the cost basis of those units and adjusted for relevant fees where applicable.

Example: an investor buys 50 shares at $20 each, then sells 20 shares for $24 each. Excluding fees and taxes, the realized gain on that sale is (24 − 20) × 20 = +$80.

Unrealized profit or loss

The investor still owns 30 shares. If the quoted price falls to $18, the open position has unrealized P&L of (18 − 20) × 30 = −$60, excluding fees.

The $80 realized result from the prior sale and the −$60 unrealized result for the shares still held are separate figures.

Why your records matter

Cost-basis methods, corporate actions, commissions, exchange rates and partial fills can change the figures shown by a broker or portfolio tracker.

Use the recorded transactions and account statements to reconcile differences. InvestFrame helps organize portfolio records but depends on accurate inputs.

Common questions

Can I withdraw an unrealized gain?

Not simply because a position has increased in market value: it has not yet been sold.

Is a realized gain the same as total portfolio profit?

No. Other holdings, losses, costs and cash flows affect the complete picture.

Why do a broker and a tracker differ?

Different cost-basis assumptions, fees, missing trades and pricing times are common causes.

Educational information only, not personalized investment advice. Numerical examples and screenshot figures are illustrative. Actual instrument coverage, market data and product availability may differ.