What the calculator does with your numbers
The calculator is a cake cost calculator and a baking cost calculator in one. It adds up four costs you supply, pays you for your working time, and then lifts the total to a selling price using a target you set.
- Ingredients cost: everything consumed for the whole order, including icing, fillings and the waste you expect to lose.
- Packaging and decorations: boxes, boards, toppers and decorations, counted once.
- Labor: hours multiplied by your hourly pay.
- Allocated overhead: this order's share of costs such as energy, equipment, rent or fixed fees.
It works only from the amounts you type. It does not look up ingredient prices and does not cost a recipe from quantities. The arithmetic runs locally in your browser.
All costs and labor refer to the same whole order or whole batch. If you are pricing a tiered cake, enter the ingredients for every tier. If you are pricing 24 cupcakes, enter the ingredients, packaging and time for all 24.
Fields and limits
The calculator starts in Simple mode: a target profit margin, no percentage selling fee and one saleable unit. Advanced adds a pricing-method selector (margin or markup), a percentage selling fee and a saleable-unit count. Values in Advanced fields do not affect a Simple calculation.
| Input | What to enter | Accepted range |
|---|---|---|
| Ingredients cost | Total ingredients for the whole order, including icing and waste | 0 to 1,000,000 |
| Packaging and decorations | Boxes, boards, toppers, decorations; count each cost once | 0 to 1,000,000 |
| Labor hours | Working time for the whole order | 0 to 1,000 hours |
| Hourly pay | Pay for your working time, separate from profit | 0 to 10,000 per hour |
| Allocated overhead | A monetary amount allocated to this order | 0 to 1,000,000 |
| Target margin or markup | Target percentage; meaning follows the active method | 0 to 99% |
| Pricing method (Advanced) | Margin or markup on cost | Margin or markup |
| Selling fee (Advanced) | Percentage of the pre-tax order selling price | 0 to 30% |
| Saleable units (Advanced) | Equal items sharing the batch quote | Whole numbers, 1 to 10,000 |
Currency can be set to USD, EUR, GBP or INR. This changes labels only. It does not convert amounts or fetch exchange rates, so every money field must be in the same currency.
Each numeric input has a paired slider, but you are not limited to the slider's range or step. You can type fractional values such as 2.75 hours or a 4.5% fee, as long as they fall within the accepted range. Saleable units must be a whole number.
The cake costing formula
Start with the cost of the order. Let be ingredients, packaging and decorations, labor hours, hourly pay and allocated overhead:
is the entered order cost. Your pay is part of , so profit is what remains after you have paid yourself for the hours entered.
Now let be the target percentage divided by 100, and the selling-fee percentage divided by 100 ( in Simple). The estimated selling price depends on the method.
Target margin treats as a share of the selling price:
Markup on cost (Advanced) treats as a share of entered cost:
For either method:
Here is the percentage selling-fee amount, is estimated profit after entered costs and percentage fees (before tax), is the number of saleable units and is the price per unit.
Where the formulas come from
Price is cost plus fees plus profit. Because the fee is a percentage of the price, the price appears on both sides of the equation.
For margin, . Moving the price terms together gives , which is the formula above.
For markup, profit is fixed at , so . That gives .
The calculator's fee-aware formulas are algebraic extensions of these stated assumptions. They are not a published industry formula.
Margin versus markup
Margin and markup use different denominators. Margin measures profit as a share of the selling price. Markup measures profit as a share of cost. The Victorian Government's Business Victoria guidance on breakeven point, margin and markup explains this distinction. That page does not endorse this calculator or any of the example inputs here.
The same cost and the same 20% target give different prices:
| Method | Calculation with , , | Price | Profit | Profit / price |
|---|---|---|---|---|
| Margin | 125.00 | 25.00 | 20.00% | |
| Markup | 120.00 | 20.00 | 16.67% |
A 20% markup is not a 20% margin. If you want profit to be a particular share of what the customer pays, use margin. If you think in "add a percentage to my costs," use markup. Either way, check the profit/price figure in Advanced so you know the share of the price you are keeping.
The 20% figures are illustrations, not a recommended margin for bakeries.
Worked examples
All examples are in one currency. Amounts are shown without a symbol so you can read them in yours. They are arithmetic demonstrations, not suggested prices, wages or margins.
A single cake (the built-in preset)
The "Example: single cake" preset uses ingredients 30, packaging 5, labor 3 hours at 20 per hour, overhead 5 and a 20% margin.
The estimated order price is 125.00, profit is 25.00 and selling fees are 0. Labor is 60 of the 125 (48%), a reminder of how much of a custom cake's price can be working time.
Adding a percentage selling fee
Suppose the same order sells through a platform that takes 5% of the pre-tax price. In Advanced, set the fee to 5% and keep a 20% target.
| Method | Price | Fee | Profit | Profit / price |
|---|---|---|---|---|
| Margin, | 133.33 | 6.67 | 26.67 | 20.00% |
| Markup, | 126.32 | 6.32 | 20.00 | 15.83% |
The fee is not simply 5% of the cost. It is 5% of the higher selling price, and the price has to rise to cover it. The displayed figures are rounded individually, so 100 + 6.67 + 26.67 appears to be a cent over 133.33. Using exact fractions, the margin result satisfies .
A batch of cupcakes
Say you are pricing 24 equal cupcakes: ingredients 18, packaging 12, labor 2.5 hours at 18 per hour, overhead 6, a 25% margin and no selling fee.
The batch quote is 108.00, profit is 27.00 (25% of price), and each cupcake works out to 4.50. This is the intended use of the cupcake price calculator behavior: divide a batch quote among equal saleable items.
Note that saleable units only divides the quote. If you change 24 to 36 without changing the costs, the unit price drops to 3.00 (108 divided by 36). Real life would not work that way, because 36 cupcakes need more ingredients, packaging and time. Update those costs when the batch size changes.
Reading the results
Simple mode shows the estimated order price (the primary result), entered order cost and estimated profit after entered costs and selling fees, before tax.
Advanced mode also shows the price per saleable unit, selling fees for the order and estimated profit/price.
The stacked bar breaks the price into ingredients, packaging, labor pay, overhead, selling fees and profit, as shares of the unrounded price. The legend lists each component's amount, including zero or very small ones. Zoom, pan, reset view and fullscreen change only how you see it, not the calculation.
Rounding
Intermediate calculations keep full floating-point precision. Money results and the profit/price percentage are shown to two decimal places. Because the order price and unit price are rounded independently, the displayed unit price times the unit count can differ slightly from the displayed order price.
For example, with an exact order price of 125 and 7 units, the unit price is , shown as 17.86. But . If you are quoting by the unit, decide whether to charge the rounded unit price or the order total.
Final rounding can also nudge the achieved target by a fraction.
When the calculator shows an error or a warning
An estimate is invalid, and the result values clear to an em dash, when any of these is true:
- A required active input is blank, negative, nonfinite, unsupported or out of range.
- Total entered cost is not positive.
- Saleable units is not a whole number.
- In margin mode, the target plus the selling fee is 100% or more. For example, 80% plus 20% is invalid. This guard does not apply to markup mode.
The calculator does not leave an old quote on screen when inputs become invalid.
Two advisories do not stop the calculation, but they are worth a second look:
- Zero labor cost: check your hours and hourly pay. A zero here means your time is being priced at nothing.
- Zero allocated overhead: check for energy, equipment, a rent share, fixed selling charges and delivery costs.
Zero is allowed for individual costs and for the target percentage, as long as the total cost is positive.
Common costing mistakes
- Counting a cost twice. If delivery is in overhead, do not also add it to packaging.
- Leaving out waste. Ingredients should reflect what is consumed, including trimmings and test layers, not just what ends up on the plate.
- Using profit as pay. Profit here is separate from your hourly pay. If pay is set at zero, the profit figure is partly your unpaid wage.
- Entering overhead as a percentage. The overhead field takes a money amount allocated to this order.
- Mixing currencies. The selector changes labels only.
- Ignoring the fee base. The fee applies to the pre-tax order price. Charges based on taxes or another transaction base are not modeled.
- Treating a number as a market price. The result is a cost-based estimate. It says nothing about what customers will pay.
Using the tools around the calculator
- Copy puts the effective inputs, visible results, assumptions and any advisories on your clipboard.
- Export opens your browser's print dialog. You can save as PDF from there.
- Reset restores the example inputs and keeps your chosen mode and currency.
- Help explains the controls.
There is no CSV or spreadsheet download, no shareable calculation link and no saved-recipe account.
What the calculator does not cover
It does not:
- predict market prices or customer demand;
- recommend a standard margin or hourly wage;
- calculate tax or convert currencies;
- estimate servings, slice sizes, guest counts or tier yields;
- generate wedding-cake quotes from size, location or design;
- manage inventory or scale recipes;
- adjust costs automatically when saleable units changes;
- account for any cost you leave out.
Treat the output as a floor for a cost-informed conversation about price, not as a final quote.
Frequently asked questions
How do I calculate the selling price of a cake?
Add ingredients, packaging, overhead and labor cost (hours times hourly pay) to get total cost. Then choose a target. With target margin, divide the cost by 1 minus the target. With markup, multiply the cost by 1 plus the target. If a percentage selling fee applies, include it as described in the formulas above.
Should I use margin or markup?
Use margin if you want profit to be a stated share of the selling price. Use markup if you prefer to add a percentage on top of cost. The two give different prices from the same percentage, as the comparison table shows. The calculator does not say which is better for your business.
Does the calculator include my own wages?
Yes, through labor hours and hourly pay. That pay is part of cost. Estimated profit is what remains above it.
Can I use it as a cupcake price calculator?
Yes, in Advanced mode. Enter the costs for the whole batch and the number of equal saleable cupcakes. The unit price is the order price divided by the unit count. Remember that changing the count does not change the costs.
How do I include delivery or a fixed platform fee?
Put it once in allocated overhead. The selling-fee field is only for a percentage of the pre-tax order price.
Why is the profit/price percentage lower than my markup?
Markup is measured against cost, while profit/price is measured against the selling price. A 20% markup is a smaller share of the larger price, so it shows below 20%, and adding a selling fee lowers it further.
Is my data sent anywhere?
The arithmetic runs locally in your browser with JavaScript and needs no external pricing service. The calculator does not save recipes or accounts, and its copy and export features act on your device.
Why was my target rejected in margin mode?
In margin mode, target plus selling fee must be strictly below 100%. Otherwise the price formula has no valid positive result. Lower one of the two percentages.
Source
- Business Victoria, Calculate your breakeven point, margin and markup. Cited for the difference between margin and markup denominators. The fee-aware formulas on this page are algebraic extensions of the calculator's own stated assumptions.
Read the formula definitions, supported input ranges, and limitations before using this estimate.