Free tool
Profit margin calculator for bakers
A profit margin calculator for bakers comes down to one formula: selling price = total cost / (1 - target margin). If a cake costs you $42 to make and you want a 60% margin, divide 42 by 0.40 and charge $105. The rest of this page shows each step with example bakery numbers, the difference between margin and markup, and the mistake that quietly costs home bakers more than half the profit they meant to make.
Worked example: a 9-inch celebration cake at a 60% margin
Example numbers for one cake made in a home kitchen. Replace them with your own costs.
- Ingredients (flour, butter, eggs, sugar, cocoa, cream)
- $14.20
- Packaging (cake box, board, ribbon)
- $2.30
- Labour (1.5 hours at $15 per hour)
- $22.50
- Overhead share (oven energy, equipment wear)
- $3.00
- Total cost per cake
- $42.00
- Target margin
- 60%
- Formula
- 42.00 / (1 - 0.60)
- Selling price
- $105.00 (profit $63.00, markup 150%)
Charging 42 x 1.60 = $67.20 instead would give a 37.5% margin, not 60%.
What profit margin means: gross and net
Profit margin is profit divided by the selling price. Gross margin takes off only what goes into the product itself: gross margin = (price - ingredients - packaging) / price. Net margin takes off everything it costs to make and sell: also your labour, the oven and energy, card and platform fees and a share of fixed costs. Net margin is the one to price from, and it is the margin the formula on this page gives.
On the cake in the example, the ingredients and packaging come to $16.50, so the gross margin is (105 - 16.50) / 105 = 84.3%. Take off the labour and overhead too and the full cost is $42.00, leaving $63.00 of profit: a 60% net margin.
Read next: Bakery profit margin: how to work it out and how to raise it
How to calculate a selling price from your margin, step by step
Margin is profit as a share of the selling price. Markup is profit as a share of the cost. Bakers mix them up all the time, and the price comes out wrong. Work it out in this order.
- Add up the full cost of one unit: ingredients, packaging (box, board, ribbon), your time at an hourly rate, and a share of overhead such as gas, electricity and equipment wear.
- Pick your target margin as a decimal: 60% is 0.60.
- Subtract it from 1: 1 - 0.60 = 0.40.
- Divide the cost by that number: 42 / 0.40 = 105. That is your price before any sales tax or marketplace fees.
- Check it: profit is 105 - 42 = 63, and 63 / 105 = 60%. If the check does not give your margin back, a step went wrong.
- Round to a price you would actually write on a menu, upwards, so the margin only grows.
Margin vs markup: the table to keep next to your oven
The same price can be described as a margin or a markup, and the numbers look very different. A 60% margin is a 150% markup. If a supplier, a cafe buyer or a course talks about markup and you think in margin, use this table to translate.
| Target margin | Markup on cost | Multiply cost by | Price for a $10 cost |
|---|---|---|---|
| 20% | 25% | 1.25 | $12.50 |
| 30% | 42.9% | 1.43 | $14.29 |
| 40% | 66.7% | 1.67 | $16.67 |
| 50% | 100% | 2.00 | $20.00 |
| 60% | 150% | 2.50 | $25.00 |
| 70% | 233.3% | 3.33 | $33.33 |
The mistake: using your margin as a markup
Pricing as cost x (1 + markup) works, as long as the number you use is a markup. The most common error is to put the margin there: with the cake above, 42 x 1.60 gives $67.20. It feels like a 60% margin, but the profit is $25.20, and 25.20 / 67.20 is only 37.5%. On every cake you sell you leave $37.80 on the table compared with the price you meant to charge.
The second mistake is leaving costs out. If you price on ingredients alone and forget the box, your hour and a half and the oven, the margin on paper is real money you never see. Your time counts even when nobody pays you a wage: put a rate on it, or you are working for free.
What margin should a home bakery aim for?
There is no single right number, and this page will not invent an industry average. What matters is that the margin covers what the cost does not: unpaid admin time, waste and failed bakes, the slow weeks, and money to replace the mixer when it dies.
Many bakers set a higher margin on custom cakes, where design time is hard to cost, and a lower one on wholesale, where the buyer needs room for their own margin. Run the formula for each channel separately.
Do it once per recipe, and keep it current, with Farinu
The formula is easy. Keeping it right for every product is the hard part, because flour, butter and eggs change price and sub-recipes like a frosting feed into several cakes.
Farinu costs each recipe from its ingredients, packaging, sub-recipes, labour, machines and overhead, then suggests a price from the target markup or fixed price you set and shows the margin it gives. Farinu asks for a markup, so to price at a 60% margin enter a 150% markup (see the table above): 42 x 2.50 gives the same $105. Separate price lists hold your retail and wholesale prices, and a margin alert tells you when an ingredient price rise pushes a product below its target. On Team, helpers can log production and sales without ever seeing your costs. The free plan costs up to 10 recipes; Team removes the limit.
Questions
- What is the formula for selling price from profit margin?
- Selling price = cost / (1 - margin). For a $42 cost and a 60% margin: 42 / 0.40 = $105.
- Should my labour be part of the cost?
- Yes. Put an hourly rate on your time and include it in the cost before you apply the margin. Otherwise the margin pays you for your hours and nothing is left as profit.
- Do I include sales tax in the calculation?
- No. Work out the price before tax with the formula, then add any sales tax your area requires on top. Do the same with marketplace or delivery app fees: treat them as a cost of that channel.
Related pages
Price every recipe at the margin you want
Create a free Farinu account, cost up to 10 recipes, and get a suggested price and margin for each one, updated when your ingredient prices change.