crosodo
How to calculate recipe cost: the formula, worked on a batch of cookies — Pricing | Crosodo Journal
Pricing9 min read·November 14, 2026
Sarah Baker · Compliance research

How to calculate recipe cost: the formula, worked on a batch of cookies

Ingredient cost + labour + overhead, divided by yield, is your cost per unit. Worked on 24 chocolate chip cookies with real November 2026 prices from Target and ShopRite: $9.39 of ingredients, $0.39 a cookie, and a $2.90 price at a 50% margin.

Short answer
Three formulas do all the work. Cost per unit = (ingredient cost + labour + overhead) ÷ yield. Food-cost % = ingredient cost ÷ price. Price = cost per unit ÷ (1 − target margin). Worked on a batch of 24 chocolate chip cookies with real November 2026 prices from Target and ShopRite, the ingredients cost $9.39 ($0.39 a cookie), the full cost with example labour, overhead, and packaging is $1.45 a cookie, and the price at a 50% margin is $2.90 a cookie.

The three formulas

Cost per unit
(Ingredient cost + labour + overhead) ÷ yield — what one cookie, loaf, or cake actually costs you.
Food-cost %
Ingredient cost ÷ price — the share of the selling price that the ingredients eat. Lower is more room for everything else.
Price from margin
Price = cost per unit ÷ (1 − target margin). At a 50% margin, divide the cost by 0.50 — the price is double the cost.

The order matters. Cost the recipe first, then decide the price from the cost. Pricing by feel — charging what the baker next to you charges, or what feels fair — is how a table loses money on its best seller. The formulas are simple; the discipline is doing them for every recipe, and redoing them when a pack price changes.

Step 1: price every ingredient from the pack

For each ingredient, take the pack price, divide by the pack size to get the price per gram, ounce, or egg, then multiply by the amount the recipe uses. Never cost an ingredient at the price of the whole pack — cost the amount you actually use. The table below is the worked example: a standard batch of 24 chocolate chip cookies (2¼ cups flour, 1 cup butter, ¾ cup granulated sugar, ¾ cup packed brown sugar, 2 eggs, 2 cups chocolate chips, 1 teaspoon vanilla). Every pack price is a November 2026 list price from the retailer named next to it.

Ingredient prices for the cookie batch — Target and ShopRite list prices, November 2026
IngredientAmount usedPack price (retailer, Nov 2026)Cost in this batch
All-purpose flour2¼ cups (270 g)King Arthur Unbleached All-Purpose Flour, 5 lb — $6.29 at Target$0.75
Butter1 cup (½ lb)Land O'Lakes Salted Butter, 1 lb — $4.99 at ShopRite (on sale Nov 7–14, 2026; regular $5.49)$2.50
Granulated sugar¾ cup (150 g)Good & Gather Granulated Sugar, 4 lb — $3.19 at Target$0.26
Light brown sugar¾ cup packed (165 g)Good & Gather Light Brown Sugar, 2 lb — $2.19 at Target$0.40
Eggs2Land O'Lakes Large Brown Eggs, 12-count — $4.79 at ShopRite ($0.40 each)$0.80
Semi-sweet chocolate chips2 cups (12 oz bag)Good & Gather Semi-Sweet Chocolate Morsels, 12 oz — $4.19 at Target$4.19
Pure vanilla extract1 teaspoonGood & Gather Pure Vanilla Extract, 2 fl oz — $5.89 at Target ($2.95 per fl oz)$0.49
Total ingredient costBatch of 24 cookies—$9.39

Two notes on those prices. First, the butter was on sale at $4.99 for November 7–14, 2026, with a regular price of $5.49 — the batch above uses the sale price, and if you cost it at the regular price the butter line is $2.75 and the ingredient total is $9.64. Cost at the price you usually pay, not the best sale you ever found. Second, the same carton of eggs was listed at $4.49 at another ShopRite location, so egg prices vary by store — check your own store's shelf. Baking soda and salt are not in the table: they were not priced, so cost them from your own receipt rather than guessing a figure. They are the smallest lines in the batch.

Weigh, don't scoop
The amounts above are in grams as well as cups for a reason. A cup of flour can weigh anywhere from about 115 g to 140 g depending on how you scoop it, and that swing changes both the bake and the cost. Weigh the flour once, write the grams on the recipe card, and cost from the grams.
Resources
Free tools, labels, and planners →

Printables and quizzes for cottage bakers — no paywall on the guides.

Step 2: the worked example — 24 chocolate chip cookies

Ingredients are only the first line. A batch also costs your time, the oven, and the bag the cookie goes home in. Those three are different for every baker, so the figures below are clearly labelled example figures — your own rates, not market prices. Swap in your own numbers and the formulas still work exactly the same way.

Full cost of one batch of 24 cookies
Cost lineHow it is figuredBatch cost
IngredientsPriced from Target and ShopRite, Nov 2026 (table above)$9.39
Labour — example figure1 hour of active time at $20 an hour (example rate — set your own)$20.00
Overhead — example figureOven, electricity, and kitchen time for the batch (example figure — check your own bills)$3.00
Packaging — example figure$0.10 per cookie × 24 (example figure — price your own bags and labels)$2.40
Total batch costIngredients + labour + overhead + packaging$34.79
Cost per cookie$34.79 ÷ 24 cookies$1.45
Ingredient cost per cookie$9.39 ÷ 24 cookies$0.39

