Educational content only — not investment adviceAdvertiser disclosure
tax tipsfoundation

Cost Basis

Cost basis is the amount used to measure gain or loss when an investment is sold. Purchase cost is often the starting point, but reinvestments, stock splits, return of capital, wash sales, gifts, inheritances and other events can change the basis used for tax reporting.

By ROIStreet EditorialReviewed by ROIStreet PublisherLast reviewed: 2026-08-31Editorial process12 min read✓ Fact-checked

Before you read this

> Definition > > Cost basis is the tax amount assigned to an investment or other property for purposes such as calculating gain or loss when it is sold. For a purchased security, basis often begins with acquisition cost, but the figure can later be adjusted by events such as reinvested distributions, stock splits, return of capital and wash sales. The tax calculation generally uses adjusted basis, not necessarily the original purchase price.

Expanded explanation

The arithmetic of basis is simple:

Amount realized − adjusted basis = gain or loss

The hard part is identifying the correct adjusted basis.

IRS Publication 551 explains basis as the amount of investment in property for tax purposes and notes that basis may need to be increased or decreased after acquisition.[1] IRS Topic 703 makes the same distinction between original basis and adjusted basis.[3]

For a straightforward stock purchase, original basis usually begins with what was paid for the shares plus acquisition costs included under the applicable rules.

That number can change.

This is why "What did the stock cost?" and "What is the tax basis?" are not always the same question.

Cost basis vs. adjusted basis

Cost basis commonly refers to the starting tax basis of purchased property.

Adjusted basis is the basis after required increases or decreases.

Suppose 100 shares are purchased for:

$40 per share = $4,000

Assume $5 of acquisition-related commission is included in basis.

Initial basis:

$4,005

Per-share basis:

$40.05

If nothing changes before the shares are sold, $4,005 remains the relevant basis.

But many ordinary investment events can alter that number.

Basis determines the measured gain or loss

Assume the same position is later sold for net proceeds of:

$5,000

If adjusted basis is $4,005:

$5,000 − $4,005 = $995 gain

Now suppose a prior event reduced adjusted basis to $3,805.

The same sale produces:

$5,000 − $3,805 = $1,195 gain

Nothing about the sale price changed.

The tax result changed because basis changed.

That is why incomplete basis records can create both underreporting and overreporting.

Multiple purchases create multiple tax lots

Buying the same stock on different dates does not necessarily create one blended tax position.

Assume:

  • 100 shares bought at $20
  • 100 shares bought later at $35
  • 100 shares bought later at $50

Ignoring fees, there are three lots with bases of:

  • $2,000
  • $3,500
  • $5,000

If 100 shares are later sold for $60 each, the recognized gain depends on which shares are treated as sold.

Using the $20 lot:

$6,000 − $2,000 = $4,000 gain

Using the $50 lot:

$6,000 − $5,000 = $1,000 gain

Same company.

Same sale price.

Different tax lot.

The lot-selection method can materially change current taxable gain.

Specific identification vs. default methods

Investors may be able to identify the specific shares being sold if the identification is made in the required manner and documented through the broker.

When adequate specific identification is not made, default ordering rules can apply. For many securities, FIFO—first in, first out— is the familiar default concept.

Certain mutual-fund shares and some dividend-reinvestment-plan shares can qualify for an average-basis method when the tax rules are satisfied.[2]

These methods should not be mixed casually.

A brokerage interface may offer choices such as:

  • FIFO
  • specific lot
  • average cost for eligible fund shares
  • broker-created tax-minimization methods

The interface label does not override federal tax rules.

The method actually used and documented controls.

Reinvested dividends do not create zero-basis shares

Dividend reinvestment is a common source of basis errors.

Suppose a stock or fund pays a $100 taxable dividend and the full amount is automatically used to purchase additional shares.

The investor may never receive cash in hand.

That does not mean the new shares have zero basis.

The $100 distribution is generally treated according to its tax character, and the $100 reinvestment generally creates basis in the newly purchased shares.[2]

