Recipe Costing FoodCore Editorial Team June 2026 · 13 min read

How to Calculate Cake Costs from Scratch

Most home bakers lose money — not because they don't work hard enough, but because they guess their ingredient costs. Being just 20% out on a £30 cake means a £6 undercharge on every order. At ten cakes a week, that is £3,120 a year quietly walking out the door. This guide walks you through every component of a complete cake cost calculation: ingredient cost per gram, waste, labour, overheads and profit margin — with fully worked examples for a batch of cupcakes and a 6-inch celebration cake.

Why calculating cake costs accurately matters

The home baking industry has a silent epidemic: the vast majority of people selling cakes are charging far less than their products actually cost to make. This isn't a matter of a few pence here and there — many home bakers are systematically underpricing by 30–50%, effectively running a charity rather than a business. The core reason is simple: guessing ingredient costs instead of calculating them.

The mathematics are unforgiving. If you are just 20% out on a £30 cake — a very easy margin of error when you're estimating rather than calculating — you are undercharging by £6 on every single order. That might not sound like much. But at ten cakes a week, across 52 weeks, that is £3,120 a year that should be in your bank account and isn't. At twenty cakes a week, it doubles to £6,240. This is real money, and it disappears not because of anything dramatic but because of a small systematic error compounding quietly over time.

This matters beyond the financial loss itself. A business that chronically undercharges eventually burns out or closes. The baker works harder and harder, produces more and more cakes, and wonders why they never seem to have any money. The answer is always the same: their pricing doesn't reflect their true costs. When ingredient prices rise — as they have done significantly in recent years, with butter, eggs and flour all seeing substantial price increases — gut-feel pricing becomes more dangerous than ever. A price that was marginally profitable two years ago may now be generating a genuine loss.

Proper cost calculation is not about greed or overcharging customers. It is about sustainability. A business that covers its true costs can grow, can invest in better equipment, can give its owner a proper income, and can survive difficult months. A business that doesn't cover its costs will eventually fail, no matter how talented the baker.

The formula for a sustainable cake business: every cake must cover its ingredients, your time, a share of your running costs, AND leave you a profit. Miss any one of these and you are subsidising your customers out of your own pocket.

The complete cake cost formula

Before diving into the steps, it helps to see the whole picture at once. The complete cost formula for any cake is:

Total Cost = Ingredient Cost + Labour Cost + Overhead Allocation + Profit Target

Each of these four components is essential. Ingredient cost is the raw material cost of every ingredient used in the recipe, calculated precisely using cost-per-gram figures rather than estimates. Labour cost is the value of your time — every hour spent on the cake from prep through to packaging. Overhead allocation is your fair share of the running costs of your operation: electricity, packaging materials, insurance, equipment depreciation, and so on. Profit target is a deliberate percentage added on top of total cost to ensure the business generates a return.

Missing any single component turns what looks like a profit into a loss. The most common omission is labour — many bakers simply don't count their own time at all, reasoning that "it's just me at home." But time has real value. Every hour spent baking is an hour you could spend doing something else, and a business that doesn't pay its owner is not a sustainable business.

Notice that profit margin is listed last. It is not a guess or a feeling. It is a precise percentage applied to your known total cost to arrive at a selling price. This guide covers each component in detail, with worked examples throughout.

Step 1 — Calculate ingredient cost per gram

The foundation of accurate cake costing is calculating the cost per gram (or per ml for liquids) of every ingredient you use. This single step eliminates most of the guesswork that causes home bakers to undercharge.

The formula is straightforward:

Cost per gram = Pack price ÷ Pack weight in grams

For example: a 500g block of unsalted butter bought for £1.80 costs £1.80 ÷ 500 = £0.0036 per gram. If your Victoria sponge recipe uses 225g of butter, the ingredient cost for butter alone is 225 × £0.0036 = £0.81.

This same calculation applies to every ingredient. A 1,000g bag of caster sugar at £1.10 costs £0.0011 per gram. A 1,500g bag of self-raising flour at £1.35 costs £0.0009 per gram. A 6-pack of free-range eggs at £1.90 costs £0.3167 per egg. Working through the maths for every ingredient in a recipe takes time the first time, but the numbers don't change frequently and the work pays for itself immediately.