Read that table twice, because the gap between the two per-cookie figures is the whole lesson. The ingredients are $0.39 a cookie. The full cost is $1.45 a cookie. A baker who prices from ingredients alone — say, doubling the ingredient cost to $0.78 — is selling each cookie for about half of what it actually costs to make, pack, and bake. Labour is the biggest line in the batch at $20.00, which is normal: for most cottage baking, your time is the most expensive ingredient.

Step 3: set the price from the cost

Price = cost per unit ÷ (1 − target margin). The target margin is the share of the selling price left after the full cost is covered — it pays for everything the cost lines do not, including market fees, unsold stock, and profit. At a 50% margin, the price is double the cost: $1.45 ÷ 0.50 = $2.90 a cookie. At that price, the food-cost % is $0.39 ÷ $2.90, about 13% — the ingredients take about 13 cents of every dollar the cookie sells for.

Price per cookie at different target margins (cost $1.45)
Target marginFormulaPrice per cookiePrice per dozen
40%$1.45 ÷ 0.60$2.42$29.04
50%$1.45 ÷ 0.50$2.90$34.80
60%$1.45 ÷ 0.40$3.63$43.56

There is no single correct margin in this table — 40%, 50%, and 60% are worked examples, and the right margin for your table depends on your market, your fees, and how much of each batch goes unsold. What the table does show is how sensitive the price is: moving from a 40% margin to a 60% margin moves the cookie from $2.42 to $3.63. Pick the margin deliberately, write it down, and use the same one across your menu so a cheap recipe does not quietly subsidise an expensive one.

Cost per unit at a glance

The cookie batch, per unit
Per unitAmount
Ingredient cost per cookie$0.39
Full cost per cookie$1.45
Price per cookie at a 50% margin$2.90
Profit per cookie at $2.90$1.45
Food-cost % at $2.90About 13%
Price per dozen at $2.90 each$34.80

Common mistakes

  • Forgetting packaging. Bags, boxes, labels, and twine are a real line — the example above is $0.10 a cookie, $2.40 a batch. Price your own packaging from the receipt, and do not leave the line out.
  • Forgetting labour. Your own time is a cost even when nobody writes you a paycheque. If the batch takes an hour of active work, that hour goes in the formula at whatever rate you set for yourself.
  • Forgetting waste. If 2 of the 24 cookies burn, break, or go unsold, the yield is 22, not 24 — and the cost per sellable cookie is $34.79 ÷ 22, or $1.58, not $1.45. At a 50% margin that prices the cookie at $3.16. Cost the yield you actually sell.
  • Forgetting market fees. A table fee is charged per day, not per cookie, so it does not belong in the per-batch formula — but it does belong in the day's maths. Divide the day's fee by the number of items you expect to sell and check that the margin still holds.
  • Costing at sale prices. The butter in the example was $4.99 on sale with a $5.49 regular price. If you cost every batch at the best sale you ever found, the first week without a sale is a loss. Cost at the price you usually pay.
  • Pricing by feel. Charging what the next table charges skips the only question that matters: what does it cost you? Run the formula for every recipe, even the ones you have baked a hundred times.
  • Never re-costing. Flour, butter, eggs, and chocolate move. Re-price the ingredient table when a pack price changes, and the price follows from the formula — no guessing, no panic.

Keeping the sheet current

One page per recipe, kept where you bake. Each page lists every ingredient with its pack price, the retailer and date you checked it, the amount used, and the cost in the batch — then labour, overhead, and packaging, the yield, the cost per unit, and the price at your chosen margin. When a pack price changes, change one line and the totals follow. The November 2026 prices in this post are a starting point, not a price list: your store, your brands, and your receipts are the dataset that matters. For the market context those prices sit in, see what cottage bakers actually charge.

Ingredient prices in this post are list prices from Target and ShopRite, checked November 2026, and they vary by store and by week. Labour, overhead, and packaging figures are labelled example figures — set them from your own time, bills, and receipts. Confirm the live price before you quote a customer.

Common questions

FAQ

What is the formula for recipe cost?

Cost per unit = (ingredient cost + labour + overhead) ÷ yield. Price every ingredient from its pack price, add your labour and overhead, add packaging, and divide by the number of sellable units the batch makes.

What is food-cost percentage, and how do I work it out?

Food-cost % = ingredient cost ÷ price. In the worked example, the ingredients cost $0.39 a cookie and the price is $2.90, so the food-cost % is about 13% — the ingredients take about 13 cents of every dollar the cookie sells for.

How do I price my own labour into a recipe?

Time the active work on the batch — mixing, shaping, baking, packing — and multiply the hours by an hourly rate you set for yourself. The worked example uses 1 hour at $20 an hour, which is an example rate, not a market price: set your own rate, write it down, and use it the same way for every recipe.

Should I cost ingredients at sale prices?

No — cost at the price you usually pay. In the worked example the butter was $4.99 on sale at ShopRite for November 7–14, 2026, with a regular price of $5.49. Costing every batch at the best sale you ever found means the first week without a sale is a loss.

What if my ingredient prices are different from the ones in this post?

Swap them in. The November 2026 prices from Target and ShopRite are the worked example's dataset, not your price list — re-price each ingredient line from your own store and receipts, and the formulas give you your cost per unit and your price.

Do I divide by the number of cookies baked, or the number I sell?

The number you sell. If 2 of 24 cookies burn, break, or go unsold, the yield is 22 — and the cost per sellable cookie is $34.79 ÷ 22, or $1.58, not $1.45. Cost the yield you actually sell.

Crosodo Journal entries are recipe, craft, and cottage-food notes for home bakers. Recipes assume an active starter and basic equipment. Cottage food sales are governed by your state's law — start with the free state directory, check a product with Can I sell this?, or grab a label template. Not legal advice.