COGS, or cost of goods sold (CMV in Spanish accounting), measures the value of the products a restaurant has actually used or sold in a period. It is a key metric for understanding the real cost of operations, not just what has been bought.
COGS, short for cost of goods sold, is known in Spain as CMV (Coste de Mercancía Vendida). Applied to hospitality, it measures how much value in ingredients, drinks and other products intended for sale the restaurant has actually used in a specific period. The key word is actually. A restaurant may buy a lot of product in a week and yet not have used it yet, because part of it is still in the cold room, the stockroom or the cellar.
That is why COGS is not calculated from purchases alone, but by adjusting purchases for the change in inventory. In hospitality this distinction is fundamental, because buying is not the same as selling or using. If you make a large purchase of wine, meat or dry goods in April, that does not mean the whole cost belongs to April. Only what has actually left stock to generate sales should go into COGS.
COGS is used to build the profit and loss account, calculate margins, analyse the evolution of actual food cost and understand whether changes in profitability come from purchasing, inventory or usage. It also helps separate different problems that are often confused: buying at higher prices is not the same as using too much, and holding overstock is not the same as having high waste. In a professional restaurant, COGS is analysed by broad families such as food and drink, or even specific categories, because each behaves differently. Stable drinks COGS alongside soaring food COGS points to a different problem than if both rise at once.
This metric also connects directly with perpetual inventory, theoretical usage, inventory variance and the P&L. If COGS rises without sales keeping pace, the margin narrows. If it falls too far, there may be counting errors, misallocated purchases or unrecorded usage. Used well, COGS is not just an accounting figure.
It is a control tool for understanding what is happening in the kitchen, in the stockroom and in the restaurant's real profitability.
COGS = Opening inventory + Purchases for the period - Closing inventory
The formula follows a simple logic. You start with the value of inventory at the beginning of the period, add everything you bought during that same period and subtract the value of the inventory you still have at the end. The result is the value of the goods you have actually used or sold.
For example, if you start the month with €9,000 of inventory, buy €18,000 and finish with €7,500, your COGS is 9,000 + 18,000 - 7,500 = €19,500. That is the figure that reflects the real cost of the product used in the business during that month. From there, you can relate it to sales to calculate ratios such as actual food cost or actual beverage cost. You can also calculate COGS by category.
If you do the same for food and drink separately, you get far more information than from a single aggregate figure. The more reliable your inventory, the more useful COGS becomes as a management tool.
Imagine a restaurant that closes May with net sales of €52,000. Opening inventory for the month was €11,200: €7,400 in food and €3,800 in drink. During May it buys a further €16,500: €11,800 in food and €4,700 in drink. When it takes closing inventory, it finds €8,900 left in stock: €5,900 in food and €3,000 in drink.
Total COGS for the month is 11,200 + 16,500 - 8,900 = €18,800. Broken down, food COGS is 7,400 + 11,800 - 5,900 = €13,300, and drink COGS is 3,800 + 4,700 - 3,000 = €5,500. With these figures, the manager sees that COGS represents 36.15% of sales. It does not look dramatic, but comparing it with previous months, they notice that food COGS has risen more than expected.
They investigate and find it was not due to a general price rise, but to a combination of higher waste on fresh fish and over-portioning on two main courses. Thanks to the COGS analysis, they don't just say food cost is getting worse. They can pinpoint whether the problem lies in the stockroom, the kitchen or purchasing.
COGS matters because it turns inventory and purchases into a financial figure that can actually be compared with sales and margins. Without COGS, many restaurants make decisions looking only at supplier invoices or only at sales, without understanding how much product has really been used. That leads to common mistakes: thinking a month was bad because a lot was bought, when in fact useful stock was built up for the following weeks, or believing a month was excellent because little was bought, when in fact the stockroom was emptied and the problem will show up later. COGS avoids those misleading readings.
It is also a critical metric for building a reliable P&L, detecting cost variances, checking inventory discipline and assessing whether the business is protecting its margin. In restaurants with fast-moving stock, promotions, seasonality or variable purchasing, COGS gives a far more realistic reading of cost than gross purchases. That is why it is central to a restaurant's financial and operational control.
Zindra automatically calculates COGS by combining opening inventory, purchases and closing inventory, and breaks it down by category, period and product family. That way you can see whether the problem lies in purchasing, usage or stock control, and immediately relate it to food cost, gross margin and real profitability.
Tools and content to go deeper into this concept.
Food cost is the percentage of a dish's selling price that goes on the cost of its ingredients. It is the single most important indicator of how profitable your menu is.
Prime cost (coste primo in Spanish) is food cost plus staff cost. It is the most complete measure of a restaurant's direct operating cost and should stay between 55% and 65% of turnover.
Perpetual inventory is a stock control system that updates stock levels in real time with every movement in and out, unlike periodic inventory, which is only checked at set points in time.
Beverage cost is the percentage of a drink's selling price that goes on what the drink cost to buy. It is the key indicator for measuring the profitability of the drinks, wine and cocktail list.
The profit and loss statement (P&L) is the financial report that shows all of a restaurant's income and expenses for a period, revealing whether the business is making an operating profit or a loss.
Theoretical usage is the amount of product a restaurant should have used according to its sales and recipe costings. Comparing it with actual usage reveals cost and inventory variances.
Every hospitality term with formulas, examples and benchmarks in a handy PDF.
Try Zindra free and keep food cost, staff, inventory and much more under control from a single platform.