How to calculate recipe cost, one ingredient at a time.
Convert each purchase into a cost per usable unit, multiply by the amount in the recipe, add the lines, then divide by the finished servings.
Worked example by MenuCostFlow · October 1, 2026 · All prices below are illustrative.
1. Find the cost per usable unit
Start with the package price, its quantity and the fraction you can actually use. Keep purchase and recipe quantities in compatible units.
A 10 kg package of chicken costs $60. After trimming, 80% is usable. Convert 10 kg to 10,000 g: $60 ÷ (10,000 × 0.80) = $0.0075 per usable gram.
If your recipe uses 200 g of usable chicken per serving, that line costs 200 × $0.0075 = $1.50. Yield is a fraction in this formula: 80% is 0.80, not 80.
2. Calculate and add each ingredient line
Here is an illustrative ten-serving chicken-and-rice batch. Quantities in the recipe are usable amounts. Rice is measured dry, with finished output counted separately.
| Ingredient | Purchase | Yield | Usable recipe amount | Line cost |
|---|---|---|---|---|
| Chicken | $60 / 10 kg | 80% | 2,000 g | $15.00 |
| Dry rice | $20 / 5 kg | 100% | 1,000 g | $4.00 |
| Oil | $12 / 2 l | 100% | 100 ml | $0.60 |
| Vegetables | $10 / 2 kg | 80% | 1,000 g | $6.25 |
| Total ingredient cost | $25.85 | |||
For vegetables: $10 × 1,000 ÷ (2,000 × 0.80) = $6.25. For oil: convert 2 l to 2,000 ml, then $12 × 100 ÷ 2,000 = $0.60. Neither calculation needs a weight-to-volume conversion.
3. Divide by actual finished servings
If the batch makes ten servings, $25.85 ÷ 10 = $2.585, displayed as $2.59 per serving. If it only makes eight, the same ingredients cost $3.23125, or $3.23 per serving. Use the portion count the batch actually produces.
A prep recipe measured by weight or volume works similarly: divide its total cost by its finished output. A dish using 50 ml of a 1,000 ml sauce batch uses 5% of that batch's cost.
4. Avoid four common costing mistakes
- Mixing gross and usable quantities. If the line is already the net amount after trimming, account for trimming through ingredient yield once.
- Mixing units. Convert kg to g or l to ml first. To convert weight to volume, use an ingredient-specific density; 1 ml is not always 1 g.
- Rounding each step too early. Keep precision through the calculation and round the displayed result.
- Calling ingredient cost profit. Labor, packaging, overhead, tax and selling price are outside this ingredient-cost total.
When the next package price changes
Keep recipe quantities and output consistent when comparing old and new ingredient prices. In the batch above, raising the chicken package from $60 to $75 raises its line from $15 to $18.75. The batch total becomes $29.60, or $2.96 per ten-serving batch portion—an unrounded increase of $0.375 per serving.
See how one price change affects several recipes.
Method and scope
The basic recipe method—sum quantity times ingredient unit cost, then divide by portion count—is also described in the USDA food-costing guide. The numbers here are our worked example, not market price estimates or menu pricing advice.