Published November 26, 2026 · Agus Yulyastrawan, Founder Seawise Studio
How to Calculate Food Cost per Portion for a Cafe
Steps to calculate food cost per portion from a recipe, how to account for waste, set a selling price, and avoid the most common mistakes.

The best-selling dish is not always the most profitable one. Many cafe and warung owners only notice after the price of chicken or milk goes up, when the month ends thinner than expected even though the place stayed busy. The answer sits in one number: food cost per portion, known in Indonesia as HPP. This article covers how to calculate it step by step, how to account for waste, and how to use it to set a selling price.
What food cost per portion means
Food cost per portion is the total cost of the ingredients used to make one serving of a menu item, including its packaging. It does not include wages, rent, or electricity. Those are covered by the gap between the selling price and the food cost.
So this number is not the "total cost of the business". It is the starting point: if the cost of a single dish is unclear, its selling price is a guess.
Steps to calculate food cost
- Write a standard recipe. Every ingredient gets an exact quantity in grams or millilitres, not "to taste". Without a standard recipe, the cost changes every time a different person cooks.
- Record the latest purchase price of each ingredient, then convert it to a price per gram or per millilitre.
- Multiply the quantity by the unit price for each ingredient.
- Add packaging and extras: box, spoon, sauce sachet, napkin, sticker.
- Add everything up. The result is the cost of one portion.
Example for one portion of ayam geprek with rice (illustrative figures):
| Ingredient | Quantity | Purchase price | Cost |
|---|---|---|---|
| Chicken fillet | 120 g | Rp45,000 per kg | Rp5,400 |
| Rice | 100 g | Rp15,000 per kg | Rp1,500 |
| Cooking oil | 30 ml | Rp18,000 per litre | Rp540 |
| Flour and seasoning | 1 portion | Rp1,200 | |
| Chilli and shallot for sambal | 25 g | Rp60,000 per kg | Rp1,500 |
| Packaging and spoon | 1 set | Rp1,000 | |
| Cost per portion | Rp11,140 |
Do not forget what gets thrown away
The most common mistake is calculating from the purchased weight, when less than that reaches the plate. Skin, bones, vegetable stems, and water lost during cooking have all been paid for.
Example (illustrative figures): a whole chicken costs Rp38,000 per kg. After cleaning, only 700 g of usable meat is left from 1 kg. The real price of the meat is Rp38,000 divided by 0.7, about Rp54,300 per kg, not Rp38,000.
Finding this out is simple: weigh the ingredient before and after cleaning a few times, then use the average. Do the same for ingredients that shrink when cooked, such as meat and vegetables.
From food cost to selling price
The usual measure is the food cost percentage: cost per portion divided by selling price. If the ayam geprek above sells for Rp28,000, the food cost is Rp11,140 divided by Rp28,000, about 40%.
To set a price from a target, turn the formula around: cost per portion divided by the target percentage. With a 35% target, the selling price is Rp11,140 divided by 0.35, about Rp31,800, rounded to Rp32,000.
No single percentage fits every business. A small stall with cheap rent and few staff can live with a higher food cost percentage than a restaurant in an expensive location. Set your target from your own operating costs, not from someone else's number.
When ingredient prices go up
Food cost is not a number you calculate once and file away. Say chicken fillet goes from Rp45,000 to Rp52,000 per kg. The chicken cost per portion rises from Rp5,400 to Rp6,240, and the cost per portion becomes Rp11,980. With the price unchanged at Rp28,000, food cost moves from 40% to almost 43% and nothing looks different at the till.
There are three options: raise the price, adjust the portion or recipe, or accept a smaller margin for a while. All three are valid, as long as the choice is made knowingly and not discovered three months later.
Common mistakes
- Portions are not weighed. A 20 gram difference in chicken per portion feels small, but across hundreds of portions a month it becomes tens of kilograms.
- Packaging and extras are left out, even though for takeaway orders they can be significant.
- Ingredient prices are never updated after the first calculation.
- Oil, gas, and base seasonings are treated as free. If they are hard to count per portion, divide a month's usage by the number of portions sold.
- Spoiled and discarded ingredients are not recorded, so the cost on paper is always lower than reality.
When to automate the calculation
For ten menu items, a spreadsheet is enough. The trouble starts when the menu has dozens of items and one ingredient appears in many recipes. Every time the price of milk changes, every item that uses it has to be recalculated, and that is where the spreadsheet falls behind.
In Resto & Cafe Management, the F&B system we built, recipes are entered per ingredient and stock is deducted by recipe with every order. When an ingredient price is updated, the cost and profit of every menu item follow. Other features a restaurant system should have are covered in our article on restaurant and cafe POS apps.
Frequently asked questions
Do wages and rent belong in food cost?
Not in the cost per portion. Wages, rent, electricity, and other expenses are operating costs, covered by gross profit, which is sales minus food cost. Both need to be calculated, but in different places.
What is the ideal food cost percentage?
There is no single figure for everyone. It is more useful to add up your monthly operating costs, then see how much gross profit you need to cover them. That tells you which food cost percentage is safe for your business.
How do I calculate the cost of drinks?
The same way. What often gets missed in drinks is ice, syrup, toppings, the cup, the lid, and the straw. For drinks, packaging is often one of the largest cost components.
How often should food cost be recalculated?
Whenever the price of a main ingredient changes noticeably, and routinely at least once a month. Ingredients whose prices move often, such as chilli, eggs, and chicken, deserve more frequent checks.
Conclusion
Food cost per portion comes from a standard recipe, current ingredient prices, waste, and packaging. The selling price is set from that number, and the number has to be updated whenever ingredient prices move. A dish that sells well on a thin margin keeps you busy without keeping you profitable.
Dozens of menu items and a food cost spreadsheet that keeps falling behind? See Seawise's app development service in Bali, or tell us how your kitchen tracks ingredients through the contact page.


