Stacks of peanut butter and chocolate cookies in a bakery case above handwritten price cards
Photo: James Collington on Pexels

How to Price Baked Goods From Your Real Cost per Unit

Jennifer Trippett

Last updated on

Work out what one unit really costs you, then set a price that leaves a margin on top. The full cost is the ingredients you actually sell (divided by your real yield, not the raw batch weight), plus packaging, your own labor and a share of overhead. The price that gives you a margin you choose is:

price = full cost ÷ (1 − margin you want)

As a benchmark, the Montana Department of Agriculture's guide to selling to grocery stores says a specialty food producer's own margin should be no less than 40%. On the example below, a bag of a dozen chocolate chip cookies that costs $9.75 in full, a 40% margin means at least $16.26. Every step between you and the customer, such as a shop or a distributor, takes its own margin, so wholesale has to be priced from the same full cost. A quick food cost percentage leaves most of that cost out and can set a price below what the product costs you.

Jump to the part you need:

The example follows one batch of chocolate chip cookies, sold in bags of twelve, through all of it. The ingredient prices are real: U.S. average retail prices for August 2026 where the Bureau of Labor Statistics publishes one, and a restaurant-supply listing where it doesn't. Packaging, labor and overhead are examples. Put your own invoices in their place.

What does each ingredient cost per gram?

Recipes call for amounts. Suppliers sell packages. Price per gram connects the two:

price per gram = package price ÷ package weight in grams

A 25 lb case of semi-sweet chocolate chips at $104.49 weighs 25 × 453.59 = 11,339.8 g. $104.49 ÷ 11,339.8 g = $0.00921 per gram. The recipe uses 1,350 g, so the chips in one batch cost 1,350 × $0.00921 = $12.44.

Grams put every ingredient on the same footing, however it was sold to you. If your recipe is written in cups, convert it to weight first. A cup of flour weighs different amounts depending on how it's filled, and that error goes straight into your cost. Converting cups to grams covers how to do it.

The full example batch:

Ingredient Package and price Price per gram Used Cost
Butter $4.02 a lb (BLS, stick butter) $0.00886 900 g $7.98
White sugar $1.02 a lb (BLS) $0.00226 600 g $1.35
Light brown sugar $29.99 for 25 lb $0.00264 660 g $1.75
Eggs, large $2.27 a dozen (BLS) $0.189 each 8 eggs $1.51
All-purpose flour $0.55 a lb (BLS) $0.00121 1,125 g $1.36
Semi-sweet chocolate chips $104.49 for 25 lb $0.00921 1,350 g $12.44
Kosher salt $1.99 for 1 lb $0.00439 20 g $0.09
Baking soda $1.39 for 1 lb $0.00306 20 g $0.06
Batch 5,075 g $26.54

The BLS figures are U.S. average retail prices for August 2026, the latest published, worked out from the unrounded BLS values ($4.021 for butter, $1.024 for sugar, $2.272 for eggs, $0.548 for flour). The other four are restaurant-supply prices checked on 11 October 2026. The eight eggs weigh about 400 g out of the shell. Every calculation in this post uses unrounded costs, so a result can differ by a cent from one worked out with the rounded figures shown.

Chocolate chips and butter are about 77% of the ingredient cost. Those two are the ones to watch when prices move. Salt and baking soda barely register.

Divide the batch cost by what you actually sell

The batch makes 5,075 g of dough. Scooped at 40 g, that's 126 cookies, with 35 g left on the bowl and paddle. Baking drives off water, and each cookie comes out at about 35 g. In this example six come out broken or misshapen and go to samples, which leaves 120 cookies: ten bags of twelve. Each bag is labeled net wt 14 oz (397 g), and twelve 35 g cookies come to about 420 g, so every bag is safely over its stated weight.

Ingredient cost per bag is $26.54 ÷ 10 = $2.65.

Divide the raw dough weight by the dough in a bag instead (5,075 g ÷ 480 g = 10.57 bags) and you get $2.51 a bag. That figure is $0.14 too low on every bag, about 5% of the ingredient cost, because it counts dough that never ends up in a bag.

Count your finished units over a few batches and use the average. Cooking loss varies by product and oven, and nutrition labels and cooking moisture loss explains how it works. Yield also shifts when you make bigger batches, which scaling a recipe to production covers.

What counts as packaging cost?

Count everything that leaves with the product. In the example, each bag takes a bag with a closure at $0.40, a front label at $0.12 and a back label with the ingredient list and Nutrition Facts at $0.08. That's $0.60 per bag. Use the price per piece including shipping, and add the boxes or case cartons if you sell by the case.

How much labor should you count?

Your hands-on time is a cost. Count it for a batch: weighing, mixing, scooping, baking in rounds, cooling, bagging, labeling and cleanup. In this example it's 2.5 hours. At $20 an hour that's $50.00 per batch, or $5.00 per bag.

The hourly rate is your decision. One way to choose it is to ask what you would have to pay someone else to do the job. If labor isn't in the price, the price only works for as long as you keep working for free, and it leaves no room to hire help later.

How do you spread overhead across units?

Some costs don't belong to any one batch: kitchen rental, insurance, permits, market booth fees, your website, software, bookkeeping, the miles you drive to deliver. Add up a typical month and divide by the units you sell in a typical month.

In the example, overhead is $600 a month and you sell 400 bags a month, so overhead is $600 ÷ 400 = $1.50 per bag. Use a realistic month, not your best one. In a slow month the same $600 is spread over fewer bags.

What does one bag cost in full?

Cost layer Per bag
Ingredients $2.65
Packaging and labels $0.60
Labor $5.00
Overhead $1.50
Full cost $9.75

