01 / 20

FIFO, LIFO &
Weighted Average

Master the three core inventory costing methods used to compute Cost of Goods Sold and Ending Inventory in financial accounting.

Financial Accounting

What Is Inventory Costing?

When a business buys the same product at different prices over time, it needs a systematic way to decide which costs go to the units sold and which costs remain in ending inventory.

The answer depends on the cost flow assumption you choose: FIFO, LIFO, or Weighted Average. Each produces different figures for COGS and Ending Inventory.

Key Terms to Know

COGS
Cost of Goods Sold: the total cost assigned to units sold during the period.
Ending Inventory
The cost assigned to units still on hand at the end of the period.
Cost Flow
The assumption about which costs leave inventory first when goods are sold.

Visualizing the Inventory Flow

Beginning Inventory + Purchases Goods Available for Sale COGS Ending Inventory Cost flow assumption FIFO / LIFO / Weighted Avg

FIFO: First In, First Out

Batch 1 Oldest Batch 2 Middle Batch 3 Newest Sold First → COGS Ending Inventory: Newest costs remain

Under FIFO, the earliest (oldest) costs are assigned to COGS. The costs of the most recent purchases remain in ending inventory.

LIFO: Last In, First Out

Batch 1 Oldest Batch 2 Middle Batch 3 Newest Sold First → COGS Ending Inventory: Oldest costs remain

Under LIFO, the most recent (newest) costs are assigned to COGS. The costs of the earliest purchases remain in ending inventory.

Weighted Average Cost

Batch 1 Batch 2 Batch 3 Blended Pool Weighted Avg Cost Total Cost of Goods Total Units Available = cost per unit

The Weighted Average method blends all costs into a single average cost per unit. The same per-unit cost is applied to both COGS and ending inventory.

FIFO vs LIFO vs Weighted Average

FIFO LIFO Weighted Avg
Cost to COGS Oldest Newest Blended
Cost in Ending Inv. Newest Oldest Blended
Rising Prices: COGS Lower Higher Middle
Rising Prices: Net Income Higher Lower Middle
Rising Prices: Taxes Higher Lower Middle
Permitted under IFRS? ✓ Yes ✕ No ✓ Yes

How to Apply Any Method

1
List all inventory layers. Record each purchase batch with its quantity and unit cost.
2
Compute Goods Available for Sale. Sum all units and their total cost: \(\text{BI} + \text{Purchases}\).
3
Identify the units sold. Determine the number of units that left inventory during the period.
4
Apply the cost flow assumption. Assign costs to the units sold (COGS) using FIFO, LIFO, or Weighted Average rules.
5
Compute Ending Inventory. \(\text{EI} = \text{Goods Available} - \text{COGS}\). Verify the identity balances.

Worked Example: The Data

A company has the following inventory records for the month. During the period, 150 units were sold.

Layer Units Unit Cost Total Cost
Beginning Inventory 80 \$10 \$800
Purchase 1 (Mar 10) 60 \$12 \$720
Purchase 2 (Mar 20) 60 \$14 \$840
Goods Available 200 \$2,360

Example: FIFO Solution

Under FIFO, sell the oldest units first. We need 150 units for COGS:

1
All 80 from BI at \$10 each: \(80 \times \$10 = \$800\)
2
All 60 from Purchase 1 at \$12 each: \(60 \times \$12 = \$720\)
3
10 from Purchase 2 at \$14 each: \(10 \times \$14 = \$140\)

Example: LIFO Solution

Under LIFO, sell the newest units first. We need 150 units for COGS:

1
All 60 from Purchase 2 at \$14 each: \(60 \times \$14 = \$840\)
2
All 60 from Purchase 1 at \$12 each: \(60 \times \$12 = \$720\)
3
30 from BI at \$10 each: \(30 \times \$10 = \$300\)

Example: Weighted Average Solution

Under Weighted Average, compute a single blended cost per unit:

1
Weighted Avg Cost: \(\dfrac{\$2{,}360}{200 \text{ units}} = \$11.80 \text{ per unit}\)
2
COGS: \(150 \times \$11.80 = \$1{,}770\)
3
Ending Inventory: \(50 \times \$11.80 = \$590\)

Comparing Results

FIFO LIFO Wt. Avg
COGS \$1,660 \$1,860 \$1,770
Ending Inventory \$700 \$500 \$590
Goods Available \$2,360 \$2,360 \$2,360

Common Mistakes to Avoid

✕ Confusing Cost Flow with Physical Flow
FIFO/LIFO describe cost assumptions, not how goods physically move through a warehouse.
✕ Forgetting to Check the Identity
Always verify: \(\text{COGS} + \text{EI} = \text{Goods Available}\). If it doesn't balance, you have an error.
✕ Using LIFO under IFRS
LIFO is prohibited under International Financial Reporting Standards. Only U.S. GAAP permits it.

Question 1 of 5

Under FIFO, when prices are rising, which statement is true?

Question 2 of 5

A firm has goods available for sale totaling \$5,000 (500 units). It sold 300 units. Under the weighted average method, what is COGS?

Question 3 of 5

Which inventory method is prohibited under IFRS but allowed under U.S. GAAP?

Question 4 of 5

A company bought 100 units at \$8 and then 100 units at \$12. It sold 120 units. Under LIFO, what is COGS?

Question 5 of 5

If COGS under FIFO is \$4,200 and Goods Available for Sale is \$6,000, what is Ending Inventory?