# Cake pricing calculator: the formula and the numbers

> Price a custom cake as total cost divided by (1 - target margin). The five inputs, how to get each one right and a worked cake priced in five currencies.

To price a custom cake, add up four costs (ingredients, packaging, labour and
overhead), then divide by one minus the margin you want to keep. A two-tier
fondant birthday cake that costs $186.51 to make sells for $339.11 at a 45%
margin. Every cake pricing calculator does that one division; whether the
answer is right depends on the five numbers you feed it.

## What is the cake pricing formula?

Price = total cost / (1 - target margin)

Margin is a share of the selling price, so a 45% margin means 45 of every 100
you charge is left after cost. Dividing by (1 minus the margin) is the only way
to hit that. Multiplying cost by 1.45 does not, and the section on wrong turns
below shows what that costs.

Total cost is four lines added together: ingredients, packaging, labour and
overhead. Delivery sits outside all of it.

The worked example is in US dollars. The same cake in Australian, UK, Canadian
and New Zealand money follows it.

## Input 1: ingredients, at what you paid

The ingredient cost is the pack price divided by the pack quantity, converted
into the unit you measure in, multiplied by the quantity that came out of the
tub.

Five lines from the example cake:

- Flour: a 5 kg (11 lb) sack at $9.00 is $0.0018 per gram. The cake takes 900 g
  (2 lb), so $1.62.
- Butter: 1 kg (2.2 lb) at $12.00 is $0.012 per gram. 800 g (1.75 lb) is $9.60.
- Sugar: 2 kg (4.4 lb) at $3.60 is $0.0018 per gram. 850 g (30 oz) is $1.53.
- Eggs: $5.40 a dozen is $0.45 each. Fourteen eggs is $6.30.
- Fondant: a 750 g (1.65 lb) block at $6.75 is $0.009 per gram. 600 g (21 oz)
  is $5.40.

Colours, vanilla and dusts add $2.55 between them. Ingredients total $27.00.

Cost the quantity you take out of the pack, not the quantity that ends up in
the cake, because trimmings are bought and paid for. And keep the decimal
places: $0.0018 per gram rounds to $0.00 in a two-decimal spreadsheet cell, and
every cake using that flour then prices it at nothing.

Two checks find most costing errors in an afternoon:

- **The cheapest line.** Take the cheapest thing in your sheet by unit cost and
  see what one batch of it contributes. If that is zero, rounding or a missing
  unit conversion has eaten it, and every product containing it is underpriced.
- **The dearest line.** Take the most expensive thing you buy and multiply your
  recorded per-unit cost back up to a full pack. If the total is not close to
  the invoice, the conversion is wrong somewhere between the sack and the bowl.

The small bottles matter more than they look. Six drops of flavouring is nearly
free; the bottle is not, and you buy it several times a year.

## Input 2: labour, at a real rate times actual hours

The rate is what you would have to pay a competent decorator to do this
instead of you. A rate you never set is a rate of zero, and a price built on
zero looks complete. The example uses $25.00 an hour.

The hours are every hour the order consumes, and decorating is the smallest of
them. For the example cake: consultation and messages 0.5, sourcing and the
shop trip 0.5, baking 1.0, filling and crumb coating 0.75, decorating 1.25,
boxing and washing up 0.5. That is 4.5 hours, and at $25.00 an hour the labour
line is $112.50.

If you have never timed an order, time the next one from the first message to a
clean kitchen. Write your estimate down before you start. Almost nobody guesses
high, and the ratio between your estimate and the clock is a correction factor
you can apply to the next twenty quotes.

## Input 3: packaging

Packaging is its own line, never folded into ingredients. Folded in, it becomes
invisible; entered in both places, it is counted twice and your margin reads
worse than it is.

For the example cake: a 25 cm (10 in) drum at $1.80, the box at $2.40, non-slip
mat $0.35, a metre (about 3 ft) of ribbon at $0.55, four dowels at $0.10 each
for $0.40 and a label at $0.10. Packaging totals $5.60.

**Count the packages rather than writing 1.** Packages needed is quantity
divided by package capacity, rounded up. Six cupcakes in single-cavity boxes is
six boxes. Six in a twelve-cavity box is one. Twelve in a six-cavity box is two.

**Some packaging only exists if the order travels.** The outer carton, the
cold pack and the crush protection belong to delivery and courier orders, not
to a collection. Cost them only on the orders that go out the door, and if you
are not sure whether an item applies, cost it on everything: over-costing a
collection is a small error, missing the carton on a courier order is not.

Materials, meaning ingredients plus packaging, come to $32.60.

## Input 4: overhead, per order

Two different costs that need allocating two different ways.

**Costs that scale with the job.** Power for a long bake, gas, water, wear on
the mixer. Charge these as a percentage of materials plus labour. The example
uses 12%, applied to $145.10, giving $17.41.

**Fixed monthly costs.** Rent or the share of your home the kitchen occupies,
insurance, registration fees, subscriptions, the accountant. These arrive
whether or not you bake, so a percentage is the wrong tool. Total them for a
month and divide by orders completed in a month. The example uses $960.00 of
fixed costs and 40 orders, giving $24.00 an order. Charge it once per order,
not once per item.

> **Divide by what you did, not what you hope to do**
>
> That divisor is an estimate, and an optimistic one under-charges every order for
> the whole month. Set it from last quarter's completed order count. A quiet month
> costs you twice: the rent does not fall, so every order in a thin month should be
> carrying more of it.

## Input 5: delivery, priced separately

