Calculate ending inventory and cost of goods sold under a perpetual inventory system using the inventory equation, weighted moving average or FIFO.

Costed stock only. Record returns, shrinkage and other adjustments separately; manufacturing cost build-up is excluded.


Related Calculators

Calculator Functions

FunctionWhat it doesWhat it requires
Equation: ending inventoryFinds the cost of inventory on hand at the end of a periodRequires the beginning inventory, purchases and cost of sales
Equation: beginning inventoryFinds the inventory cost at the start of the periodRequires the ending inventory, purchases and cost of sales
Equation: purchasesFinds the cost of goods bought during the periodRequires the beginning inventory, ending inventory and cost of sales
Equation: cost of salesFinds the cost of the goods sold during the periodRequires the beginning inventory, purchases and ending inventory
Perpetual moving averageCosts each sale at the average unit cost on hand at that moment and finds ending inventory and total cost of goods soldRequires the beginning quantity and unit cost, then up to four purchases or sales in order
Perpetual FIFOCosts each sale from the oldest units on hand and finds ending inventory and total cost of goods soldRequires the beginning quantity and unit cost, then up to four purchases or sales in order

The four equation functions work in dollars. The two costing functions take units and unit costs: a purchase needs a quantity and a cost per unit, and a sale needs only a quantity, because selling prices play no part in inventory cost. Both print a ledger with the cost of each sale and the units and cost left after every transaction.

Perpetual Inventory Formula

EI = BI + P โˆ’ CS
EIEnding inventory ($)
BIBeginning inventory ($)
PPurchases during the period ($)
CSCost of sales, also called cost of goods sold ($)

Equation: ending inventory

A period that starts with $5,000 of inventory, adds $2,000 of purchases and records $1,500 of cost of sales ends with 5,000 + 2,000 โˆ’ 1,500 = $5,500. In a perpetual system the purchases and cost of sales are recorded as each transaction happens, so this balance is always current.

Equation: beginning inventory

BI = EI + CS โˆ’ P

Ending inventory of $5,500, cost of sales of $1,500 and purchases of $2,000 give 5,500 + 1,500 โˆ’ 2,000 = $5,000.

Equation: purchases

P = EI + CS โˆ’ BI

Ending inventory of $5,500, cost of sales of $1,500 and beginning inventory of $5,000 give $2,000 of purchases.

Equation: cost of sales

CS = BI + P โˆ’ EI

Beginning inventory of $5,000, purchases of $2,000 and ending inventory of $5,500 give $1,500. Values that would make any of the four answers negative are rejected.

Perpetual moving average

Average cost = cost on
hand รท units on hand

The average is recalculated after every purchase, and each sale is costed at the average just before it. Under IAS 2 a weighted average may be worked out for the period or as each shipment arrives, and this function does the second [1]. Start with 100 units at $10. Buying 50 at $12 makes 150 units costing $1,600, an average of $10.6667. Selling 80 removes $853.33 and leaves 70 units at $746.67. Buying 40 at $11 makes 110 units costing $1,186.67, an average of $10.7879. Selling 30 removes $323.64. Ending inventory is 80 units at $863.03 and total cost of goods sold is $1,176.97.

Perpetual FIFO

First-in, first-out assumes the units bought first are sold first, so the units left are the most recent ones [1]. With the same transactions, the sale of 80 comes from the opening 100 units at $10, for $800. The sale of 30 takes the last 20 of those units and 10 of the $12 units, for $320. Ending inventory is 40 units at $12 and 40 at $11, or $920, and total cost of goods sold is $1,120. Either way, ending inventory plus cost of goods sold equals the $2,040 of opening cost and purchases.

Limits of This Estimate

  • The functions track purchased stock at cost. Returns, shrinkage, write-downs and other adjustments have to be recorded separately, and manufacturing costs are not built up.
  • IAS 2 measures inventory at the lower of cost and net realisable value [1]. The results here are cost only.
  • The costing functions take a beginning balance and up to four transactions. LIFO is not offered, and IAS 2 does not permit it [1].

Sources

  1. IFRS Foundation, IAS 2 Inventories: FIFO and weighted average cost formulas, and measurement at the lower of cost and net realisable value