LessonsMerchandisingLesson 18

Inventory costing: FIFO

Pro

When the same item is bought at different prices, each sale raises a question: which cost goes to Cost of Goods Sold? First-in, first-out (FIFO) assumes the oldest units are sold first. Cost of goods sold uses the oldest costs, and ending inventory is valued at the newest.

Keep a list of cost layers: how many units at what cost. On a sale, take units from the oldest layer until it's empty, then from the next. When prices rise, FIFO gives a lower cost of goods sold and a higher ending inventory than the other methods.

Summit Gear starts with 100 headlamps at $20. Work out each cost before you record it.

Unlock this lesson with Pro

Pro opens all 42 Pro lessons, from merchandising and payroll to closing entries and a final exam. You come straight back here after paying.

Pro, monthly

$19 per month

For a short burst before an exam.

  • Everything in Pro
  • Cancel any time

Pro, lifetime

$199 once

Pay once, yours forever. No renewal, no subscription to remember.

  • Everything in Pro
  • Every Pro lesson we add later
  • One payment, no renewal

About this lesson: inventory costing: fifo

First-in, first-out: which costs go to cost of goods sold when prices change. You work through 6 tasks for Summit Gear, a headlamp retailer: 3 journal entries that post to the T-accounts and the trial balance, plus questions and calculations. Each answer is checked straight away, and a wrong one gets an explanation instead of just a red mark.

What you’ll work through

  1. Summit Gear buys 150 headlamps at $22 each on account.
  2. Calculation It sells 180 headlamps. Under FIFO, what is the cost of goods sold?
  3. Record the sale: 180 headlamps at $40 each on account, at the FIFO cost you worked out.
  4. Calculation What is ending inventory now under FIFO? Enter its cost.
  5. It buys 100 more headlamps at $24 each, paying cash.
  6. Calculation It sells 120 headlamps. What is the FIFO cost of goods sold?

Worked example: a journal entry from this lesson

Summit Gear buys 150 headlamps at $22 each on account.

Journal entry for: Summit Gear buys 150 headlamps at $22 each on account.
AccountDebitCredit
Inventory3,300
Accounts Payable3,300
Total3,3003,300

Inventory increased, so it's a debit. Assets increase with a debit. Accounts Payable increased, so it's a credit. Liabilities increase with a credit. A new cost layer: 150 units at $22. Now there are two layers.

Written by Sascha Heyer. Last updated November 10, 2026. US GAAP and IFRS wording are simplified for learning.