What is Cost Per Unit?
AI-assisted draft, reviewed and edited by the BakeOnyx team.
Cost Per Unit
Cost per unit is the ingredient cost divided by the number of portions or items you get from a single batch. It tells you exactly how much you spend on ingredients for every slice, cupcake, or loaf you sell. If you don't know this number, you're guessing at your prices — and you're probably leaving money on the table.
Formula
Cost Per Unit = Total Ingredient Cost ÷ Number of Portions
Worked example using a chocolate layer cake:
- Total ingredient cost (batter + frosting): $15.60
- Number of slices: 12
- Cost per unit = $15.60 ÷ 12 = $1.30 per slice
If you scale to 3 cakes:
- Total ingredient cost: $15.60 × 3 = $46.80
- Total slices: 12 × 3 = 36
- Cost per unit = $46.80 ÷ 36 = $1.30 per slice (same)Example
You're pricing a 3-tier wedding cake with fondant. Here's what goes into it: Tier 1 (6-inch, serves 12): Vanilla cake batter ($4.20), buttercream filling ($1.80), fondant ($2.40), dowels and separator ($0.60). Subtotal: $9.00. Tier 2 (8-inch, serves 25): Vanilla cake batter ($7.10), buttercream filling ($3.20), fondant ($4.20), dowels and separator ($0.80). Subtotal: $15.30. Tier 3 (10-inch, serves 40): Vanilla cake batter ($10.80), buttercream filling ($4.60), fondant ($6.40), dowels and separator ($1.20). Subtotal: $23.00. Total ingredient cost for the entire cake: $9.00 + $15.30 + $23.00 = $47.30. Total servings: 12 + 25 + 40 = 77 slices. Cost per unit (per slice): $47.30 ÷ 77 = $0.614 per slice. Now you can price it. If you want a 40% food cost (which is standard for custom cakes), you divide: $0.614 ÷ 0.40 = $1.535 per slice. For 77 slices, that's $118.20 before labor, delivery, or design fees. But here's the insight: if a customer calls asking for a 3-tier cake with 100 servings instead of 77, you can quickly recalculate. More servings means lower cost per unit, so you can offer a better price per slice while keeping your margin the same. That's how you win rush orders and last-minute calls.
Understanding Cost Per Unit
Let's use a real example: a chocolate layer cake. You make a batch of chocolate cake batter that costs $12.40 in ingredients (flour, eggs, butter, cocoa, sugar, baking powder, salt, vanilla). That single batch yields one 9-inch round cake. When you frost it with chocolate buttercream ($3.20 in butter, cocoa, and powdered sugar), your total ingredient cost is $15.60. If you cut that cake into 12 slices, your cost per unit (per slice) is $1.30. Now scale that up. You bake three of these cakes on Tuesday for three different customers. Your ingredient cost is $46.80 total. You cut them into 36 slices. Still $1.30 per slice. But what if you switch to a cheaper butter? Your buttercream drops to $2.80. Now your cost per slice drops to $1.28. That $0.02 difference doesn't sound like much — until you sell 500 slices a month. That's $10 in extra margin you didn't have before. Cost per unit forces you to see the truth: which products are actually profitable and which ones you've been underpricing. A wedding cupcake that costs $0.68 to make but sells for $3.50 has a food cost of 19%. A custom fondant cake that costs $8.20 to make but sells for $35 has a food cost of 23%. Both are profitable, but one is far more efficient. You need to know which is which. The math also protects you from waste. If you calculate cost per unit and find that your red velvet cupcakes cost $0.82 each, but you're selling them for $2.50, you know you have room to absorb a few broken ones without losing money. But if your cost per unit is $2.40 and you're selling for $2.75, every broken cupcake is a $2.40 loss.
How BakeOnyx Helps
BakeOnyx calculates your cost per unit automatically the moment you enter a recipe. You type in ingredients and prices; the software divides total cost by portions and shows you the number instantly. Change a supplier price for butter or chocolate, and every recipe using that ingredient recalculates in real time. For a 3-tier wedding cake, you see the cost per slice drop from $0.614 to $0.598 the second you update your fondant supplier. No spreadsheet. No manual math. You price on the phone with confidence.
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.