FIFO vs. LIFO Teaching Simulator

Beta

Interactive cost flow, LIFO reserve, tax shield, & discrete-event queuing dynamics

Teaching Scenarios:

Scenario 1: Steady Price Inflation (Prices ↑ / Tax Shield)

Prices rise continuously from $10 to $12 to $15 to $18 per unit. Observe how LIFO charges the most recent expensive costs to COGS (yielding a valuable tax shield), while FIFO reports higher ending inventory and higher net income ("phantom profits").

Tax Rate: 21%
Event 0 of 6 Day 0 (Initial)
Speed:
Tax %: 21%
Initial State

Simulation Initialized (Day 0)

Ready to Step
Current FIFO Action (Queue) Head Inflow

Simulation is at Day 0. Click Step Next or Play to process the first purchase transaction and create the initial inventory layer.

Current LIFO Action (Stack) Stack Inflow

Simulation is at Day 0. Click Step Next or Play to process the first purchase transaction and create the initial inventory layer.

Upcoming Next Day 1 Purchase: Beginning Inventory (200 units @ $10.00)
Will add Batch B1 to warehouse
FIFO (First-In, First-Out)

FIFO Inventory Container (Queue)

Thickness ∝ Units Remaining

Items sold from the bottom / oldest layer first

Top (Newest Purchases Enter Here) Inflow
Bottom (Earliest In → Sold First) Total Units: 0
Dispatched to COGS (FIFO): 0 units
No sales recorded yet.
Ending Inventory $0.00
Total COGS $0.00
LIFO (Last-In, First-Out)

LIFO Inventory Container (Stack)

Thickness ∝ Units Remaining

Items sold from the top / newest layer first

Top (Newest In → Sold First!) Inflow
Bottom (Old Base Layers Stored Here) Total Units: 0
Dispatched to COGS (LIFO): 0 units
No sales recorded yet.
Ending Inventory $0.00
Total COGS $0.00
Ending Inventory
FIFO: $0
LIFO: $0
+$0

Balance Sheet inventory valuation

Cost of Goods Sold (COGS)
FIFO: $0
LIFO: $0
-$0

Expense recognized on Income Statement

LIFO Reserve Balance
$0.00 Δ Reserve: $0

FIFO Inv = LIFO Inv + Reserve

LIFO Tax Shield Savings
$0.00 Cash Flow +

Tax Savings = Δ COGS × t

Financial Statement Line Item FIFO (Perpetual/Periodic) LIFO (Perpetual) LIFO (Periodic) Weighted-Average LIFO Effect / Reserve
Sales Revenue ($30/unit) $0.00 $0.00 $0.00 $0.00 $0.00
Less: Cost of Goods Sold (COGS) $0.00 $0.00 $0.00 $0.00 $0.00
Gross Profit $0.00 $0.00 $0.00 $0.00 $0.00
Gross Margin % 0.0% 0.0% 0.0% 0.0% 0.0%
Estimated Income Tax (21%) $0.00 $0.00 $0.00 $0.00 +$0.00 (Shield)
Balance Sheet: Ending Inventory $0.00 $0.00 $0.00 $0.00 $0.00 (Reserve)