Features Markets Alerts Brokers Pricing Live Demo Blog About Sign In Start Free →
Tracking a stock portfolio against a live market chart
PORTFOLIOTRACKR
Investing Basics

What is P&L in Investing and How to Track It

By Daniel Hartley · March 15, 2026 · 7 min read

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:

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:

Example: You bought 5 shares of Tesla at $250. Tesla is now at $310.

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:

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:

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
Download on the App Store Get it on Google Play
See live demo first →

Track your portfolio in real time: free for 3 days

Live P&L across stocks, crypto, and global markets. WhatsApp and Telegram price alerts. AI trade import. Unified dividend tracking. No brokerage connection required.

Start Free Trial
Download on the App Store Get it on Google Play
See the live demo first →

Frequently asked questions

What does P&L mean in investing?

P&L stands for Profit and Loss. In investing, it refers to the difference between the current value of a position and what you paid for it. A positive P&L means you're currently in profit; a negative P&L means you're at a loss on that position.

What is the difference between realised and unrealised P&L?

Unrealised P&L is the gain or loss on positions you still hold, it's what you would make or lose if you sold right now. Realised P&L is the actual gain or loss locked in after you've sold a position. Portfolio trackers typically show both: unrealised P&L for open positions and realised P&L in your trade history.

How do you calculate P&L on a stock?

P&L = (Current Price - Entry Price) × Number of Shares. For example, if you bought 10 shares of Apple at $200 and the current price is $230, your P&L is ($230 - $200) × 10 = $300. As a percentage: (Current Price - Entry Price) / Entry Price × 100 = 15%.

How can I track P&L across my whole portfolio?

A portfolio tracker like PortfolioTrackr automatically calculates live P&L for every position and aggregates it across your entire portfolio. You enter your positions once, ticker, quantity, entry price, and it handles the rest, pulling live prices and updating your P&L in real time.

Daniel Hartley
Daniel Hartley writes about the fundamentals of portfolio tracking at PortfolioTrackr: profit and loss, position sizing, and turning a messy multi-broker setup into one clear picture for everyday investors.
All articles by Daniel →