How to Calculate Food Cost (With Formula, Examples and a Free Calculator)

A pot of chili costs you $22.16 to make. You sell eight bowls at $9 each. Is that a good price? Without the food cost, you can't tell, and every bowl might be losing you a little money or not leaving enough margins for expansion.

To calculate food cost, add up what each ingredient costs in the amount the recipe uses, divide by the number of servings, then divide that cost per serving by your selling price. This guide walks through the formula, a worked menu example and a packaged-product example. If you just want the number, our free food cost calculator does the math as you type.

Cost your recipe with the free food cost calculator →

What is food cost?

Food cost is what the ingredients in a recipe cost you to buy. Restaurants talk about food cost percentage: ingredient cost as a share of the menu price. Packaged food brands usually think in cost of goods sold (COGS), which adds packaging, labor and production overhead to each unit.

Both start in the same place: an accurate cost for every ingredient, in the amount the recipe actually uses.

Ingredients are weighed, cooked into a pot of chili and divided into a single costed serving

What is the food cost formula?

Three formulas cover almost every case:

  • Recipe cost = the sum of (pack price ÷ pack size × amount used) for every ingredient
  • Cost per serving = recipe cost ÷ number of servings
  • Food cost percentage = (cost per serving ÷ selling price) × 100

Run the last one backwards to set a price:

  • Selling price = cost per serving ÷ target food cost percentage

How do you calculate food cost, step by step?

1. Record what you paid for each ingredient

Write down the pack size and the price as you bought it. A 2 kg bag of flour at $4.20 is your unit of purchase, not the 500 g the recipe calls for.

2. Work out the cost of the amount used

Divide the pack price by the pack size, then multiply by the amount in the recipe. Flour: $4.20 ÷ 2,000 g = $0.0021 per gram. The recipe uses 500 g, so the flour costs $1.05.

Keep weight with weight and volume with volume. 100 ml of honey doesn't weigh 100 g.

3. Add a waste allowance

Trim, peel, spills and over-portioning are real costs. Add a few percent on top, more for produce and proteins with heavy trim. If you know your actual yield, divide by it instead.

4. Total the recipe and divide by servings

Add up every line to get the recipe cost. Divide by the number of servings the batch makes.

5. Turn it into a percentage or a price

Compare cost per serving with your selling price to get food cost percentage. Or divide by your target percentage to set the price.

The food cost calculator handles steps 2, 4 and 5 for you, including unit conversion within weight or within volume.

Worked example: what does a bowl of chili cost?

A pot of chili that serves 8 (illustrative prices; swap in your own):

Ingredient Bought Used Cost
Ground beef $6.99 / 1 lb 2 lb $13.98
Canned beans $1.19 / can 2 cans $2.38
Crushed tomatoes $2.49 / can 1 can $2.49
Onion $1.50 / lb 0.5 lb $0.75
Spice blend $5.99 / 60 g 15 g $1.50
Waste allowance 5% | $1.06
Total | $22.16
  • Cost per serving: $22.16 ÷ 8 = $2.77
  • At a $9.00 menu price, food cost % = 2.77 ÷ 9.00 × 100 = 30.8%
  • To hit a 28% target: 2.77 ÷ 0.28 = $9.89

How do you use it as a menu cost calculator?

Costing a whole menu is the same math, repeated. Cost each dish once, note its food cost percentage, and sort the list. The dishes far above your target are the ones to reprice, re-portion or rework. Re-run the numbers whenever a key ingredient price moves. The free calculator has a Copy breakdown button, so you can paste each dish into one sheet and keep your menu costing in one place.

What changes for a packaged food product?

Packaged brands need a few more lines than a plate. Say you make a small-batch hot sauce:

  • Ingredients per batch: $96
  • Labor: 4 hours × $20 = $80
  • Kitchen rental and utilities: $60
  • Units per batch: 120 bottles
  • Packaging per bottle (bottle, cap, label, shrink band): $0.85

Unit COGS = ($96 + $80 + $60) ÷ 120 + $0.85 = $1.97 + $0.85 = $2.82 per bottle

Today the calculator covers ingredients only, so use it for the ingredient line and add labor, overhead and packaging yourself. From there, price backwards from the shelf: the wholesale price has to leave room for the retailer and any distributor and still cover your $2.82 with margin left over.

A bowl of chili and a bottle of hot sauce, each with its own cost breakdown

What is a good food cost percentage?

Food service commonly aims for about 28–35%. The right number depends on the concept. Packaged goods often run lower, because packaging, labor and shipping sit outside the food cost figure. For packaged brands, the margin left after every party in the chain takes its share matters more than the percentage.

Common food costing mistakes

  • Costing the pack, not the portion. Use the amount used, not the amount bought.
  • Forgetting the small stuff. Oil, salt and garnish add up over thousands of servings.
  • Ignoring yield. A recipe that "makes 12" but reliably yields 10 portions costs 20% more per portion than you think.
  • Mixing units. Volume and weight aren't interchangeable.
  • Never updating. Re-cost your top sellers every quarter.

Costed the recipe? Now make it sell

For food brands, costing is half the job. The other half is getting customers to buy the ingredients. A recipe that uses your sauce, spice blend or baking mix is a reason to buy it, and it works best on your own store with each ingredient linked to its product. Recipe Kit puts recipes on your Shopify store with recipe schema, and on Growth, ingredients link to the products you sell. Add a nutrition label with the free recipe nutrition calculator, or browse all free recipe tools.

Cost your recipe with the free food cost calculator →

 Get Recipe Kit on the Shopify App Store →

Common questions

What is the formula for food cost percentage?

(Cost per serving ÷ selling price) × 100.

How do you calculate food cost per serving?

Add up the cost of the amount of each ingredient used, then divide by the number of servings.

How do you calculate food cost for a packaged product?

(Ingredients + labor + overhead per batch) ÷ units per batch, plus packaging per unit.

Is there a free menu cost calculator?

Yes. The Recipe Kit food cost calculator is free and needs no signup. Cost each dish, then copy the breakdown into one sheet for your menu.

Free PDF

The 2026–27 holiday recipe calendar for food brands

Holiday recipes get found weeks before the holiday. For nine cooking occasions: when Google searches climb, the date to have your recipe live, and three recipe ideas.

I'll email you the PDF, plus the odd note from me, Patrick, about recipes that sell. Unsubscribe anytime.

Convierta el contenido de las recetas en un canal de ventas.

Utiliza Recipe Kit para publicar recetas con posibilidad de compra y optimizadas para SEO en tu tienda Shopify.

Gratis para empezar · Planes de pago desde $25/mes, ingredientes comprables en Growth · Prueba de 14 días