It’s important for business owners to calculate inventory correctly. You’ll need to know the following: Total valuation of beginning inventory Total valuation of ending inventory Cost of goods sold And the formula to calculate your inventory is: (Ending inventory – Beginning inventory) + Cost of goods sold = Inventory purchases