Over many years, automatic reinvestment can create dozens or hundreds of tax lots.

If those lots are omitted from basis records, a later sale can appear to generate a larger taxable gain than actually occurred.

Stock splits change per-share basis, not total basis

A stock split usually changes the number of shares without changing the total basis allocated to the position.

Assume:

  • 100 shares
  • total basis: $5,000
  • basis per share: $50

A 2-for-1 split creates:

  • 200 shares
  • total basis: still $5,000
  • basis per share: $25

The share count doubled.

The total tax basis did not.

Ignoring other market factors, the quoted share price also adjusts to reflect the split.

Treating the new shares as zero-basis property would materially overstate future gains.

Return of capital can reduce basis

A distribution labeled return of capital can have a very different tax effect from an ordinary dividend.

IRS Publication 550 explains that a nondividend distribution generally reduces the basis of the stock.[2]

Assume:

  • original adjusted basis: $4,000
  • return-of-capital distribution: $500

New adjusted basis:

$3,500

If the stock is later sold for $5,000:

$5,000 − $3,500 = $1,500 gain

Without the basis reduction, the calculated gain would have been only $1,000.

A nondividend distribution can therefore defer tax rather than eliminate it.

Once basis has been reduced to zero, additional nondividend distributions can generally create capital gain under the applicable rules.[2]

Wash sales can increase replacement-share basis

The wash-sale rule can disallow a current loss when substantially identical stock or securities are acquired within the statutory window around a loss sale.

The disallowed loss is generally added to the basis of the replacement shares when the rule applies.[2]

Example:

  • original shares bought for $10,000
  • shares sold for $8,000
  • apparent loss: $2,000
  • replacement shares acquired within the wash-sale period for $8,500
  • full $2,000 loss disallowed under the assumed facts

Replacement-share basis becomes:

$8,500 + $2,000 = $10,500

The loss is not simply erased.

It is generally deferred into the replacement position through basis.

ROIStreet covers the rule itself in GLS-014 — Wash-Sale Rule.

Broker-reported basis is useful, not infallible

Brokers report basis for many securities on Form 1099-B when federal covered-security rules require it.

That is a major improvement over older recordkeeping systems.

It does not mean every basis figure is automatically correct.

Problems can arise when:

  • securities are transferred from another broker
  • old noncovered shares lack historical records
  • wash sales occur across multiple accounts
  • inherited or gifted shares are deposited without complete documentation
  • corporate actions are processed incorrectly
  • reinvested distributions are missing
  • acquisition history predates the broker's reporting obligation

IRS Form 8949 instructions provide mechanisms for reporting adjustments when broker information differs from the taxpayer's required treatment.[4]

The taxpayer remains responsible for the return.

Covered vs. noncovered securities

Covered securities are securities for which a broker generally has federal basis-reporting obligations when the applicable requirements are met.

Noncovered securities may still have a perfectly valid tax basis.

The difference is reporting responsibility, not whether basis exists.

A 1099-B can therefore show:

  • basis reported to the IRS
  • basis not reported to the IRS
  • basis unavailable

"Not reported" does not mean zero.

It means the basis may need to be established from records.

Assuming zero because the broker lacks a number can create an unnecessarily large reported gain.

Gifted property has special basis rules

Gifted property is one of the clearest examples of why basis is not always fair market value.

IRS Publication 551 explains that gifted property can involve a carryover basis from the donor, but special rules apply when fair market value at the time of the gift is below the donor's adjusted basis.[1]

That can create a dual-basis problem:

  • one basis may apply for determining gain
  • another may apply for determining loss

A simple "use the donor's cost" rule is therefore incomplete.

Gift records can matter years after the transfer.

Useful documentation can include:

  • donor's adjusted basis
  • date of gift
  • fair market value on gift date
  • gift-tax information when relevant

Without those records, later gain or loss calculations can become difficult.

Inherited property usually follows a different starting rule

Inherited property generally does not use the same basis framework as a lifetime gift.

