Divide by what you can sell
A tray of 50 cookies doesn't always mean 50 sales. Some break, some get burned and some become samples. You still paid for them, so their cost has to be covered by the cookies you can sell. Dividing by every piece you made would make each one look cheaper than it really is.
The formulas
total batch cost ($) = ingredients + labor + other batch costs
pieces to sell = number made − pieces that can't be sold
cost before packaging ($ per piece) = total batch cost ÷ pieces to sell
cost per piece ($) = cost before packaging + packaging per piece
Batch costs are dollars for the whole batch, and packaging is dollars per piece. Optional fields left blank add nothing.
Example: a batch of 50 cookies
A batch uses $36.00 of ingredients, $24.00 of labor and $12.00 of other costs. It makes 50 cookies, but 2 break. Each cookie goes in a bag that costs $0.25. These costs are made up to show the math.
- Batch cost: $36 + $24 + $12 = $72.00.
- Pieces to sell: 50 − 2 = 48.
- Before packaging: $72.00 ÷ 48 = $1.50.
- With packaging: $1.50 + $0.25 = $1.75 per cookie.
Dividing by all 50 would give $1.69 with packaging. Across the 48 cookies you can sell, that misses $2.88 of batch cost. That's the $1.44 each broken cookie cost to make.
Working out labor for one batch
Count the time someone spends scaling, mixing, shaping, finishing, packing and cleaning up. Leave out proofing or baking time if they're doing other work. Multiply those hours by what you pay per hour, including payroll taxes if you want them counted. For example, 1.5 hours at $16.00 an hour is $24.00. If someone works on several batches at once, split their time between them. That way the same hour isn't counted more than once.
Boxes, dozens and mixed sizes
If you sell by the dozen, find the cost of one cookie with packaging left blank. Multiply it by 12, then add the cost of one box. If a batch makes different sizes, don't give each piece an equal share of the cost. Divide the cost by dough weight first. A 120 g roll should get twice the dough cost of a 60 g roll. Then add any fillings or toppings to the items that use them.
Day-old items
Count a piece as one you can't sell only if it brings in no money. If you sell day-old items at a discount, they're still sales, so leave them in the number you can sell. Check whether the lower price covers their cost separately. Use your usual number of unsold pieces, not the number from one very good or bad day.
What this doesn't assume
No waste rate, wage, overhead or profit is built in. Rent, equipment, delivery, sales fees and unpaid owner time are left out unless you include them. Packaging is counted only for pieces you can sell. If you throw away packaged items, add their packaging to other batch costs. This is your cost, not a suggested price. Update it when ingredient prices, batch size or the number you can sell changes.