Sub topic 12
Tax Lots and Cost-Basis Records
This chapter assumes a U.S. taxable brokerage account and basic knowledge of shares, ETFs, and dollar-cost averaging (DCA). Tax rules differ by country and account type. Retirement accounts often use different rules.
What a tax lot is
A tax lot is a group of shares acquired in one transaction. Each lot has its own:
- Acquisition date
- Number of shares
- Purchase price
- Cost basis
Cost basis is the amount used to measure a taxable gain or loss. It usually starts with the purchase cost, adjusted for certain fees, distributions, corporate actions, and reinvested dividends.
Suppose you invest $100 in an ETF every month. Each purchase creates a separate lot:
| Lot | Shares | Price per share | Cost basis |
|---|---|---|---|
| January | 2.000000 | $50.00 | $100.00 |
| February | 2.500000 | $40.00 | $100.00 |
| March | 1.666666 | $60.00 | $99.99996 |
Fractional shares do not remove the need to track lots. They add precision requirements.
How a sale uses lots
When you sell shares, the broker must determine which lots were sold. The method affects the reported gain or loss.
FIFO, or first in, first out, uses the oldest available shares first. Specific identification lets you select particular lots when the broker supports it and you provide the instruction correctly. Some funds may also support an average-cost method, but rules and eligibility differ.
The basic calculation is:
realized gain or loss = sale proceeds − cost basis of the shares soldIf you sell 1.5 shares bought at $40 for $75, the basis is $60 and the realized gain is $15, before adjustments.
A gain or loss is realized when you sell. A change in the market value of shares you still hold is an unrealized gain or loss.
DCA averages versus tax-lot records
DCA calculations often use one economic average:
total amount invested ÷ total shares heldThat average helps evaluate your investing results. It does not necessarily determine the basis of a particular sale. A sale can contain shares from several lots with different dates and prices.
For example, buying 1 share at $50 and 2 shares at $40 gives an economic average of $43.33. Selling only the first share can still produce a gain or loss based on its $50 lot, not the $43.33 average.
Reinvested dividends and records
A dividend is generally taxable when paid in a taxable account, even when you automatically reinvest it. Reinvestment usually creates a new lot with:
- The reinvestment date
- The number of shares purchased
- The dividend amount used to buy them
- Any applicable adjustment
Keep confirmations and annual tax forms. Broker records are useful, but you remain responsible for reviewing them, especially after transfers, mergers, stock splits, or missing historical data.
Holding periods and wash sales
The holding period is the time between acquisition and sale. In the United States, assets held for more than one year may receive different tax treatment from assets held for one year or less.
A wash sale can restrict recognition of a loss when you sell an investment at a loss and acquire a substantially identical investment within the surrounding period. Recurring purchases can create this issue because a scheduled purchase may occur soon after a loss sale. Broker reporting may not capture every account or transaction, so keep complete records and consult a tax professional for complicated situations.
A practical record-keeping routine
- Keep the trade confirmation for every purchase and reinvestment.
- Record shares to the precision your broker uses.
- Review the selected lots before selling.
- Reconcile broker forms with your own records each tax year.
- Save records until the relevant reporting period has passed, following local tax guidance.
Exercise
You bought 2 shares at $30 and 3 fractional shares at $40. You later sell 1 share for $50 and identify the $30 lot. What is the realized gain, and what is the remaining basis before other adjustments?
Show answer
The realized gain is $20. The remaining basis is $120: $30 for the unsold share from the first lot plus $90 for the three shares from the second lot.