Under federal rules, inherited property commonly receives a basis tied to fair market value at the decedent's date of death or another permitted valuation date, subject to exceptions and estate-specific rules.[1]

That is often called a step-up in basis, although basis can also move downward when value at death is below the decedent's basis.

The important distinction is:

gift basis and inherited basis are not the same rule.

The transfer method can materially change future taxable gain.

Basis is not market value

Basis answers a tax-measurement question.

Market value answers a pricing question.

Suppose stock has:

  • adjusted basis: $25,000
  • current market value: $70,000

The embedded unrealized appreciation is:

$45,000

The basis does not rise to $70,000 merely because the market value rose.

Likewise, if market value falls to $20,000, the basis does not automatically fall to $20,000.

Basis changes only when tax rules or qualifying events require an adjustment.

Basis is not economic break-even

A second distinction matters in real portfolios.

Tax basis may not equal the amount required for the investor to be economically whole.

Suppose an investor:

  • pays $10,000 for shares
  • pays advisory fees elsewhere in the account
  • incurs taxes on dividends over several years
  • receives return-of-capital distributions that reduce basis

The tax basis of the shares follows the tax rules.

The investor's economic break-even point can reflect additional costs or cash flows that are not embedded in that security's basis.

This is why basis should not be used as a substitute for performance accounting.

Tax-advantaged accounts use basis differently

A taxable brokerage account usually tracks basis security by security because individual sales can create capital gains and losses.

Traditional IRAs and 401(k)s generally do not impose current capital-gains tax on each internal security sale. The account's distribution rules govern federal taxation instead.

Basis can still matter in retirement accounts, but often at the account or contribution layer rather than as ordinary taxable-brokerage lot basis.

Examples include:

  • nondeductible traditional IRA contributions tracked on Form 8606
  • after-tax employee contributions in qualified plans
  • Roth IRA contribution and conversion records
  • employer-stock plan basis relevant to NUA

Calling all of these "cost basis" without identifying the context can create confusion.

Worked example: one holding, four basis adjustments

Assume an investor buys 100 shares at $50:

Initial basis = $5,000

Step 1: reinvested dividend

A $200 taxable dividend buys four additional shares at $50.

New total shares:

104

New total basis:

$5,200

Step 2: 2-for-1 stock split

Shares become:

208

Total basis remains:

$5,200

Average basis per share for illustration:

$25

The tax-lot history still matters; this simple division is only showing the split effect.

Step 3: $300 return of capital

Adjusted total basis becomes:

$4,900

Step 4: sale

Assume all shares are later sold for total net proceeds of:

$7,500

Ignoring any other adjustments:

$7,500 − $4,900 = $2,600 gain

Using only the original $5,000 purchase cost would produce the wrong answer.

The reinvestment increased basis.

The split reallocated basis.

The return of capital decreased basis.

That is what adjusted basis means in practice.

Common misconceptions

"Cost basis is always what was originally paid."

Original cost is often only the starting point. Later tax events can increase or decrease basis.

"Reinvested dividends are free shares."

No. Reinvestment generally creates basis in the newly acquired shares.

"A stock split doubles the investment's basis."

No. A split generally reallocates existing total basis across the new share count.

"Return of capital is always tax-free."

It can reduce basis first. After basis reaches zero, additional nondividend distributions can generally create gain under the applicable rules.[2]

"Every share of the same stock has the same basis."

Not when shares were acquired in different lots or were affected differently by adjustments.

"The broker's basis must be right."

Broker reporting is useful evidence, but taxpayers can still need corrections or additional records.

"Gifted and inherited securities use the same basis."

They do not. Federal rules treat gifts and inheritances differently.[1]

Professional note

The best basis records are created before a sale makes them necessary.

For taxable securities, useful records can include:

  • trade confirmations
  • reinvestment history
  • transfer statements
  • corporate-action notices
  • return-of-capital notices
  • wash-sale adjustments
  • gift documentation
  • estate valuation records
  • Forms 1099-B
  • Forms 8949 and prior tax returns

