Try “wedding”, “budget”, “etsy” or “invoice”.

Recipe Cost Calculator

Find out what a recipe really costs to make, per batch and per serving, and what to charge for it.

Updated
No sign-up. Runs in your browser.

Recipe cost Pink cells are yours to edit
B28=B27*(1+B17%)
Recipe cost calculator. Edit the pink cells; results update instantly.
ABC
Your numbers
What you pay for the whole package
oz, grams, cups, eggs: any unit
Same unit as the package size
Salt, spices, oil, trim, spills
Share of the price that is ingredients
Results
Ingredient 1 cost$0.39
Ingredient 2 cost$0.44
Ingredient 3 cost$1.25
Ingredient 4 cost$0.67
Ingredient 5 cost$0.87
Ingredients total$3.61
Recipe cost with extras$3.79
Cost per serving$0.38
Price per serving at your target$1.26
Price for the whole recipe$12.64

Estimates for planning and education only, not financial or tax advice. Always check current platform fees and your own numbers.

How recipe costing works

For each ingredient, divide the package price by the package size to get the cost per unit, then multiply by the amount the recipe uses. Use the same unit for both: ounces and ounces, grams and grams, eggs and eggs.

Add the ingredient costs, then add a small percentage for things too small to measure one by one, like salt, spices, oil and the bits lost to trimming. Divide by the number of servings to get the cost per serving.

Worked example: banana bread

With the default numbers, a loaf of banana bread uses $3.61 of flour, sugar, butter, eggs and bananas. Adding 5% for extras brings it to $3.79, or about $0.38 a slice for 10 slices. At a 30% target food cost, each slice should sell for about $1.26, or $12.64 for the loaf.

That price only covers ingredients at your chosen target. Your time, packaging and selling fees still need to fit inside it, which is why many home bakers also run the numbers through a full pricing method.

The formulas behind it

Every result cell is a plain spreadsheet formula, so you can check the math or rebuild it yourself.

CellResultFormula
B22Ingredient 1 cost=IF(B3=0,0,B2/B3*B4)
B23Ingredient 2 cost=IF(B6=0,0,B5/B6*B7)
B24Ingredient 3 cost=IF(B9=0,0,B8/B9*B10)
B25Ingredient 4 cost=IF(B12=0,0,B11/B12*B13)
B26Ingredient 5 cost=IF(B15=0,0,B14/B15*B16)
B27Ingredients total=SUM(B22:B26)
B28Recipe cost with extras=B27*(1+B17%)
B29Cost per serving=B28/B18
B30Price per serving at your target=B29/B19%
B31Price for the whole recipe=B30*B18

Questions people ask

How do you calculate the cost of a recipe?

Work out the cost of each ingredient you use (package price ÷ package size × amount used), add them up, add a small allowance for extras and waste, then divide by the number of servings.

What units should I use?

Any unit, as long as the package size and the amount used are in the same one. If a recipe calls for cups but you buy by the pound, weigh a cup once and convert.

How do I price a recipe from its cost?

Divide the cost per serving by your target food cost percentage. A serving that costs $0.38 at a 30% target sells for about $1.26.