Cost of goods sold depends on what is counted and costed as ending inventory, so a mistake in either goes straight to profit. This lesson covers the cost of goods sold equation, which costs are inventoried, which goods a company owns at year end, and tying inventory records to a physical count.
The cost of goods sold equation
Beginning inventory + net purchases - ending inventory = cost of goods sold.
Net purchases are purchases plus freight-in, less purchase returns and allowances and purchase discounts taken. Freight-out on deliveries to customers is a selling expense, not an inventory cost. Under a periodic system, cost of goods sold is found from this equation after the year-end count. Under a perpetual system it is recorded with each sale, and the count checks the records.