A tax lot is the record of a specific purchase (or acquisition event) of shares: it ties the number of shares, the purchase date, and the cost basis so gains or losses on a later sale can be measured for that exact batch of shares. In practice brokers and investors use tax lots to decide which shares were sold and therefore which purchase price and holding period apply to the sale (short‑ or long‑term) — see general stock context on Investor.gov for background on stocks and tax-advantaged accounts. Stocks - FAQs.
Tax Lots in Stocks: Identification Methods & Reporting
A tax lot is the record of a specific purchase (or acquisition event) of shares: it ties the number of shares, the purchase date, and the cost basis so gains or losses on a later sale can be measured for that exact batch of shares.
Practice trading with Finelo
Practice in a simulator, learn with bite-sized lessons, and build confidence before risking real money.
Want to learn more?
Practice in a simulator, learn with bite-sized lessons, and build confidence before risking real money.
Explore FineloExplore Finelo's 28-day challenges
Turn learning into a daily habit with guided challenge paths.
What the Rule Covers
A tax lot captures three core facts about an acquisition: number of shares, acquisition date, and cost paid (cost basis). When you later sell shares, the difference between the sale proceeds and the cost basis of the specific lot determines the gain or loss for that sale. Use official guidance when confirming reporting and treatment; IRS publications are the authoritative source for official tax reporting rules and adjustments to basis due to specialized instruments or corporate actions IRS Publication 1212.
Scope notes you should keep in mind:
- Tax lots apply to individual purchases or other acquisition events (gifts, reinvested dividends, splits), not to an entire account as a single undifferentiated block.
- The lot’s acquisition date sets the holding period for tax-rate purposes (short vs long term).
- Brokers maintain lot-level records and generally report cost basis for covered securities to the IRS, but taxpayers should retain their own records. For how brokerage reporting fits into the broader picture, see the stocks overview at Investor.gov Stocks - FAQs.
How the Calculation Works
Mechanics in three parts:
- Cost basis for a lot — the sum you paid for that lot (price per share × number of shares) plus certain acquisition costs. When you sell shares from that lot, realized gain or loss equals sale proceeds minus that lot’s cost basis.
- Holding period — measured from the lot’s acquisition date to the sale date. The lot’s holding period determines whether the gain is treated as short‑term or long‑term for tax-rate purposes.
- Lot identification — when you sell, you (or your broker) must identify which lot is being sold. Identification changes which cost basis and holding period apply and therefore the tax result.
A simple formula for one lot: - Realized gain (or loss) = Sale proceeds for shares from that lot − Cost basis of that lot.
Practical mechanics and timing to watch:
- If you explicitly identify the lot at the time of sale (specific identification), that lot’s basis and holding period apply. If you do not identify, broker or tax rules may default to a method (for example, first‑in, first‑out) — check your broker’s procedures and IRS guidance. For authoritative, up‑to‑date rules on reporting and basis adjustments, consult IRS materials such as Publication 1212 IRS Publication 1212.
- Cost-basis reporting rules and what brokers report to you and the IRS are governed by tax rules and broker practices; keep broker confirmations and year-end statements that show lot-level reporting.
Worked Tax Example
Assumptions:
- You bought 100 shares of XYZ at two times:
- Lot A: 50 shares at $10.00 on 2020-01-15 (cost basis $500)
- Lot B: 50 shares at $15.00 on 2021-07-01 (cost basis $750)
- You sell 60 shares on 2026-09-01 at $20.00 per share (sale proceeds $1,200).
- You specify at sale that you are selling 50 shares from Lot B and 10 shares from Lot A (specific identification).
Step-by-step arithmetic:
- Proceeds: 60 shares × $20.00 = $1,200.
- Cost basis of sold shares:
- From Lot B: 50 × $15.00 = $750.
- From Lot A: 10 × $10.00 = $100.
- Total cost basis = $850.
- Realized gain = $1,200 − $850 = $350.
Interpretation:
- The 50 shares from Lot B were held from 2021-07-01 to 2026-09-01 (greater than one year), so their gain is long‑term.
- The 10 shares from Lot A were held from 2020-01-15 to 2026-09-01 (also long‑term), so all gains in this example are long‑term.
- The tax rates that apply depend on your taxable income and filing status; this example only illustrates how lot choice changes reported basis and gain calculations.
Why the lot choice matters: if you had instead sold the 60 oldest shares (FIFO) without specific identification, the tax result could differ because the cost basis mix would change. Note: For official confirmation of reporting rules and when broker cost-basis reporting applies, consult IRS guidance IRS Publication 1212 and general investing resources for how brokers report transactions Stocks - FAQs.
Exceptions and Edge Cases
Common special situations that change tax-lot handling:
- Stock splits and reverse splits: these change share counts but preserve overall cost basis; lot basis should be adjusted proportionally across affected lots. Keep records that show the adjusted share counts and per‑share basis.
- Corporate actions (mergers, spin‑offs, reorganizations): basis allocation across new securities can be complex and may require pro forma calculations.
- Gifts and inherited shares: cost basis rules differ (e.g., gifted shares often carry the donor’s basis; inherited shares commonly receive a stepped-up basis). These are tax-sensitive events where the lot’s original acquisition date and cost basis may not be used in the standard way.
- Reinvested dividends: every dividend reinvestment creates a separate lot at the reinvestment date and price.
When to consult a tax professional:
- Multiple corporate actions affecting the same lot.
- Complex basis allocations after mergers, spin-offs, or unusual reorganizations.
- Large portfolios with partial tax‑lot sales where tax optimization is material. In such cases, professional advice helps avoid reporting errors and unintended tax consequences. For authoritative IRS positions on basis adjustments and reporting, review IRS guidance such as Publication 1212 IRS Publication 1212.
Practice trading with Finelo
Practice in a simulator, learn with bite-sized lessons, and build confidence before risking real money.
Records, Forms, and Official Checks
What to keep (minimum practical checklist):
- Trade confirmations showing date, quantity, and price for each purchase or sale.
- Year‑end broker statements and cost‑basis worksheets showing lot-level basis and adjustments.
- Documents for corporate actions (split notices, merger communications) that show how basis was adjusted.
- Records for gifted or inherited shares that document original purchase date and basis or the valuation date for stepped-up basis.
Where to verify rules:
- IRS publications (start with Publication 1212 for basis issues related to certain instruments and official guidance) IRS Publication 1212.
- Your brokerage’s cost-basis reporting and lot‑identification procedures — broker agreements and FAQs commonly explain how to designate lots at sale.
- Investor education resources for context around tax‑advantaged accounts and how investments are reported Stocks - FAQs.
Checklist for a source-check step before filing:
- Compare your broker’s 1099‑B (or equivalent) to your own lot records.
- If lots reported by the broker differ from your records, retain both sets of documentation and resolve discrepancies before filing.
- If you rely on a nonstandard lot identification (e.g., choosing lots to manage tax), document the election at the time of sale and retain broker confirmation.
For definitions of investment terms used here, see the the publication glossary entry for Asset Asset.
Common Mistakes
Two frequent misreads and how to avoid them:
- Treating an entire position as a single basis.
- Problem: Summarizing all purchases into an average basis hides which specific lots were sold and can misstate holding periods and gains.
- Fix: Keep lot-level records or rely on your broker’s lot-detail reporting; use specific identification at sale when targeting particular tax outcomes.
- Assuming broker reporting always matches your records.
- Problem: Brokers may apply default lot‑selection methods if you don’t specify a lot at sale; corporate actions or transfers between brokers can alter lot tracking.
- Fix: Review broker 1099‑B and year‑end statements closely, and contest or correct mismatches before filing. Maintain confirmations showing lot elections made at trade time.
Additional practical tips:
- If tax timing matters (for example, realizing a long‑term rather than a short‑term gain), plan lot identification ahead of sale and document the instruction with the broker.
- Use lot-level records to estimate tax impact before executing large or partial sales; this can help avoid surprises at filing time.
For more on how gains are taxed and what determines tax treatment, see the publication’s article on capital gains tax Capital Gains Tax. If you want a quick next step: review your most recent broker statement to see whether it lists lot‑level cost basis and holding periods — that indicates whether you can specify lots at sale and where to start reconciling records.
Frequently asked questions (brief)
- How does specifying lots at sale change my taxes?
- Specifying which lot you sell determines that lot’s cost basis and holding period, so it can change whether the resulting gain is short‑ or long‑term and the gain amount.
- What if I don’t specify a lot?
- Brokers may apply a default method (for example, FIFO); check your broker’s procedures and the 1099‑B they issue.
- Are reinvested dividends separate lots?
- Yes: each dividend reinvestment is typically a separate acquisition and should be tracked as its own lot.
- Do I need to keep paper trade confirmations?
- Keep digital or paper confirmations and year‑end statements that show lot details until the statute of limitations for your returns has passed and you’re confident of accuracy.
Important Limits and Verification
U.S. federal tax rules are summarized at a general level. Broker cost-basis fields and Form 1099-B can be incomplete or require adjustment, and state or non-U.S. rules may differ. Keep trade, gift, inheritance, vesting and corporate-action records, verify the current IRS instructions, and use a qualified tax professional for a filing decision.
Sources and Further Verification
- IRS Publication 551 — Basis of Assets
- IRS Publication 550 — Investment Income and Expenses
- IRS Instructions for Form 1099-B
This article is for educational purposes only and does not constitute financial, investment, tax, or legal advice. Finelo does not recommend any security, strategy, or transaction. Investing involves risk, including possible loss of principal. Tax, account, and regulatory rules can change; verify current official guidance and consult a qualified professional for your circumstances.
Practice trading with Finelo
Practice in a simulator, learn with bite-sized lessons, and build confidence before risking real money.
About the author
Finelo Team
The Finelo Team creates practical investing and trading education designed to help beginners learn faster with structured challenges, simulator practice, and bite-sized lessons.
Keep reading — Related articles
Neutral Interest Rate: R-Star Meaning, Estimates & Limits
The neutral interest rate (often called r or “r‑star”) is the real short-term interest rate that is expected to prevail when the economy is at full strength and inflation is stable — in other words, the rate that neither stimulates nor restrains aggregate demand New York Fed.
JOLTS Report: Job Openings, Quits and Labor-Market Signals
The JOLTS report is the Job Openings and Labor Turnover Survey produced by the U.S.
Breakeven Inflation: Formula, Interpretation & Limits
Breakeven inflation is the market‑implied average annual inflation rate (for a specific maturity) at which a nominal Treasury and a same‑maturity Treasury Inflation‑Protected Security (TIPS) would deliver the same inflation‑adjusted return; market practitioners often compute it as “nominal Treasury yield − TIPS (real) yield” for the matched maturity Fidelity.