How to cost a bakery recipe and set the unit price

A recipe lists amounts. A price needs money. To get from one to the other you convert each ingredient from the pack you buy to the amount you use, add the costs that are not ingredients, spread the total over the units you actually sell, and then price for the margin you want. Bakers who stop at ingredients price too low, because labor, energy, packaging and unsold units are part of what a loaf or a cookie costs.

Step 1: cost each ingredient

Cost in the batch = pack price × amount used ÷ pack size. Use the same unit for the pack and the amount, for example grams for both.

If a 25 kg sack of flour costs $22 and the batch uses 2,000 g, the flour costs $22 × 2,000 ÷ 25,000 = $1.76. Do this for every ingredient, including the small ones. Prices change, so update the pack prices when you reorder, not when you remember.

Step 2: add what is not an ingredient

  • Baker time: minutes for the batch ÷ 60 × the labor cost per hour. Include mixing, shaping, baking attention, cooling and packing. If you are the baker, pay yourself a wage here, or the price will not support a hire later.
  • Oven and energy for the batch.
  • Packaging per unit, such as a box, a bag or a label.

Step 3: spread the cost over units sold

You bake 24 but you do not sell 24. Some go stale or are given away. Cost per unit sold = batch cost ÷ units sold. If you ignore unsold units, you underprice every unit you do sell.

Step 4: price for a margin

Price = cost per unit ÷ (1 − gross margin you want). Dividing is not the same as adding a markup; see the markup vs margin guide.

Worked example

Illustrative inputs only; these are not benchmarks.

Input Pack price Pack size Used Cost in batch
Flour $22 25,000 g 2,000 g $1.76
Butter $14 1,000 g 800 g $11.20
Sugar $5 1,000 g 300 g $1.50
Filling $9 30 portions 3 $0.90
Other input Value
Units the batch makes 24
Units not sold 8%
Baker time 90 minutes at $20 an hour
Oven and energy for the batch $1.80
Packaging per unit $0.12
Gross margin wanted 55%
  • Ingredients = $15.36.
  • Baker time = 1.5 hours × $20 = $30.00. Packaging = 24 × $0.12 = $2.88. Energy = $1.80.
  • Batch cost = 15.36 + 30.00 + 1.80 + 2.88 = $50.04.
  • Units sold = 24 × (1 − 8%) = 22.08, so cost per unit sold is $50.04 ÷ 22.08 = $2.27.
  • Price = $2.27 ÷ (1 − 55%) = $5.04.

Ingredients are only 13.8% of the price. Labor is the biggest line in this example, so the way to improve the margin is often time per batch, not a cheaper ingredient.

What moves the price

Unsold units:

Units not sold Units sold Cost per unit Price at 55% margin
0% 24 $2.08 $4.63
8% (base) 22.08 $2.27 $5.04
15% 20.4 $2.45 $5.45
Price per unit for a 55% marginBar chart, 3 categories, 1 series, unit $. The values are in the table that follows.0$2$4$60% unsold0% unsold8% unsold (base)8% unsold (base)15% unsold15% unsold0% unsold, Price per unit: $4.63$4.638% unsold (base), Price per unit: $5.04$5.0415% unsold, Price per unit: $5.45$5.45
Price per unit for a 55% margin.
Price per unit for a 55% margin ($)
CategoryPrice per unit
0% unsold$4.63
8% unsold (base)$5.04
15% unsold$5.45
P&L sheet of the sample Bakery (retail counter + wholesale) model, Base case
P&L sheet of the sample Bakery (retail counter + wholesale) model (Base case). Your model uses your numbers. See the Bakery (retail counter + wholesale) business model.

The margin target matters more. At 45% the price is $4.12; at 65% it is $6.48. Time works the other way: if the batch takes 60 minutes instead of 90, the batch costs $40.04, the cost per unit sold falls to $1.81 and the price at 55% is $4.03.

From a price to the margin you really earn

If the market will pay only a certain price, turn the formula around. At $4.50 a unit the gross margin is 1 − 2.27 ÷ 4.50 = 49.6%, and at $5.00 it is 54.7%. Gross margin here is before rent, wages of counter staff, and marketing. Whether the margin covers those costs is a break-even question; see the bakery break-even guide.

Keeping the costing current

  • Re-cost each recipe when a pack price changes by more than you can absorb.
  • Weigh a batch's real yield once; recipes give the output of a perfect batch.
  • Count waste honestly for a month before you set the unsold share.
  • Price the product mix, not one item: a loss on one product is acceptable only if another covers it, and you should be able to say which.

Common mistakes

  • Costing only the ingredients.
  • Using the price of a small pack when you buy in bulk, or the reverse.
  • Setting the price from the number of units baked, not sold.
  • Adding 50% to cost and calling it a 50% margin.

The bakery recipe cost calculator does the sums for up to four ingredients and gives the batch cost, cost per unit sold and the price for your margin.

From a calculator to a model

A calculator prices one recipe. A model builds the whole bakery: the product mix, daily volumes, wages, rent, equipment financing and the cash you need to the lowest point, under Low, Base and High, with a Checks sheet. StartupModel builds a bakery model from a short brief. Full costs $349; Light costs $149. The bakery business model page shows the tables a working model produces from the sample's assumptions.

Every model comes with a Checks sheet. Before release, every scenario and year is recomputed independently outside Excel and must match the workbook within $1. A model that fails is never delivered.

Build my bakery model — from $149 · Recipe cost calculator · Bakery break-even guide