# Food cost calculator: cost per portion and menu price

> A free food cost calculator for a recipe's cost per portion from purchase prices and trimming yield, its food cost %, and the menu price for your target %.

This food cost calculator starts from the recipe: each ingredient's price as you buy it, the quantity that goes into the dish, and what is lost in trimming. Add the number of portions and you see the cost per portion, the food cost % of your menu price, and the price for the food cost % you want.

## How do I work out the cost of a dish?

Work out each ingredient's cost from its pack price, pack size and the quantity you use, add the ingredients up, and divide the total by the number of portions.

```text
Ingredient cost   = pack price ÷ pack size × quantity used ÷ (yield ÷ 100)
Cost per portion  = sum of ingredient costs ÷ portions

Example: a recipe for two portions
Chicken breast: 1 kg at 3.50, 250 g used       = 3.50 ÷ 1000 × 250  = 0.875
Rice: 5 kg bag at 6.00, 300 g used             = 6.00 ÷ 5000 × 300  = 0.36
Oil: 1.5 L bottle at 2.40, 30 ml used          = 2.40 ÷ 1500 × 30   = 0.048
Tomatoes: 1 kg at 0.80, 150 g, 75% yield       = 0.80 ÷ 1000 × 150 ÷ 0.75 = 0.16
Bread: 10 loaves at 1.00, 2 used               = 1.00 ÷ 10 × 2      = 0.20
Recipe cost       = 1.643
Cost per portion  = 1.643 ÷ 2 = 0.8215, shown as 0.82
```

The tool adds the ingredient costs at full precision and rounds only when it shows a result, so rounding differences do not pile up across ingredients.

## What is yield, and why does it raise the cost?

Yield is the share of what you buy that stays usable for the dish, after cleaning, peeling and boning. You pay for the whole quantity, so at a yield of three quarters, every gram on the plate cost you a gram and a third of what you bought.

1. Weigh the ingredient as you bought it.
2. Clean and prepare it the way you do for the dish, and weigh it again.
3. Divide the second weight by the first and multiply by a hundred: that is the yield.
4. Type the quantity that goes into the dish after cleaning, and the yield you found in the yield field. Leave it empty if nothing is wasted.

## How do I work out a menu price from the food cost?

Divide the cost per portion by the food cost % you want, as a fraction of one: that is the price at which ingredients are exactly that share.

```text
Suggested price  = cost per portion ÷ (target ÷ 100)
Food cost %      = cost per portion ÷ selling price × 100

Example: cost per portion 0.8215, target 30%
Suggested price  = 0.8215 ÷ 0.30 = 2.74
With 16% tax     = 2.74 × 1.16   = 3.18
```

Choose the share from your own expenses: what is left of the price after ingredients covers salaries, rent, packaging, delivery and profit. If you type your current menu price, the tool shows its food cost % and what is left to you on each portion.

Type the selling price before tax, because tax is not your revenue. To see the gross price, type the tax rate in its field, or use the [VAT calculator](https://docs.mujib.ai/en/tools/vat-calculator/).

## What does the tool leave out?

The tool works out the cost of the ingredients only, as you type them.

- **Weight to volume:** the tool does not turn grams into millilitres, because that needs each ingredient's density. Buy and use in the same kind of unit.
- **Labour and energy:** the cook's wages, gas and electricity are other costs; see their effect in the [break even calculator](https://docs.mujib.ai/en/tools/break-even-calculator/).
- **Price changes:** when an ingredient's price changes, update it in the recipe. The recipe stays saved in your browser so you can edit it when you come back.

## What does Mujib do with your menu prices?

If you take orders through Mujib, the agent takes the customer's order in the conversation from your business menu at its prices, the system works out the total and the delivery fee, and the order reaches your team to prepare, once your team or the agent has confirmed it, depending on your setting. So when you change a dish's price after costing it, change it in the menu, and the agent sells at the new price. The details are in [WhatsApp ordering](https://docs.mujib.ai/en/features/orders-menu/) and [WhatsApp for restaurants](https://docs.mujib.ai/en/guides/restaurants/).

## Frequently asked questions

### What is food cost percentage?

The cost of a portion's ingredients divided by its selling price, times a hundred. It tells you how much of every amount a customer pays goes to ingredients, and what is left for salaries, rent and profit.

### How do I cost an ingredient I buy by the kilo and use by the gram?

Pick kilogram as the pack unit and gram as the quantity unit, and the tool converts between them. The tool does not convert weight to volume, so type liquids in litres or millilitres.

### Where do I put the cost of boxes and packaging?

Add it as an ingredient in the recipe, with the price of a carton, the number of pieces in it and the piece unit, and the quantity is the number of boxes the whole recipe uses.

### What food cost percentage suits my restaurant?

The tool suggests no figure, because the right one depends on your expenses, your area's prices and your kind of kitchen. Work out what you need for salaries, rent, packaging and profit; what is left of the price is the share you can spend on ingredients.

### Is the recipe saved?

It is kept in your browser only, when the browser allows it, so you find it when you come back to the page. It is never sent to any server, and the "Start a new recipe" button clears it.

---

Source: https://docs.mujib.ai/en/tools/food-cost-calculator/ · Last updated: 2026-11-05
