Recipe cost per serving = total ingredient cost ÷ number of servings. If the ingredients for a batch of muffins cost $8.40 and the recipe makes 12 muffins, each muffin costs $0.70 in ingredients. That’s the starting point for pricing (if selling) or budgeting (if cooking for yourself).
Use the recipe cost calculator to calculate any recipe automatically — enter package prices and the calculator does the proportional math.
Step-by-step calculation
1. List every ingredient with the amount used in the recipe
Example: 12 chocolate muffins
| Ingredient | Amount in recipe | Package price | Package size | Cost used |
|---|---|---|---|---|
| All-purpose flour | 2 cups (240 g) | $4.99 | 5 lb (2268 g) | $0.53 |
| Granulated sugar | 3/4 cup (149 g) | $3.49 | 4 lb (1814 g) | $0.29 |
| Cocoa powder | 1/2 cup (43 g) | $4.99 | 8 oz (227 g) | $0.95 |
| Baking powder | 2 tsp (8 g) | $2.99 | 10 oz (283 g) | $0.08 |
| Salt | 1/2 tsp (3 g) | $1.29 | 26 oz (737 g) | $0.005 |
| Vegetable oil | 1/2 cup (109 g) | $3.49 | 48 fl oz (1420 mL) | $0.27 |
| Eggs | 2 large | $4.99 | 12 count | $0.83 |
| Whole milk | 1 cup (240 mL) | $3.29 | 64 fl oz (1893 mL) | $0.42 |
| Vanilla extract | 1 tsp (5 mL) | $6.99 | 8 fl oz (237 mL) | $0.15 |
| Chocolate chips | 1/2 cup (85 g) | $4.49 | 12 oz (340 g) | $1.12 |
| Total | $4.63 |
Cost per muffin: $4.63 ÷ 12 = $0.39 per muffin
2. The math for each ingredient
For each ingredient: Cost used = (Package price ÷ Package amount) × Amount used in recipe
For flour: ($4.99 ÷ 2268 g) × 240 g = $0.0022 × 240 = $0.53
You can work in grams (most precise), cups (requires cup-to-weight conversion), or pieces (for eggs, individual items). Grams is the most accurate because package sizes are given in weight.
3. Account for waste
Ingredients lose some weight to trim, spoilage, and pan residue. Professional kitchens add a waste factor of 5–10% for most baked goods. To apply it:
Adjusted cost = ingredient cost ÷ (1 − waste factor)
At 5% waste: $4.63 ÷ 0.95 = $4.87 total, or $0.41 per muffin.
For home baking with precise mise en place, 5% is a reasonable default. Skip the waste factor entirely for personal budgeting; apply it for business pricing.
4. Divide by servings
Total ingredient cost ÷ number of servings = cost per serving.
$4.63 ÷ 12 = $0.39 per muffin (ingredient cost only, no waste factor)
Don’t forget small ingredients
Salt, baking powder, vanilla, oil, and spices are easy to skip because each one costs a few cents per use. But they add up. In the example above, baking powder + salt + vanilla = $0.23 — a meaningful share of the $4.63 total. Professional kitchens estimate $0.05–$0.15 per serving for basic seasonings and oils when exact tracking is impractical. For a home bakery, track every ingredient.
Food cost percentage
The restaurant industry expresses ingredient cost as a percentage of the selling price. The standard target is 30%:
Food cost % = ingredient cost per serving ÷ selling price × 100
At $0.39 cost and 30% food cost target: selling price = $0.39 ÷ 0.30 = $1.30 per muffin.
This is a useful benchmark for pricing, but it doesn’t account for labor, packaging, or overhead — see how to price baked goods for the full calculation.
Cost per serving vs. cost to sell
For personal budgeting: ingredient cost per serving is all you need.
For a home business: you need to add overhead and labor to understand your true cost of goods sold (COGS):
| Cost component | Per muffin (example) |
|---|---|
| Ingredients | $0.39 |
| Packaging (box, sticker) | $0.15 |
| Electricity (per session) | $0.04 |
| Other overhead | $0.05 |
| Total COGS | $0.63 |
At a 3× markup: sell for $1.89 per muffin, or about $22.75 for a dozen. This doesn’t include labor — see how to price baked goods for the full labor + pricing calculation.
Homemade vs. store-bought
According to BLS Average Price Data (July 2026), common grocery staples run: flour $0.88/lb, eggs $2.19/dozen, whole milk $4.31/gallon. At those prices, a dozen homemade chocolate muffins costs roughly $4–5 in ingredients — compared to $6–10 for comparable bakery muffins. The savings are real but require your time.
For simple staple meals — pasta with tomato sauce, rice and beans — the homemade cost per serving typically runs $1.00–$2.50 versus $8–14 at a restaurant. Protein-heavy dishes narrow the gap because meat costs are similar at grocery vs. restaurant level.
Converting between units for cost calculation
When packages are sold by different units than recipes use:
| Recipe unit | To find cost |
|---|---|
| Cups of flour | Find grams from King Arthur’s weight chart, calculate cost per gram from package |
| Tablespoons of vanilla | Convert to mL (1 tbsp = 15 mL), find cost per mL from bottle |
| Eggs (whole) | Divide dozen price by 12 |
| Butter (tablespoons) | 1 tbsp = 14 g, find cost per gram from package |
| Milk (cups) | 1 cup = 240 mL; divide half-gallon price by 1892 mL for cost per mL |
Bulk buying impact on ingredient cost
Package size dramatically affects cost per gram. A 5 lb bag of all-purpose flour at $4.99 costs $0.0022/g. A 25 lb bag at $12 costs $0.00106/g — less than half. For a home bakery baking regularly, switching to bulk purchases of flour, sugar, and butter can reduce ingredient costs by 30–50%.
Track price per gram, not price per package. When shopping, the cheapest large unit beats the cheapest sticker price.
Scaling recipe cost
If you scale the recipe using the recipe scaler, the cost per serving stays the same (it’s proportional). The total batch cost changes, but cost per serving is fixed to ingredient ratios.
Exception: buying in bulk reduces per-unit ingredient cost. A 25 lb bag of flour costs significantly less per pound than a 5 lb bag. If you scale your production up, buy in bulk quantities to improve margins.
Common mistakes in recipe costing
- Eyeballing instead of calculating. Most bakers underestimate costs by 20–40% without precise calculation. Small, frequent ingredients (vanilla, salt, baking powder, oil) are easily overlooked but can add $0.50–$1.00 per batch.
- Using retail package prices when you buy wholesale. If you buy a restaurant-size can of cocoa, use the per-gram cost from that can, not from the grocery store version.
- Forgetting seasonal price changes. Butter and eggs fluctuate significantly. Update your recipe costs quarterly or whenever a major ingredient changes price.
- Using volume measures instead of weight. A cup of flour weighs 120–150 g depending on how it’s scooped, throwing off cost calculations. Weigh ingredients for accurate results.
The recipe cost calculator maintains your ingredient prices so you can recalculate when prices change.