Tax-lot selection should also be analyzed as part of the portfolio decision rather than as a reflex to minimize the current year's gain.

Selling the highest-basis lot can reduce current tax.

But a lower-basis lot may be the better security to sell because of:

  • concentration risk
  • holding period
  • charitable-giving plans
  • expected future tax rates
  • loss carryforwards
  • estate planning
  • portfolio rebalancing

Basis tells how a sale will be measured for tax.

It does not tell which investment should be owned.

Related terms

  • Capital Gain — GLS-025: adjusted basis is the measurement point used to calculate gain or loss.
  • Wash-Sale Rule — GLS-014: can defer a loss by adjusting replacement-share basis.
  • Dividend — GLS-023: reinvested dividends can create new tax lots and basis.
  • Return — GLS-005: tax basis and investment performance measure different things.

Related ROIStreet guides

  • INV-012 — What Is a Stock?
  • INV-014 — What Is an ETF?
  • INV-015 — What Is a Mutual Fund?
  • INV-036 — What Is a Roth IRA?
  • INV-061 — What Is Net Unrealized Appreciation (NUA)?

Sources & References

1. Internal Revenue Service, Publication 551 — Basis of Assets https://www.irs.gov/publications/p551

2. Internal Revenue Service, Publication 550 (2025), Investment Income and Expenses https://www.irs.gov/publications/p550

3. Internal Revenue Service, Topic No. 703, Basis of Assets https://www.irs.gov/taxtopics/tc703

4. Internal Revenue Service, Instructions for Form 8949 https://www.irs.gov/instructions/i8949

5. U.S. Securities and Exchange Commission — Investor.gov, Cost Basis https://www.investor.gov/introduction-investing/investing-basics/glossary/cost-basis

Educational Disclaimer

ROIStreet publishes educational content intended to help readers understand investing and investment taxation. Nothing in this glossary entry is personalized investment, legal, tax or financial advice. Basis rules can vary by asset, transaction history, ownership method, account type and taxpayer circumstances, and current tax rules should be verified before filing or acting.

The ROIStreet Reader Promise

We strive to explain before we evaluate, present evidence before opinions, discuss risks alongside potential benefits, distinguish facts from analysis, and correct material errors transparently.

Our purpose is to help readers better understand investing—not to tell them what to do.

Definitions used in this guide

Return
Investment return is the gain or loss produced by an investment over a period, including changes in value and applicable income such as interest, dividends or distributions.
Wash sale rule
A US tax rule that disallows a loss deduction if you buy a substantially identical security within 30 days before or after the sale.
Dividend
A dividend is a distribution a corporation makes to shareholders, usually in cash but sometimes in stock or other property. Common-stock dividends are generally discretionary and can be reduced or eliminated.
Capital Gain
A capital gain generally occurs when a capital asset is sold or otherwise disposed of for more than its adjusted basis. The holding period determines whether the gain is usually classified as short-term or long-term.
Capital Loss
A capital loss generally occurs when a capital asset is sold or otherwise disposed of for less than its adjusted basis. Capital losses first offset capital gains under federal netting rules, while excess net losses for individuals are subject to an annual deduction limit and carryover rules.
Tax-Loss Harvesting
Tax-loss harvesting is the deliberate sale of an investment at a loss to create a realized capital loss that can offset taxable capital gains and, subject to federal limits, other income. The strategy can improve tax timing, but wash-sale rules, trading costs, replacement exposure and future taxes can reduce its value.
Tax Lot
A tax lot is a group of investment units acquired in the same transaction or under the same basis conditions. Different lots of the same security can have different acquisition dates, adjusted bases and unrealized gains or losses, which can materially affect the tax result when part of a position is sold.
Holding Period
A holding period is the length of time an investor is treated as owning property for tax purposes. For most capital assets, one year or less generally produces short-term character while more than one year generally produces long-term character, subject to special rules.

We may earn a commission if you open an account through links on this page. Our editorial analysis is independent and is never influenced by commercial partnerships. Full disclosure.