How to calculate food cost: formulas and examples
Learn portion cost, food cost percentage and period food cost with worked examples; price from cost and keep waste under control.
4 min read
In this article
Food cost is one of the numbers that most affects a restaurant's profitability. Ingredient prices change often, so calculating it once and forgetting is not enough; you need to measure it regularly. This article explains the two core methods with worked examples.
How to calculate portion (recipe) cost
Portion cost is the total cost of the ingredients used to prepare an item once. For that, every item needs a written recipe.
- Write the recipe in grams, millilitres or units.
- Find the unit cost of each ingredient (e.g. price of 1 kg of minced meat ÷ 1000 = price per gram).
- Account for usable yield: trimming, cleaning and cooking losses raise the unit cost.
- Add up quantity × unit cost for every line.
Example: a burger
| Ingredient | Quantity | Unit cost | Amount |
|---|---|---|---|
| Patty (raw) | 150 g | 0.45 / g | 67.50 |
| Bun | 1 pc | 12.00 / pc | 12.00 |
| Cheddar | 20 g | 0.60 / g | 12.00 |
| Vegetables and sauce | — | — | 8.50 |
| Fries (side) | 180 g | 0.10 / g | 18.00 |
| Total | 118.00 |
The figures are examples; calculate with your own purchase prices. Do not forget small items such as packaging, napkins and sauce pots; each looks tiny but together they make a difference.
Food cost percentage and pricing
The food cost percentage shows how much of the selling price goes to ingredients:
Food cost % = Portion cost ÷ Selling price excluding VAT × 100
If you sell the burger above for 400 excluding VAT, the ratio is 118 ÷ 400 = 29.5%.
You can also work backwards to set a price. If your target is 30%:
Price excluding VAT = Portion cost ÷ Target ratio → 118 ÷ 0.30 ≈ 393
Then add VAT and round on the menu. Always calculate with the price excluding VAT; otherwise you are treating tax as income.
The ratio is not enough: look at contribution margin
Not every low-ratio item is a good one. A salad may earn 60 at a 20% cost ratio while a steak earns 250 at 38%. What stays in the till is not the ratio but the contribution margin (selling price − portion cost). To find which items to push, see our menu engineering guide.
Period (actual) food cost
Recipe cost tells you what should happen. To see what you actually spent, count stock at the end of the period:
Ingredients used = Opening stock + Purchases during the period − Closing stock
Actual food cost = Ingredients used ÷ Food sales for the period (excluding VAT)
For example, if opening stock is 80,000, purchases 220,000 and closing stock 90,000, ingredients used are 210,000. If food sales for the month are 650,000, the actual ratio is 32.3%.
What the gap between theoretical and actual tells you
If the gap between theoretical cost (from the recipes of items sold) and actual cost (from the stock count) is more than a few points, look at:
- Waste and spoilage: are expired, dropped or wrongly prepared items being recorded?
- Over-portioning: if the recipe says 150 g, does 150 g really go on the plate?
- Unrecorded usage: are staff meals, comps and returns entered in the system?
- Purchase prices: are unit costs in your recipes up to date?
- Counting errors: is stock counted with the same units and the same method?
Habits for keeping costs under control
- Update unit costs when you enter purchase invoices.
- Count stock on the same day and at the same time each week or month.
- Record waste and comps with a reason.
- Count expensive, high-use ingredients (meat, cheese, coffee, oil) more often.
- Review items whose cost ratio has risen noticeably once a month.
Food cost in MilkyPOS
In MilkyPOS you can attach a recipe to every item and see its portion cost automatically from ingredient purchase prices. When an item is sent to the kitchen, its recipe ingredients are deducted from stock; counts, waste and purchases flow into reports. You can also enter a manual cost for items without a recipe. For details, read our inventory and recipe management article or browse the features.
Frequently asked questions
What is a good food cost percentage?
There is no single right number. For food, 28–35% is often quoted, but coffee- and drinks-led businesses may run lower and meat-led restaurants higher. Measuring your own ratio and tracking how it changes matters more.
Is VAT included in the food cost calculation?
No. Use the selling price excluding VAT. VAT is a tax passed on to the state, not your income. Likewise, do not add recoverable input VAT on purchases to your costs.
How often should I count stock?
Most businesses do a full count once a month. Counting expensive, fast-moving ingredients weekly helps you catch differences early.
Are staff meals part of food cost?
Yes, they are part of ingredients used. If you record them with a separate reason code, you can see how much of a food cost increase comes from staff meals.