Guide

The food cost formula for bakers

The food cost formula is food cost percentage = ingredient cost ÷ selling price × 100. A cookie that costs $0.38 in ingredients and sells for $1.90 has a food cost of 20%. For a whole month you use inventory instead: (opening stock + purchases − closing stock) ÷ sales × 100. This guide works through both with realistic bakery numbers, explains why the two results rarely match, and shows how to turn a target percentage into a price.

The food cost formula, two ways

Food cost percentage tells you how much of every dollar a customer pays goes back into ingredients. Bakers use it in two places: when they price a single recipe, and when they look back at a week or a month to see what really happened.

The two versions answer different questions, so it helps to keep them apart from the start:

Food cost percentage for one recipe: a worked example

Take an example batch of 24 chocolate chip cookies. Cost each ingredient by the amount the recipe uses, not by the bag you bought: a $9.00 bag of 5 kg flour is $1.80 per kg, so 500 g costs $0.90.

Added up, the batch costs $9.20 in ingredients, or about $0.38 per cookie. Sold at $1.90, the food cost percentage is 0.38 ÷ 1.90 × 100 = 20%. Sold at $1.25, it jumps to about 30%, with the same recipe and the same work.

The guide to costing a recipe adds packaging, labour and overhead to a batch of cookies like this one, and the recipe cost calculator does that sum for you.

Example: ingredient cost of 24 chocolate chip cookies
IngredientAmount usedPrice paidCost in recipe
Flour500 g$1.80 per kg$0.90
Butter250 g$10.00 per kg$2.50
Sugars200 g brown, 100 g white$3.00 and $2.00 per kg$0.80
Eggs2$0.30 each$0.60
Chocolate chips340 g$12.00 per kg$4.08
Vanilla, salt, baking sodasmall amountsvarious$0.32
Total for 24 cookies——$9.20

Read next: How to calculate recipe cost, step by step, Recipe cost calculator for bakers

Food cost for a month: the inventory formula

The recipe number assumes nothing is wasted. To see what really happened, count what you have at the start and end of the month and add what you bought in between.

Example: you start the month with $180 of ingredients in the pantry and fridge, buy $620 more, and end the month with $150 left. You used 180 + 620 − 150 = $650 of ingredients. If your bakery sales for the month were $2,400, your actual food cost percentage is 650 ÷ 2,400 × 100 = 27.1%.

Three habits make this number trustworthy:

If you record purchases and stock as you go, the opening and closing figures are already there when the month ends.

Read next: Bakery production software that plans your week from your orders

Ideal vs actual food cost: why they differ

If your recipes say 20% and the month says 27%, the gap is money that went somewhere other than a sale. In a small bakery it usually comes from a handful of places:

What food cost percentage should a bakery aim for?

There is no single right food cost percentage. Restaurant guides often quote a rule of thumb somewhere around 25% to 35%, but a bakery is not a restaurant, and a home baker is not a café with staff and rent.

A better test is whether the price left after ingredients covers everything else: packaging, your hours, the oven's electricity, delivery, fees, and a profit you are happy with. Decorated celebration cakes usually carry a low food cost because most of the price pays for hours of skilled work. Plain bread can carry a higher one if you bake in volume and sell quickly.

Turning a target food cost percentage into a price

Flip the formula and you get a price: selling price = ingredient cost ÷ target food cost percentage.

Example: a 20 cm layer cake costs $14.40 in ingredients. With a 30% target, the price is 14.40 ÷ 0.30 = $48.00. With a 25% target, it is $57.60. Round to a price that looks natural on your menu, then check the percentage again.

The food cost calculator works out the percentage and the price for one recipe with your own numbers.

Read next: Food cost calculator for bakers

What the food cost formula leaves out

Food cost percentage is useful because it is simple, but that also makes it incomplete. A product can have a healthy 25% food cost and still lose money once everything else is counted.

When you price, add these on top of ingredients:

The bakery profit margin guide shows how to price on the full cost instead, and the guide to pricing baked goods works through a full example.

Read next: Bakery profit margin: how to work it out and how to raise it, How to price baked goods for profit

Tracking food cost with Farinu

Farinu is an app for home and micro bakers that does this math for you. You enter ingredients with the price you paid, build recipes (including sub-recipes such as a buttercream used in several cakes), and Farinu shows the ingredient cost, the full cost with packaging, labour, machines and overhead, and a suggested price from the target markup or target price you set.

When you record a new ingredient price, Farinu recosts every recipe that uses it and raises a margin alert when a price list now sells one below its suggested price, so you see the problem before you sell at the old price. Purchases, stock, the sales log and a monthly P&L let you compare what your recipes say with what the month actually cost.

The free plan covers costing for up to 10 recipes and up to 50 orders a month. The Team plan adds unlimited recipes and orders and the rest of the bakery: sales and the monthly P&L, purchases and stock, helpers and the AI assistant.

Questions

What is the food cost formula?
For one recipe: ingredient cost per portion ÷ selling price per portion × 100. For a period: (opening inventory + purchases − closing inventory) ÷ food sales × 100. Both give a percentage of the selling price.
How do I calculate food cost percentage for a cake?
Add up the cost of every ingredient in the amounts the recipe uses, including fillings and frosting, then divide by the cake's selling price and multiply by 100. For example, $14.40 of ingredients on a $48.00 cake is a 30% food cost.
Does food cost include packaging and labour?
No. Food cost counts only ingredients. Packaging, labour, energy and overhead are separate costs that your price also has to cover, which is why a good food cost percentage alone does not guarantee a profit.

Related pages

Know your food cost for every recipe

Cost your recipes in Farinu, set a target markup, and get an alert when an ingredient price rise eats into it. Free for up to 10 recipes.

Create a free account