InvisOne
Lesson 2 of 4Intermediate 3 min read

FIFO vs. weighted average: how cost flows from shelf to COGS

Identical units bought at different prices - which cost leaves when one sells? Both methods worked on the same transactions (with a 50-unit profit difference and both answers 'true'), the properties that decide the choice, and why consistency outranks cleverness.

Updated 2026-06-07·By the InvisOne team
CourseInventory Costing
Lesson 2 of 4
Key takeaways
  • Cost methods are flow assumptions about value, not goods - you can physically ship the newest box while costing FIFO.
  • FIFO: oldest costs leave first - closing stock carries recent prices; in rising markets, higher reported profit.
  • Weighted average: every unit carries the blended cost - margins smooth out purchase-price noise.
  • Same transactions, different profit and balance sheet - both true; the method is a lens, declared and held.
  • Perpetual systems recompute the moving average at every receipt - the worked mechanics matter when costs swing.
  • Consistency outranks choice: switching methods is an accounting-policy event, not a quarterly mood. LIFO is prohibited under IFRS and in most national frameworks that follow it - if you are not in the US, assume it is unavailable rather than optional.
Topics covered
FIFOWeighted averageCOGSInventory valuation
Learn by doing

InvisOne is free forever - the fastest way to learn accounting is inside real books.

Create your free account

The shelf holds 200 identical units. A hundred arrived in March at 10.00; a hundred in May at 12.00 (landed, both). A customer buys 150. The units are indistinguishable - but their costs aren't, and the books must decide which 150 costs leave as COGS. That decision is the costing method, and the first thing to fix in your mind is what it is not: it is not a claim about which physical boxes shipped. The picker can grab May's boxes while the books cost March's - the method is a flow assumption about value, chosen for its reporting properties, declared once, and held.

The same sale, both methods#

Base facts: opening 100 @ 10.00 · purchase 100 @ 12.00 · sell 150 @ 20.00 (revenue 3,000).

FIFO - first in, first out. The oldest costs leave first:

COGS = 100 × 10.00 + 50 × 12.00 = 1,600 · margin 1,400 Closing stock = 50 × 12.00 = 600 - the shelf carries the newest prices

Weighted average. Every unit carries the blend:

Average = (1,000 + 1,200) ÷ 200 = 11.00 COGS = 150 × 11.00 = 1,650 · margin 1,350 Closing stock = 50 × 11.00 = 550

Same physical events, and the methods report 50 of profit difference - with the balance sheet differing by the same 50 in the other direction (the units that didn't sell absorb what COGS didn't take; the equation balances, as ever). Neither is wrong. Both are "true" the way a depreciation method is true: a declared convention for allocating real cost across time - and like depreciation, the total over the product's whole life is identical; only the when moves.

The properties that decide the choice#

FIFOWeighted average
Closing stock carriesRecent costs - balance sheet near replacement valueBlended history
In rising pricesOlder, cheaper costs hit COGS → higher reported profit (and tax base)In-between
Margin behaviourSteps when old layers exhaust mid-periodSmooth - purchase-price noise averaged away
Narrative fitPerishables, dated goods - matches how stock should physically rotateCommodities, volatile-price inputs
MechanicsLayers tracked, consumed in orderOne number, recomputed at each receipt

Practical translations: a coffee importer whose bean costs swing 15% between shipments will find FIFO margins jumping at each layer boundary, telling pricing stories that are really just queue arithmetic - weighted average smooths exactly that. A business selling dated or perishable goods often prefers FIFO's narrative alignment (the costing echoes the rotation the stocktake enforces anyway). And two footnotes for completeness: specific identification - costing the actual unit - is right and required for serialized, unique goods (vehicles, art, serial-numbered equipment); LIFO (newest costs first) survives in US GAAP for tax reasons and is banned under IFRS - if you're somewhere it's even an option, that's an accountant conversation. Check your local rules.

The moving average, live#

Perpetual systems - InvisOne included - typically run weighted average as a moving average, recomputed at every receipt. Continue the example: after the 150-unit sale, 50 units remain at 11.00 (550). Now 100 more arrive at 13.00:

New average = (550 + 1,300) ÷ 150 = 12.33 - every subsequent sale costs at 12.33, until the next receipt moves it again

Two behaviours worth knowing live here. The average only moves on receipts (sales consume at the current average; they never change it). And a unit-of-measure error or unposted receipt doesn't just dent quantities - it poisons the average itself, spreading a wrong cost across every later sale; one more reason the control course's disciplines feed directly into costing truth.

Consistency outranks cleverness#

The method is an accounting policy: declared, disclosed where statements are filed, and changed only for cause, with your accountant, prospectively - never because this quarter would look better under the other lens (the depreciation-method rule, and the materiality-consistency rule, and every other version of the same sentence this curriculum contains). Comparability is what your margin trends are for; a method switch resets the ruler mid-measurement.

Either method assumes the cost on the shelf is still worth carrying. When it isn't - the superseded model, the fashion that passed - the books owe reality a different entry: write-downs and obsolescence, next.

InvisOne

Put this into practice

Everything in this lesson can be set up in InvisOne - free, no credit card.

Learn it. Then run it.

Every concept in these lessons is one click from practice - free, forever.

Get Started Free →

No credit card required · Set up in 3 minutes · Free forever