LIFO

Newest exits earliest

LIFO stands for "last in, first out"—a method where the most recently added item is the first removed.

In accounting, LIFO inventory valuation assumes goods sold come from the newest stock.

In computing, it describes stack data structures: The function calls operate on a LIFO basis.

Contrast with FIFO (first in, first out).

computing

stack

Items piled vertically

  • pushForce something away
  • popFizzy drink, regionally
  • algorithmFinite problem-solving procedure

data structure · queue · buffer · memory · pointer · array · linked list · recursion · undo · back button

accounting

cost of goods sold

Direct expenses for inventory sold

  • FIFOEarliest in, earliest out
  • taxationCompulsory government revenue collection
  • IRSFederal tax collector

balance sheet · financial statements · profit margin · gross income · tax liability · assets · reserves · inflation · expense · GAAP

inventory

warehouse

Bulk goods storage building

shelving · dispatch · unloading · retrieval · stock rotation · replenishment · turnover · backlog · sequencing · accessibility

Opposites
ordering/sequencing principle

LIFOFIFO

Earliest in, earliest out

first in first out · queue · chronological order · breadth-first · round-robin

Phrases
Family

life, lifelong, lifetime, lifelike

Familiarity
Top 1,000,000
Profile
Used worldwide · Timeless · Abstract · Rated G