Recipe costing guide

How to Calculate Food Cost for a Recipe

To cost a recipe, start with what you paid for each ingredient pack and how much the recipe uses. Add those amounts for the batch, then divide by the number of items you can actually sell.

The recipe costing formula

1. Cost per measurement unit

Pack price ÷ Quantity in the pack

2. Cost of one ingredient in the recipe

Cost per measurement unit × Quantity used

3. Total recipe food cost

Sum of every ingredient cost

4. Food cost per sellable unit

Total recipe food cost ÷ Actual sellable yield

Keep the units consistent. If a flour pack is recorded in grams, enter the recipe usage in grams before multiplying.

How to cost a recipe step by step

Get the receipts and the recipe in front of you. You need three numbers for each ingredient: what the pack cost, how much was in it, and how much went into the batch.

  1. 1

    Record the pack price and usable quantity

    Write down the price and size of the pack you bought. Grams, millilitres, ounces, pounds, or individual eggs are all fine—just keep the units clear. If part of a pack is unusable, don't treat it as ingredient you can bake with. Account for that loss separately.

  2. 2

    Calculate a cost per unit

    Divide the pack price by what's in the pack. An $8.40 bag with 5,000 g of flour costs $0.00168 per gram. Don't round that to cents yet; you'd lose the small amount you need for the next step.

  3. 3

    Multiply by the recipe quantity

    Multiply each ingredient's unit cost by the amount the recipe uses. If the recipe uses 500 g of that flour, its flour cost is $8.40 ÷ 5,000 × 500 = $0.84.

  4. 4

    Add every ingredient line

    Add up all the lines. Remember the cinnamon, vanilla, oil, filling, and toppings—not just the flour, butter, and eggs. That total is what the batch used in ingredients.

  5. 5

    Divide by actual sellable yield

    Divide by the number you can actually sell. If you normally get six good mini loaves from a batch, use six. Don't use the recipe's promised yield if some loaves are too small or damaged.

  6. 6

    Add packaging for the item sold

    The ingredient total doesn't pay for the box. Add the bag, liner, label, or board used for each item, and keep that packaging cost separate so you can see both.

Illustrative bakery example — not a customer case

Blueberry oat mini loaves

Suppose one batch produces six sellable mini loaves. The calculations below use metric purchase quantities so every ingredient can be converted to the unit used in the recipe.

Flour

Purchase
$8.40 / 5,000 g
Recipe use
500 g
Calculation
$8.40 ÷ 5,000 × 500
Recipe cost
$0.84

Oats

Purchase
$4.20 / 1,000 g
Recipe use
120 g
Calculation
$4.20 ÷ 1,000 × 120
Recipe cost
$0.50

Sugar

Purchase
$4.80 / 2,000 g
Recipe use
180 g
Calculation
$4.80 ÷ 2,000 × 180
Recipe cost
$0.43

Butter

Purchase
$6.40 / 500 g
Recipe use
200 g
Calculation
$6.40 ÷ 500 × 200
Recipe cost
$2.56

Eggs

Purchase
$4.80 / 12
Recipe use
3 eggs
Calculation
$4.80 ÷ 12 × 3
Recipe cost
$1.20

Milk

Purchase
$3.60 / 2,000 ml
Recipe use
250 ml
Calculation
$3.60 ÷ 2,000 × 250
Recipe cost
$0.45

Blueberries

Purchase
$5.40 / 500 g
Recipe use
250 g
Calculation
$5.40 ÷ 500 × 250
Recipe cost
$2.70

Cinnamon

Purchase
$3.60 / 60 g
Recipe use
3 g
Calculation
$3.60 ÷ 60 × 3
Recipe cost
$0.18

Total recipe ingredient cost

Add all ingredient lines

$8.87

Ingredient cost per mini loaf

$8.866 ÷ 6 sellable loaves

$1.48

Packaging per mini loaf

Box, liner, and label

$0.72

Direct product cost per mini loaf

$1.4777 + $0.72

$2.20

The displayed ingredient lines are rounded to cents for readability. The per-loaf calculation uses the unrounded recipe total of $8.866, then rounds the final result.

Recipe yield changes the cost per item

The same $8.87 recipe has a different unit cost when the sellable output changes.

5 sellable loaves

$8.866 ÷ 5

$1.77 each

6 sellable loaves

$8.866 ÷ 6

$1.48 each

7 sellable loaves

$8.866 ÷ 7

