How to cost a recipe, step by step

By the Varastiq team

To cost a recipe, work out each ingredient's unit cost (pack price ÷ pack size), adjust it for trim yield, and multiply by the amount used. Add up the lines and divide by the portions. That's your cost per portion, the base for menu price and plate margin.

Simple to say. The mistakes hide in unit conversions, yields, and sub-recipes. The worked example below covers each one.

What is the formula for costing a recipe?

Four short formulas, applied to every ingredient line:

  • Unit cost = Pack price ÷ Pack size (in the unit the recipe uses)
  • Usable unit cost = Unit cost ÷ Yield (as a decimal)
  • Line cost = Usable unit cost × Quantity used
  • Cost per portion = Sum of all line costs ÷ Number of portions

If an ingredient has no trim, such as oil, salt, or a portioned bun, its yield is 1.0 and the second step changes nothing.

How do I cost a recipe step by step?

Step 1: Write the recipe as it is actually made

List every ingredient with the amount the kitchen really uses, in a unit you can measure, such as ounces, fluid ounces, pounds, or each. You can't cost "a splash" or "to taste." Ask the cook who makes it most.

Step 2: Pull the current pack price from an invoice

Use the latest invoice, not last year's price list or what you think it costs. Write down the pack size exactly as invoiced, like a case of 6 × #10 cans, a 5 lb bag, or a 1 gallon jug.

Step 3: Convert the pack price to the recipe unit

Check this step first. If the recipe uses fluid ounces and the invoice is per gallon, convert first.

Common conversions:

  • 1 gallon = 128 fl oz
  • 1 quart = 32 fl oz
  • 1 lb = 16 oz (weight)
  • Fluid ounces measure volume. Ounces measure weight. They only match for water and similar liquids. Weigh flour, cheese, and herbs.

Step 4: Adjust for yield

If you trim, peel, bone, or cook off part of what you bought, the part you use costs more than the invoice price. Divide by the yield as a decimal. Our guide to yield percentage shows how to measure it.

Step 5: Multiply by the quantity used, then add up the lines

Step 6: Divide by the portions the recipe makes

For a batch recipe like a sauce, portions might be fluid ounces or quarts. For a plated dish, it is usually 1.

Worked example: costing a batch vinaigrette

Example (made-up prices from a fictional supplier, Northline Produce, and others):

Supporting figures
IngredientPack and priceUnit costYieldUsable unit costQty usedLine cost
Olive oil1 gal (128 fl oz), $38.40$0.300/fl oz100%$0.30048 fl oz$14.40
Red wine vinegar1 gal (128 fl oz), $12.80$0.100/fl oz100%$0.10016 fl oz$1.60
Dijon mustard32 oz jar, $6.40$0.200/oz100%$0.2004 oz$0.80
Shallots5 lb bag, $9.00$1.80/lb80%$2.25/lb0.5 lb$1.13
Salt, pepper, sugar$0.20
Batch total$18.13

The batch makes 70 fl oz of dressing.

Cost per fl oz = 18.13 ÷ 70 = $0.259, call it $0.26.

Look at the shallots. The invoice says $1.80/lb. After peeling and trimming 20% away, the usable shallot costs $2.25/lb (1.80 ÷ 0.80). Skip the yield step and that line is 20% too low.

How do I cost a recipe that uses another recipe?

A sub-recipe, or prep recipe, is anything you make in-house and use in other dishes, like dressings, sauces, stocks, spice blends, and croutons. Cost it once as a batch, get its cost per unit, and use that as an ingredient line in the dish.

Example. A house salad that uses the vinaigrette.

Supporting figures
IngredientUsable unit costQtyLine cost
Mixed greens (3 lb case at $10.80, 90% yield)$0.25/oz5 oz$1.25
House vinaigrette (sub-recipe)$0.26/fl oz2 fl oz$0.52
Shaved hard cheese$0.75/oz0.5 oz$0.38
Croutons (sub-recipe)$0.15/oz1 oz$0.15
Cost per salad$2.30

The greens math, written out. 10.80 ÷ 3 lb = $3.60/lb. 3.60 ÷ 16 = $0.225/oz. 0.225 ÷ 0.90 yield = $0.25/oz.

With sub-recipes, when olive oil goes up, you change one price and every dish that uses the vinaigrette updates. Without that link, you have to remember every place olive oil hides.

What do people forget when costing recipes?

Garnish and finishing items

Herb oil, microgreens, flaky salt, a lemon wedge. Each is small, but they add up across a menu. If an item is too small to measure per plate, cost it per batch and divide by plates per batch.

Cooking oil and fryer oil

Fryer oil is a real cost spread across everything that goes in the fryer. Some kitchens add a small per-plate allowance for fried items instead of tracking it per dish.

Packaging on takeout

The container, lid, cup, and bag belong to the plate cost of a to-go order.

A small-items allowance

Some kitchens add a fixed few cents per plate, sometimes called a Q factor, for salt, pepper, oil spray, and other things too small to cost line by line. If you use one, write it down and keep it the same across dishes.

Price changes since you last costed

A recipe cost is a snapshot. The day a main ingredient's invoice price moves, the snapshot is wrong. When a menu costed well at opening has drifted a year later, check this first.

How often should recipe costs be updated?

Every time an ingredient's price changes on an invoice. That's hard to do by hand for every line, so you can update on a schedule instead, but you may miss big moves in between. The more top-spend ingredients you tie to current invoice prices, the less your recipe costs drift.

What do I do with cost per portion?

  • Price the dish. Menu price = cost per portion ÷ target food cost %. See our menu pricing formula guide.
  • Judge the dish. Plate margin = menu price minus cost per portion. See our guide to menu item profitability.
  • Check the kitchen. Multiply cost per portion by the number sold to get what you should have used. Compare that to what you actually used.

Frequently asked questions

Keep recipe costs current

For a one-off recipe, the free recipe cost calculator handles pack conversions and yields. To keep every recipe current from invoices, see recipe costing in Varastiq or request a demo.