Ingredients are 27% of the full cost here. Labor and overhead together are 67%. Saving a few cents on baking soda won't move this product's cost much. A bigger batch that takes the same hands-on time would.

Why a food cost percentage can set your price too low

Food cost percentage is ingredient cost divided by selling price. Work backward from a target and you get a price:

suggested price = ingredient cost per unit ÷ target food cost

At a 30% target, the example bag would sell for $2.65 ÷ 0.30 = $8.85. That's below the $9.75 full cost. Every bag at that price would lose money once packaging, labor and overhead are paid.

A food cost target is a quick check on ingredients, and it's what the free food cost calculator works out: enter each ingredient's package price, package size and amount used, and it returns the batch cost, the cost per serving and a suggested price from your target food cost percentage. It also accepts a target gross margin on ingredients instead, which is the same thing stated the other way round (a 70% margin on ingredients equals a 30% food cost). Packaging, time and rent sit outside that number, so compare its answer with your full cost before you use it.

Markup and margin are different numbers

Both start from profit, which is price minus cost. They divide it by different things:

  • Markup = profit ÷ cost
  • Margin = profit ÷ price

Using the $9.75 full cost:

Price Profit per bag Markup Margin
$14.63 $4.88 50% 33%
$17.00 $7.25 74.3% 42.6%
$19.51 $9.75 100% 50%

A 50% markup is a 33% margin. Doubling your cost (a 100% markup) gives a 50% margin.

When a buyer says they need 40%, ask whether that's markup or margin. On a $9.75 cost, a 40% markup gives $13.66 and a 40% margin gives $16.26. The Montana guide quoted below states its figures as margins.

How do you set a retail price?

Pick the margin you want, then divide your full cost by one minus that margin:

price = full cost ÷ (1 − margin)

For a 40% margin on the example bag, that's $9.75 ÷ (1 − 0.40) = $9.75 ÷ 0.60 = $16.26. Round to a price that suits your table: at $17.00 you keep $7.25 a bag, a 42.6% margin on full cost. Your wage is already paid inside that cost, so the margin is what's left for the business.

Then check the answer against the market. If shoppers won't pay it, the fix is on the cost side (bigger batches, cheaper inputs, less hands-on time per bag), not a lower margin. And if you also sell wholesale, keep your own retail price at or near the shelf price shops will charge, so you aren't undercutting them.

What will a shop pay you?

A shop that stocks the same bag needs its own margin. The Montana Department of Agriculture's guide to selling to grocery stores says it is generally safe to assume a retailer will want a 30 to 40% margin on food products, and it gives 33 to 50% for the grocer, 20 to 30% for a distributor and 5 to 15% for a broker as industry standard ranges. That's one state agency's guide. Ask the actual buyer what they need, because it varies by store and category.

Say a shop wants a 35% margin and will sell the bag at $17.00, the same as your market price:

  • The shop pays you $17.00 × (1 − 0.35) = $11.05.
  • Your profit is $11.05 − $9.75 = $1.30 per bag, an 11.7% margin.

What happens when a distributor takes a share?

Put a distributor between you and the shop, taking 25% of what it sells the bag to the shop for:

  • The distributor sells to the shop at $11.05 and pays you $11.05 × (1 − 0.25) = $8.29.
  • That's $1.47 below your full cost. Each bag loses money.

What shelf price would give you a healthy margin?

The same Montana guide sets a floor for the producer. It says a specialty food producer's gross margin "should be no less than 40%", with 40 to 60% as the ideal range. The example is far short of that. Even leaving overhead out and counting only ingredients, packaging and labor ($8.25 a bag), the $11.05 wholesale price is a 25.3% margin.

Work backward from that floor to see what the shelf price would need to be. A 40% margin on $9.75 means a wholesale price of $16.26. Through a shop alone, $16.26 ÷ 0.65 = $25.01 on the shelf. With a distributor as well, $16.26 ÷ 0.75 = $21.68 to the shop, then $21.68 ÷ 0.65 = $33.35 on the shelf. If shoppers won't pay that for a dozen cookies, the cost has to come down, or wholesale doesn't fit this product yet and direct sales carry it for now.

Wholesale also brings costs these figures don't show: case packs, delivery runs, free samples, and the wait between delivering and being paid.

Re-check when ingredient prices move

Suppose the case of chocolate chips goes from $104.49 to $120.00, about 15% more. The new price per gram is $120.00 ÷ 11,339.8 g = $0.01058. The 1,350 g in a batch now cost $14.29 instead of $12.44, which is $1.85 more per batch and $0.18 more per bag. Full cost rises to $9.94.

At the market, your margin on a $17.00 bag slips from 42.6% to 41.5%. At wholesale, your profit at $11.05 falls from $1.30 to $1.11 per bag, a 14% drop from an 18-cent change. The thinner the margin, the larger the share of it a small price move takes.

Re-cost a product whenever an invoice shows a new price for one of its expensive ingredients, and on a regular schedule even when nothing seems to have changed. If you're testing a cheaper substitute, keep the original recipe intact so you can compare the two; managing recipe versions covers how.

KitchenSync is nutrition label and recipe costing software for small food businesses. It turns each supplier price you enter into a price per gram, and recipes cost each ingredient from the lowest available price per gram. If you bake or make granola for markets and shops, you can cost your recipes in KitchenSync, and the recipe costing page has the details.

Sources

Cost every batch

KitchenSync works out the ingredient cost of each recipe from the supplier prices you enter, so bakers and granola makers can see what a batch really costs before they set a price.

Sign Up Free →

Need more recipes? See KitchenSync plans and pricing