P&L, Profit and Loss, is the most fundamental metric in investing. Every position you hold has a P&L. Every trade you make affects it. Understanding what it means, how it's calculated, and how to track it accurately is the foundation of managing any portfolio seriously.
What does P&L mean in investing?
P&L stands for Profit and Loss. In investing, your P&L on a position is the difference between what you paid for it and what it's currently worth. If you bought 10 shares of Apple at $200 and they're now trading at $230, your P&L is +$300 (+15%). If they've fallen to $180, your P&L is -$200 (-10%).
P&L can be expressed in two ways: in absolute terms (dollar value) and as a percentage. Both matter. The dollar value tells you the actual impact on your wealth. The percentage tells you the efficiency of that capital, how hard your money is working compared to other investments or benchmarks.
Unrealised vs realised P&L
This distinction is critical and often confused by newer investors:
- Unrealised P&L, the gain or loss on positions you still hold. It's "on paper", real in value, but not yet locked in. Your portfolio tracker shows this in real time.
- Realised P&L, the actual gain or loss you've locked in by selling. Once you close a position, the P&L becomes realised. It's no longer affected by subsequent price movements.
A common mistake is to only look at unrealised P&L and ignore realised. Your realised P&L, tracked in your trade history, is the actual performance record of your investing decisions. It's what tax authorities care about, and it's what tells you honestly whether your strategy is working.
How to calculate P&L on a position
The formula is straightforward:
- P&L ($) = (Current Price − Entry Price) × Number of Shares
- P&L (%) = (Current Price − Entry Price) ÷ Entry Price × 100
Example: You bought 5 shares of Tesla at $250. Tesla is now at $310.
- P&L ($) = ($310 − $250) × 5 = $300
- P&L (%) = ($310 − $250) ÷ $250 × 100 = 24%
For a full portfolio, you calculate P&L for every position and sum them to get total portfolio P&L. This becomes complex quickly when you have different currencies, DCA'd positions with averaged entries, and assets of different types, which is exactly why a dedicated tracker is valuable.
Portfolio P&L vs position P&L
Your portfolio P&L is not just the sum of individual P&Ls in dollar terms, it depends on position sizing. A 40% gain on a $500 investment contributes the same dollar P&L as a 4% gain on a $5,000 investment. This is why position-level P&L percentages can be misleading without context of the actual amounts invested.
Good portfolio tracking shows both: the P&L percentage on each position to understand capital efficiency, and the dollar P&L to understand actual impact on your wealth. PortfolioTrackr displays both on every position card, alongside the current market value and amount originally invested.
P&L on DCA'd positions
Dollar Cost Averaging (DCA), adding to a position over time at different prices, complicates P&L calculation because your entry price is an average, not a single figure. Suppose you bought Apple three times:
- 10 shares at $200
- 10 shares at $180 (adding on a dip)
- 10 shares at $220
Your average entry price is ($200 + $180 + $220) ÷ 3 = $200. Your P&L is calculated against this weighted average, not against any single purchase price. PortfolioTrackr handles this automatically, when you add to an existing position, it recalculates the weighted average entry and updates P&L accordingly.
Why real-time P&L matters
Static P&L, calculated once a day or manually updated, misses the point for active investors. Markets move intraday. A position that was down 5% at open might be up 3% by close. Decisions made on stale data are worse decisions.
Real-time P&L lets you:
- See the actual live value of your portfolio at any moment
- Respond to market moves as they happen
- Monitor whether positions are approaching your target levels for adding or exiting
- Understand your true exposure at any point in the trading day
How to track P&L across a mixed portfolio
Tracking P&L manually gets complicated fast once you have stocks in multiple currencies, crypto, commodities, and possibly UAE market positions in AED. A spreadsheet requires constant maintenance, updating prices, recalculating averages after DCA, converting currencies.
PortfolioTrackr handles all of this automatically. You add positions once, ticker, quantity, entry price, and it fetches live prices, calculates real-time P&L per position and across your whole portfolio, handles multi-currency portfolios, and tracks your trade history for realised P&L. You can also import existing positions via CSV if you're switching from a spreadsheet.
Track your real-time P&L across every asset: free for 3 days
Stocks, crypto, UAE markets and commodities. Live P&L, smart targets and multi-channel alerts. No credit card required.
Start Free Trial See live demo first →Frequently asked questions
What does P&L mean in investing?
P&L stands for Profit and Loss. It's the difference between what you paid for a position and what it's currently worth. Positive P&L means profit; negative P&L means loss.
What is the difference between realised and unrealised P&L?
Unrealised P&L is on open positions, what you'd make or lose if you sold now. Realised P&L is locked in after you close a position. Both matter: unrealised shows your current exposure, realised shows your actual trading track record.
How do you calculate P&L on a stock?
P&L ($) = (Current Price − Entry Price) × Shares. P&L (%) = (Current Price − Entry Price) ÷ Entry Price × 100. For DCA'd positions, use your weighted average entry price.
How can I track P&L across my whole portfolio?
A portfolio tracker like PortfolioTrackr calculates live P&L for every position and aggregates it automatically. Enter your positions once and it handles live pricing, currency conversion, DCA averaging and trade history.