For liquids measured in millilitres (vanilla extract, double cream, milk), use the same approach but divide by volume in ml rather than weight in grams. A 60ml bottle of vanilla extract at £3.50 costs £3.50 ÷ 60 = £0.0583 per ml.

Always include packaging materials in your ingredient-level cost calculation. Cake boxes, food-safe bags, tissue paper, ribbon, labels and stickers are all real costs that belong in your costing. A sturdy single-tier cake box can cost £1.50–3.00. If you're including that in your calculation, add it as a line item at full cost per cake. If you're buying in bulk, calculate the per-unit cost from your pack price.

Here is a worked example for a standard Victoria sponge, showing every ingredient costed at the gram level:

Ingredient Pack size Pack price Grams used Cost used
Unsalted butter 500g £1.80 225g £0.81
Caster sugar 1,000g £1.10 225g £0.25
Self-raising flour 1,500g £1.35 225g £0.20
Free-range eggs (4) 6 pack £1.90 4 eggs £1.27
Vanilla extract 60ml £3.50 5ml £0.29
Baking powder 170g £1.00 5g £0.03
Strawberry jam (filling) 340g £1.50 80g £0.35
Double cream (filling) 300ml £1.60 150ml £0.80
Total ingredient cost (before waste factor) £4.00

Once you have this table built for a recipe, it takes only minutes to update when prices change. The discipline of building it once pays dividends every time you price a cake.

Step 2 — Account for ingredient waste

Not every gram of ingredient that enters your kitchen ends up in the finished cake. Waste is a real, measurable cost that must be included in your calculations. Ignoring it consistently underestimates your true ingredient cost.

