DEFINITION of 'Ending Inventory'. The value of goods available for sale at the end of the accounting period. The ending inventory is recorded as the lower of the cost of the inventory or the market value of the inventory. Assuming no write-downs, the ending inventory can be found by starting with the beginning inventory, adding purchases and subtracting the cost of goods sold. Next Up.