FIFO, or First-In, First-Out, is one of the most important inventory costing methods in accounting and financial reporting. It determines which inventory costs move into cost of goods sold first and which remain on the balance sheet, so it directly affects profit, taxes, margins, working capital, and financial analysis. In plain terms, FIFO treats the oldest inventory costs as leaving first and the newest costs as staying in stock.
1. Term Overview
- Official Term: FIFO
- Common Synonyms: First-In, First-Out; FIFO method; FIFO inventory method; FIFO cost formula
- Alternate Spellings / Variants: First in first out; first-in-first-out
- Domain / Subdomain: Finance / Accounting and Reporting
- One-line definition: FIFO is an inventory cost flow assumption under which the earliest purchased or produced items are treated as sold or used first, leaving the most recent costs in ending inventory.
- Plain-English definition: When a business sells goods from stock, FIFO says the oldest costs leave first. So the inventory left at the end is valued using the newest costs.
- Why this term matters: FIFO affects:
- cost of goods sold (COGS)
- gross profit and net income
- ending inventory value
- balance sheet strength
- tax outcomes in some jurisdictions
- ratio analysis such as inventory turnover and current ratio
- comparability across companies and accounting frameworks
2. Core Meaning
FIFO is a cost assignment method used when a business has many similar inventory items bought or made at different times and different costs.
What it is
If a company buys the same item in multiple batches, prices may change from batch to batch. FIFO answers a basic accounting question:
When some units are sold, which cost should be charged to expense first?
Under FIFO, the answer is:
The oldest available cost goes first.
Why it exists
Inventory accounting needs a practical way to assign costs when units are interchangeable. Without a method like FIFO, a business could not consistently measure:
- cost of goods sold
- ending inventory
- gross profit
- taxable income in some systems
- inventory-related disclosures
What problem it solves
Suppose a store buys 100 units at ₹10 and later 100 units at ₹12. If it sells 150 units, accounting must decide how much cost belongs to those sold units and how much remains in stock.
FIFO solves this by using the oldest batch first:
- first 100 units sold = ₹10 cost
- next 50 units sold = ₹12 cost
- remaining 50 units in stock = ₹12 cost
Who uses it
FIFO is used by:
- retailers
- wholesalers and distributors
- manufacturers
- accountants and finance teams
- auditors
- ERP and inventory system designers
- investors and analysts reviewing financial statements
- tax and compliance professionals where relevant
Where it appears in practice
FIFO appears in:
- inventory ledgers
- ERP systems
- cost of goods sold calculations
- financial statements
- audit working papers
- management reports
- lending reviews for inventory-heavy businesses
- sometimes securities tax-lot reporting as a separate, secondary meaning
3. Detailed Definition
Formal definition
FIFO is a cost formula under which the earliest acquired or produced inventory costs are assigned first to goods sold or used, and the latest costs remain in ending inventory.
Technical definition
In technical accounting terms, FIFO is a cost flow assumption applied to interchangeable inventories. It allocates inventory cost layers in chronological order:
- oldest cost layers are recognized in COGS first
- latest cost layers remain in ending inventory
Operational definition
Operationally, FIFO means the business maintains inventory by layers:
- each purchase or production batch creates a cost layer
- each sale or issue reduces the oldest remaining layer first
- the unsold balance consists of the most recent layers
Context-specific definitions
In inventory accounting and reporting
This is the primary meaning. FIFO is used to measure:
- cost of goods sold
- ending inventory
- gross profit
- carrying amount of inventory before any write-downs
In warehouse operations
FIFO may also refer to a physical stock rotation practice: oldest stock is physically issued first. This often aligns with accounting FIFO, but not always.
Important: accounting FIFO and physical FIFO are related, but they are not the same thing.
In securities and tax-lot accounting
In a separate context, FIFO can mean the oldest purchased shares or units are treated as sold first when specific lot identification is not used.
Caution: securities FIFO rules vary by broker, tax regime, and jurisdiction. This tutorial focuses mainly on inventory accounting FIFO.
4. Etymology / Origin / Historical Background
FIFO comes from the phrase “First-In, First-Out.” The term grew out of inventory handling and cost accounting practices developed during industrial expansion, especially when businesses began managing large volumes of interchangeable goods.
Origin of the term
The phrase is intuitive:
- First-In = goods purchased or produced earliest
- First-Out = those earlier goods are assumed to leave first
Historical development
As businesses scaled up, they needed repeatable methods to value inventory and measure profit. FIFO became popular because it often matched real-life stock movement in sectors such as:
- food and grocery
- chemicals
- pharmaceuticals
- retail goods
- raw materials with regular rotation
How usage changed over time
In early manual systems, FIFO could be record-intensive because businesses had to track batches by date and cost. With modern software and ERP systems, layer tracking became much easier.
Over time, FIFO also became more important because:
- inflation made inventory cost formulas materially affect profit
- standard setters required consistency and disclosure
- analysts began comparing how different cost formulas affect margins and balance sheets
Important milestones
Key developments include:
- the rise of industrial cost accounting in the 19th and 20th centuries
- adoption of formal inventory standards in national GAAP systems
- international accounting standards favoring FIFO and weighted average for interchangeable inventories
- broader use of computerized inventory systems that can automatically track FIFO layers
5. Conceptual Breakdown
FIFO becomes much easier when you break it into its building blocks.
1. Inventory units
Meaning: Physical items held for sale, use in production, or consumption in operations.
Role: These are the quantities to which costs must be assigned.
Interaction: Costs are attached to groups of units acquired at different times.
Practical importance: No inventory method works properly unless quantities are tracked accurately.
2. Cost layers
Meaning: Each purchase or production batch creates a layer with its own unit cost.
Role: FIFO works by moving through these layers from oldest to newest.
Interaction: Sales reduce the earliest layer first; remaining units sit in later layers.
Practical importance: Cost layers are the heart of FIFO accounting.
3. Cost flow assumption
Meaning: FIFO is an accounting assumption about which costs are recognized first.
Role: It determines COGS and ending inventory.
Interaction: It may or may not match actual physical stock movement.
Practical importance: This distinction explains why accounting results can differ from warehouse movement.
4. Cost of goods sold (COGS)
Meaning: The inventory cost assigned to goods sold during the period.
Role: COGS is charged to the income statement.
Interaction: Under FIFO, COGS usually reflects older costs.
Practical importance: In times of rising prices, older costs are often lower, so FIFO may produce lower COGS and higher reported profit than some alternatives.
5. Ending inventory
Meaning: Inventory still on hand at the end of the reporting period.
Role: It is reported on the balance sheet.
Interaction: Under FIFO, ending inventory generally contains the most recent costs.
Practical importance: In inflationary conditions, FIFO ending inventory can look closer to current replacement cost than LIFO ending inventory.
6. Periodic vs perpetual system
Meaning: – Periodic system: cost assignment is made at period-end – Perpetual system: inventory records are updated continuously
Role: Both systems can apply FIFO.
Interaction: In basic purchase-and-sale situations, FIFO under periodic and perpetual systems often leads to the same ending inventory and COGS.
Practical importance: The system affects recordkeeping, controls, and timing of information.
7. Physical flow vs accounting flow
Meaning: Physical flow is what happens in the warehouse; accounting flow is how costs are assigned.
Role: The two can align, but they do not have to.
Interaction: A company may physically issue stock based on expiry date or accessibility while still valuing inventory under FIFO.
Practical importance: This is one of the most common areas of confusion.
8. Lower of cost and realizable value rules
Meaning: After FIFO determines cost, inventory may still need to be written down if recoverable value is lower.
Role: FIFO sets the cost basis, but impairment rules may reduce carrying value further.
Interaction: FIFO does not override valuation rules like lower of cost and net realizable value.
Practical importance: A business can have correct FIFO accounting and still need an inventory write-down.
6. Related Terms and Distinctions
| Related Term | Relationship to Main Term | Key Difference | Common Confusion |
|---|---|---|---|
| LIFO | Alternative cost flow assumption | LIFO assigns newest costs to COGS first; FIFO assigns oldest costs first | Many people assume LIFO is allowed everywhere; it is not allowed under IFRS-style inventory rules |
| Weighted Average Cost | Alternative inventory cost formula | Weighted average blends costs across units; FIFO preserves chronological cost layers | People think both give similar results in inflation; often they do not |
| Specific Identification | Alternative for unique or non-interchangeable items | Uses actual item-specific cost rather than chronological layers | Businesses sometimes use FIFO where item-level tracking would be more faithful |
| FEFO | Operational stock rotation rule | FEFO means first-expired, first-out, based on expiry date, not purchase date | Commonly confused with FIFO in food and pharma operations |
| COGS | Output affected by FIFO | FIFO determines COGS; COGS itself is not a costing method | Readers often say “FIFO is COGS,” which is inaccurate |
| Ending Inventory | Result of FIFO calculation | FIFO determines which cost layers remain in ending inventory | People may wrongly assume ending inventory equals market value |
| NRV (Net Realizable Value) | Subsequent valuation test applied to inventory | NRV compares carrying cost with expected recoverable value | Some assume FIFO alone is enough, ignoring write-down rules |
| Inventory Turnover | Performance ratio influenced by FIFO | Turnover uses COGS and average inventory; it is a ratio, not a cost formula | Changes in turnover may come from both operations and accounting method |
| LIFO Reserve | Analytical bridge between LIFO and non-LIFO values | It adjusts LIFO figures closer to FIFO or replacement-like values | Often mistaken as a “FIFO account” |
| Stock Aging | Operational and control report | Aging measures how long items remain unsold; FIFO assigns cost flow | FIFO does not guarantee healthy aging or no obsolescence |
7. Where It Is Used
Accounting and financial reporting
This is FIFO’s main home. It appears in:
- inventory valuation
- COGS
- gross profit
- balance sheet measurement
- note disclosures
- audit testing
Business operations
FIFO often aligns with operational logic where older stock should move first, especially in:
- groceries
- packaged goods
- chemicals
- pharmaceuticals
- fast-moving consumer goods
- spare parts distribution
Manufacturing
Manufacturers use FIFO for:
- raw materials
- work-in-progress components in some systems
- finished goods costing
- standard cost variance analysis support in hybrid systems
Valuation and investing
Analysts care about FIFO because it affects:
- gross margins
- earnings quality
- inventory carrying value
- working capital
- comparability across companies
Banking and lending
Lenders reviewing inventory-backed borrowers care about FIFO because:
- inventory value influences collateral assessment
- outdated or overstated stock can distort security quality
- profit quality affects debt service analysis
Policy and regulation
FIFO matters in accounting standards and reporting frameworks, especially in standards governing inventory measurement and disclosure.
Analytics and research
Researchers and analysts use FIFO-related adjustments when studying:
- inflation effects on profit
- margin comparability
- inventory efficiency
- accounting method differences across firms
Stock market and securities context
In a secondary meaning, FIFO may appear in broker statements or tax-lot reports for securities sales. The logic is similar—oldest lots treated as sold first—but the rules are not automatically identical to inventory accounting.
8. Use Cases
Use Case 1: Grocery retailer valuing fast-moving stock
- Who is using it: Retail finance team and store operations
- Objective: Match older purchase costs to goods sold and keep ending stock close to recent cost
- How the term is applied: Each receipt of milk, cereal, or packaged goods forms a layer; sales consume oldest cost layers first
- Expected outcome: Cleaner inventory valuation and practical alignment with shelf rotation
- Risks / limitations: Inflation can raise reported profit; physical spoilage can still happen if store discipline is weak
Use Case 2: Pharmaceutical distributor managing regulated products
- Who is using it: Distributor accountants, warehouse team, compliance staff
- Objective: Value inventory consistently while operationally rotating products by expiry
- How the term is applied: Accounting may use FIFO; warehouse may physically use FEFO
- Expected outcome: Better financial reporting and reduced expiry losses
- Risks / limitations: FIFO accounting does not itself solve expiry risk; NRV checks and batch tracking are still needed
Use Case 3: Manufacturer costing raw material issues
- Who is using it: Cost accountant and production planner
- Objective: Assign material costs to production based on oldest available inventory layers
- How the term is applied: Material issues to production are costed from the oldest receipt layers first
- Expected outcome: Consistent COGS and inventory reporting
- Risks / limitations: If material prices are rising sharply, FIFO can understate current production cost in management decisions
Use Case 4: E-commerce company running an ERP system
- Who is using it: Finance, operations, and systems teams
- Objective: Automate inventory valuation across high transaction volume
- How the term is applied: ERP software allocates sale quantities against the oldest available lots
- Expected outcome: Scalable, auditable inventory records
- Risks / limitations: Returns, kit breakdowns, transfer pricing, and multi-warehouse movements can complicate layer tracking
Use Case 5: External financial reporting under IFRS-style frameworks
- Who is using it: Corporate reporting team
- Objective: Prepare compliant financial statements
- How the term is applied: FIFO is selected as the cost formula for interchangeable inventories and applied consistently
- Expected outcome: Standard-compliant inventory measurement and disclosures
- Risks / limitations: Inventory may still require write-down to NRV; method changes need careful policy analysis
Use Case 6: Audit testing of inventory valuation
- Who is using it: External or internal auditor
- Objective: Verify that COGS and ending inventory were measured correctly
- How the term is applied: The auditor traces purchase invoices, receipts, and sales/issues to confirm oldest layers were relieved first
- Expected outcome: Assurance over valuation, cutoff, and consistency
- Risks / limitations: Weak controls, system overrides, and inaccurate counts can still produce misstatements
Use Case 7: Securities tax-lot matching
- Who is using it: Investor, broker, or tax preparer
- Objective: Determine which purchase lots are deemed sold
- How the term is applied: Oldest share lots are treated as sold first when specific identification is not used or not allowed
- Expected outcome: Tax-lot gain/loss calculation
- Risks / limitations: Rules differ by jurisdiction and broker setup; do not assume inventory accounting rules and securities tax rules are identical
9. Real-World Scenarios
A. Beginner scenario
- Background: A stationery shop buys notebooks in three batches during the month.
- Problem: The owner sold some notebooks and wants to know the cost of the ones sold and the value of the ones left.
- Application of the term: Under FIFO, the notebooks bought first are treated as sold first for cost purposes.
- Decision taken: The owner values sold units using the earliest purchase prices.
- Result: Remaining stock is valued using the more recent purchase prices.
- Lesson learned: FIFO is simply a way to assign old costs first and leave newer costs in inventory.
B. Business scenario
- Background: A small appliance distributor faces rising supplier prices.
- Problem: Reported profit looks strong, but cash is tightening because replacement inventory costs more than before.
- Application of the term: FIFO pushes older, cheaper costs into COGS and leaves newer, more expensive inventory on the balance sheet