Restaurants
How to Cost a Recipe and Find Your Real Food Cost Percentage
To cost a recipe, multiply each ingredient's quantity by its cost per unit and add the results. A wrap that costs $1.34 to make and sells for $4.00 has a food cost of 33.5% and a margin of 66.5%. Most owners have never done that sum for every dish, and the dishes they are wrong about are rarely the ones they would guess.
Most menu prices are set one of three ways: copy the place down the road, add a bit to last year's price, or pick a number that feels right. All three work until an ingredient doubles in price and nobody notices, because nobody knows which dishes were barely making money to begin with.
The formula, with a real dish
For every ingredient: quantity used × cost per unit. Add them up. That is the recipe cost. Take a chicken wrap:
| Ingredient | Used | Cost |
|---|---|---|
| Chicken, $6.50 per kg | 120 g | $0.78 |
| Bread | 1 piece | $0.25 |
| Garlic sauce, $3 per kg | 30 g | $0.09 |
| Fries, $1.20 per kg | 100 g | $0.12 |
| Vegetables | 40 g | $0.10 |
| Recipe cost | $1.34 |
Sold at $4.00, the margin is $2.66, which is 66.5%. The food cost percentage is the other side of the same number: $1.34 ÷ $4.00 = 33.5%. A common rule of thumb is to aim for 28% to 35%, but it moves with the type of place, so treat it as a sanity check and not a target.
Why this usually dies in a spreadsheet
The sum is easy. Keeping it true is the hard part, for two reasons.
First, prices move. The spreadsheet says chicken is $6.50 per kg because that was the price when you built it. Three supplier bills later it is $7.40, and every dish that uses chicken is quietly less profitable than the sheet says. Second, the bills do not come in grams. They come in cans, boxes and cartons, so before you can use a price you have to divide it: a 350 g can of corn at $1.40 is $0.004 per gram. Do that for every line of every bill and the spreadsheet is abandoned by the second week.
Costing inside the POS
In YellowPOS the ingredients and the recipe live where the sales happen, so the cost is calculated from the same numbers your stock uses.
Ingredients carry a cost per unit. Each ingredient has a base unit (grams, millilitres, pieces) and a cost for one of those units. You do not type that cost for every purchase. Record a purchase and the cost is blended into a running average.
Purchases are entered the way the bill is written. Define a pack on the ingredient once, such as can = 350 g or box = 8,400 g. When the bill says 5 cans at $1.40, you type 5 and 1.40. Stock goes up by 1,750 g and the cost per gram becomes $0.004. No dividing. If the supplier's cans were 400 g this time, you change the size on that line only.
The recipe shows its own cost. On the product page, each ingredient row shows what it costs, and under the rows you get the recipe cost, the selling price and the margin. Change the price field and the margin changes with it, so you can try $4.50 and see what it does before you save.
Variants are costed separately. If a large size or an extra topping adds ingredients, that option's tab shows the cost of the extras and the total with it. A cheese topping that adds 30 g of cheese is a line you can see, not something averaged away.
What to do with the numbers
- Find the dishes you are wrong about. Sort your menu by margin. The dish you push hardest is often not the one at the top.
- Price changes with evidence. If cheese goes up 20%, you can see exactly which dishes it touches and by how much, instead of raising everything by a round number.
- Check portion sizes. The recipe says 120 g of chicken. If the kitchen serves 160 g, the real cost is a third higher than the one you calculated, and that gap is where food cost leaks.
- Decide with the cost beside the price. A promotion on a 66% margin dish and one on a 40% margin dish are not the same decision.
What recipe cost does not tell you
Be careful about reading too much into it. Recipe cost is the food on the plate. It does not include staff, rent, electricity, packaging (unless you track it as an ingredient) or what you throw away. A 66% margin on paper is not 66% profit in the bank. That is why waste matters: a dish that is burnt and remade cost you its ingredients twice and earned you one sale. We cover tracking that in food waste in a restaurant.
The figure is also only as good as the inputs. If an ingredient's cost was never entered it shows as zero, and the recipe says so rather than quietly under-reporting. Fix those first.
Frequently asked questions
How do I calculate the cost of a recipe?
Multiply the quantity of each ingredient by its cost per unit, then add the results. 150 g of an ingredient that costs $4 per kg is $0.60. Do that for every ingredient in the dish and the total is the recipe cost. In YellowPOS you enter the ingredients and quantities once on the product page, and the cost of each row and the total appear as you type.
What is a good food cost percentage for a restaurant?
A common rule of thumb is 28% to 35% of the selling price, but it depends on the concept. A burger place and a fine-dining restaurant do not aim for the same number. Food cost percentage is the recipe cost divided by the selling price: a dish that costs $1.34 to make and sells for $4.00 has a food cost of 33.5% and a margin of 66.5%.
Does the recipe cost update when ingredient prices change?
Yes, as your purchases change the ingredient's average cost. Each time you record a purchase, YellowPOS blends the new price into the ingredient's running average cost per unit, and the recipe cost is calculated from that cost. Open the product to see the current figure.
Does it work with variants like sizes or toppings?
Yes. Each variant option can have its own extra ingredients, and its tab shows the cost of those extras and the total with that option on top of the base recipe. A large portion or an extra topping is costed separately instead of being averaged into one number.
What does the recipe cost not include?
Only ingredients. It does not include labour, rent, electricity, delivery or packaging unless you set packaging up as an ingredient. It is the cost of the food on the plate, which is why it is a food cost figure and not a full profit figure.
Why does my recipe say 'no cost set'?
Because an ingredient in it has a cost of zero, usually because no purchase has been recorded and no cost was entered. A row can also show 'unit mismatch' when the recipe uses a unit that cannot convert to the ingredient's unit, such as millilitres against a stock counted in grams. The total shows a warning until both are fixed.
See what your recipes cost
Add your ingredients, define your packs, and read the cost and margin on every product.
Read the guide →