
What is Cost of Goods Sold (COGS)?
Cost of Goods Sold (COGS)
Cost of Goods Sold (COGS) is the total price of every ingredient that goes into a finished product you sell. It includes flour, butter, eggs, sugar, vanilla, fondant, ganache—everything edible in the box. COGS does not include rent, your labor, boxes, or labels. Why? Because COGS tells you if your recipe makes money before you pay for anything else.
Formula
COGS = Sum of all ingredient costs per unit produced. Then calculate Food Cost Percentage: (COGS / Selling Price) × 100 = Food Cost %. For a healthy bakery, aim for 25–35% food cost. Example: A chocolate layer cake with COGS of $12.50 sold for $45 = ($12.50 / $45) × 100 = 27.8% food cost. This is healthy. A cake with $18 COGS at $45 = ($18 / $45) × 100 = 40% food cost. This is tight—you're leaving little room for labor, overhead, and profit.Example
Let's calculate COGS for a 9-inch chocolate layer cake with chocolate ganache drip. Here are your ingredients and costs per unit: **Cake Batter (makes one 9-inch layer cake):** - All-purpose flour: 280g at $0.0045/g = $1.26 - Unsalted butter: 170g at $0.0263/g (butter costs $4.20/lb, 453.6g/lb) = $4.47 - Eggs: 3 large at $0.30 each = $0.90 - Granulated sugar: 350g at $0.0020/g = $0.70 - Cocoa powder: 60g at $0.0100/g = $0.60 - Baking powder: 6g at $0.0050/g = $0.03 - Salt: 2g at $0.0010/g = $0.00 - Vanilla extract: 8ml at $0.0200/ml = $0.16 **Chocolate Ganache (for drip and crumb coat):** - Heavy cream: 120ml at $0.0045/ml = $0.54 - Dark chocolate (70%): 180g at $0.0080/g = $1.44 - Butter: 20g at $0.0263/g = $0.53 **Frosting (chocolate buttercream, two 9-inch layers):** - Unsalted butter: 340g at $0.0263/g = $8.94 - Powdered sugar: 600g at $0.0015/g = $0.90 - Cocoa powder: 40g at $0.0100/g = $0.40 - Heavy cream: 60ml at $0.0045/ml = $0.27 - Vanilla extract: 5ml at $0.0200/ml = $0.10 **Total COGS:** $1.26 + $4.47 + $0.90 + $0.70 + $0.60 + $0.03 + $0.00 + $0.16 + $0.54 + $1.44 + $0.53 + $8.94 + $0.90 + $0.40 + $0.27 + $0.10 = **$20.24** **What to do with this number:** If you sell this cake for $65, your food cost is ($20.24 / $65) × 100 = 31.1%. That's healthy. You have $44.76 left to cover 4 hours of your labor ($80 at $20/hour), a cake box ($3), a business card ($0.50), and profit. You're tight. If you sell it for $75, you have $54.76 left—now you can breathe. If a customer asks for this cake at $45, you know immediately: you're losing money. Don't take that order.
Understanding Cost of Goods Sold (COGS)
Let's use a real example: a 9-inch chocolate layer cake with chocolate ganache. You buy all-purpose flour at $0.89 per pound, butter at $4.20 per pound, eggs at $3.60 per dozen, cocoa powder at $12.50 per pound, and ganache ingredients separately. When you bake and sell that cake for $45, your COGS is the sum of every gram of flour, butter, egg, and cocoa that actually went into it—not the whole bag of flour you bought last month. Here's why this matters: if your COGS is $18 and you sell the cake for $45, you have $27 left over. But that $27 has to cover your rent, your time mixing and piping, your boxes, your website, your oven's electricity, and your profit. If you don't know your COGS, you might think you're making money when you're actually losing it. You price based on gut feeling, not math. Bakers who track COGS find recipes they thought were profitable are actually dead weight. A customer asks for a 6-inch custom cake with hand-piped roses. You quote $32 because it looks fancy. But your COGS is $14 in ingredients, your labor is 3 hours at $20/hour ($60), and your box costs $2. You just lost $44 on that order. COGS would have told you that before you picked up a piping bag. COGS also changes when your suppliers change. Butter price jumps from $4.20 to $5.10 per pound. Every recipe with butter in it now costs more. If you don't recalculate COGS, you're selling at last month's prices with this month's costs. Your margin shrinks without you knowing it.
How BakeOnyx Helps
BakeOnyx calculates your COGS automatically when you enter a recipe. List your ingredients and their costs; BakeOnyx tells you the total ingredient cost per gram and per finished product. Change a supplier price—butter goes from $4.20 to $5.10—and every recipe using that ingredient recalculates instantly. You see your food cost percentage update live. No spreadsheet. No guessing.
Ready to Transform Your Bakery?
Join hundreds of baking businesses using BakeOnyx to manage orders, recipes, inventory, and more. Start your free trial today — no credit card required.
Related Terms
Ready to Transform Your Bakery?
Join hundreds of baking businesses using BakeOnyx to manage orders, recipes, inventory, and more. Start your free trial today — no credit card required.
Free 14-day trial. No credit card required. Plans from $29/month.