Capital Gains Tax Explained
Understand how capital gains and losses generally work in the United States, including cost basis, holding periods, taxable accounts and recordkeeping.
What Is a Capital Gain?
A capital gain generally occurs when a capital asset is sold or otherwise disposed of for more than its adjusted tax basis. For an investment, the basis often starts with what the investor paid, but commissions, reinvested distributions, corporate actions and other events can affect the calculation.
The amount received from a sale is not automatically the taxable gain. In a simplified example, if an investor buys an asset for $1,000 and later sells it for $1,200, the difference is $200 before considering fees, basis adjustments or other tax rules. The investor generally does not pay capital gains tax on the entire $1,200 proceeds merely because that is the sale price.
Tax treatment depends on the asset, account type, holding period, taxpayer circumstances and current law. This overview focuses on general U.S. federal concepts and does not calculate an individual's tax bill.
Realized and Unrealized Gains
An unrealized gain is an increase in an asset's market value while the owner still holds it. A realized gain generally occurs when a taxable disposition takes place, such as selling an investment for more than its adjusted basis.
If an investment rises in value but is not sold, that increase is generally not treated the same as a realized gain for federal income tax purposes in a regular taxable brokerage account. Other events can still have tax consequences, and rules differ across assets and account types.
A decline can also be unrealized while the investor continues to hold the asset. Selling below adjusted basis may create a realized loss, but whether and how the loss can be used depends on tax rules, including limitations on capital losses and transactions that defer recognition.
Short-Term and Long-Term Gains
For many capital assets, the holding period helps determine whether a gain is short-term or long-term. In general, an asset held for one year or less before sale is treated as short-term, while an asset held for more than one year may qualify as long-term. The exact start and end dates matter, and special rules can apply.
Short-term gains are generally taxed at ordinary income rates under federal rules. Long-term gains may be eligible for preferential federal rates, subject to income, filing status, the type of gain and other provisions. This article does not state current rate brackets because they can change and depend on the taxpayer's full situation.
The distinction is not a reason by itself to hold an investment. Market risk continues while an asset is held, and a tax outcome should be considered alongside investment goals, liquidity needs, concentration and the possibility of loss.
Adjusted Cost Basis
Cost basis is the tax value used to measure gain or loss. For a simple purchase, it often begins with the purchase price plus certain acquisition costs. Over time, distributions, reinvestments, splits, reorganizations, gifts, inheritance and other events can change basis or the way it is calculated.
When dividends are automatically reinvested in a taxable account, the reinvested amount can create a new tax lot with its own basis and acquisition date. If those records are missing, an investor may accidentally report an incorrect gain or pay tax twice on amounts already included in income.
Brokerage firms may report basis information for covered securities, but the investor remains responsible for reviewing tax reporting. Assets transferred between institutions, older holdings, digital assets and special transactions may require additional records. Keep confirmations and statements that document purchases, sales and adjustments.
Capital Gains in Taxable and Retirement Accounts
In a taxable brokerage account, selling an investment at a gain can create a reportable event under applicable tax rules. Dividends and interest may also be taxable in the year received, even when reinvested. Different income categories can receive different treatment, so capital gains should not be confused with dividend income.
Tax-advantaged accounts such as traditional and Roth IRAs generally have different tax mechanics. Buying and selling investments inside an IRA does not usually create the same current capital gains reporting as a sale in a taxable brokerage account. Instead, contribution and distribution rules govern tax treatment, and withdrawals may be taxable or subject to restrictions.
Account type does not eliminate investment risk. A retirement account can lose value, and distributions can have tax consequences. Compare account rules, fees and investment choices rather than assuming that the phrase 'tax-advantaged' means all activity is tax-free.
Capital Losses and Tax-Loss Rules
A capital loss generally occurs when an asset is disposed of for less than its adjusted basis. Under U.S. rules, capital losses may offset capital gains, and a net loss may be deductible against other income only within applicable limits and conditions. Unused losses may be carried forward under current rules, but individual situations should be checked against current tax guidance.
The wash-sale rule can disallow a current loss deduction when substantially identical securities are acquired within a specified period around a loss sale. The rule is technical and depends on the transaction and asset. Investors should not assume that selling and quickly rebuying the same security will produce an immediately deductible loss.
Tax-loss harvesting describes selling investments at a loss as part of tax management. It can have trade-offs: a sale changes portfolio exposure, replacement investments may behave differently, transaction costs can apply and tax laws can change. A tax objective should not obscure investment risk or the need to maintain an appropriate allocation.
Other Taxes and Special Situations
Some taxpayers may owe an additional federal tax on net investment income depending on income and other criteria. State and local tax treatment can also differ from federal rules. A federal capital gain calculation is therefore not necessarily the complete tax picture.
Real estate, collectibles, employee equity compensation, inherited assets, gifts, mutual fund distributions and business property can involve special basis or rate rules. The tax result may depend on how the asset was acquired, how long it was held and the details of a sale or transfer.
Digital assets can raise additional recordkeeping and classification questions. Tax rules and reporting requirements continue to develop, and activity such as trades, payments, staking or transfers may require separate analysis. Keep detailed records and use current IRS guidance for the transaction type and tax year.
Capital Gains and Dividends Are Different
A capital gain generally relates to the increase in value realized when an asset is disposed of. A dividend is a distribution from a corporation or fund to shareholders. They are different types of investment income, although both can affect a taxpayer's return.
Some dividends may be qualified for preferential tax treatment if statutory requirements are met, while other dividends are generally taxed as ordinary income. Reinvesting a dividend does not necessarily make it nontaxable in a taxable account. The tax character is reported by the payer and depends on applicable rules.
Understanding the distinction can improve recordkeeping and prevent confusion when reviewing account statements or tax forms. It also helps explain why an investment can generate taxable income without being sold, while an unrealized price increase may not yet be a realized capital gain.
Practical Recordkeeping Checklist
Keep purchase and sale confirmations, account statements, tax forms, records of reinvested dividends, transfer documentation and details of corporate actions. For each disposition, confirm the asset description, number of units, proceeds, adjusted basis and acquisition date when available.
If assets move between institutions, verify that basis information transferred correctly. If a statement marks basis as unknown or incomplete, do not assume the reported gain is final. Research the records or obtain qualified tax assistance before filing.
Tax software can help organize routine transactions, but unusual events may need professional review. Keep records according to current retention guidance and protect account information when storing documents digitally.
Common Capital Gains Tax Misunderstandings
A common misunderstanding is that tax applies to all sale proceeds. In a typical taxable investment sale, the gain or loss is generally measured using proceeds and adjusted basis, not by treating the entire sale amount as profit.
Another is assuming that every gain has the same tax rate. Holding period, income, filing status, asset type, state rules and special provisions can change the outcome. Published examples cannot replace a calculation based on current rules and an individual's records.
Investors may also assume that unrealized gains, reinvested dividends or retirement-account trades all receive identical treatment. They do not. The account structure and type of income matter, and a reinvestment may still be reportable income in a taxable account.
Finally, taxes should not be the only reason to buy, sell or hold an investment. A tax result is one factor among risk, diversification, liquidity and the purpose of the portfolio.
Frequently Asked Questions
Do I owe capital gains tax when an investment rises in value? An unrealized increase generally differs from a realized gain. A taxable disposition or another reportable event may trigger tax under applicable rules.
Are long-term gains always taxed at a lower rate? Long-term gains may qualify for preferential federal rates, but eligibility and the actual result depend on income, asset type, filing circumstances and current law.
Are dividends capital gains? No. Dividends and capital gains are different income categories, although both can be relevant to an investment tax return.
Can capital losses reduce taxes? Losses may offset gains and can have other tax treatment subject to current limits and rules. Wash-sale and other provisions can affect recognition.
Are investments inside an IRA subject to capital gains tax each time they are sold? IRA transactions generally do not have the same current reporting as taxable brokerage sales, but IRA contribution and distribution rules still apply.
Do I need to report a loss if I did not receive a tax form? Reporting obligations depend on the transaction and current law. Keep records and consult IRS instructions or a qualified tax professional rather than relying only on whether a form arrived.
Continue Learning
Continue with Cripvelta's guides to brokerage accounts, dividends, long-term investing, risk and return, and traditional versus Roth IRAs. Together, these topics explain how account structure, investment income and holding periods can affect an investing plan.
This article provides general U.S. tax education, not tax, legal or investment advice. Rules can change, and state treatment may differ. Verify current IRS guidance for the relevant tax year and seek qualified assistance for individual tax questions.