Lawfare Group → Knowledge Institute → Lawfare Academy

← Course syllabus · Related lesson

Keep the unit ledger separate from the inventory cost assumption

Current complete on-site edition 4

Required teaching and complete optional models are supplied on LawfareGroup.com. Publisher and primary links are optional provenance or further reading. Florida is the contemporary state-law default; federal rules and comparative accounting frameworks are distinguished. Independent subject review and observed human learner testing remain pending.

Cumulative Meridian case, transfer models and 30-point rubric

Preserved original application teaching, integrated with current on-site preparation. Practice is optional; independent subject review and observed human learner testing remain pending.

Learning objectives

Count the goods before assigning their costs

A retailer begins with 100 units costing 10 each and buys another 100 units costing 14 each. It sells 150 units for 20 each and counts 50 remaining. There are 200 available units with total cost 2,400 and sales revenue of 3,000. Assume a single homogeneous product, no returns, freight, discounts, impairment or other costs, and the stated inventory methods. The unit ledger is 100+100−150=50 regardless of which cost assumption is used.

A cost-flow assumption allocates the 2,400 available cost between the units sold and the units left. It is not necessarily a description of which physical box left the shelf. Distinguish cost assignment from warehouse rotation, expiry management and evidence about the actual count. A company can physically rotate its oldest stock while using a different permitted accounting cost assumption under its applicable framework. This lesson compares model calculations; it does not select a reporting policy for a real entity.

Under periodic FIFO, assign the oldest costs to the 150 sold units: 100×10+50×14=1,700. The remaining 50 units receive the newer cost of 14, so ending inventory is 700. Gross profit is 3,000−1,700=1,300. The check is 1,700+700=2,400. Do not confuse gross profit with net income, which would also reflect other expenses omitted from the fixture.

A weighted average needs a defined system and period

Periodic weighted-average unit cost is total available cost divided by total available units: 2,400/200=12. Assign 150×12=1,800 to units sold and 50×12=600 to ending inventory. Gross profit becomes 1,200, while the cost reconciliation remains 1,800+600=2,400. Compared with FIFO, this fixture moves 100 of cost from the ending asset to current cost of goods sold. Neither method changes the number of goods or the cash already exchanged.

Do not take the unweighted mean of a list of purchase prices unless quantities justify it. The average of 10 and 14 happens to equal 12 here because both layers contain 100 units. With unequal quantities, the arithmetic mean of the price labels generally differs from the cost per available unit. Preserve both quantity and cost denominators.

The phrase 'average cost' is incomplete without its timing convention. A perpetual moving average recomputes cost as purchases arrive; a periodic average pools the defined period. If sales occur between purchases, those approaches can allocate different amounts. An implementation must preserve transaction dates and the intended update policy instead of treating all methods with 'average' in their names as interchangeable. Report rounding rules separately from the underlying unrounded cost calculation.

Reconcile timing, counts and recognition without hiding differences

Consider an explicit chronology: sell 60 of the beginning units, buy the 100 units at 14, then sell another 90. The perpetual moving-average cost of the first sale is 600. After that sale and the purchase, 140 units carry cost 400+1,400=1,800, or 90/7 per unit. The second sale receives cost 8,100/7≈1,157.14. Total assigned sale cost is 12,300/7≈1,757.14, and 50 remaining units carry 4,500/7≈642.86. Their sum is still 2,400. Periodic weighted average remains 1,800 and 600 for this period, because it pools all available costs before allocating them.

Now return to the original 150-sale fixture but suppose the physical count is 45, not 50. Five units are unaccounted for. Under the assumed FIFO layers after the sales, a five-unit loss carries 70 and leaves 630 of inventory; under periodic weighted average the loss carries 60 and leaves 540. Total inventory expense, including this separate modeled loss, is 1,770 or 1,860 respectively. Show sales cost and the unexplained difference separately before deciding its cause or presentation.

The equation available cost=assigned expense+ending inventory can balance after an incorrect adjustment too. Investigate count timing, goods in transit, returns, damaged stock, cutoffs and recording mistakes. An unexplained difference is not automatically theft, and a balancing plug is not an investigation. Preserve the count sheets and transaction evidence that support the correction.

If all purchase and sale cash flows are unchanged, switching cost assumptions cannot by itself generate cash. With the additional purchase paid in cash and the 3,000 sales collected in cash, those two events contribute net cash of 1,600 under both calculations. The beginning inventory was an opening asset; its original payment is outside this period’s stated cash events. Profit measures and cash timing answer different questions, as the accrual lesson demonstrated.

Worked example: Cost conservation under two allocations

FIFO assigns 1,700 to the 150 sold units and 700 to the ending 50. Periodic average assigns 1,800 and 600. Both conserve the original 2,400 cost. A report claiming that average cost lowers both expense and ending inventory relative to FIFO in this fixture would fail that conservation check unless another event had changed the available cost.

Worked example: An apparently minor naming difference changes the answer

With 60 units sold before the purchase and 90 afterward, perpetual moving-average sale cost is about 1,757.14, rather than the periodic result 1,800. The 42.86 difference is not necessarily a programming error; it can arise from different timing definitions. Verify the policy before comparing outputs, then compare exact unrounded values before investigating currency rounding.

Progressive optional practice

Attempt each problem before opening its model. Then revise the reasoning under the changed conditions.

Guided

Reproduce FIFO and periodic weighted-average sale cost, ending inventory and gross profit.

Compare the model reasoning

FIFO: 1,700,700,1,300. Periodic average: 1,800,600,1,200. Both methods allocate total available cost 2,400 across 150 sold and 50 ending units.

Changed conditions

The purchase quantities are unequal.

Compare the revised analysis

Recompute the quantity-weighted average. Do not simply average the two price labels.

Independent

Explain why a count of 45 requires another reconciliation even if the sales ledger says 150 units sold.

Compare the model reasoning

Available units 200 less sales 150 predict 50, so five units require investigation. In the stipulated layers, the modeled losses are 70 under FIFO or 60 under periodic average, leaving 630 or 540.

Changed conditions

A late return was entered after the physical count.

Compare the revised analysis

Align the count and transaction cutoffs before labeling a loss. The event timing can explain a difference that is not an inventory disappearance.

Transfer

Two systems both say average cost but disagree after a sale, purchase and second sale. Design the review.

Compare the model reasoning

Identify periodic versus perpetual moving-average rules, transaction order, returns and rounding; reconstruct the unit and cost ledger and test the explicit sequence. Preserve evidence instead of forcing a balancing number.

Changed conditions

The manager claims the method change itself created more cash.

Compare the revised analysis

Separate noncash cost allocation from actual receipts and payments. Under unchanged stated cash events, the net contribution remains 1,600 in either method.

Preserved historical development snapshot

Source readings and scope

OpenStax: inventory valuation and cost-flow assumptions — Read the method definitions, then independently reconstruct the original unit and cost ledger. No method-permission or tax-policy claim is made for a real entity.

OpenStax: perpetual versus periodic systems — Compare update timing with the two-sale moving-average case; the quantities, amounts and exercises here are original.

Reproduce the worked examples in Python 3. Standard library only; synthetic data; no production records or network access.