Sub topic 3
Periodic and Perpetual Inventory Systems
This chapter assumes you know debits and credits, the income statement and balance sheet, and the equation for goods available for sale. The earlier chapters set up the cost flow assumption. This one covers when you apply it. A company can apply FIFO, LIFO, or weighted average once at the end of the period, or after every sale. That timing choice is the difference between a periodic and a perpetual system. It can change the numbers you report.
Two ways to keep the records
A periodic system updates the inventory account only at the end of the period. During the period, purchases go to a temporary Purchases account. Sales are recorded as revenue with no matching cost entry. At period end, the company counts inventory, prices the count using the chosen cost flow method, and works backward to COGS.
A perpetual system updates the inventory account at every purchase and every sale. Each sale produces two entries: one for revenue and one that moves cost from Inventory to COGS. The Inventory account always shows the book quantity and cost on hand.
| Feature | Periodic | Perpetual |
|---|---|---|
| Inventory account updated | At period end | At each transaction |
| Purchases recorded in | Purchases (temporary account) | Inventory |
| COGS determined | By formula after the count | At each sale |
| Needs a physical count | Yes, to measure ending inventory | Yes, to verify book records |
| Shrinkage visible | Not separately (it is buried in COGS) | Yes, as the gap between book and count |
| Record-keeping effort | Low | High without software |
Journal entries side by side
Take a purchase of $2,400 on account and a sale of $3,000 that cost $1,700.
| Event | Periodic | Perpetual |
|---|---|---|
| Purchase | Dr Purchases 2,400; Cr Accounts Payable 2,400 | Dr Inventory 2,400; Cr Accounts Payable 2,400 |
| Sale | Dr Accounts Receivable 3,000; Cr Sales 3,000 | Dr Accounts Receivable 3,000; Cr Sales 3,000 |
| Cost of the sale | No entry | Dr COGS 1,700; Cr Inventory 1,700 |
| Period end | Dr COGS; Dr Ending Inventory; Cr Beginning Inventory; Cr Purchases | Adjust only for shrinkage found in the count |
Under the periodic system, the closing entry removes the old Inventory balance and Purchases. It also sets up the new Inventory balance and the COGS figure. COGS is a computed result: beginning inventory plus purchases minus ending inventory.
The same data under both systems
Use the running example. The company starts with 100 units at $10. It then has this activity:
- Day 5: buys 200 units at $12.
- Day 10: sells 150 units.
- Day 15: buys 100 units at $14.
- Day 20: sells 100 units.
Total sales are 250 units. Goods available for sale are 100 × $10 + 200 × $12 + 100 × $14 = $4,800. A periodic system treats the 250 units as one sale at period end, using all four hundred units of layers. The earlier example gives these results.
| Method (periodic) | COGS | Ending inventory |
|---|---|---|
| FIFO | $2,800 | $2,000 |
| LIFO | $3,200 | $1,600 |
| Weighted average | $3,000 | $1,800 |
A perpetual system must price each sale using only the layers that exist on the day of the sale. The Day 10 sale cannot draw on the $14 units, because they have not been bought yet. That restriction is why perpetual results can differ from periodic ones.
Perpetual FIFO
On Day 10, the oldest 150 units come out: 100 × $10 + 50 × $12 = $1,600. That leaves 150 units at $12. After the Day 15 purchase, the layers are 150 at $12 and 100 at $14. On Day 20, the oldest 100 units come out, all at $12, so COGS is $1,200. Total COGS is $2,800. Ending inventory is 50 × $12 + 100 × $14 = $2,000. This matches periodic FIFO exactly.
FIFO always gives the same answer under both systems. The oldest costs leave first either way, and a later purchase can never change which layers are the oldest.
Perpetual LIFO
On Day 10, the newest layer available is the $12 layer: 150 × $12 = $1,800. That leaves 100 at $10 and 50 at $12. On Day 20, the newest layer is the new $14 purchase: 100 × $14 = $1,400. Total COGS is $3,200, and ending inventory is $1,000 + $600 = $1,600. In this example the result happens to equal periodic LIFO.
Do not generalize from this. If the Day 20 sale had been 150 units, the perpetual system would take 100 at $14 and 50 at $12, while the Day 10 sale had already consumed $12 units. Whenever a sale uses an older layer that a later purchase would have "covered" under a periodic calculation, the two systems diverge. Perpetual LIFO is sensitive to the order of purchases and sales within the period. Periodic LIFO ignores that order.
Perpetual moving average
A perpetual system cannot use one period-wide average, because the period is not over. It recalculates the average cost after each purchase. This is the moving average method.
- Start: 100 units, $1,000 total.
- Day 5 purchase: 300 units, $3,400 total. The average is $11.33.
- Day 10 sale of 150 units at $11.33 gives COGS of $1,700. That leaves 150 units and $1,700.
- Day 15 purchase: 250 units, $3,100 total. The average is $12.40.
- Day 20 sale of 100 units at $12.40 gives COGS of $1,240.
Total COGS is $2,940, and ending inventory is 150 units and $1,860. The periodic weighted average gave $3,000. The difference arises because the perpetual average on Day 10 does not yet include the $14 units, which are the most expensive.
# Perpetual moving average: recompute the average cost after every purchase.
units, total_cost = 100, 1000.0
cogs = 0.0
events = [
('buy', 200, 12),
('sell', 150, None),
('buy', 100, 14),
('sell', 100, None),
]
for kind, qty, unit_cost in events:
if kind == 'buy':
units += qty
total_cost += qty * unit_cost
else:
avg = total_cost / units
out = qty * avg
cogs += out
units -= qty
total_cost -= out
print(round(cogs, 2), units, round(total_cost, 2))
# 2940.0 150 1860.0The next script runs perpetual FIFO and LIFO on the same events. It tracks layers and consumes them from the oldest end or the newest end.
def run_perpetual(method, opening, events):
layers = [list(layer) for layer in opening] # [units, unit_cost], oldest first
cogs = 0.0
for kind, qty, cost in events:
if kind == 'buy':
layers.append([qty, cost])
continue
remaining = qty
if method == 'FIFO':
order = range(len(layers))
else:
order = range(len(layers) - 1, -1, -1)
for i in order:
take = min(layers[i][0], remaining)
cogs += take * layers[i][1]
layers[i][0] -= take
remaining -= take
if remaining == 0:
break
if remaining:
raise ValueError('sold more units than on hand')
ending = sum(units * cost for units, cost in layers)
return cogs, ending
opening = [(100, 10)]
events = [
('buy', 200, 12),
('sell', 150, None),
('buy', 100, 14),
('sell', 100, None),
]
for method in ('FIFO', 'LIFO'):
cogs, ending = run_perpetual(method, opening, events)
print(method, 'COGS =', f'{cogs:.2f}', 'Ending inventory =', f'{ending:.2f}')
# FIFO COGS = 2800.00 Ending inventory = 2000.00
# LIFO COGS = 3200.00 Ending inventory = 1600.00Comparing the results
| Method | Periodic COGS | Perpetual COGS | Same? |
|---|---|---|---|
| FIFO | $2,800 | $2,800 | Always |
| LIFO | $3,200 | $3,200 | Only by coincidence here |
| Average | $3,000 | $2,940 | No, periodic average vs moving average |
Shrinkage and the physical count
A perpetual system does not remove the need for a count. Theft, damage, spoilage, and clerical errors make book quantities drift from actual quantities. At the count, the company compares book to physical and records the difference.
If the book shows 150 units at $1,860 and the count finds 148 units, the company writes off two units. At the moving-average cost of $12.40, that is $24.80: Dr COGS (or a separate inventory loss account) 24.80; Cr Inventory 24.80.
A periodic system cannot show this gap. It prices what it counts and treats everything else as sold. A missing unit therefore increases COGS with no signal that it was lost rather than sold. This is a real control weakness. A company with high-value or easily stolen goods usually needs perpetual records for that reason alone.
Why systems differ in practice
Perpetual systems used to be costly, so small businesses with low-value goods stayed periodic. Barcode scanners and accounting software have mostly removed that cost. Many companies now run a perpetual system for quantities and operations, and some still compute their formal cost flow layers periodically. Check which system a company describes in its notes before comparing two companies' COGS figures.
Two practical points follow from the example.
- Under a perpetual system, LIFO and average results depend on the order of events. Back-dated purchases or late-recorded receipts can change COGS for earlier sales.
- Under a periodic system, the order within the period does not matter. Only the totals and the layers matter.
Exercise
A company uses a perpetual system with FIFO. It has 100 units at $10 and buys 200 units at $12 on Day 5. It sells 150 units on Day 10. What is the Day 10 COGS, and what does it leave in inventory? Would a periodic FIFO system that counts at period end give a different Day 10 cost for these units if no further purchases occur?
Show answer
Day 10 COGS is 100 × $10 + 50 × $12 = $1,600. The remaining inventory is 150 units at $12, or $1,800. A periodic FIFO system with no later purchases gives the same result: COGS of $1,600 and ending inventory of $1,800. FIFO is the same under both systems because the oldest costs always leave first.
Exercise
Why does the perpetual moving average COGS of $2,940 differ from the periodic weighted average COGS of $3,000 for the same purchases and sales?
Show answer
The periodic method divides the whole period's $4,800 by 400 units to get $12 and applies it to all 250 units sold. The perpetual method recalculates after each purchase. The Day 10 sale uses $11.33, which excludes the $14 units not yet bought, and the Day 20 sale uses $12.40. The lower early average pulls total COGS down to $1,700 + $1,240 = $2,940.