$1.27 each

Use the number of good loaves you usually get, not the best batch you've ever made. A bigger yield makes the cost look lower, but it won't help if you rarely have that many to sell.

Recipe food cost is not the final selling price

The $2.20 above covers ingredients and packaging. It hasn't paid for your work, rent, or selling fees yet.

Product-specific labor

Count active production time: mixing, loading and unloading the oven, decorating, packing, and washing up. Do not count unattended baking or cooling time. Multiply your hands-on hours by your hourly rate, then divide by the items you can sell. Your own time isn't free just because it's your kitchen.

Waste and yield loss

A broken loaf still used ingredients. Use the number you can sell, and keep a note of spoiled ingredients or failed batches. Don't hide those losses by picking a bigger margin without checking what happened.

Overhead and recurring costs

Rent, insurance, licenses, and software don't belong to just one loaf. Give the batch its share by working time: monthly fixed costs ÷ normal monthly active production hours × active batch hours ÷ sellable yield. Keep production wages out of monthly fixed costs—you've already counted that work at an hourly rate.

Selling costs and market fit

Before you send a quote, check payment fees, delivery, marketplace commissions, discounts, and taxes. Then compare similar products nearby. A price that covers your costs still needs customers willing to pay it.

Treat this recipe total as the first part of the price, not the finished answer. Add your working time and the other costs before deciding what to charge.

Common recipe costing mistakes

Mixing purchase and recipe units

If the price is per kilogram and the recipe uses grams, convert first. Write down the units beside the numbers; a missing conversion can throw off the whole batch.

Rounding too early

Keep several decimal places for small unit costs and round the final recipe or unit result. Rounding every ingredient to cents before summing can distort recipes with many low-cost lines.

Using an ideal yield

A recipe that theoretically makes eight units but normally produces seven sellable units should be costed against seven until the process improves.

Forgetting small ingredients and packaging

A label or pinch of spice looks cheap on its own. Across a week's orders, those small costs add up. Put them in the calculation rather than assuming they don't matter.

Treating ingredient cost as profit proof

Selling for more than the ingredient total doesn't prove you're making money. The box, your time, rent, and selling fees still need paying.

Save the Recipe Cost So You Can Update It Later

A spreadsheet can calculate one recipe. Bakeluma keeps the pack prices, quantities used, sellable yield, packaging, and pricing result together for the next time a cost changes.

  • Save ingredient pack prices, net contents, and recipe quantities.
  • Divide the full recipe ingredient cost by the sellable quantity you define.
  • Add packaging attached to the product and review the direct product cost.
  • Compare supported pricing methods, breakeven price, profit, and margin.

Bakeluma calculates product-specific labor from active production time and hourly rates, and allocates monthly fixed costs by active production time. Keep production wages separate from fixed costs to avoid double counting. Waste is not a dedicated input. Selling fees, taxes or VAT, delivery, and other costs outside the current inputs still need separate evaluation.

Use the free Bakeluma bakery cost calculator

Once you know the ingredient cost per item, calculate how much of the selling price it uses with How to Calculate Food Cost Percentage.

When you are ready to move from cost to selling price, continue with How to Price Baked Goods Without Guessing.

Recipe costing questions

What is the formula for recipe costing?

For each ingredient, divide the pack price by the pack quantity and multiply by the quantity used. Add every ingredient line to get the total recipe food cost. Divide that total by actual sellable yield to get food cost per item or serving.

Should recipe cost include packaging?

Keep two totals: ingredients for the recipe, and ingredients plus packaging for the item you sell. A more expensive box changes the second total, even when the recipe hasn't changed.

How do I calculate food cost per serving?

Divide the batch's ingredient cost by the servings you can sell at the size you promised. If you cut larger portions or get fewer good pieces, calculate it again.

How often should I update recipe costs?

When the next receipt is different, update the pack price or size. Also check again if you change the recipe, make bigger portions, use different packaging, or get fewer sellable items.

Is food cost percentage the same as recipe cost?

No. Recipe cost is a currency amount. A product-level food cost percentage usually divides ingredient cost per item by its selling price and multiplies by 100. An operation-wide food cost percentage can use inventory-based COGS instead, so label which calculation you mean.

Cost one real bakery recipe

Pick a recipe you already make and use your latest receipts. Work out the batch cost, divide by what you can sell, then add the packaging. Save it in your workspace if you want to check it again next time prices change.