Sitonce
Country: US
Show exams for United States Hong Kong
Sign in

Capital Gains and Cost Basis

Updated 10 min read
Key takeaway

Cost basis generally measures an investor’s tax investment in property.

  • Adjusted basis is compared with net proceeds when an asset is disposed of to calculate gain or loss.
  • Purchase lots, reinvested distributions, return of capital, corporate actions, and holding periods can affect the result.
  • Keep records and check current tax rules for specific transactions.
On this page13 sections
  1. What cost basis measures
  2. Calculate gain or loss
  3. Multiple purchase lots complicate basis
  4. Holding period affects tax character
  5. Adjustments can change basis
  6. Worked example: reinvested fund distributions
  7. Transfers, gifts, and inherited property need special care
  8. Tax statements are useful but not infallible
  9. Wash sales and other limitations
  10. Use tax information without letting it drive the portfolio
  11. Basis is not a measure of investment quality
  12. Recordkeeping checklist
  13. Apply the concept step by step

What cost basis measures

Cost basis is the amount generally used to measure an investor’s tax investment in property. For purchased stock, basis typically begins with the purchase price and may include acquisition costs. Adjusted basis reflects applicable increases or decreases over time. When an investor disposes of an asset, proceeds are compared with adjusted basis to calculate gain or loss, subject to tax rules and reporting requirements.

Basis is not necessarily the price shown on an old confirmation. Reinvested distributions can add new shares and basis; return-of-capital distributions can reduce basis; stock splits change per-share basis without changing total investment; commissions and corporate actions may affect calculations. Maintain transaction records and review the broker’s tax statements for errors or missing information.

Calculate gain or loss

Suppose an investor buys 100 shares at $20 per share and pays a $10 purchase commission. The total initial basis is $2,010, or $20.10 per share. Later the investor sells all shares for $25 each and pays $15 to sell. Net proceeds are $2,485. The gain is $475: $2,485 minus $2,010. This simplified example assumes no other adjustments or special rules.

A sale below basis creates a loss for the calculation, though the tax result may depend on holding period, other transactions, limitations, and the taxpayer’s circumstances. For example, if net proceeds were $1,900 against $2,010 basis, the loss would be $110. A loss can still matter economically even when it is not currently deductible or is subject to limitations.

The investor should distinguish gross sale price, commissions, net proceeds, and adjusted basis. Comparing only the sale price with the original quote may overstate or understate the result. For partial sales, basis must be allocated to the specific shares treated as sold under the chosen and permitted identification method.

Multiple purchase lots complicate basis

Investors often accumulate shares over time at different prices. Each purchase creates a lot with its own date, quantity, and basis. Suppose 50 shares are bought at $18 and another 50 at $24. Total basis is $2,100 and average cost per share is $21, but selling 50 shares may use a specific lot or a default method depending on the account, custodian, and elections. The tax consequences can differ.

The IRS describes specific share identification and first-in, first-out methods for stock in relevant circumstances, and average basis may be available for certain mutual fund shares and other qualifying situations. Methods have requirements and cannot be freely switched after every sale. The investor should confirm the method applicable to the asset and account, specify shares to the broker when required, and retain confirmation.

Suppose the investor can identify the 50 shares bought at $18 and sells them at $25, the gain before selling costs is $350. If instead the shares from the $24 lot are sold, the gain is $50. The total account value and total basis have not changed, but the selected lot affects the gain recognized on this transaction. That makes recordkeeping and lot instructions important.

Holding period affects tax character

For many investments, the holding period helps determine whether gain or loss is short-term or long-term. The IRS generally treats property held one year or less as short-term and property held more than one year as long-term, subject to specific rules and exceptions. Count dates carefully; the acquisition date, disposition date, inherited property, gifts, and certain transactions can affect the calculation.

Tax character is separate from economic return. Two investors can sell the same security at the same price and have different tax outcomes because their basis and holding periods differ. A client’s decision to sell should consider portfolio suitability and liquidity first, then the tax consequences; delaying a needed sale solely to reach a holding-period threshold may expose the investor to additional market risk.

Adjustments can change basis

Basis can change after the original purchase. A return-of-capital distribution generally reduces basis, while reinvested dividends or capital-gain distributions can create additional shares with new basis. A stock split changes the per-share amount but ordinarily does not change the total basis of the position. Corporate reorganizations, mergers, gifts, inherited assets, and other events can involve specialized allocation rules.

Consider a mutual fund investor with 100 shares and total basis of $2,000 who receives a $100 distribution reported as return of capital. If the distribution is applied to basis under the applicable rules, the adjusted basis becomes $1,900. The investor must avoid counting the distribution twice as both current income and unchanged basis. Actual tax treatment depends on the reporting and facts.

For a stock split, an investor holding 100 shares with $2,000 total basis after a two-for-one split would hold 200 shares with the same aggregate basis, or $10 per share. Selling 100 shares at $15 would involve $1,000 of basis for those shares and $1,500 proceeds before costs, producing a $500 gain. The split changes the unit count, not the total economic investment.

Worked example: reinvested fund distributions

An investor buys 100 fund shares for $10 each, creating $1,000 basis. The fund later distributes $1 per share, and the investor reinvests the $100 distribution at $12 per share, buying about 8.333 additional shares. The investor now has about 108.333 shares and total basis of $1,100, assuming the distribution is taxable and the reinvestment occurs at fair market value under the stated simplified example.

If all shares are later sold at $13, gross proceeds are about $1,408.33 and gain is about $308.33 before selling costs. If the investor forgot to include the reinvested distribution in basis, the reported gain could be overstated by $100. If the distribution is mischaracterized or basis is reported incorrectly, consult the applicable tax documents and current IRS guidance rather than guessing.

