How to calculate recipe cost
Getting the ingredient cost of a food product right: cost per kg of the mix, cost per kg of finished product after loss, and scaling from a lab trial to a production batch.
The basic formula
Recipe cost is the sum of each ingredient's amount multiplied by its price per kg. There are two different results and they should not be confused:
Mix cost per kg = Σ (ingredient amount × price per kg) ÷ mix weight
Product cost per kg = batch cost ÷ product weight after loss
For quotes, margin calculations and comparing two formulas, use the cost per kg of finished product. You sell the baked or dried product, not the batter.
Worked example
Using the 1,000 g cake batter from the nutrition declaration guide. Prices are illustrative.
| Ingredient | Amount | Price per kg | Cost | Share |
|---|---|---|---|---|
| Wheat flour | 400 g | €0.60 | €0.24 | 20.2% |
| Sugar | 250 g | €0.92 | €0.23 | 19.3% |
| Sunflower oil | 150 g | €1.60 | €0.24 | 20.2% |
| Egg | 200 g | €2.40 | €0.48 | 40.3% |
| Total | 1,000 g | €1.19 | 100% |
The mix costs €1.19 per kg. The cake loses 10% in the oven, so 1,000 g of batter gives 900 g of cake and the finished product costs 1.19 ÷ 0.9 = €1.32 per kg.
The share column matters just as much: egg is a fifth of the weight but two fifths of the cost, which makes it the first place to look when you need to cut cost. A 20% rise in the egg price lifts the product cost to €1.43 per kg, an increase of 8.1%.
How loss changes cost
Baking, drying, frying or evaporation loss means the same batch cost is divided over less product. The higher the loss, the higher the cost per kg.
| Loss | Product from 1,000 g | Product cost per kg |
|---|---|---|
| 0% | 1,000 g | €1.19 |
| 10% | 900 g | €1.32 |
| 12% | 880 g | €1.35 |
A small change to the oven profile can raise the product cost by 2% without touching a single ingredient. That is why it pays to weigh and record the loss every time you trial a process change.
From trial to production batch
To take a 1 kg lab trial to a 120 kg production batch, scale every ingredient by the same factor: 48 kg flour, 30 kg sugar, 18 kg oil, 24 kg egg. The batch costs €142.80 and yields 108 kg after loss. Cost per kg does not depend on batch size and stays at €1.32.
Keeping the formula in percentages makes scaling easy: change the batch size and the gram amounts follow. Bakers also use baker's percentages (flour = 100%); see the food formulation guide.
Loss at production scale often differs from the lab: large ovens, batter left in the mixer and trimming add extra loss. Measure it again on the first production batches.
Ingredients bought in other currencies
Cocoa, vanilla, flavourings, additives and imported flours are often bought in euros or dollars. Converting them once and leaving them means the cost silently drifts as exchange rates move.
A better approach is to keep each ingredient's price in its own currency and calculate with a current rate. The European Central Bank's reference rates, published every working day, are a common free source. Note the rate date with the cost; it usually explains why the same formula costs more three months later.
Ingredient cost vs full cost
The calculation in this guide is the ingredient cost used to choose between formulas. To reach a selling price, add:
- Packaging: primary pack, label, case and pallet materials.
- Labour and energy: line time, oven or dryer energy.
- Waste: rejected product and trimming losses in production.
- Overheads, logistics and margin.
When comparing formulas, ingredient cost is enough: the other items are usually the same for both.
Tips for reducing cost
- Read the share column. Two or three ingredients usually make up most of the cost.
- Change one thing at a time. When you reduce an expensive ingredient, keep everything else fixed so you can see what happens to the sensory scores.
- Don't ignore loss. A process setting that cuts loss by a few points can save more than an ingredient negotiation.
- Keep prices current. Costing with old prices can lead you to pick the wrong formula.
FAQ
What is the difference between mix cost and product cost?
Mix cost is the total ingredient cost divided by the weight of the mix. Product cost divides the same amount by the weight left after baking or drying loss. Use product cost for selling prices and margins.
Does batch size change the cost per kg?
Not for ingredient cost: every amount grows by the same factor, so the cost per kg stays the same. Actual cost can still differ at production scale because loss rates and purchase prices change.
How should I handle ingredients priced in another currency?
Keep the price in its original currency and calculate with a current exchange rate. The cost then updates when the rate changes and it is clear which rate was used.
Is packaging part of recipe cost?
Usually not. Recipe or ingredient cost covers only what goes into the product. Packaging, labour, energy and overheads are added in the full cost calculation.