← Back to calculator

How to Calculate Food Cost for Your Home Bakery

A practical guide for cottage bakers · 9 min read

If you sell sourdough loaves at your local farmers market, ship cookies through Instagram, or take Saturday cake orders for friends-of-friends, you've probably wondered: am I actually making money on this? The real answer for most home bakers is "I think so?" — and that uncertainty is exactly the gap this guide is going to close.

Costing recipes is not hard math. It's two divisions and one subtraction. What makes it feel hard is the bookkeeping and the unit conversions: a 5-pound bag of flour, a $4.99 pound of butter, a $14 jar of vanilla — translating those into "cost per cookie" feels like a chore. So bakers either skip it (and underprice), or build a 12-tab spreadsheet they then dread updating. Neither is sustainable.

The whole formula in one paragraph

For every ingredient you use, multiply unit cost × quantity used. Sum those numbers — that's your total recipe cost. Divide by how many things the batch makes — that's your cost per unit. To get a profitable retail price, divide cost-per-unit by (1 − target_margin). At a 65% target food-cost margin, you divide by 0.35 — meaning a $1 ingredient cost becomes a $2.86 retail price. That's it. The whole job.

Step 1 — figure out your real unit cost

This is where most bakers slip. The price on the bag is not the unit cost — it's the pack cost. You need to divide by the pack size in the unit you actually measure. A few examples:

Stick with the unit you actually weigh or measure with. If your scale shows grams, do everything in grams. If you measure butter in tablespoons, do tablespoons. Mixing units is where rounding errors creep in.

Step 2 — write down the recipe in the same units

Pull out the recipe. Convert any "1 cup" or "2 sticks" into the same unit you used for unit cost. Two sticks of butter = 8 oz. One cup of flour ≈ 120 g. The internet has converters; weigh once and write it down.

Step 3 — multiply, then sum

For each ingredient: line_cost = unit_cost × quantity_used. Sum the line costs. That's the total recipe cost — the cash you spent on ingredients to bake one batch.

Skip the spreadsheet. Type your ingredients into BakeCostCalc and get the same numbers in 30 seconds — no signup, 3 free calculations/day.
Try BakeCostCalc free →

Step 4 — divide by yield

How many cookies, loaves, slices, or jars does the batch make? That's your yield. cost_per_unit = total_recipe_cost ÷ yield. If your sourdough loaf cost $1.32 in ingredients and the batch makes one loaf, your cost per loaf is $1.32. If the cookie batch cost $4.20 and yields 24 cookies, your cost per cookie is $0.18.

Step 5 — set your food-cost margin and price

"Food cost margin" is the most misused phrase in this whole conversation. The way pros use it: food cost as a percentage of the retail price. A 30% food cost means ingredients are 30% of what you charge — i.e. you keep 70% to cover labor, packaging, fuel, market fees, depreciation, and profit. For home bakers selling baked goods, a target of 25–35% food cost (which is a 65–75% margin in the way most software phrases it) is the standard recommendation.

The formula: price = cost_per_unit ÷ (1 − margin). So at a 65% margin (target food-cost = 35%), $0.18 cost becomes $0.51. At 70% margin, it's $0.60. At 75% margin, it's $0.72.

Common mistakes that drain your margin

  1. Forgetting "minor" ingredients. Salt, vanilla, baking soda, eggshells worth of waste. They add up to 5–8% of total recipe cost. Track them.
  2. Pricing in your head, not on paper. "I'll charge $4 a loaf because that feels right" usually leaves margin on the table — or worse, eats your labor.
  3. Ignoring batch failures. If 1 out of 10 batches fails, your real cost per unit is 11% higher than your formula says.
  4. Using "wholesale" margins for retail. If you're selling direct, you can (and should) target a higher margin than a bakery selling to a grocery chain.
  5. Not re-running the numbers when ingredient prices change. Butter went from $3.99 to $5.49 in the last 18 months. Your cookie price probably should have, too.

How often should you re-cost?

Quarterly is fine for staples. Monthly if you're selling at a market. Anytime a key ingredient (flour, sugar, butter, eggs) changes price by more than ~10%. Saving recipes in BakeCostCalc's Unlimited plan means re-costing is one click — change the unit cost, hit Calculate, see the new suggested price.

Read next

🧁 Try BakeCostCalc Free 3 free recipe calculations every day · No account · No credit card
Calculate my recipe →