Realized and unrealized gains sound like technical investing jargon, but the idea is simple. One is a gain you have actually locked in by selling. The other is a gain that still exists only on paper because you still own the asset.
That distinction matters more than many investors realize. It affects how you read your portfolio, how you think about performance, and in many cases how you think about taxes and decision-making.
If you want a simple rule, use this one: unrealized gains describe what your holdings are worth right now, while realized gains describe what you actually turned into a completed result.
Quick Answer
A realized gain happens when you sell an asset for more than your cost basis. An unrealized gain happens when an asset you still own is worth more than your cost basis, but you have not sold it yet. Unrealized gains can change as prices move. Realized gains are generally fixed once the sale is complete.
Why This Difference Matters
Many investors look at a portfolio and see a large gain number without thinking about what kind of gain it is.
That can lead to bad decisions. A holding that is up sharply may look like a win, but if you still own it, that result is not locked in. At the same time, a sale may create a realized gain even if the remaining portfolio looks flat.
If you do not separate realized from unrealized gains, it becomes harder to judge:
- How your portfolio is actually performing
- Which results are still exposed to market movement
- What part of your return has been converted into a completed outcome
- How trades are affecting your overall picture
What Is an Unrealized Gain?
An unrealized gain is a paper gain. It means the market value of an asset you still own is above what you paid for it.
For example, if you bought a stock for $100 and it is now worth $140, you have a $40 unrealized gain as long as you still hold it.
That gain is useful information, but it is not permanent. If the price falls tomorrow, the unrealized gain can shrink or disappear.
This is why unrealized gains should be viewed as current valuation context, not as a finished result.
What Is a Realized Gain?
A realized gain happens when you sell the asset for more than your basis.
Using the same example, if you bought at $100 and sold at $140, the $40 gain becomes realized at the point of sale. That is no longer just a paper gain. It is the outcome of a completed transaction.
In general terms, the IRS treats gains and losses from the sale or exchange of capital assets as capital gains or losses, which is why the sale itself matters from a reporting standpoint.
A Simple Example
Suppose you buy 10 shares of a stock at $50 per share, so your total cost is $500.
- If the shares rise to $65 and you still own them, you have an unrealized gain of $150.
- If you sell all 10 shares at $65, that $150 becomes a realized gain.
The amount may be the same at that moment, but the meaning is different. One is still exposed to market movement. The other has been locked in by selling.
Why Investors Get Confused
Most confusion comes from portfolio dashboards that mix everything together into one green number.
That number can be useful, but it often hides the structure underneath. Investors may assume:
- All gains are equally secure
- A big unrealized gain is the same as cash in hand
- Performance looks stronger than it really is after several unexamined trades
- The total return is obvious even when parts of it are realized and parts are not
A better tracking setup makes the distinction visible so you can think more clearly about what your portfolio is actually doing.
Realized vs Unrealized Gains in Portfolio Tracking
This distinction is especially important when reviewing your portfolio.
Unrealized gains help you understand how current holdings are performing right now. Realized gains help you understand what outcomes you have already locked in through actual trades. Both matter, but they answer different questions.
A strong portfolio review process should help you see:
- Which positions are up or down on paper
- What gains or losses you have already realized through sales
- How much of your total return is still tied to current market prices
- Whether your trading activity is improving or hurting long-term results
Why Unrealized Gains Are Not the Same as Cash
This is one of the most important mindset issues for investors.
An unrealized gain can feel psychologically real because it appears on the screen, but it is still attached to a position that can move. Until you sell, the market is still writing the next part of the story.
That does not mean unrealized gains are meaningless. They matter for net worth, allocation, and portfolio review. It just means they should not be treated as if they are already final.
Why Realized Gains Do Not Automatically Mean Better Investing
Some investors treat realization as proof of success. That can be too simplistic.
Selling creates clarity, but it does not automatically mean the decision was optimal. A realized gain may be sensible, premature, tax-driven, or even the result of selling too early. The point is not that realized is always better. The point is that realized and unrealized describe different stages of the investment result.
How This Affects Taxes
Taxes are one of the reasons investors care about realized versus unrealized gains, but this is also where people oversimplify.
In broad terms, selling an investment can create a reportable capital gain or loss, while an unrealized gain on a position you still hold generally has not yet been triggered by sale. The specific tax treatment can depend on factors such as holding period, account type, jurisdiction, and your broader tax situation.
That is why it is better to treat realized versus unrealized as a portfolio and reporting concept first, and handle the detailed tax side with current tax guidance or a qualified professional when it matters.
How to Think About Both the Right Way
A practical way to think about the distinction is this:
- Use unrealized gains to monitor current holdings, allocation, and mark-to-market performance.
- Use realized gains to review trade outcomes, completed decisions, and reporting implications.
When you keep both visible, your portfolio becomes easier to interpret honestly.
Common Mistakes Investors Make
If you want a simple checklist, avoid these mistakes:
- Treating paper gains as if they are already permanent
- Reviewing total gains without separating realized and unrealized components
- Ignoring cost basis when judging a position
- Selling only because a gain feels emotionally satisfying
- Assuming a realized gain automatically means the investment decision was good
- Ignoring tax consequences until after the trade is made
Most of these mistakes come from mixing together different kinds of outcomes that should be viewed separately.
What a Good Portfolio Tracker Should Help You See
A strong portfolio tracker should make this distinction easier to understand by keeping cost basis, current value, position-level performance, trade context, and notes organized in one place. That makes it easier to see what is happening now, what has already been locked in, and what still depends on future price movement.
Keeping gains in context
If you want a clearer way to review holdings than a spreadsheet full of formulas, Portfolio Tracker gives you a cleaner workspace for positions, live prices, charts, notes, research links, models, imports, and exports. That kind of setup makes it easier to keep cost basis, current performance, and decision context close together instead of splitting them across broker dashboards, spreadsheets, and separate notes.
For DIY investors, realized versus unrealized gains are easiest to interpret when the surrounding portfolio context is easy to see too.
The Core Idea to Remember
Unrealized gains tell you what a holding is worth relative to what you paid while you still own it. Realized gains tell you what you actually locked in by selling.
Both matter. Neither should be ignored. But they should never be treated as the same thing.
Once you separate them clearly, it becomes much easier to measure portfolio performance, review trade decisions, and think more rationally about what your gains actually mean.
FAQ
What is the difference between realized and unrealized gains?
Realized gains come from assets you have sold for more than your basis. Unrealized gains are paper gains on assets you still hold.
Do unrealized gains count as profit?
They count as an increase in current value, but they are still exposed to market movement because you have not sold the asset yet.
Are realized gains taxable?
They can be, depending on the asset, account type, holding period, and your tax situation. The detailed treatment depends on current tax rules and your circumstances.
Why should a portfolio tracker separate realized and unrealized gains?
Because they answer different questions. Unrealized gains show how current holdings are performing, while realized gains show what results have actually been locked in through completed trades.
