Cost basis is the starting tax value of an investment or property, adjusted for events that determine gain, loss, depreciation, or other tax results.
Cost basis is generally the amount paid to acquire an investment or other property, including specified acquisition costs, before later adjustments. Its adjusted basis is used with the amount realized on a sale or other disposition to calculate gain or loss for tax purposes. Basis rules depend on the asset, transaction, jurisdiction, and taxpayer, so a brokerage display is useful evidence but not always the final tax answer.
For a taxable disposition, the simplified relationship is:
The amount realized can differ from gross sale proceeds because selling costs, liabilities assumed by a buyer, cash received, and noncash consideration can matter. The adjusted basis must correspond to the exact property or tax lot disposed of.
This formula calculates a gain or loss amount, not the tax due. Holding period, character, loss limitations, exclusions, tax rates, and jurisdictional rules are separate questions.
| Term | Meaning | Example |
|---|---|---|
| Original cost basis | Starting amount determined when property is acquired | Purchase price plus an eligible acquisition commission |
| Adjusted Tax Basis | Original or substituted basis increased or decreased by later events | Cost increased by a capital improvement or reduced by depreciation |
| Tax-lot basis | Basis assigned to a particular acquisition lot | 50 shares purchased on one date for one total cost |
| Per-share basis | Lot basis allocated over shares in that lot | Total lot basis divided by shares after a split |
| Carrying amount or book value | Financial-reporting amount under an accounting framework | Asset cost less accumulated depreciation and impairment |
| Fair Market Value | Value under a market-participant or tax valuation premise | Date-of-death value used in a qualifying inherited-property calculation |
Tax basis, accounting carrying amount, and fair market value can all differ for the same asset. They should not be substituted for one another without a rule that requires it.
The following U.S. examples illustrate common adjustments. They are not a complete list.
| Event | Typical basis effect | Evidence to retain |
|---|---|---|
| Purchase commission or eligible acquisition fee | Usually increases the acquired lot’s basis | Trade confirmation and broker ledger |
| Reinvested dividend or capital-gain distribution | Creates a new purchase lot with basis equal to the amount reinvested | Distribution and reinvestment records |
| Nontaxable stock split | Reallocates total basis across the post-split shares | Issuer notice and lot history |
| Nondividend distribution or return of capital | Generally reduces basis until basis reaches zero; excess can be reportable gain | Form 1099-DIV and issuer classification |
| Wash sale | Disallowed loss generally increases replacement-property basis and affects holding period | Trades across all relevant accounts and taxpayer records |
| Capital improvement to property | Generally increases basis | Invoices, permits, and payment records |
| Depreciation or amortization | Generally reduces basis, including amounts allowable under applicable rules | Tax returns and fixed-asset schedules |
| Corporate reorganization or spinoff | May require allocating old basis among received interests | Issuer tax notice, including Form 8937 when applicable |
Cash dividends paid from earnings generally do not reduce stock basis merely because they are dividends. If a dividend is reinvested, however, the reinvested amount buys additional shares and creates basis in those shares. The distribution’s tax character under applicable rules, as reported or later corrected by the issuer, matters more than the label shown in a portfolio app.
When identical securities were acquired in several lots, the investor must determine which lot was sold.
Specific identification uses the adjusted basis of the particular shares selected. Under the U.S. rules described in IRS Publication 550, the investor generally specifies the shares to the broker or agent at the time of sale or transfer and receives written confirmation within a reasonable time. Records should preserve the acquisition date, quantity, basis, and confirmation.
Specific identification can change the timing and character of gains and losses, but selecting the highest-basis lot does not automatically minimize lifetime tax. Holding period, wash sales, loss limitations, portfolio exposure, and future plans also matter.
If shares cannot be adequately identified, U.S. federal rules generally treat the earliest acquired shares as sold first. FIFO is therefore more than a convenient spreadsheet assumption when identification fails.
Average basis is not a universal method for every security. IRS Publication 550 permits it for specified mutual fund or other regulated investment company shares and certain dividend-reinvestment-plan shares when the requirements and election rules are met. The election can affect later lots and may have revocation limits.
Last-in, first-out is an inventory accounting convention and may also be a broker interface preference in some contexts, but it is not a general U.S. federal tax-basis method for ordinary sales of stocks and bonds. A taxpayer should not assume that selecting “LIFO” in an interface produces valid specific identification without timely instructions and confirmation.
Assume an investor:
40 each and pays a 5 acquisition commission;100 distribution correctly classified as a nondividend return of capital; and30 each, paying an 8 selling commission.The investor now owns 200 shares. Total basis remains 4,005:
The adjusted basis is 19.525 per share.
The remaining 120 shares retain 2,343 of basis. This example assumes one original lot, a nontaxable split, a valid 100 nondividend distribution, no wash sale, and no other adjustment. It does not calculate tax.
Basis other than cost often needs professional review.
Gifted property does not always have a single carryover basis. Under U.S. federal rules, if fair market value at the gift date is below the donor’s adjusted basis, the recipient can have one basis for determining gain and another for determining loss. A sale price between those amounts can produce neither gain nor loss. Gift tax paid can also affect basis in specified circumstances.
Inherited property generally uses fair market value at the decedent’s death, an elected alternate valuation amount, or another applicable estate-tax value. Exceptions include specified special-use property, conservation-easement adjustments, consistent-basis requirements, and certain appreciated property transferred to the decedent shortly before death. “Inherited assets always receive a step-up” is therefore too broad.
A broker may report basis to the taxpayer and IRS for covered securities. Noncovered Securities can appear without broker-reported basis, and reported basis may omit events outside the account.
Records should include:
Account transfers can lose historical detail. Compare incoming basis and acquisition dates with original records before relying on the new broker display.
This article provides general U.S. federal tax education, not individualized tax, legal, accounting, or investment advice. Rules change and other jurisdictions use different systems; verify current official guidance for an actual transaction.