Question: how to calculate ending inventory in periodic system?
Answer: If cost of goods sold is incorrect, ending inventory is usually incorrect too.
beginning inventory + purchases = cost of goods sold.
ending inventory + cost of goods sold = goods available for sale.
goods available for sale – beginning inventory = purchases.