Stirva logo

Stirva Team

Aug 13, 2026

How to Calculate Recipe Cost: A Step-by-Step Walkthrough

Three-step illustration of an ingredient list, a calculator showing $3.85, and a price tag, representing recipe cost calculation

Most guides to recipe costing explain the concept and then leave you holding a calculator.


This one doesn’t. We’re going to take a single recipe, a batch of chocolate chip cookies, and follow it from raw ingredient prices to a finished cost per cookie. Every number is shown. Nothing is rounded quietly behind the scenes.


Get through this once with your own recipe and you’ll never guess a price again.


What you need before you start


Three things:


  1. A recipe with weights, not cups. If your recipe says “2 cups flour,” convert it first. Volume measurements vary by how you scoop, and inconsistent input means inconsistent cost. Our unit conversion guide (stirva.app/resources/how-to-convert-recipe-units-in-baking) covers this.

  2. Your last few grocery receipts. You need what you actually paid, not what you think things cost.

  3. A number for your hourly rate. Pick one now, even if it feels arbitrary. We’ll use $22/hour.

The recipe


Chocolate chip cookies, makes 24.


  • 280 g all-purpose flour

  • 226 g butter

  • 200 g brown sugar

  • 100 g granulated sugar

  • 2 eggs

  • 10 ml vanilla extract

  • 6 g baking soda

  • 4 g salt

  • 340 g chocolate chips

Step 1: Turn purchase prices into unit costs


You buy in bags. You bake in grams. Step one is bridging that gap, once, for every ingredient.


The formula is always the same: cost per gram = price paid ÷ total grams in the package.


Worked for each ingredient:


  • All-purpose flour — bought 2,270 g (5 lb) for $4.09 — $0.0018/g

  • Butter — bought 454 g (1 lb) for $4.99 — $0.0110/g

  • Brown sugar — bought 907 g (2 lb) for $2.54 — $0.0028/g

  • Granulated sugar — bought 1,814 g (4 lb) for $3.99 — $0.0022/g

  • Eggs — bought 12 for $5.04 — $0.42 each

  • Vanilla extract — bought 118 ml (4 fl oz) for $7.08 — $0.0600/ml

  • Baking soda — bought 454 g for $4.09 — $0.0090/g

  • Salt — bought 737 g for $1.47 — $0.0020/g

  • Chocolate chips — bought 340 g for $3.23 — $0.0095/g

This is the step that pays off forever. You do it once per ingredient, not once per recipe. Every recipe you cost from now on reuses these numbers.


If bulk buying is part of your strategy, be careful here. A bigger bag is only cheaper if you use it before it goes stale. We break that down in ingredient costing (stirva.app/resources/calculate-baking-ingredient-costs).


Step 2: Cost the recipe


Multiply each ingredient’s unit cost by the amount the recipe uses.


  • All-purpose flour — 280 g × $0.0018 — $0.50

  • Butter — 226 g × $0.0110 — $2.49

  • Brown sugar — 200 g × $0.0028 — $0.56

  • Granulated sugar — 100 g × $0.0022 — $0.22

  • Eggs — 2 × $0.42 — $0.84

  • Vanilla extract — 10 ml × $0.0600 — $0.60

  • Baking soda — 6 g × $0.0090 — $0.05

  • Salt — 4 g × $0.0020 — $0.01

  • Chocolate chips — 340 g × $0.0095 — $3.23

  • Ingredient total — $8.50

$8.50 for 24 cookies = $0.354 per cookie in ingredients.


Worth pausing on one line: chocolate chips are $3.23, which is 38% of the entire ingredient cost. Switching to a cheaper chip, or using slightly fewer, moves your cost more than every other change combined. You only see that once you’ve broken the recipe down like this.


Step 3: Add a waste factor


Dough on the bowl. Flour on the counter. The two cookies that spread into each other.


Cookies waste less than cakes (no leveling, no trim), so 3% is reasonable:


$8.50 × 1.03 = $8.76


Step 4: Packaging


Two dozen cookies, boxed as two one-dozen boxes:


  • Boxes (2 × $1.10) — $2.20

  • Stickers and tissue — $0.30

  • Packaging total — $2.50

Step 5: Utilities


Using the hourly method: monthly baking utilities of $45 divided by 40 monthly baking hours gives $1.13/hour.


This batch takes about 1.25 hours of kitchen and oven time.


1.25 × $1.13 = $1.41


Step 6: Labor


Honest timing for one batch, start to boxed:


  • Weighing and mixing — 20 min

  • Portioning and baking (3 trays) — 40 min

  • Cooling — 15 min

  • Packaging and cleanup — 15 min

  • Total — 1.5 hours

1.5 × $22 = $33.00


Step 7: Overhead


Monthly business costs of $95, spread across roughly 20 batches a month:


$95 ÷ 20 = $4.75


The total


  • Ingredients (with 3% waste) — $8.76

  • Packaging — $2.50

  • Utilities — $1.41

  • Labor — $33.00

  • Overhead — $4.75

  • Total batch cost — $50.42

Cost per cookie — $2.10

Cost per dozen — $25.21


If you’ve been selling these at $18 a dozen because that felt about right, you’ve been losing roughly $7 on every dozen.


The uncomfortable part, and what to do about it