Delivery is not part of the cake price and not part of the margin calculation.
It is a reimbursement for a round trip, added as its own line after the price
is set. Kept outside, a fee cannot flatter your margin, and a fee that fails to
cover the trip shows up as a shortfall on the delivery instead of disappearing
into the cake. Per-kilometre and per-mile figures for each country are in
[what to charge for delivery](/blog/what-to-charge-for-delivery).

## The worked example, end to end

A two-tier fondant birthday cake, collected, in US dollars.

| Line | Amount |
| --- | --- |
| Ingredients | $27.00 |
| Packaging, board and box | $5.60 |
| Labour, 4.5 hours at $25.00 | $112.50 |
| Overhead at 12% of materials plus labour | $17.41 |
| Fixed monthly costs, per-order share | $24.00 |
| **Total cost** | **$186.51** |
| Target margin | 45% |
| **Price, $186.51 / 0.55** | **$339.11** |

Check it backwards. $339.11 minus $186.51 is $152.60 of profit, and $152.60
divided by $339.11 is 45.0%. That is the test to run on any calculator: price
minus cost, divided by price, should equal the margin you asked for.

Labour is 60% of cost here because fondant work is time-heavy. A plain sheet
cake sits at the other end of that ratio, and so do two decorators of
different speed working from the same sketch.

## The same cake in five currencies

Same recipe, same 4.5 hours, same 12% overhead and 45% margin. The inputs that
change are what the materials cost locally, the hourly rate and the fixed
costs per order. The figures below are example inputs to show the arithmetic,
not quoted market prices; swap in your own invoices and your own rate.

| Market | Materials | Labour rate | Labour | Overhead | Fixed share | Total cost | Price at 45% |
| --- | --- | --- | --- | --- | --- | --- | --- |
| United States | US$32.60 | US$25/hr | US$112.50 | US$17.41 | US$24 | US$186.51 | **US$339.11** |
| Australia | A$38.00 | A$35/hr | A$157.50 | A$23.46 | A$30 | A$248.96 | **A$452.65** |
| United Kingdom | £24.00 | £18/hr | £81.00 | £12.60 | £20 | £137.60 | **£250.18** |
| Canada | C$40.00 | C$30/hr | C$135.00 | C$21.00 | C$28 | C$224.00 | **C$407.27** |
| New Zealand | NZ$42.00 | NZ$32/hr | NZ$144.00 | NZ$22.32 | NZ$30 | NZ$238.32 | **NZ$433.31** |

Read the labour column first. In every market it is more than half the cost,
so the hourly rate you choose moves the price more than any ingredient does.
Raising the rate by 5 an hour adds 22.50 of labour, 2.70 of overhead and,
after the margin, about 45.82 to the price in any of the five currencies.

Then sanity-check the result against what cakes like it sell for where you
are. [Cake prices by country](/blog/cake-prices-by-country) has the market
ranges. If your costed price sits well above the local range, look at your
hours and your fixed costs before you look at your margin. If it sits well
below, you have room to charge more.

## Wrong turn one: multiplying by 1.45

[Markup](/glossary/markup-vs-margin) is a multiple of cost. Margin is a share of price. Multiply $186.51 by
1.45 and you get $270.44, which feels like a 45% uplift and is not a 45%
margin.

The profit is $83.93 on a price of $270.44, so the margin is 31.0%. Against the
$152.60 you meant to make, $68.67 has gone. The general result is worth
memorising: use markup where you meant a margin of m, and you give away exactly
m of your intended profit. At a 45% target you keep 55% of the profit you
planned.

## Wrong turn two: labour left at zero

Take the same cake with the labour line blank. Materials $32.60, overhead now
12% of $32.60 which is $3.91, fixed share $24.00. Total cost $60.51, and at a
45% margin the price is $110.02.

That price is $110.02 against a real cost of $186.51, so every one you sell
loses $76.49, and the calculator that produced it displayed a confident 45%.

> A blank labour rate is a **valid number**. Nothing on any screen will tell you
> your time was priced at zero.

## Wrong turn three: discounting off the price

A discount comes out of profit, not out of price. The share of your profit a
discount consumes is the discount percentage divided by your margin. At a 45%
margin, 10% off the example cake is $33.91, which is 22% of the $152.60 profit.
At a 20% margin the same 10% discount gives away half the profit.

And compare margin on prices excluding tax. Where you quote tax-inclusive
prices, part of every sale is tax you pass on, and measuring margin against
the inclusive figure flatters it by the tax rate.

**Before you trust the answer**

- Does price minus cost, divided by price, equal your target margin?
- Is the hourly rate one you would accept from an employer?
- Are the hours timed or remembered?
- Is the board on the list? The box? The dowels? The right number of boxes?
- Does anything in the number cover the rent?
- Is delivery outside the margin, priced against the round trip?

## Keeping the price right after today

A calculator prices one cake on one day. Flour moves, your hourly rate should
move, and when your order count changes, so does each order's share of the rent. A
price set from last spring's costs earns less every month the inputs drift.
Deciding which products need repricing after an input cost changes is worked
through in
[how to reprice when ingredient costs go up](/blog/repricing-when-ingredient-costs-move).

ibakepro does this arithmetic on every product: it holds one cost per unit for
everything you buy, converts the pack into the gram, keeps packaging on its own
line, costs packaging only on the orders that need it, and recosts every
product when a supplier price moves while leaving your price where you set it.
Enter your hourly rate and your timed minutes first, and every price after
that is built on real numbers. [Recipe costing](/features/recipe-costing)
covers how it works.