Transfers, gifts, and inherited property need special care

A security received as a gift or inheritance may not have the same basis as a security purchased directly. The applicable basis can depend on how the property was transferred, its value at relevant dates, and special rules. A brokerage account may show a transferred value that is incomplete or may omit earlier adjustments. Preserve the donor’s records, estate documents, and transfer statements when relevant, and verify the tax treatment before calculating a gain.

When securities move between brokers, the receiving firm’s displayed basis may be blank or incorrect. The investor remains responsible for maintaining accurate records, even if a broker reports some covered transactions to the IRS. Compare the transfer statement with original confirmations and tax records. A missing basis should be researched rather than treated as zero or replaced with the current price.

A fund’s average-basis method can simplify many identical share lots, but it may not be available for every asset or transaction, and method elections have rules. The investor should learn whether the method has been chosen, when it applies, and how new shares from reinvestment are included. Once shares have been sold using a method, changing it later may be restricted. Keep enough documentation to explain the calculation years afterward.

Tax statements are useful but not infallible

A Form 1099-B may report proceeds and basis for covered securities, but certain basis adjustments or events may require investor review. Uncovered securities, transfers, wash sales across accounts, and complex transactions can be harder to reconcile. A Form 1099-DIV may report distributions, but reinvestment does not remove the need to track the purchase of additional shares. Match tax forms to the account’s confirmations and distribution history.

If a reported figure appears inconsistent, contact the broker for a corrected form or explanation and retain the correspondence. Do not submit a number solely because software imported it automatically. The right adjustment depends on the transaction and current reporting rules. Tax software can help organize information but cannot determine facts absent from the records or replace professional advice for unusual situations.

Wash sales and other limitations

A transaction that appears to create a loss may be subject to rules that defer or adjust the tax result when substantially identical securities are acquired around the sale. Wash-sale rules can involve purchases by the taxpayer, spouse, accounts, or retirement arrangements, depending on facts. The loss may be added to the basis of replacement shares or treated differently under applicable rules. A broker statement may not capture every related account.

Other limitations can apply to capital losses, options, short sales, partnerships, and complex transactions. A realized loss is not automatically a currently deductible loss, and a gain may not be taxed at the rate the investor expects. This article provides a framework for understanding basis; the taxpayer’s reporting should follow current IRS instructions and professional advice where needed.

Use tax information without letting it drive the portfolio

Tax-aware investing considers basis and holding period when choosing which assets to sell, but it should remain connected to the client’s objectives and risk. Holding a concentrated stock solely because its basis is low can leave the client exposed to a large decline. Selling a position to rebalance can realize gain but may reduce portfolio risk. Compare the after-tax cost with the risk of doing nothing.

A client may choose a specific lot with higher basis to reduce current gain, if permitted and properly documented. That does not automatically minimize lifetime taxes; future sales, charitable gifts, inheritance, and state or federal rules can change the result. The adviser should avoid promising a tax outcome and should coordinate with a qualified tax professional when the decision is material.

Basis is not a measure of investment quality

An investor may feel reluctant to sell a holding with a low basis because a sale can create a taxable gain. But basis is a historical tax measure; it does not tell whether the current price is attractive or whether the holding is suitable. A portfolio with an oversized position can remain exposed to a large loss while the investor waits for a more convenient tax outcome. Compare the expected tax cost with the risk and the client’s need for liquidity.

Conversely, a security with a loss relative to basis is not automatically a good tax-loss harvesting candidate. The investor should consider whether the position still fits the portfolio, whether replacement investments create similar exposure, and whether wash-sale or other rules apply. The aim is a sound investment decision with accurate reporting, not trading solely to generate a tax entry.

Recordkeeping checklist

For each position, preserve purchase date, quantity, price, commissions, reinvested distributions, corporate actions, transfer records, and lot-selection confirmations. When assets move between custodians, verify that basis information transferred accurately. For inherited or gifted securities, record the relevant valuation and acquisition history. Review Form 1099-B, 1099-DIV, and other statements against account records, and request corrections when necessary.

For tax reporting, Form 8949 and Schedule D may be used for capital asset dispositions, depending on the transaction and reporting requirements. IRS instructions explain how to report proceeds, basis, adjustments, and holding period. Do not rely on an online account screen as the sole historical record; retain documents that support basis and the method used.

Apply the concept step by step

For a disposition, identify the asset and exact shares sold. Determine gross proceeds and selling costs. Establish basis for those shares, including valid adjustments. Calculate gain or loss and holding period. Then check whether special rules or limitations apply and how the transaction is reported. If records are incomplete, contact the broker and reconstruct the basis from confirmations and distribution statements rather than inventing a number.

Cost basis connects investment performance with tax measurement, but it is not the same as current market value or suitability. A low basis can create a large taxable gain, while a high basis does not make an investment attractive. Understanding the records helps the investor make informed decisions and avoid double counting income or overlooking adjustments.

Common questions

Does selling price minus original purchase price always equal taxable gain?

Not always. Basis may be adjusted, costs can affect proceeds, and special tax rules or limitations may apply. Identify the shares and records involved.

Why can selling different share lots change a gain?

Each lot can have a different purchase date and basis. Specific identification, FIFO, or an available average-basis method may produce different results.

Does reinvesting a dividend avoid tax or increase basis?

Reinvestment does not necessarily avoid current tax. It generally creates new shares with their own basis, subject to the distribution’s tax character and applicable rules.