What it means
Shares of the same company can look interchangeable in an account while carrying different tax histories, so buying fifty shares in January and fifty in July creates two acquisition lots. Selling fifty later raises the question of which lot's basis and holding period apply.
Specific identification answers that question through an actual selection, not an assumed ordering rule, and it differs from first-in, first-out, which generally assigns a sale to the earliest acquired shares when that rule applies. The United States provides a concrete procedural example: IRS Publication 550 for 2025 says that, when a broker holds the stock, adequate identification involves telling the broker the particular stock to sell or transfer at the time and receiving written confirmation within a reasonable time.
A spreadsheet is not that confirmation, and other holding arrangements have different identification rules, so the US broker example is not universal. Check the account method before selling.
A tax lot's basis is not necessarily its original quoted share price, because acquisition costs and later adjustments can matter, and splits, reinvestment and other corporate events require records so the selected lot's basis and share count remain consistent. The sale proceeds and basis determine gain or loss before applying the relevant tax treatment.
Selecting a higher-basis lot can reduce the gain on that particular sale, but that does not automatically make it the best choice because holding periods, loss restrictions and future sales also matter. Holding period is a separate variable, since a recently purchased higher-cost lot may have a different tax classification from an older lower-cost lot.
Compare the applicable treatment rather than assuming the lowest reported gain always produces the lowest tax. An investor might deliberately realise a gain or loss for a planning purpose, but specific identification gives control over which eligible lot is sold, not a promise that every selected loss can be deducted immediately, and restrictions such as applicable wash-sale rules need independent checking.
Average-basis methods are another separate question, as their availability and effect depend on the instrument, jurisdiction and elections. A method available for some fund shares should not be casually applied to ordinary company shares or switched after seeing the desired result.
Records connect the choice with the transaction, so retain acquisition dates, quantities, adjusted basis, sale instructions and broker confirmation, and reconcile the selected lots with the statement and tax reporting rather than discovering a mismatch when preparing a return. This concept differs from specific identification of inventory, where inventory accounting matches a particular physical item's cost to a sale.
Share identification selects among investment tax lots and has its own evidence rules, even when both processes avoid an assumed cost-flow order. For a portfolio review, separate the investment decision from the lot decision by assessing investment fit first and then lot choices and tax consequences, because tax benefits do not establish investment fit.
In practice
Real-world examples.
Example
A fictional investor owns fifty shares bought at 20 each and fifty at 35. Selling fifty at 40 produces a 1,000 gain using the first lot or a 250 gain using the second, before costs and adjustments.
Example
A fictional investor selects a lot in a personal worksheet but gives no matching broker instruction. She checks the applicable identification requirements instead of assuming the worksheet controls the reported sale.
Example
A fictional investor compares an older lower-basis lot with a newer higher-basis lot. Different holding periods mean she reviews the actual tax treatment, not only the size of the gain.
Formula
Calculation
Realised gain or loss = amount realised - adjusted basis of the identified shares. In a fictional sale of fifty shares at 40 with no fees, proceeds are 2,000. A lot with basis of fifty times 35 has total basis 1,750 and gain 250; a fifty-times-20 lot has basis 1,000 and gain 1,000.
These are gain calculations, not final tax bills.Case study
Seen in the real world.
This case study is fictional and illustrative. An investor plans to sell part of a position bought in several instalments. Her spreadsheet identifies a higher-basis lot, but the account's default method points to older shares. Before the sale, she checks the permitted selection process and sends a clear lot instruction.
She retains the broker's confirmation and verifies that the completed trade matches the selected quantity. She also reviews holding period and relevant loss restrictions. The later tax reconciliation uses the documented lot rather than a favourable selection invented afterward. The process links planning, execution and reporting without promising a particular tax saving.
Watch out
Common mistakes.
- Choosing a lot retrospectively without satisfying the applicable identification requirements.
- Using the original purchase quote as basis after adjustments or ignoring holding period.
- Assuming every higher-basis sale lowers final tax or every realised loss is immediately deductible.
Questions
People also ask.
Does identification change the sale price?
No. It determines which lot supplies the basis and holding period for the shares sold.
Is a spreadsheet sufficient in the US broker example?
Not alone. The cited IRS process requires identification to the broker and written confirmation.
Is this inventory accounting?
No. The share process concerns investment lots and tax evidence, not tracking a physical item's cost of goods sold.
From the founder's library

Take it further with the book.
Build your financial confidence beyond this definition. Shihan's full-length guide, Accounting Fundamentals, takes the same plain-English approach and turns it into a complete, practical playbook for non-finance managers, business owners and students - with chapter-end quiz answers and presentation slides included.
25% off with code MMHQ25, applied at checkout. Priced in USD - checkout may show the equivalent in your local currency.
View the book and save 25%