Capital gains tax is the income-tax treatment of recognized gains after basis, holding period, loss netting, exclusions, and applicable rates are determined.
Capital gains tax is the common name for income tax imposed on recognized gains from selling or otherwise disposing of capital assets. In the United States, it is not one universal flat tax on sale proceeds. The result depends on amount realized, adjusted basis, gain recognition, holding period, loss netting, taxable income, asset type, and other federal and state rules.
The sale price alone does not measure the gain, and an increase in market value generally is not taxed merely because the asset appreciated. A taxable event usually requires a sale, exchange, or other disposition that realizes and recognizes the gain.
The basic realized-gain calculation is:
Amount realized generally starts with cash and the fair value of property received, adjusted for applicable selling costs and liabilities under the governing rules. Adjusted basis generally starts with cost or another prescribed basis and changes for items such as purchase costs, improvements, depreciation, distributions, credits, and prior adjustments.
The amount recognized for tax can differ from realized gain:
Recognition provisions are transaction-specific. Examples can include an available principal-residence exclusion, a qualifying installment sale, or a qualifying like-kind exchange of real property. These rules defer or exclude only amounts meeting their requirements; they do not erase the need to calculate basis and realized gain.
Stocks, bonds, a home, and many personal or investment assets are capital assets. Business inventory, accounts receivable, depreciable business property, and certain specialized assets can follow ordinary-income, Section 1231, recapture, or other rules rather than simple capital-gain treatment.
Character determines which netting and rate rules apply:
| Character | General individual treatment | Key test |
|---|---|---|
| Short-term capital gain or loss | Netted in the short-term category; net gain generally taxed at ordinary rates | Asset generally held one year or less |
| Long-term capital gain or loss | Netted in the long-term category; net gain may receive preferential rates | Asset generally held more than one year |
| Ordinary gain or loss | Included under ordinary-income rules | Asset or recapture rule prevents capital treatment |
| Personal-use capital loss | Generally not deductible | Loss arises from personal-use property |
Holding-period exceptions apply to gifts, inherited property, options, commodity positions, and other assets. Confirm the applicable rule rather than counting calendar dates by intuition.
U.S. individual returns generally net gains and losses in stages:
A single profitable sale can therefore produce no net capital gain if other recognized capital losses offset it. Conversely, a loss on one asset may be deferred or disallowed under a wash-sale, related-party, straddle, or other limitation.
For individuals, the IRS generally allows a limited deduction when net capital losses exceed capital gains, with unused loss carried to later years. The dollar limit and filing-status rule should be checked for the applicable tax year. Corporate capital-loss rules differ materially.
For U.S. individuals, most net long-term capital gain is generally subject to 0%, 15%, or 20% federal rate bands based on taxable income and filing status. These are not rates assigned permanently to a taxpayer: part of a gain can fall into one band and the remainder into another because the calculation stacks income under the applicable worksheet.
Net short-term capital gain is generally taxed at graduated ordinary rates. Special maximum rates can apply to:
The net investment income tax (NIIT) may add 3.8% to some investment gain when its separate income and threshold tests are met. State or local tax can add another layer. The federal long-term rate by itself is therefore not a complete after-tax estimate.
Assume an investor sells stock held for more than one year with these amounts:
| Item | Amount |
|---|---|
| Gross sale proceeds | $60,000 |
| Selling commission | ($600) |
| Amount realized | $59,400 |
| Purchase price | $40,000 |
| Acquisition commission included in basis | $400 |
| Adjusted basis | $40,400 |
The realized long-term capital gain is:
Assume the investor also recognizes a $4,000 long-term capital loss and has no other capital items:
If the entire hypothetical net gain falls within a 15% federal long-term capital-gain band, the regular federal tax attributable to the gain is:
This example excludes NIIT, state tax, alternative minimum tax effects, other gains and losses, carryovers, special-rate assets, and transaction-specific adjustments. It also assumes the sale is fully recognized in the current year. The $2,250 is an illustration, not a universal rate or filing result.
Cost basis records what tax law treats as the investment in an asset. Adjusted basis changes that starting amount over time.
For securities, basis records may need to reflect:
For real estate and business property, basis may also reflect capital improvements, depreciation allowed or allowable, casualty adjustments, assessments, credits, and partial dispositions. Missing basis records can overstate or understate both gain and tax.
An unrealized gain is appreciation on an asset still held. A realized gain arises from a disposal or transaction.
Realization does not always mean immediate full recognition. Deferral provisions, installment reporting, exclusions, and retirement-account rules can change timing. Likewise, some deemed-sale, distribution, derivative, constructive-sale, or mark-to-market rules can create taxable consequences without a conventional cash sale.
An eligible taxpayer may exclude some gain on a principal residence, but ownership, use, prior claims, depreciation, and nonqualified-use rules matter. A second home or rental property does not automatically qualify for the same result.
Property gain can include depreciation recapture or unrecaptured Section 1250 gain in addition to remaining capital gain. Applying one long-term rate to the entire profit can understate tax.
A fund can distribute recognized capital gains even when the shareholder did not sell fund shares. Selling the shares is a separate basis-and-gain event.
Transactions inside many retirement accounts generally do not create current capital-gain tax for the account owner, but distributions follow the account’s own tax rules. Preferential gain rates should not be assumed for retirement distributions.
Basis and holding period may derive from the donor, date-of-death value, or other statutory rules. The recipient should not assume basis equals zero or current market value.
Start with broker statements, closing statements, contracts, and Forms 1099-B or 1099-S. Reconcile gross proceeds, selling costs, and adjustments rather than using account deposits.
Identify acquisition method, lot, improvements, depreciation, distributions, and prior tax adjustments. Keep supporting records for assets whose basis is not fully reported by a broker.
Separate capital from ordinary treatment, then classify short-term, long-term, special-rate, and recapture components.
Include recognized gains, losses, carryovers, and limitations. Do not calculate tax sale by sale and add the results without applying netting rules.
Use taxable income, filing status, special-rate categories, NIIT, and state rules for the correct tax year. A marginal ordinary bracket does not identify the long-term capital-gain rate.
15% rate to every long-term gain.IRS Tax Topic 409 explains capital assets, adjusted basis, holding periods, netting, rates, and the individual loss limitation. IRS Publication 550 covers investment gains and losses, while Publication 551 covers basis. Form 8949 and Schedule D instructions provide current reporting details.
This article provides general financial education, not tax, legal, accounting, estate-planning, or investment advice. Actual treatment depends on current law, jurisdiction, taxpayer, asset, basis, holding period, elections, and transaction facts.
0%, 15%, or 20% bands based on taxable income and filing status. Special maximum rates, NIIT, and state taxes can also apply.