Capital gains tax is generally tied to what happens when you sell an investment, not simply to whether its market value has risen. Understanding the difference between realized and unrealized gains, how cost basis is established, and how the holding period affects tax treatment can help investors make more informed decisions about portfolio changes. It can also help connect investment decisions with cash-flow, charitable, retirement, and estate-planning goals.
Want to discuss how investment decisions fit into your broader financial plan? Contact Great Point Wealth Advisors to start a conversation.
What is capital gains tax?
Capital gains tax is tax that may apply to the profit from selling a capital asset for more than its adjusted basis. Capital assets can include investments such as stocks, bonds, mutual funds, exchange-traded funds, and real estate. The tax result depends on the asset, the account that holds it, the basis, the holding period, the amount of the gain or loss, and the investor’s overall tax situation.
A gain is not automatically a tax bill when an investment increases in value. In a taxable account, the gain is generally realized when the asset is sold or another taxable transaction occurs. Different rules apply to tax-deferred and tax-exempt accounts, so account location matters as well.
The IRS overview of capital gains and losses explains the general federal framework. Tax rules can change, and state treatment may differ. Investors should use current guidance and consult a qualified tax professional before acting.
Realized and unrealized gains: What is the difference?
Unrealized gains
An unrealized gain is an increase in an investment’s market value that has not yet been locked in through a sale. For example, if an investor buys shares and their market value later rises, the increase is generally unrealized while the shares remain invested. Market value can change, and the tax treatment may not be triggered until a taxable disposition occurs.
Realized gains
A realized gain generally occurs when an investor sells an investment for more than its adjusted basis. The difference between the sale proceeds and adjusted basis is generally the gain before considering commissions, adjustments, prior transactions, or other relevant facts. The gain may be included in the investor’s tax reporting for the year of the sale.
Realizing a gain is not necessarily good or bad by itself. A sale may support rebalancing, diversification, liquidity, charitable giving, a change in risk, or a broader financial goal. The important question is how the transaction fits with the investor’s objectives and the tax consequences that should be reviewed before the trade.
How cost basis affects a capital gain
Cost basis is the starting point used to measure gain or loss. It is often the amount paid for an investment, adjusted for items such as reinvested distributions, corporate actions, additional purchases, return of capital, or other reportable events. The amount shown by a custodian can be useful, but investors should not assume it is complete for every holding or historical transaction.
For a straightforward purchase, the basic calculation is:
- Sale proceeds minus adjusted basis equals a gain or loss.
That calculation becomes more complicated when an investor has made multiple purchases, reinvested dividends, received a gift, inherited an asset, transferred securities between accounts, or held an investment through a corporate action. Records from a previous custodian may be important, particularly when a position is old or has moved between firms.
Investors should also understand which tax lot is being sold. When the same security was acquired at different times and prices, the chosen lot can affect the reported gain or loss. A custodian’s default method may not be the method that best fits a particular plan. Any lot-selection decision should be coordinated with the investor’s tax professional and investment policy.
Short-term versus long-term capital gains
The holding period can affect how a gain is treated for federal tax purposes. In general, an investment held for one year or less before sale is treated as short term, while an investment held for more than one year may qualify for long-term treatment. The exact holding-period calculation can depend on the transaction and asset, so a calendar estimate is not a substitute for tax advice.
Short-term gains are generally taxed under ordinary-income rules. Long-term gains may be taxed under separate capital-gain rates, subject to applicable law and the investor’s circumstances. Filing status, taxable income, other gains and losses, deductions, state taxes, and additional taxes can all affect the outcome. An investor should avoid making a sale based only on an assumed rate or a simplified example.
Holding period is one factor, not the entire decision. Waiting to reach a different holding-period milestone could expose a portfolio to market risk, delay needed diversification, or conflict with a cash-flow need. Conversely, selling immediately may create a tax consequence that should be weighed against the reason for the sale. A disciplined process considers both the investment purpose and the tax context.
How capital losses may fit into the plan
A capital loss occurs when an investment is sold for less than its adjusted basis. In some circumstances, realized losses can offset realized capital gains. Tax rules also limit how losses may be used when gains are not sufficient, and unused amounts may be carried forward under applicable rules. The result depends on the investor’s complete tax picture.
Tax-loss harvesting is the deliberate realization of an investment loss to manage a portfolio and potentially use the loss within the tax rules. It is not simply a matter of selling whatever has declined. The investor must consider whether the holding still serves a portfolio purpose, how a replacement investment affects diversification and risk, transaction costs, and rules that can disallow a loss when substantially identical securities are acquired around the sale.
Tax-loss harvesting should not be evaluated in isolation. A loss may have value in one tax year and less value in another. The strategy can also create future consequences by changing the basis and holding period of a replacement investment. Investors considering this approach should coordinate with their advisor and tax professional, rather than treating a market decline as an automatic opportunity.
What investors should review before selling
A sale decision can be easier to evaluate when the investor works through a consistent checklist:
- Investment purpose: Why is the position being sold? Possible reasons include rebalancing, concentration risk, liquidity, a change in goals, or a revised investment view.
- Account type: Is the investment in a taxable account, a retirement account, or another type of account with different rules?
- Adjusted basis and tax lot: Which lot is being sold, and are the records complete?
- Holding period: Is the gain potentially short term or long term under the applicable rules?
- Other gains and losses: What realized transactions have already occurred or are expected during the year?
- Cash-flow need: Does the sale support a near-term spending need, or is it being made for a different reason?
- Portfolio impact: Will the transaction change diversification, risk, or the role of the investment?
- Coordination: Has the proposed transaction been reviewed with the professionals responsible for the investor’s tax and financial plan?
This framework does not predict a tax result. It helps identify the questions that should be answered before a transaction is placed.
How capital gains tax connects to a broader financial plan
Capital gains decisions often intersect with more than one part of a financial plan. A portfolio may be rebalanced while an investor is also considering retirement income, charitable giving, a business sale, a home purchase, or a transfer of wealth. Looking at the transaction in context can reduce the risk of optimizing one decision while creating a problem elsewhere.
Cash flow and retirement income
Investors drawing from a portfolio may need to sell appreciated assets to fund spending. The analysis can include which account to use, which tax lots to sell, and how the sale fits with the rest of the year’s income. This complements, but does not replace, broader retirement income tax planning.
Charitable and family goals
Some investors consider charitable gifts or transfers as part of a long-term plan. The tax and investment consequences vary based on the asset, recipient, timing, and applicable rules. These decisions require coordination with qualified professionals and should not be based on a general article.
Investment costs and implementation
A tax outcome is only one part of the result of a transaction. Trading costs, fund expenses, bid-ask spreads, market impact, and the opportunity cost of changing an investment can matter too. Great Point’s discussion of the total cost of investment ownership provides useful context for evaluating costs beyond a posted expense ratio.
Capital gains decisions are most useful when they support a clear investment purpose. Connect with Great Point Wealth Advisors to discuss how tax-aware investment decisions may fit within a broader planning process.
Frequently asked questions
Do I owe capital gains tax when an investment goes up in value?
Not necessarily. An increase in value is generally an unrealized gain until a taxable transaction occurs. The rules depend on the investment, account type, and transaction.
Is every sale of an investment taxed as a capital gain?
A sale can produce a gain, a loss, or neither, depending on the sale proceeds and adjusted basis. The character and reporting treatment depend on the asset and the investor’s circumstances.
Is long-term treatment always better than selling sooner?
No single answer applies to every investor. Holding longer may affect tax treatment, but delaying a sale can also leave an investor exposed to concentration, market, or liquidity risk. The investment purpose and tax context should be reviewed together.
Can capital losses offset capital gains?
In some circumstances, realized capital losses can offset realized capital gains. Limits and carryforward rules may apply, and a transaction intended to create a loss can have additional restrictions. Consult a qualified tax professional.
Can Great Point Wealth Advisors provide tax advice?
Great Point can help clients coordinate investment and financial-planning decisions with their broader goals. The firm’s website provides general information, not individualized investment, tax, or legal advice. Specific tax questions should be reviewed with a qualified tax professional.
Important disclosure
This article is for general educational purposes only and is not intended to provide individualized investment, tax, or legal advice, or to recommend the purchase or sale of any security. Tax laws and interpretations may change, and the application of tax rules depends on individual facts. Consult your qualified tax and legal professionals before acting. All investments involve risk, including possible loss of principal. Investment recommendations will not always be profitable, and past performance is not a guarantee of future results. For additional information about Great Point Wealth Advisors, LLC, see the firm’s disclosures.
Sources: Internal Revenue Service, Topic No. 409, Capital Gains and Losses; Internal Revenue Service, Publication 550, Investment Income and Expenses. Accessed September 29, 2026.
