FINANCIAL DICTIONARY · TAXES

First in, first out (FIFO): meaning and example

FIFO treats the earliest eligible acquired units as the first units disposed of for a specified cost or holding-period rule. It is a matching convention, not a claim that particular certificates physically moved first.

Compare the lot methods
COMPARE TWO SHARE LOTS

Which lot supplies the cost?

Change two acquisition costs and see why one partial sale can produce different illustrative bases under different methods.

Watch the oldest lot supply the cost for this small sale. Each lot has ten identical shares; the sale is at most ten shares.

OLDER · 10 SHARES100 total costAcquired first
NEWER · 10 SHARES200 total costAcquired later

Gross proceeds from the sale: 125

OLDER LOT · FIFO EXAMPLE75 gainBasis 50
NEWER LOT · SPECIFIC EXAMPLE25 gainBasis 100
AVERAGE · POOL EXAMPLE50 gainBasis 75

These are alternative arithmetic views of the same hypothetical sale, not three choices available to every investor. Fees, tax rates, special share matching and records are omitted. Check the market-specific rules below.

PLAIN LANGUAGE

What does First in, first out (FIFO) mean?

FIFO treats the earliest eligible acquired units as the first units disposed of for a specified cost or holding-period rule. It is a matching convention, not a claim that particular certificates physically moved first.

A worked example

With ten older shares at 10 units and ten newer at 20, selling five at 25 under a simple FIFO illustration uses a 50-unit basis and gives a 75-unit gain before fees.

What to watch for

FIFO can be a fallback or a required method depending on market and account. Special adjustments and asset rules can override this simple two-lot picture.

Take the earliest eligible shares first

FIFO means first in, first out. In the illustration, ten older shares cost ten units each and ten newer shares cost twenty. Selling five at twenty-five each gives 125 units of proceeds. Under simple FIFO, the five shares are matched to the older lot, so the basis is fifty and the difference is a seventy-five-unit gain before fees. Raising the newer lot cost does not change that FIFO result while fewer than ten older shares are sold. It changes the other method cards, making the mechanics of selection visible.

The method carries dates as well as cost

An older lot usually has an earlier acquisition date. Where holding time changes tax classification, FIFO can affect both the basis and the period assigned to a sale. The widget shows prices only, not the date classification. If a sale exceeds the quantity remaining in the oldest lot, a full FIFO calculation moves to the next eligible lot. This demo caps the quantity at ten so that only one lot is consumed. It omits splits, gifts, dividends reinvested and transfers that could change the lot ledger.

India and the United States are not identical

India’s tax authority says demat securities use FIFO for identifying corresponding acquisitions and cost. The US IRS describes FIFO as a rule when an investor cannot adequately identify sold shares under applicable rules. That is a different reason for arriving at the same arithmetic. A properly identified US lot may instead use that lot’s basis. UK share pooling usually produces a different cost assignment, with same-day and thirty-day priorities, while Japan’s NTA describes an average-style calculation for repeated share acquisitions. The page labels the numeric result FIFO rather than claiming it is a worldwide default.

Use the method on a real account

Before computing an actual gain, confirm the relevant asset type, account, country, tax year and required matching rule. Reconcile broker records with trades and transfers; an account may import shares without complete acquisition cost. Subtract eligible fees and adjustments under the local rule after the lot match. The displayed seventy-five units is neither tax due nor a guaranteed taxable gain. It is the difference between one invented sale value and one invented lot basis. The related pages show how selecting a specific lot or averaging eligible lots would change that arithmetic.

Further reading and scope

This explanation is a draft for editorial review. Check the product’s actual terms and current disclosures before acting; the arithmetic comparison cannot determine a permitted method, legal lot match, adjusted cost or actual taxable gain.

India Income Tax Department: sale of sharesUnited States · IRS specific shares and FIFOIndia · Income Tax Department demat FIFOUnited Kingdom · HMRC share poolJapan · NTA share acquisition costPrimary source checked 15 November 2026 · Editorial review pending