Free tool

Food cost calculator for bakers

A food cost calculator answers one question: food cost percentage = ingredient cost per portion ÷ selling price × 100. If a cookie costs $0.42 in ingredients and sells for $2.00, its food cost is 21%. Below is the formula step by step, a worked example with real quantities, and how to turn a target percentage into a price. To have it worked out for every recipe and kept current, Farinu's free plan costs up to 10 recipes.

Start freeDownload the free spreadsheet (CSV)

Worked example: chocolate chip cookies

An example batch of 24 cookies, with example supermarket prices in USD. Each ingredient is costed by the amount the recipe uses.

Flour, 500 g at $1.20 per kg
$0.60
Butter, 450 g at $9.00 per kg
$4.05
Sugar, 400 g at $1.80 per kg
$0.72
Eggs, 2 at $0.30 each
$0.60
Chocolate chips, 340 g at $11.00 per kg
$3.74
Vanilla, salt and baking soda
$0.40
Total ingredient cost
$10.11
Yield and cost per cookie
24 cookies, $0.42 each
Selling price per cookie
$2.00
Food cost percentage
21% ($0.42 ÷ $2.00 × 100)

Example figures only. Swap in your own prices and quantities; packaging, labor and overhead are not part of food cost.

Do it in Farinu instead of a spreadsheet

Farinu is an app for home and micro bakers that does this calculation for every recipe and keeps it current. You enter ingredients once with their prices, build recipes from them, and see the full cost per portion with packaging, sub-recipes like a frosting or a dough, labor, machine time and overhead included.

From there it suggests a price from your target markup, keeps retail and wholesale price lists, and raises a margin alert when an ingredient price rise leaves a product selling below its target markup.

The free plan covers costing for up to 10 recipes and up to 50 orders a month, and Team adds unlimited orders, sales, stock and an AI assistant that imports existing recipes from a photo or a spreadsheet.

Read next: Free recipe costing template for bakers, Bakery management software for home and small bakeries

How the food cost calculator formula works

Food cost only counts what goes into the product: flour, butter, sugar, eggs, chocolate, flavorings. You cost each ingredient by the amount the recipe uses, not by the package you bought, then divide by how many portions the batch makes.

The result is a percentage of the selling price. It tells you how much of every dollar a customer pays goes straight back into ingredients, which makes it easy to compare a cookie with a cake or a loaf of bread.

Do these four steps for every recipe you sell:

Using a food cost percentage calculator to check your prices

Run the numbers on the products you already sell. A low percentage means ingredients are a small slice of the price, which leaves room for your time, packaging and the rest. A high one means the price barely covers the butter.

Restaurant guides often quote a target somewhere around 25 to 35 percent. Treat that as a rule of thumb, not a law: a home baker who works alone and sells in small batches usually needs a lower food cost than a restaurant, because labor per item is higher.

Recalculate whenever an ingredient price changes. Butter and chocolate move the most, and a cookie that sat at 21% can drift up without anyone noticing.

Pricing backwards from a target food cost

Flip the formula to find a price: selling price = cost per portion ÷ target food cost percentage. With the cookie from the example, $0.42 ÷ 0.30 gives $1.40 if you want a 30% food cost, and $0.42 ÷ 0.20 gives $2.10 if you want 20%.

Round to a price your customers find natural and check it against what similar bakers in your area charge. The formula gives you a floor to reason from, not the final word.

What food cost leaves out

Food cost is a quick health check, but it is not the full cost of a product. For a small bakery the missing pieces are often bigger than the ingredients themselves.

Before you settle on a price, add the costs that never show up in an ingredient list:

Questions

What is the food cost formula?
Food cost percentage = ingredient cost per portion ÷ selling price × 100. A cookie with $0.42 of ingredients that sells for $2.00 has a 21% food cost.
How do I calculate a price from a target food cost?
Divide the cost per portion by the target as a decimal. For a 30% target and a $0.42 cost, the price is $0.42 ÷ 0.30 = $1.40, before you add labor, packaging and overhead.
Should packaging count as food cost?
Most bakers keep it separate so food cost stays comparable between products, but it must be in the final price. Farinu shows both: ingredient cost and the full cost with packaging.
Is the Farinu food cost calculator free?
Yes. The free plan includes recipe costing for up to 10 recipes.

Related pages

Know the real cost of every recipe

Create a free account and cost up to 10 recipes in Farinu, with labor, packaging and overhead included.

Start free