Common sources of waste in cake making include: peeling and trimming fruit for fillings or decorations, levelling sponge layers (those off-cuts don't go into the cake even if they go into your mouth), buttercream left clinging to the sides of the mixing bowl and on palette knives, cracked or broken biscuit bases that can't be used, ganache or glaze that drips off the cake during coating, and the small quantities of every ingredient that stick to weighing bowls, sieve mesh, and tin surfaces.

The standard approach is to apply a waste percentage multiplier to your base ingredient cost. A figure of 5–10% covers most standard cakes. More complex products with significant trimming or coating steps might warrant 10–15%.

Ingredient cost with waste = Base ingredient cost × (1 + waste factor) Example at 8% waste: £4.00 × 1.08 = £4.32

To measure your actual waste rate rather than estimating it, weigh your ingredients as you begin each recipe and weigh the finished product (before packaging) when it is complete. The difference, divided by the starting weight and expressed as a percentage, is your waste rate. Track this across a month of production and you will have an accurate, recipe-specific figure rather than a generic estimate.

This matters more for some recipes than others. A simple sponge cake has relatively low waste. A tiered fondant-covered wedding cake, where each layer is torted, filled, crumb-coated, and then covered with rolled fondant (much of which gets trimmed away at the base), may have a waste factor closer to 12–15%. Build the right number for each product rather than using a single blanket percentage.

Step 3 — Calculate labour cost

Labour is where most home bakers lose the most money, and it is almost always because they dramatically undercount the time they actually spend on each order. The common mistake is to count only the decorating time — the visible, skilled work — and forget everything else that goes into getting a cake out of the door.

In the UK, the National Living Wage from April 2025 is £12.21 per hour. This is an absolute floor — the minimum you should charge for your time, regardless of how long you have been baking. However, baking is a skilled trade. Experienced cake decorators, specialist sugar flower artists, and bakers working with complex techniques such as sculpted cakes, hand-painted designs, or intricate tiered structures should be charging significantly more: typically £15–25 per hour, depending on their skill level and the local market. Charging the National Living Wage is not a ceiling — it is a minimum.

When you calculate the time spent on a cake, include every component honestly:

  • Prep time — gathering and weighing ingredients, lining tins, softening butter, preheating the oven
  • Active baking time — mixing, filling tins, loading the oven
  • Cooling and monitoring time — even if you can do other things while a cake cools, your schedule is constrained by the cooling timeline
  • Levelling and filling — torting layers, spreading fillings, crumb coating
  • Decorating time — all of it, timed honestly
  • Packaging time — boxing, tying ribbon, adding cake cards or care instructions
  • Cleaning time — washing bowls, tins, palette knives, piping bags, and worksurfaces
  • Customer communication — time spent quoting, discussing designs, answering questions, sending invoices

A worked example: a 3-tier wedding cake might break down as: prep 1 hour, baking across two sessions 2.5 hours, cooling and levelling 1 hour, stacking and dowelling 1 hour, decorating 5 hours, packaging and delivery 1.5 hours. That is 12 hours total. At £15 per hour, labour cost alone is £180. At £20 per hour for an experienced decorator, it is £240. Many home bakers charge £80–120 for a tiered wedding cake, which means they are paying their customer's for the privilege of working for them.

Most home bakers forget that cooling time, cleaning time and time spent messaging customers are all billable time — they are part of every order. If you spend 45 minutes cleaning up after a cake and 20 minutes messaging the customer over the course of an order, that is over an hour of unbilled labour per cake.

Step 4 — Allocate overhead costs

Overheads are the running costs of your baking operation that don't get used up in a single cake but must still be covered across your output. Every cake you make should carry a fair share of these costs.

Electricity is the most significant for most home bakers. A standard domestic oven running at 180°C uses approximately 1.5–2kWh per hour. At the UK's current average electricity rate of around 24–25p/kWh (though many households on peak tariffs pay 40–45p/kWh or more), an hour of baking costs approximately 36p–90p depending on your tariff and oven. For a 45-minute bake, budget 27p–68p in electricity costs. To calculate your exact figure: find your oven's wattage on the rating plate (typically 2,000–3,500W), convert to kW (divide by 1,000), multiply by hours in use, then multiply by your pence-per-kWh rate. A 2,500W oven running for 45 minutes at 40p/kWh costs: 2.5kW × 0.75hr × £0.40 = £0.75.

Packaging materials include cake boxes, food-safe bags, cellophane wrap, ribbon, cake boards, cake cards, stickers or printed labels, and tissue paper. For many home bakers, packaging adds £1.50–5.00 per order depending on the product. These should be costed per-cake rather than estimated annually.

Insurance is essential for any food business and often overlooked in costings. A basic home baker's public liability insurance policy typically costs £100–200 per year. Divide by the number of cakes you make in a year: at 5 cakes per week across 50 weeks (250 cakes/year), a £150 annual premium costs £0.60 per cake. Negligible individually, but it must be covered somewhere.

Equipment depreciation covers the gradual wearing out and eventual replacement of your mixers, tins, turntables, scrapers, piping tips, and so on. A KitchenAid mixer costing £500 and lasting 10 years contributes approximately £50/year in depreciation. Divided across 250 cakes per year, that is £0.20 per cake. Again, small per cake but collectively these items add up.

Subscription costs for recipe management software, accounting software, online selling platforms, or website hosting should also be allocated. £20/month in platform subscriptions across 20 cakes/month is £1.00 per cake.

The simplest way to handle overheads is to total your monthly overhead costs, then divide by the number of cakes you produce per month:

Overhead per cake = Total monthly overheads ÷ Cakes produced per month Example: £120/month overheads ÷ 20 cakes/month = £6.00 per cake

Review this figure quarterly. If you produce significantly more or fewer cakes than usual in a month, your overhead allocation per cake will shift, but the annual average is what matters for long-term pricing.

Step 5 — Add profit margin

Profit is not a luxury. It is what allows your business to survive unexpected ingredient price rises, replace broken equipment, invest in new skills and training, take a week off without going backwards financially, and ultimately grow. A business without profit margin has no buffer against anything going wrong.

For a home-based cake business, a gross profit margin of 25–35% is a healthy and sustainable target. This means that of every pound of revenue, 25–35p is left after covering all costs (ingredients, labour, and overheads). Below 20%, you have very little buffer for anything. Below 10%, you are almost certainly losing money once you account for costs you haven't yet calculated properly.

It is important to understand the difference between margin and markup, because confusing them is a very common and costly mistake.

Markup means adding a percentage to your cost. A 30% markup on a £45 cost gives £45 × 1.30 = £58.50. But £58.50 − £45 = £13.50 profit on £58.50 revenue = only 23% gross margin.

Margin is calculated from the selling price, not the cost. To achieve a specific gross margin, use this formula:

Selling Price = Total Cost ÷ (1 − Target Gross Margin) Example at 30% margin: £45 ÷ (1 − 0.30) = £45 ÷ 0.70 = £64.29

This distinction matters enormously over thousands of sales. Adding 30% to your cost gives you 23% margin — a 7-percentage-point shortfall from your target. On a £45 cost base, that is a £5.79 undercharge per cake. At 20 cakes a week, that is more than £6,000 per year in lost margin.

Set your target margin deliberately based on your business situation, your fixed cost base, and the market you operate in. Do not just pick a number that sounds reasonable — understand what each additional percentage point of margin is worth to you in actual pounds per year.

Worked example — 12 vanilla cupcakes

Let us apply all five steps to a batch of 12 vanilla cupcakes, one of the most commonly sold products by home bakers — and one of the most commonly underpriced.

Ingredient cost (calculated at cost-per-gram): butter 150g £0.54, caster sugar 150g £0.17, self-raising flour 150g £0.13, eggs 3 eggs £0.95, vanilla extract 5ml £0.29, baking powder 3g £0.02, milk 60ml £0.06, icing sugar for buttercream 300g £0.33, butter for buttercream 150g £0.54, vanilla for buttercream 3ml £0.17 = base ingredient cost £3.20. Add packaging (12 cupcake box with window £1.00) = £4.20.

Waste factor at 8%: £4.20 × 1.08 = £4.54.

Labour: prep 20 minutes, baking 22 minutes, cooling 30 minutes, piping buttercream and decorating 25 minutes, packaging 5 minutes, cleaning 18 minutes = 2 hours total (rounded up from 1 hour 40 minutes to account for the small admin time). At £15/hr = £22.50.

Overheads: electricity for 22-minute bake + mixer use = approximately £0.60, share of monthly overheads = £2.90. Overhead total = £3.50.

Total cost: £4.54 + £22.50 + £3.50 = £30.54.

At 30% gross margin: £30.54 ÷ 0.70 = £43.63 for 12 cupcakes — or £3.64 per cupcake.

Now consider what many home bakers actually charge: £2.50 per cupcake. Twelve cupcakes at £2.50 each = £30.00. That is £0.54 less than the total cost — a loss before any profit is considered. Every single batch sold at that price loses money. At 10 batches per week, the baker is losing £5.40 every week, or £281 per year, just on cupcakes — while working hard and feeling proud of how much product they're selling.

Charging £3.64 per cupcake (rounding up to £3.75 for a clean selling price) is not overcharging. It is the minimum viable price for a sustainable business.

Worked example — 6-inch celebration cake

A 6-inch, two-layer celebration cake with buttercream frosting and simple decorations is a standard product for many home cake businesses. Here is a full cost breakdown.

Ingredient cost after waste (8%): the sponge, buttercream, and decoration ingredients for a 6-inch cake typically total around £7.60 before waste. Add cake board £0.45 and a 6-inch cake box £1.20 = base total £9.25. After applying the 8% waste factor to the ingredient portion only: (£7.60 × 1.08) + £1.65 packaging = £8.20 adjusted ingredient cost.

Labour: prep 25 minutes, baking 40 minutes, cooling 45 minutes, levelling and filling 20 minutes, crumb coat and chill 20 minutes, final coat 25 minutes, decorating 30 minutes, boxing and finishing 10 minutes, cleaning 20 minutes, customer communication 5 minutes = 3.5 hours total. At £15/hr = £52.50.

Overheads: electricity for 40-minute bake approximately £0.85, share of monthly overheads £5.15 = £6.00.

Total cost: £8.20 + £52.50 + £6.00 = £66.70.

At 30% gross margin: £66.70 ÷ 0.70 = £95.29 — the minimum viable selling price for a properly costed 6-inch celebration cake.

Compare this to the common market price of £50–60 for a 6-inch cake. A baker charging £55 for this cake is receiving £55 against a cost of £66.70 — a loss of £11.70 on every order, before any consideration of profit. The harder this baker works and the more cakes they sell, the more money they lose. This is the hidden trap of underpricing: the business feels busy, but it is systematically destroying value.

Pricing correctly feels intimidating when you know others are charging less. The important thing to remember is that those bakers are also likely losing money — they simply haven't done the calculation yet. Your job is not to match the market's lowest price. Your job is to run a sustainable business, which means pricing to cover your real costs.

Cost per slice calculation

Understanding cost per slice is useful for two reasons: it helps you quote for larger cakes by scaling up from a per-slice basis, and it helps you communicate value to customers who ask about pricing by the slice for events.

The formula is simple:

Cost per slice = Total recipe cost ÷ Number of servings Revenue per slice = Selling price ÷ Number of servings Profit per slice = Revenue per slice − Cost per slice

A 6-inch round cake yields approximately 8 generous slices (or 10 smaller slices for a dessert setting). Using the worked example above with a total cost of £66.70 and a selling price of £95.29:

  • Cost per slice (8 servings): £66.70 ÷ 8 = £8.34
  • Revenue per slice: £95.29 ÷ 8 = £11.91
  • Gross profit per slice: £11.91 − £8.34 = £3.57

For a 3-tier wedding cake serving 80 guests, you would calculate the total cost across all tiers (adding up each tier's ingredient, labour, and overhead costs), then divide the selling price by 80 servings to arrive at your revenue per slice. This approach also helps customers understand pricing: £4–6 per slice for a hand-decorated wedding cake is excellent value compared to a professional bakery charging £8–12 per slice for a comparable product.

Knowing your cost per slice also prevents a common quoting error: bakers often undercharge for larger cakes because they scale them up proportionally by ingredient cost but forget that labour doesn't scale linearly. A cake that serves 40 people doesn't take twice as long to decorate as one serving 20 — but it does take significantly longer, and that needs to be reflected in the price.

When to update your costings

Ingredient prices are not static, and neither should your costings be. Setting a price once and never reviewing it is how a profitable product becomes an unprofitable one over 12–18 months as ingredient costs creep upwards.

As a minimum, review your costings every quarter. A quarterly check of your top 10 most-used ingredients — butter, eggs, flour, sugar, cream, vanilla, and your most-used packaging — takes 20–30 minutes and can immediately flag whether a price increase is necessary. Set a calendar reminder on the first Monday of each quarter and treat it as a non-optional business task.

Beyond the quarterly review, also recalculate immediately when any of the following happen:

  • You change a recipe or add a new ingredient
  • You switch supplier (prices at a new supplier may be meaningfully different)
  • You change the size or specification of a product (a 7-inch cake instead of 6-inch has a different ingredient cost even if the recipe is the same)
  • You see a significant news story about ingredient price movements (butter and egg prices in particular have been volatile)
  • You decide to increase your labour rate (as your skills develop, your hourly rate should increase)
  • You take on new overheads (new insurance, new subscription, new equipment)

The principle is that your costing should always reflect reality. Annual reviews are not sufficient in a volatile ingredient market. The five or ten minutes it takes to update a costing sheet when you buy a pack of butter at a new price is some of the highest-value time you can spend in your business.

Tools that make recipe costing faster

You can do all of the above in a spreadsheet, and many bakers do. A spreadsheet is free and flexible. But spreadsheet-based costing has several significant drawbacks: it is easy to make formula errors that silently produce wrong numbers, updating ingredient prices requires manually finding and changing every cell where that ingredient appears, there is no automatic overhead allocation, and sharing or updating recipes across multiple products becomes increasingly complex as your range grows.

Dedicated recipe costing software solves these problems. You enter your ingredient prices once, and every recipe that uses that ingredient automatically updates when the price changes. You set up your monthly overheads once and they are allocated proportionally across your recipes. The software calculates your cost per unit and your profit margin at a glance, without you needing to maintain complex formulas.

Recipe costing software for bakeries like FoodCore is purpose-built for UK home bakers and small food businesses. It calculates exact ingredient costs per gram, allocates overhead costs across your recipe list, and shows your true profit margin per product in real time. When butter prices go up, you update the price once and every affected recipe shows the new cost immediately. You can also use the free recipe cost calculator on FoodCore's website to get started without any signup.

If you're wondering what bakery management software do I need, the answer for most home bakers starts with recipe costing — it is the highest-leverage tool you can add to your business. Once your costs are accurate, every other business decision (pricing, scaling, product selection, supplier negotiation) becomes much clearer.

To get started with accurate costing today, you can start a free 7-day trial of FoodCore — no card required, and you can have your first recipe fully costed within about 15 minutes.

Frequently asked questions

How do I calculate the cost of ingredients per recipe?

To calculate ingredient cost per recipe, you need to find the cost per gram of each ingredient, then multiply that by the weight of the ingredient used in the recipe. Cost per gram = pack price ÷ pack weight in grams. For example, a 500g block of butter bought for £1.80 costs £0.0036 per gram. If your recipe uses 225g of butter, the cost is 225 × £0.0036 = £0.81. Repeat this for every ingredient and sum the results to get your total ingredient cost. Always include packaging materials — cake boxes, food-safe bags, labels — as an ingredient-level cost.

What hourly rate should I use for cake pricing?

As a minimum, use the UK National Living Wage, which is £12.21 per hour from April 2025. However, baking is a skilled trade — experienced decorators and specialist bakers should charge £15–25 per hour to reflect their skill level. When calculating your hourly rate, be honest about all the time you spend: prep, baking, cooling wait, decorating, packaging, cleaning up and any time spent quoting or communicating with customers. Many home bakers only count decorating time and forget everything else, which systematically undervalues their labour.

How do I include electricity costs in cake pricing?

A standard domestic oven running at 180°C uses approximately 1.5–2kWh per hour. At the current UK average electricity rate of around 24–25p/kWh (though many tariffs are higher at 45p/kWh on peak rates), an hour of baking costs approximately 36p–90p. For a 45-minute bake, budget 27p–68p in electricity. To get your exact cost, check your electricity tariff, multiply your oven's wattage (typically 2,000–3,500W) by hours used, and multiply by your per-kWh rate. Add this to your overhead allocation for each cake.

What is a good profit margin for a home bakery?

A gross profit margin of 25–35% is a healthy target for a home-based cake business. This means if a cake costs you £42 to make (ingredients + labour + overheads), you should sell it for at least £60–65. Below 20% gross margin, you are not generating enough buffer to cover unexpected costs or business-related expenses. Many home bakers accidentally run at 0–10% margin because they don't include their own labour in cost calculations. Always include labour at a fair hourly rate before calculating your margin.

How often should I recalculate my cake costs?

Recalculate at minimum every quarter. Ingredient prices change frequently — butter, eggs, and flour in particular have seen significant price volatility over recent years. Set a calendar reminder each quarter to re-check the price of your top 10 ingredients and update your costing sheets. Also recalculate whenever: you change a recipe, you switch supplier, you change the size or specification of an order, or you increase your pricing. Annual cost reviews are not sufficient in a volatile ingredient market.

What is the cost per slice formula?

Cost per slice = Total recipe cost ÷ Number of servings. For example, if your 6-inch round cake costs £38 to make (ingredients + labour + overheads) and yields 8 slices, the cost per slice is £38 ÷ 8 = £4.75. To find the selling price per slice, divide your selling price by the number of servings. If you sell the cake for £65, the revenue per slice is £65 ÷ 8 = £8.13. The difference (£8.13 − £4.75 = £3.38 per slice) is your gross profit per slice.

What software helps with recipe costing for bakeries?

FoodCore is purpose-built recipe costing software for UK bakeries and home bakers. It calculates exact ingredient costs per recipe, allocates overhead costs across your recipes and shows your true profit margin per product. You can try it free for 7 days at signup.foodcore.io. Alternatives include spreadsheets (more manual work, no automatic overhead allocation) and generic accounting software, which typically doesn't handle recipe-level cost breakdowns.

Further resources

FoodCore Editorial Team

FoodCore is kitchen management software for small UK food businesses — recipe costing, Natasha's Law labels, shopping lists and order tracking.

Get started →

Related articles

Calculate your cake costs in minutes, not hours

FoodCore calculates exact ingredient costs per recipe, allocates your overheads and shows your true profit margin — so you price with confidence. 7-day free trial, no card required.

Start free trial →