Food Cost Calculator Widget
The restaurant manager's weekly or monthly check: opening inventory plus purchases minus closing inventory gives the cost of food actually used, and dividing by food sales gives the food cost percentage - with the gap to target shown in points and in money.
Live preview
Under the widget on your page: Powered by A2Z Tools
Embed code
<iframe src="https://a2z.tools/embed/w/food-cost-calculator" title="Food Cost Calculator by A2Z Tools" width="100%" height="600" style="border:0;width:100%" loading="lazy" allow="clipboard-write"></iframe>
A plain iframe. Works everywhere, including site builders that strip scripts. Adjust height if your content needs more room.
<div data-a2z-widget="food-cost-calculator" data-height="600"></div> <script async src="https://a2z.tools/embed.js"></script>
Adds a small script (what it does) that sizes the widget to fit its content, loads it lazily and keeps it isolated from your page's CSS.
Works with
How it works
Food cost percentage measures a whole kitchen over a period, not one dish. Start with the value of food on the shelves at the beginning of the period, add every food invoice received during it, and subtract the stock counted at the end: what is left is the cost of food that was used, sold, wasted or lost. With 8,000 of opening stock, 12,000 of purchases and 7,000 of closing stock, the kitchen consumed 13,000. Dividing by the period's food sales of 40,000 gives 32.5%. Against a 30% target that is 2.5 points too high, which in money means 1,000 more food cost than the target allowed (30% of 40,000 is 12,000). If closing stock exceeds opening stock plus purchases the result would be negative, which always means a counting error or a missing invoice, so the widget stops and says so. Beverage sales and beverage purchases should be kept out of both sides.
Calculation method
- Cost of food sold = beginning inventory + purchases - ending inventory
- Food cost % = cost of food sold / food sales x 100
- Cost allowed by target = food sales x target %
- Over (under) target = cost of food sold - cost allowed
Worked examples
Month above target
Inputs: Opening 8,000; purchases 12,000; closing 7,000; food sales 40,000; target 30%
Result: 32.5% food cost; 1,000 above target
13,000 / 40,000. The target allowed 12,000.
Week under target
Inputs: Opening 5,000; purchases 15,000; closing 4,000; sales 50,000; target 35%
Result: 32% food cost; 1,500 under target
16,000 / 50,000; the target allowed 17,500.
Limitations
- Only as accurate as the stock counts; a rushed count can move the result by several points.
- Does not separate waste, staff meals or comps - record those separately to see where cost goes.
- One figure for the whole kitchen; it cannot point to the dish that is losing money.
Where publishers use it
- A restaurant-consulting firm's resources page for owners closing their monthly books
- A culinary-school management course module on cost control
- A POS or inventory-software vendor's blog explaining the metric their reports show
- A food-truck association's starter kit
- A hotel F&B manager's internal wiki next to the stock-count procedure
Questions
What is a good food cost percentage?
Many full-service restaurants plan for roughly 28-35%, quick-service operations often run lower and steakhouses or seafood restaurants higher. That range is a common industry rule of thumb, not a standard; the right target depends on your menu prices, labour model and concept.
How is this different from menu pricing?
This is a period figure: it measures everything that left the stores, including waste, staff meals, theft and over-portioning. A menu-price calculation uses the theoretical plate cost of one dish. Comparing the two shows how much food is being lost.
Should I include drinks?
Keep beverages separate. Bar costs and bar sales have very different margins, and mixing them hides problems in either area. Run the widget once for food and once for beverages.
Why did I get a negative cost?
Ending inventory larger than opening stock plus purchases is impossible unless something is missing - usually an invoice not yet entered, a delivery counted in stock but not in purchases, or a counting error. The widget refuses the figures instead of showing a negative percentage.
How often should I calculate it?
Weekly is common in busy kitchens because problems compound quickly; monthly works when stock counts take a long time. Count at the same time of day each period, before or after deliveries, so the figures are comparable.
Cite or recommend this tool
If you reference this tool in an article, course or documentation, these formats are ready to copy. They are optional - nothing is added to your site unless you paste it.
A2Z Tools Food Cost Calculator https://a2z.tools/embed/food-cost-calculator
<a href="https://a2z.tools/embed/food-cost-calculator">A2Z Tools Food Cost Calculator</a>
[A2Z Tools Food Cost Calculator](https://a2z.tools/embed/food-cost-calculator)
Food Cost Calculator by A2Z Tools - https://a2z.tools/embed/food-cost-calculator
Related widgets
-
A menu price for one dish from its plate cost, by target food-cost % or markup, rounded to a tidy ending.
-
Ingredient-by-ingredient batch cost, cost per serving and a suggested price, allowing for trim and waste.
-
Profit, gross margin and markup from cost and price - or the price for a target margin.
-
Inventory turns and days inventory outstanding from COGS, with the stock level needed for a target.
-
A printed-style restaurant menu with sections, price variants, dietary badges with a legend and an allergen note.
-
Paste an ingredient list and rescale it by servings or a factor, with kitchen fractions for cups and spoons.