What is ending inventory?

Ending inventory is the value of goods remaining unsold at the end of an accounting period. It's crucial for calculating cost of goods sold (COGS) and managing a restaurant's food costs, impacting overall profitability.