
What is Gross Margin?
Gross Margin
Gross margin is the percentage of your selling price that's left after you subtract ingredient costs. It's the money available to cover labor, rent, utilities, packaging, and profit — before taxes. If you sell a cake for $100 and ingredients cost $25, your gross margin is 75%. This number tells you whether your pricing is working or whether you're undercharging.
Formula
Gross Margin % = ((Selling Price − Ingredient Cost) / Selling Price) × 100
Example: A 9-inch vanilla layer cake
Selling Price: $48
Ingredient Cost: $12
Gross Margin % = ((48 − 12) / 48) × 100 = (36 / 48) × 100 = 0.75 × 100 = 75%
This means 75% of every $48 sale stays with you (before labor and overhead). The other 25% ($12) went to flour, butter, eggs, and vanilla.Example
Here's a 3-tier wedding cake with fondant. You're pricing it for a Saturday delivery. Ingredient breakdown: - Cake (3 tiers, 6 lbs total): flour $2.10, butter $3.80, eggs $1.50, sugar $0.90, baking powder $0.15, vanilla $0.40 = $8.85 - Buttercream filling (2 lbs): butter $2.40, powdered sugar $0.80, vanilla $0.20 = $3.40 - Fondant covering (2 lbs): fondant $4.00, cornstarch $0.15, food coloring $0.30 = $4.45 - Fillings and decorations: jam $0.60, edible pearls $0.85, dowels $0.40 = $1.85 Total ingredient cost: $8.85 + $3.40 + $4.45 + $1.85 = $18.55 You charge $85 for this cake. Gross Margin = ((85 − 18.55) / 85) × 100 = (66.45 / 85) × 100 = 78.2% So you keep $66.45 per cake (before labor, packaging, delivery, and overhead). That 78.2% has to cover: - Your 4 hours of design, baking, decorating, and delivery (labor) - The box, tissue, and tape ($2.50) - Gas for delivery ($1.50) - A slice of your monthly rent and utilities - A slice of your profit If you had priced this cake at $65 instead, your gross margin would be 71.5% — still healthy, but now you have $46.25 instead of $66.45 to cover those same expenses. Over 20 wedding cakes a month, that's a $400 difference. Gross margin tells you whether your price is sustainable.
Understanding Gross Margin
Let's use a real example: a chocolate layer cake. You sell it for $45. The ingredients — flour, cocoa, eggs, butter, sugar, cream cheese frosting — cost you $11.25. Your gross margin is 75%, meaning $33.75 of that $45 goes toward everything else: your labor, packaging, boxes, delivery, rent, and profit. That 75% has to cover a lot. If your gross margin drops to 60% because you switched to a more expensive cocoa supplier, you're now only keeping $27 per cake instead of $33.75. Over 40 cakes a month, that's $270 you've lost. Gross margin is different from profit. Profit is what's left after every expense. Gross margin is just the ingredient math. You need a healthy gross margin to survive. Most bakeries aim for 65–75% gross margin on custom cakes and 70–80% on retail items like bread and cookies. If you're under 60%, you're likely underpriced or your ingredient costs are too high. You calculate gross margin the same way for every product. A box of six cupcakes sells for $24. Ingredients cost $6. Gross margin: (24 − 6) / 24 = 75%. A sourdough loaf sells for $8. Ingredients cost $1.40. Gross margin: (8 − 1.40) / 8 = 82.5%. The higher the percentage, the more breathing room you have. Tracking gross margin per product matters because some items are more profitable than others. Your wedding cakes might have a 72% margin. Your cookies might be 78%. Your custom fondant work might be 65% because it's labor-heavy. When you know these numbers, you can decide which products to push and which ones to price higher or stop making altogether.
How BakeOnyx Helps
BakeOnyx calculates your gross margin automatically for every recipe the moment you enter ingredients and a selling price. You see the percentage update live as you add items or change a supplier price. Run a report and see which of your 40 recipes actually has a 75% margin and which ones are dragging you down to 58%. No spreadsheet math. 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.