Free ingredient cost calculator

Ingredient Cost Calculator: what did 320 g of flour cost?

You bought the whole bag, but this batch used only part of it. Enter the price and size of one purchased pack, then the amount used in the recipe. You'll see the cost of that ingredient only.

Calculate one ingredient cost

Use one purchased pack and one recipe quantity. This calculator stops at the cost of that ingredient; it does not add the rest of the recipe, labor, overhead, or a selling price.

Changes the symbol only. Values are not converted.

Your entries stay in this browser. This calculator does not save or upload them.

Ingredient 1

Ingredient details

Enter one ingredient's purchased pack price, pack size, and the amount used in your recipe.

Ingredient cost—

A $12.50 bag of flour, 320 g used

Your receipt shows the bag price. Here's the amount to put against this batch.

Pack bought
5 kg of flour for $12.50
Convert the size
5 kg = 5,000 g
Cost per gram
$12.50 ÷ 5,000 g = $0.0025 per g
Recipe amount
320 g of flour used

320 g × $0.0025 = $0.80 of flour in this batch.

Don't put the full $12.50 against one batch. Use the price from your own receipt; these are example numbers.

Keep the units straight

If butter comes in pounds but your recipe uses ounces, convert the pack size before you divide. Do the same with kilograms and grams, or liters and milliliters. Weight and volume are not interchangeable.

Count eggs by the piece. A dozen for $3.60 is $0.30 an egg, so three eggs cost $0.90. The calculator accepts weight, volume, and count units and warns you if the units don't match.

Build the real batch total

Do the same calculation for the butter, eggs, vanilla, and anything else in the recipe. A little baking powder or a few drops of flavoring still have a cost.

Once you have the batch total, divide by the number of finished items you can sell. Keep the box or bag separate from the dough: packaging is a cost of each item you hand over.

When the pack price changes

If your butter goes from $8 to $10 per kilogram and this batch uses 200 g, that's another $0.40 per batch. Check new receipts before you keep quoting the old cost.

You can use this calculator without an account. If the same flour or butter goes into several products, a Bakeluma account lets you save those ingredients and use them again.

A few practical checks

Is pack price the same as recipe cost?

Only if the recipe uses the entire pack. Otherwise, divide the pack price by the pack quantity and multiply by the amount used.

Can I mix grams and kilograms?

Yes, after converting them to compatible units. The calculator can handle compatible weight units; it will not treat a weight and a volume as interchangeable.

Does this calculate my final selling price?

Ingredient cost is one input. Add packaging and any other costs you need to cover, then use the pricing calculator to work out a selling price.

Now add the rest of the recipe.

Add every ingredient in the batch, then divide by the pieces you can sell. After that, check packaging and your selling price.