Home / Wiki / T / Tax Lot

Tax Lot

Accounting and Financial ManagementUpdated 16 Nov 2026

A tax lot is the record of a single purchase of a security: the number of shares or units bought, the date of purchase and the price paid, including commissions and fees. An investor who buys the same stock several times at different prices holds several tax lots in it. When part of the holding is sold, the lots chosen to match the sale determine the cost basis, the holding period and therefore the taxable gain or loss.

Tax lots matter wherever capital gains are taxed by reference to the cost of the specific units sold, as in the United States. Brokers, fund companies and portfolio accounting systems track them automatically, and the method used to pick lots, the tax lot matching method, is one of the main tools of tax-aware investing. Lots also exist for bonds, options, mutual fund shares and, increasingly, crypto assets.

01

What a lot records

  • Acquisition date. This starts the holding period. In the United States a position held more than one year produces a long-term capital gain or loss when sold, and one held a year or less a short-term capital gain, usually taxed at higher ordinary rates.
  • Quantity. The number of shares or units, which falls as parts of the lot are sold.
  • Cost basis. The purchase price plus costs, adjusted over time for events such as stock splits, return-of-capital distributions, spin-offs and disallowed losses; such changes are recorded as a tax lot adjustment.

Shares received through a dividend reinvestment plan create a new small lot with every dividend, which is why long-held fund positions can have hundreds of lots. A gift of shares generally passes the donor's lots and basis to the recipient, while inherited shares usually receive a new basis equal to their value at the date of death.

02

Worked example

The gain on a sale of shares from one lot is:

G=Q×(Psale−C)G = Q \times \left( P_{\text{sale}} - C \right)

where GG is the gain, QQ the number of shares sold from the lot, PsaleP_{\text{sale}} the sale price per share and CC the lot's cost per share. Suppose an investor bought 100 shares at $40 more than a year ago (lot A) and another 100 at $60 six months ago (lot B), and now sells 100 shares at $55. Matching lot A gives 100×(55−40)=1,500100 \times (55 - 40) = 1{,}500 dollars of long-term gain. Matching lot B gives 100×(55−60)=−500100 \times (55 - 60) = -500, a $500 short-term loss. The economic result of the sale is the same, but the tax outcome differs sharply. Matching lot B also leaves the low-cost lot A in place, so its larger gain is deferred rather than avoided. If the investor later sells lot A, the $1,500 gain is taxed then, unless it is offset by other losses.

03

Matching methods

The main approaches are:

  • First in, first out. Under FIFO, the oldest lots are sold first. It is the US default for shares when no other choice is made.
  • Specific identification. The investor names the lots to sell at the time of the trade, which allows choices such as highest in, first out to minimise gains or the realisation of losses for harvesting.
  • Last in, first out. Under LIFO, the newest lots are sold first, which is permitted when chosen through specific identification.
  • Average cost. Allowed in the United States for mutual fund and certain reinvestment plan shares, it uses the average cost of all shares held instead of separate lots.
04

Reporting

Since 2011, US brokers have been required to track and report cost basis to the IRS for stocks bought from that year onward, with mutual funds and reinvestment plan shares added in 2012 and most bonds and options from 2014. Sales are reported on Form 1099-B, which shows proceeds, basis and whether each gain is short-term or long-term. Securities bought before those dates, or moved between brokers with missing records, are treated as non-covered, and the investor must supply the basis. The wash sale rule can shift a disallowed loss into the basis of a replacement lot and carry over its holding period.

05

Limitations

Choosing lots changes only the timing and character of taxes, not the total economic gain, and gains deferred by selling high-cost lots remain in the low-cost lots for later. Lot records can be incomplete after transfers, corporate actions or inheritance, when basis is generally reset, and errors carry into tax returns. Rules differ between countries: the United Kingdom, for example, pools shares of the same company under its own matching rules instead of tracking individual lots. Investors should confirm the method in force and consult professional advice where the amounts are significant.

Last updated 16 Nov 2026