Look at the breakdown again. Ingredients are $8.76. Labor is $33.00.


Labor is 65% of the cost of a cookie.


Price this batch at a 30% margin and you get $50.42 ÷ 0.70 = $72.03, or about $36 a dozen. For decorated or specialty cookies, that’s defensible. For plain chocolate chip, most markets won’t pay it.


So do you drop your rate? No. You change the batch.


Batch size is a pricing lever


Here’s what happens when you bake four batches in one session instead of one.


Labor does not go up 4x. You preheat once, wash the bowl once, and set up once. Four batches takes about 3.5 hours total, not 6.


At one batch: total labor time 1.5 hrs, labor cost per batch $33.00, utilities per batch $1.41, overhead per batch $4.75, ingredients + packaging $11.26, cost per batch $50.42, cost per dozen $25.21, price at 30% margin per dozen $36.01.


At four batches baked together: total labor time 3.5 hrs, labor cost per batch $19.25, utilities per batch $0.99, overhead per batch $1.19, ingredients + packaging $11.26, cost per batch $32.69, cost per dozen $16.35, price at 30% margin per dozen $23.35.


Same cookies. Same hourly rate. Same margin. The price drops by nearly $13 a dozen, purely because the labor was spread further.


This is what people actually mean when they say “scale up to make more money.” Not baking more hours. Baking the same hours more efficiently, and letting the cost per unit fall. Our workflow and scaling guide (stirva.app/resources/home-bakery-workflow-scaling-guide-br) goes deeper on how to structure a week around this


The five mistakes that make recipe costing wrong


Costing per package instead of per gram. “Flour is $4.09” is not a cost. “Flour is $0.0018 per gram” is.


Forgetting the small ingredients. Vanilla, salt, and baking soda came to $0.66 here. Trivial per batch, and $158 a year at 20 batches a month.


Leaving labor out. It’s 65% of the cost. Omitting it doesn’t simplify the math, it invalidates it.


Using stale ingredient prices. Butter and eggs move constantly. A cost sheet from six months ago is fiction.


Costing once and never again. A recipe cost is a snapshot, not a permanent fact.


Doing this without the spreadsheet


Everything above is arithmetic you can do by hand. The problem isn’t difficulty, it’s repetition. Twelve recipes means twelve versions of this, and when butter goes up you have to open all twelve.


That’s the job Stirva does. Enter each ingredient once with what you paid, and Stirva converts to base units, applies your waste and labor settings, and gives you a live cost for every recipe. Change the price of butter in one place and every recipe using butter recalculates itself.


Start your free 30-day trial at go.stirva.app and cost your first recipe in a few minutes.


Then read how much to charge for a custom cake (stirva.app/resources/how-much-to-charge-for-a-custom-cake) for turning these costs into prices


FAQ


What is the formula for recipe cost?


Recipe cost = (ingredient cost × waste factor) + packaging + utilities + labor + allocated overhead. Ingredient cost is calculated by converting each purchase to a cost per gram or milliliter, then multiplying by the amount your recipe uses.


How do I calculate cost per cookie?


Calculate the total batch cost, then divide by the number of cookies the batch yields. In the example above, a batch costing $50.42 and yielding 24 cookies works out to $2.10 per cookie.


Should labor be included in recipe cost?


Yes. In the batch costed here, labor was 65% of total cost. Excluding it produces a number that looks like a cost but isn’t one.


How often should I update my recipe costs?


Review ingredient prices monthly, or any time you notice a significant change at the store. Butter, eggs, and chocolate move most..


.












Read more blogs like this

More guides on costing, pricing, and running a profitable home bakery.

Illustration of six numbered app cards arranged around a laptop showing a bakery dashboard, with a mixing bowl, a checklist notebook and a cupcake, representing a comparison of home bakery apps
Best Home Bakery Software (2026): 6 Apps Compared Honestly

We compared Stirva, BakeProfit, Bakesy, Hotplate, BatterSuite and Cottage CMS on price, per-order fees and features, using a baker taking 20 orders a month.

Stirva logo

Stirva Team

Oct 13, 2026

Three-step illustration of a single cupcake, a kitchen scale weighing a measuring spoon of baking powder, and a finished batch of six cupcakes, representing recipe scaling
How to Scale a Recipe for Large Orders Without Ruining It

Multiplying every ingredient by the same factor is how scaled batches collapse. Here is what actually changes for leavening, salt, eggs, and pan size.

Stirva logo

Stirva Team

Sep 15, 2026

Illustration of a weekly schedule calendar with checkmarks, an alarm clock, and a loaf of bread
How to Schedule Baking Orders: A Weekly System That Actually Holds

Stop rebuilding your week every Monday. A repeatable scheduling system for home bakers: how to find your real capacity, batch your days, and stop overcommitting.

Stirva logo

Stirva Team

Aug 18, 2026

Take the First Step to a Smarter Baking Business

Start your free trial today and discover how effortless baking business management can be.

No setup.

Cancel anytime.

Take the First Step to a Smarter Baking Business

Start your free trial today and discover how effortless baking business management can be.

No setup.

Cancel anytime.

Take the First Step to a Smarter Baking Business

Start your free trial today and discover how effortless baking business management can be.

No setup.

Cancel anytime.