Recipe Cost Calculator

Cost a recipe ingredient by ingredient and get the cost per serving, with a price at your target food cost or profit margin.

%

Optional. Extra cost added for trim, spills and spoilage, as a percentage of the ingredient total.

Optional. Box, cup, bag or label for one serving.

%

Optional. Gives the price per serving at this food cost percentage.

%

Optional. Gives the price per serving at this margin.

Cost per serving

0.45

total recipe cost 2.76 for 8 servings

Ingredients total
2.63
Waste allowance (5%)
0.13
Total recipe cost
2.76
Ingredient cost per serving
0.35
Packaging per serving
0.10
Total cost per serving
0.45
Price per serving at 30% food cost
1.49
Price per serving at 60% profit margin
1.11
Ingredient 1
0.48
Ingredient 2
0.52
Ingredient 3
0.90
Ingredient 4
0.60
Ingredient 5
0.13

The recipe costs 2.76 in all, which is 0.45 for each of 8 servings. At a 30% food cost the price is 1.49 a serving.

Add this calculator to your website

Free to use on any site or blog. Paste this code where you want the calculator to appear. It stays up to date, needs no account, and keeps your visitors' numbers in their own browser.

Preview

How it works

For each ingredient, enter how much you bought, the price you paid for it, and how much the recipe uses. The tool works out what fraction of the purchase the recipe uses and charges that fraction of the price. 300 g from a 2 kg bag that cost 3.20 costs 0.48.

Units are converted only within the same kind: weight to weight (g, kg, oz, lb), volume to volume (ml, l, tsp, tbsp, fl oz, cup, pint, quart, gallon, all US measures) and count to count (each, dozen). It will not turn cups into grams, because that needs the density of the ingredient and flour, sugar and honey all differ. If your recipe uses cups and you buy by weight, weigh a cup of the ingredient or work out the price per cup yourself.

The ingredient total can be increased by a waste allowance for trim, spills and spoilage. Divide by the number of servings, add packaging per serving, and you have the cost per serving. The tool then gives the price you would charge to hit a target food cost percentage, and the price for a target profit margin. Margin here is the share of the price left after the cost you entered.

Check it by hand: cost of an ingredient is the price per pack × amount used ÷ pack size. 300 g from a 2 kg pack at 3.20 is 3.20 × 300 ÷ 2,000 = 0.48. Three eggs from a dozen at 3.60 is 3.60 ÷ 12 × 3 = 0.90. Two oz from a 1 lb pack at 4.80 is 4.80 × 2 ÷ 16 = 0.60. With the other two lines the ingredients come to 2.63, and 5% waste adds 0.13, so the recipe costs 2.76. Over 8 servings that is 0.35, plus 0.10 packaging is 0.45 a serving. At a 30% food cost the price is 0.45 ÷ 0.30, about 1.49.

Ingredient cost = price paid × (quantity used ÷ quantity bought), both converted to one unit
Total recipe cost = sum of ingredient costs × (1 + waste % ÷ 100)
Cost per serving = total recipe cost ÷ servings + packaging per serving
Price at target food cost = cost per serving ÷ food cost % × 100
Price at target margin = cost per serving ÷ (1 − margin % ÷ 100)

Constants (exact): 1 lb = 453.59237 g (international avoirdupois pound), 1 oz = 28.349523125 g, US tsp = 4.92892159375 ml, tbsp = 3 tsp, US fl oz = 29.5735295625 ml, cup = 236.5882365 ml, pint = 473.176473 ml, quart = 946.352946 ml, US gallon = 3785.411784 ml (231 cubic inches). Source: NIST Handbook 44 and Handbook 130 appendices.

Worked example

Five ingredients, in the order of the rows: flour 2 kg bought for 3.20, 300 g used = 0.48. Milk 1 l for 1.10, 2 cups used = 0.52 (473.176473 ml of 1000 ml). Eggs 1 dozen for 3.60, 3 used = 0.90. Butter 1 lb for 4.80, 2 oz used = 0.60. Sugar 2 lb for 2.40, 50 g used = 0.13.

Ingredients add up to 2.63. A 5% waste allowance adds 0.13, so the recipe costs 2.76 in all. For 8 servings that is 0.35 each, and 0.10 of packaging makes 0.45 per serving (0.4456 before rounding). At a 30% food cost the price is 1.49 a serving; at a 60% profit margin it is 1.11.

Good to know

  • Cups, tablespoons and teaspoons are US measures. UK, metric and Australian cups and tablespoons are different sizes; enter ml if yours differ.
  • There is no weight-to-volume conversion. A cup of flour and a cup of honey weigh very different amounts, so enter the price per cup or weigh your ingredient.
  • Prices are what you enter. Prices change, and bulk or case prices differ from shelf prices, so recheck them. Tax is included only if it is in the price you paid.
  • Labour, rent and overheads are not included. A price based on ingredient cost alone is a minimum, not a full profit calculation.
  • The waste allowance is a flat percentage of the ingredient total. Trimmed vegetables and fish with bones lose more than dry goods, so adjust the quantities used if one ingredient loses a lot.

Questions people ask

How do you calculate the cost of a recipe?

For each ingredient, divide the price paid by the quantity bought to get a price per unit, then multiply by the quantity used. Add the ingredients, then divide by the number of servings for the cost per serving.

How do I calculate cost per serving?

Add up the cost of every ingredient in the recipe, then divide by how many servings it makes. Add packaging per serving if you sell it takeaway.

How do I price a recipe from its cost?

Pick a target food cost percentage, often around 30%, and divide the cost per serving by it. A serving costing 3 with a 30% target is priced at 3 ÷ 0.30 = 10. Or choose a profit margin and divide the cost by 1 minus the margin.

Why can I not convert cups to grams?

Because the answer depends on the ingredient. A cup of flour, sugar, rice and butter all weigh different amounts. The tool only converts between units of the same family and tells you when a row mixes families.

Should I add waste to the recipe cost?

If you lose part of what you buy to trimming, spills, overcooking or spoilage, yes. A 5% to 10% allowance is common for many kitchens, but use your own numbers. It is an estimate.

What is the difference between food cost percentage and profit margin?

Food cost percentage is cost divided by price. Profit margin is profit divided by price. If cost is only the food, a 30% food cost leaves 70% to cover labour, rent and profit.

How do I price a serving for a 30% food cost?

Divide the cost per serving by 0.30. A serving that costs 0.45 sells at about 1.49 to 1.50.

Part of the guide: Pricing, profit and tax calculators: margin, markup, GST, VAT and selling price

Formulas and text last checked on 8 October 2026. Everything is calculated in your browser, so nothing you enter is sent or stored. Spotted a mistake? Tell us and we will fix it.