How to Cost a Recipe with Filling, Frosting and Toppings
Most bakers cost the batter and guess the rest. Learn how to cost a recipe with filling, frosting and toppings, with a worked cupcake example.

You know what your cupcake recipe costs.
But do you know what the cupcake ACTUALLY costs you to make?
Not the batter. Not the frosting. The whole thing.
We’re talking about the filling, the frosting, the drizzle, the cupcake liner, even the box it went home in.
If you can’t give a straight up, honest, definitive answer… with CONFIDENCE, just know you’re not alone.
Most bakers cost the base recipe, eyeball the rest, and call it a day. And that's exactly where you start to LOSE money. Not on the cake part. On everything stacked on top of it.
Here's how to cost a recipe with filling, frosting and toppings, using one real cupcake as the example. The same steps work for cakes, cookies, or anything else you sell. The goal: a price that covers the whole thing, not just the part you started with.
One cupcake, five recipes
Costli founder Janelle Copeland once broke down a single item from her bakery menu: a chocolate salted caramel cupcake.
To the customer, it's one cupcake. However, in a bakery kitchen, it’s five DIFFERENT recipes.
- Chocolate cupcake
- Salted caramel filling
- Chocolate ganache
- Chocolate buttercream (which uses the ganache as an ingredient)
- Caramel drizzle
Then add the liner, sometimes a single box, plus labor, overhead and profit.
In her words, “A cupcake is NOT just a cupcake.”
If that cupcake gets priced on the chocolate cupcake recipe alone, you’re essentially giving away FOUR recipes for free. Somebody's paying for them and if it’s not your customers… it’s YOUR business.
The problem: costing the base, guessing the rest
The base recipe is the easy part to cost out. It's the one you wrote down. It has the servings. It feels like the "real" recipe.
Fillings, frostings and toppings are different. You make them in their own batches. They often go on more than one product. You use a scoop here and a swirl there. So they never get a cost of their own, and when something doesn't have a cost, it quietly gets treated like it's free.
The fix isn't harder math. It's the same math, done once per component.
Here’s what I mean…
Step 1: List every component
Grab one product you sell. Write down every recipe that goes into it, and everything else that leaves the kitchen with it.
For the chocolate salted caramel cupcake, that list looks like this:
- Recipes: cupcake, caramel filling, ganache, buttercream, caramel drizzle
- Supplies: liner, box (when it's sold single)
These could also be known as "sub-recipes." You can call them whatever you want. Just don't leave any of them off the list.
Step 2: Cost each component as its own recipe
Every filling, frosting and topping gets costed like a full recipe:
- Add up what every ingredient in the batch cost you (from your most recent receipts, not memory).
- Weigh what the batch actually makes.
- Divide.
Batch cost ÷ batch yield (in grams) = cost per gram
Example: a salted caramel filling batch costs $6.00 in ingredients and makes 600 grams.
$6.00 ÷ 600 = $0.01 per gram.
Grams are your friend here. "A spoonful of filling" can't be costed. Fifteen grams can.
If you haven't costed your base ingredients yet, start with our blog post to calculating ingredient cost for baking, then come back.
Step 3: Watch for recipes inside recipes
This is the one that sneaks past almost everyone.
In Janelle's cupcake, the ganache shows up twice: once on its own, and once as an ingredient inside the buttercream. If you cost the buttercream using only its butter, sugar and cream, and leave the ganache out because "I already counted the ganache," you've only counted it once.
The rule: when one recipe goes into another, its cost goes in too. Treat the ganache like any other ingredient in the buttercream batch, at its cost per gram.
Step 4: Measure What ACTUALLY Goes on Each Cupcake
Now find out how much of each component one cupcake actually uses. Not what the recipe card says. What actually goes on it.
Pipe or fill a few, weigh before and after, and average it. Do it enough times to trust the number, then use that number every time.
Step 5: Add it up
Here's the full cupcake, start to finish.
Illustrative numbers. Swap in your own.

Now look at what happens if only the base recipe got costed:
- Base recipe only: $0.40
- Actual ingredients: $1.30
- Missing: $0.90 per cupcake
On a batch of 24, that's $21.60 in filling, frosting and toppings with no line on the price.
And that ganache inside the buttercream? It's $0.15 of every cupcake's frosting. Skip it and that's $3.60 a batch you're paying for yourself.
It’s a cute cupcake but we have to remember and prioritize our MARGINS.
Step 6: Price the whole cupcake, not the batter
Now, here's what I want you to understand: That $2.10 is what it COSTS you to make the cupcake. NOT what you should be charging for it.
You still have to account for your labor, overhead, and PROFIT. Because yes, you need to pay YOURSELF, but your business needs to make money too. And those are two very different things!
I break down exactly how to calculate all of this in my guide on how to price your baked goods for profit.
And before we move on, here are TWO things I want you to get in the habit of doing:
- Cost it once, use it everywhere. Think about your buttercream. You're probably using that same recipe on cupcakes, cakes, and maybe even cookie sandwiches. Once you know what that buttercream costs, you can use those numbers across EVERY product that uses it. No need to start from scratch every time.
- When ingredient prices change, your product costs change TOO. Let's say the price of butter goes up. Well, now your buttercream costs more to make. And because that buttercream goes on several different products, ALL of those product costs have changed too. See how that works? You can't just update the price of butter and call it a day. You need to make sure those new costs are reflected in everything you sell.
Your holiday menu might look like 10 different products, but it's really just a handful of recipes used in different ways.
It's that time of year, so a quick heads-up: holiday items are almost always stacked. Peppermint ganache, a crushed candy topping, a special box, a festive sticker. Each one is a component. Each one is a line in your costs.
Before a seasonal item goes on the menu, run it through the five steps above. It's a lot cheaper to find out a product doesn't pay on paper than in December when you’re wondering where all your money went.
Before the storefront
If a storefront or commercial kitchen is in your future, this is the habit to build now.
Guessing on one cupcake is annoying. Guessing on 300 a day is a lease you can't pay.
At home, a missing $0.90 per cupcake is a slow leak. At storefront volume, with rent and payroll on the same bill, it's a massive hole. A storefront doesn't fix how you cost your menu. It multiplies it.
The owners who are ready to scale are the ones who can tell you what every component on their menu costs. Build that list while your menu is still small.
Do it once, keep it current
You can do every step above on paper. The hard part isn't the first calculation. It's keeping it right (and consistent) when one buttercream lives in six products and the price of butter just changed.
That's how Costli is set up. Your Pantry holds what you actually paid for each ingredient. Each filling, frosting and topping becomes its own Recipe. Your Products are built from the Recipes that go into them, so the cupcake gets costed as five recipes, not one.
Find out what your menu is really costing you
Not sure which of your products may be UNDERPRICED? Start with one.
The free Bakery Profit Leak Calculator shows you where your money is actually going, so you can see the leak before you fix it. No spreadsheet required.
Share this article
Ready to put this into practice?
Costli does the kitchen math for you, so every price covers your true costs.


