Formulation

How to calculate and reduce the cost of a recipe

Full cost of a recipe built from raw materials, packaging, processing, losses, transport and fixed costs, compared with the target selling price

Updated October 2026.

The cost of a recipe is not the sum of its raw material prices. Packaging, processing, losses, transport and fixed costs often make the difference between a profitable product and a product that loses money at every sale. Here is how to calculate the full cost, then how to reduce it without breaking your nutritional or regulatory targets.

1. Use the right purchase price

A raw material rarely has one price. It depends on the supplier, the origin, the plant, the quantity bought and the date. Keep a purchase price list with these criteria, a preference rank and effective dates; the cost used in the recipe is then the one that applies to your plant and your period. Keep several scenarios side by side: this year, last year, next year.

2. Add packaging per sales unit

Packaging is bought per level and must be brought back to the sales unit. Example: a primary packaging at €0.12, a case at €1.32 for 10 units and a pallet at €16.92 for 250 units cost 0.12 + 0.132 + 0.0677 = €0.32 per unit.

3. Add processing, losses and the other costs

  • Processing: a line at €20 per hour producing 2,000 units per hour costs €0.01 per unit;
  • losses and yields: a 5% process loss means buying 5% more raw material;
  • transport, from the supplier to the plant and from the plant to the customer;
  • fixed costs such as analyses, and storage.

Compare the result with your target selling price: the margin of each product is visible before launch, not after the first invoice.

beCPG PLM: recipe composition with nutrition, costs and Nutri-Score
The recipe with its cost per component, next to nutrition and the Nutri-Score.
Full cost of a recipe built from raw materials, packaging, processing, losses, transport and fixed costs, compared with the target selling price
From raw materials to the full cost, then the margin against the target selling price.

A worked example

Illustrative figures for one sales unit:

Cost componentPer unit
Raw materials€0.85
Packaging (3 levels)€0.32
Processing€0.01
Losses (5% of raw materials)€0.04
Transport€0.05
Fixed costs and storage€0.03
Full cost€1.30
Target selling price€1.60
Margin€0.30 (19%)

Here, a 10% increase on raw materials costs €0.085 per unit, more than a quarter of the margin: a good reason to simulate it before it happens.

4. See where the cost comes from

A detail by component, or a column with the share of each component in the total cost, shows where to act: often two or three ingredients make most of the cost.

beCPG cost price report with the cost breakdown per sales unit
The cost price report: each cost component per kilogram, per sales unit, per case and per pallet.

5. Reduce the cost under constraints

Lowering the cost by hand, one ingredient at a time, quickly breaks something else: the Nutri-Score, an allergen, a claim, a maximum dose. Optimization under constraints calculates the quantities that minimize the cost while respecting your limits on composition, nutrients, allergens, ingredients and physico-chemical data. If a target cannot be met exactly, a tolerance can be allowed and the result says so.

In beCPG you can also ask Chef AI: “Reduce the cost of this recipe without lowering the Nutri-Score.” It runs the same optimization and proposes a recipe that your R&D team validates.

6. Simulate a price change on the whole range

When a raw material or a packaging price changes, simulate it first: the new price, the difference on each product, several scenarios. A change order then lists every product concerned and applies the change with new versions.

Cost componentWhere it comes from
Raw materialsPurchase price list, by supplier, plant and period
PackagingPrice per level, brought back to the sales unit
ProcessingHourly cost and throughput of the line
LossesYields and process losses of the recipe
Transport, fixed costs, storageYour own rules, per product or per family
beCPG change order with simulated alerts on the products concerned
A change order simulates the effect of a change on every product before it is applied.

Frequently asked questions

What is the difference between a formulated cost and a manual cost?

A formulated cost is calculated from the raw materials and packaging of the recipe. A manual cost is entered directly on the finished or semi-finished product, for example for a bought-in item.

How do I take yields and losses into account?

Enter the yields and process losses on the recipe: the quantities of raw materials needed, and therefore the cost, are increased accordingly. Losses count in the cost, not in the nutrition.

Which formulation software should I use to optimize formulation costs?

Look for a tool that calculates the full cost from your recipes, keeps purchase prices by supplier, plant and period, simulates price changes on the whole range, and finds the least-cost formula under your nutritional and regulatory constraints. beCPG does all four.

Can I compare costs between plants or suppliers?

Yes, when purchase prices are kept with their plant and supplier: the cost of the same recipe is then calculated for each plant, and two suppliers can be compared on the whole range.

How often should costs be updated?

Each time a purchase price changes, with scenarios for the current year, the previous year and the next one. Recalculation is automatic when the prices are in the PLM.

See also

beCPG calculates the full cost of every recipe and finds the least-cost formula under your constraints. Discover formulation and costs in beCPG.

Read also

Cosmetics & HPC

What does managing your formulas in Excel really cost you?

The spreadsheet cost nothing to install, and that is exactly what makes its cost so hard to see. It appears on no budget line: it is spread across your formulators’ hours, the checks made before every send, and the rework that follows an error. Before comparing anything to anything, you have to put a figure on it. Here is how to do that with your own numbers.

Philippe Quéré4 min

See beCPG in action

Request a demo or start your free trial.