Capital Gains Tax

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.

Key Takeaways

  • Capital gain is generally amount realized minus adjusted basis, not gross sale proceeds.
  • Selling costs and basis adjustments can materially change the reported gain.
  • Short-term and long-term gains are separated before netting because their rate treatment differs.
  • Net short-term gain is generally taxed at ordinary federal income-tax rates for individuals.
  • Most individual net long-term capital gain can receive preferential federal rates, but special asset categories and additional taxes can apply.
  • Capital losses can offset gains, but loss deductions, carryovers, wash sales, and personal-use property follow specific rules.
  • A calculated gain is not necessarily the same as gain recognized in the current year.

From Sale Price to Taxable Gain

The basic realized-gain calculation is:

$$ \text{Realized Gain or Loss} = \text{Amount Realized} - \text{Adjusted Basis} $$

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:

$$ \text{Recognized Gain} = \text{Realized Gain} - \text{Gain Deferred or Excluded Under Applicable Rules} $$

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.

Capital Asset and Character

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:

CharacterGeneral individual treatmentKey test
Short-term capital gain or lossNetted in the short-term category; net gain generally taxed at ordinary ratesAsset generally held one year or less
Long-term capital gain or lossNetted in the long-term category; net gain may receive preferential ratesAsset generally held more than one year
Ordinary gain or lossIncluded under ordinary-income rulesAsset or recapture rule prevents capital treatment
Personal-use capital lossGenerally not deductibleLoss 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.

How Capital Gains Are Netted

U.S. individual returns generally net gains and losses in stages:

  1. Combine short-term gains with short-term losses, including applicable carryovers.
  2. Combine long-term gains with long-term losses, including applicable carryovers.
  3. Net the resulting short-term and long-term amounts against each other when they have opposite signs.
  4. Apply the appropriate rate worksheet, loss limitation, and carryover rules to the final result.

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.

Federal Capital-Gain Rates

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:

  • collectibles gain and certain qualified small business stock gain
  • unrecaptured Section 1250 gain associated with depreciable real property
  • other asset-specific or recapture amounts

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.

Worked Example

Assume an investor sells stock held for more than one year with these amounts:

ItemAmount
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:

$$ \$59{,}400 - \$40{,}400 = \$19{,}000 $$

Assume the investor also recognizes a $4,000 long-term capital loss and has no other capital items:

$$ \$19{,}000 - \$4{,}000 = \$15{,}000\text{ net long-term capital gain} $$

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:

$$ \$15{,}000 \times 15\% = \$2{,}250 $$

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.

Basis Is the Control Point

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:

  • acquisition commissions and fees
  • reinvested dividends and capital-gain distributions
  • stock splits, mergers, spin-offs, and return-of-capital distributions
  • wash-sale adjustments
  • gifts, inheritances, and transfers between accounts
  • lot-selection method and broker basis reporting

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.

Realized vs. Unrealized Gain

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.

Common Situations Requiring Extra Analysis

Home 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.

Depreciable real estate

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.

Mutual funds and ETFs

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.

Tax-advantaged accounts

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.

Gifts and inheritances

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.

How to Estimate Capital-Gain Tax

Reconcile transaction records

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.

Establish adjusted basis

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.

Determine character and holding period

Separate capital from ordinary treatment, then classify short-term, long-term, special-rate, and recapture components.

Net the complete year’s transactions

Include recognized gains, losses, carryovers, and limitations. Do not calculate tax sale by sale and add the results without applying netting rules.

Apply current rate worksheets and surtaxes

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.

Common Mistakes

  • Applying a tax rate to gross sale proceeds.
  • Using purchase price instead of adjusted basis.
  • Ignoring commissions, improvements, depreciation, and basis adjustments.
  • Treating all gains as long-term because the investment was held across two calendar years.
  • Applying a single 15% rate to every long-term gain.
  • Deducting personal-use losses.
  • Ignoring wash-sale and related-party limitations.
  • Forgetting capital-loss carryovers.
  • Omitting NIIT, state tax, recapture, or special-rate categories.
  • Treating an unrealized gain as currently taxable without identifying a rule that creates recognition.

Authoritative Sources and Use Boundary

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.

  • Capital Gain: The excess of amount realized over adjusted basis when the result has capital character.
  • Capital Loss: A capital disposition loss subject to netting, deductibility, and carryover rules.
  • Net Capital Gain: The net long-term amount used in the preferential-rate calculation after prescribed netting.
  • Long-Term Capital Gains: Gains generally associated with assets held more than one year.
  • Tax Liability: The total tax obligation after all relevant income, gain, credits, and additional taxes are calculated.

FAQs

Is capital gains tax charged on the entire sale price?

No. Tax generally starts from recognized gain, which depends on amount realized, adjusted basis, exclusions, deferrals, and loss netting. Gross proceeds are not the tax base.

Are all long-term capital gains taxed at 15%?

No. Most individual net long-term gain uses 0%, 15%, or 20% bands based on taxable income and filing status. Special maximum rates, NIIT, and state taxes can also apply.

Can capital losses reduce ordinary income?

For U.S. individuals, capital losses first offset capital gains. A limited remaining net loss may reduce other income, with unused amounts generally carried forward. Current dollar limits and corporate rules should be checked separately.

Is unrealized appreciation subject to capital gains tax?

Usually not merely because market value increased, but deemed-sale, mark-to-market, constructive-sale, distribution, and other specialized rules can create recognition without a conventional cash sale.
Browse Taxation