You can run a busy cafe all day and still lose money, and when it happens the leak is almost always on the plate. A dish that costs more to make than its price allows loses a little on every serve, quietly, hundreds of times a week. A food cost calculator is how you find that leak before it opens, by putting a real number on what each item costs to make.
This guide covers the food cost formula, a worked example on yielded weight, how to turn a target into a price, and how to keep the numbers honest once you are trading.
The food cost formula, in one line
A food cost calculator is built on a single calculation. Food cost percentage is the cost of the ingredients in a dish divided by its sell price, times 100.
| Food cost percentage | (ingredient cost of the dish ÷ sell price) × 100 |
The result tells you what share of the sale price is consumed by ingredients. A 30 percent food cost means 30 cents in every dollar goes on the ingredients, leaving 70 cents to cover labour, rent, overheads, and profit. The lower the number, the more of each sale is left over, but only if the number is honest, which is where the detail matters.
Cost on what reaches the plate, not what you bought
This is the step that separates a calculator that helps from one that flatters you. You rarely sell everything you buy. Trim, peel, waste, and cooking loss all mean the usable quantity is less than the purchase quantity, so the true cost per usable gram is higher than the price on the invoice.
Cost a dish on what you paid at the door and the food cost looks lower than it really is, and your margin is thinner than the number suggests. Cost it on the yielded, usable weight and the calculator tells the truth.
A kilo of avocados is not a kilo of usable flesh. Once you remove the skin and stone you might keep around 70 percent, so a kilo bought at $8 costs closer to $11.40 per usable kilo. Apply the same thinking to trimmed meat, drained tins, and anything that loses weight in prep or cooking.
A worked example: costing smashed avocado on toast
Take a cafe staple and cost it properly, ingredient by ingredient, on yielded weight, including the small things that are easy to leave out.
| Ingredient | Cost per serve |
| Avocado (yielded) | $1.70 |
| Sourdough, two slices | $0.80 |
| Feta | $0.60 |
| Lemon, oil, salt, chilli | $0.25 |
| Garnish and micro herbs | $0.15 |
| Total dish cost | $3.50 |
Sell it at $12 and the food cost is 3.50 divided by 12, which is about 29 percent. That sits inside a healthy range, so the dish earns its place. Leave out the oil, lemon, and garnish, the parts a rushed costing usually drops, and you would have costed it at $3.10 and read 26 percent, understating the true cost on every serve. Small omissions, multiplied across a week of covers, are exactly where a menu quietly underperforms.
Working the calculator backwards to set a price
Once you can cost a dish, you can use the same calculator in reverse: start from the food cost you want and solve for the price. This is how you price to a margin instead of guessing at a number and hoping it works.
| Sell price | dish cost ÷ target food cost (as a decimal) |
Take the $3.50 dish and a 30 percent target. Divide 3.50 by 0.30 and you get about $11.67, which you round to a sensible menu price such as $12. Want a tighter 28 percent food cost instead? Divide 3.50 by 0.28 for $12.50. The calculator gives you the price the margin requires, then you make a judgement call on where it sits against your market. For the full method, see our guide on how to price a cafe menu.
The sell prices here are the menu prices your customer pays, which include GST. Keep GST in mind when you reconcile takings, and note that cafe GST has wrinkles worth checking, such as some items being treated differently for dine-in and takeaway.
From one dish to the whole menu
A single dish at 29 percent does not make a healthy cafe. The menu as a whole does. Some items run lower, coffee and drinks especially, and some food dishes run higher, and what matters is where the blended food cost lands across the mix you actually sell.
That is why costing every item matters, not just the obvious ones. A calculator applied to the whole menu shows you which dishes carry the margin, which drag on it, and where a small reprice or a portion tweak lifts the blended number. Pair the food cost work with your target range in our guide on what food cost percentage a cafe should aim for, and the method behind it in how to cost a cafe menu.
Do not forget to cost the coffee
Coffee is where a cafe makes much of its money, and it is the item founders are most likely to cost by feel rather than by calculator. The same formula applies, and the small components matter just as much as they do on a plate.
Cost a flat white and you count the dose of ground coffee, the milk, the cup or the washing cost for a ceramic, the lid, and the sugar. A single serve looks like cents, which is exactly why it gets waved through, but coffee sells in the hundreds per day, so a few cents of uncosted milk or an over-generous dose moves real money over a week.
| Component | Cost per serve |
| Coffee dose (yielded from the bag) | $0.45 |
| Milk | $0.35 |
| Cup and lid | $0.22 |
| Total drink cost | $1.02 |
Sell it at $5 and the food cost is about 20 percent, healthier than most food dishes, which is why drinks carry the blended number. But dose the coffee heavier or pour milk without measuring and that number climbs faster than you would expect. Costing the coffee with the same calculator you use for food is what keeps your best-margin line performing.
A calculator is only as good as its last update
The weakness of a one-off calculation is time. Supplier prices move, portions creep, and a menu costed once at opening slowly drifts out of date. A dish that read 29 percent in summer can be well past target by winter with no change to the recipe, purely because the ingredients cost more.
A spreadsheet does the maths for one dish, but keeping it current across a whole menu means editing formulas by hand every time a price changes, which almost never happens once service takes over. The value of a live calculator is that it updates when a price or portion moves, so the numbers stay honest without the manual upkeep.
HospoSure costs every dish on yielded weight, keeps the numbers current against your supplier prices, and shows the food cost percentage and margin on each item as you build the menu. Start from a pre-costed recipe library and adjust, or build your own. A food cost calculator that never goes stale.
Cost your menu with HospoSureUsing a food cost calculator well
A founder who costs their menu properly:
- Uses the formula ingredient cost divided by sell price, times 100, on every dish.
- Costs on yielded weight, not purchase weight, so the number tells the truth.
- Includes the small ingredients, the oil, garnish, and milk that quietly add up.
- Works the calculator backwards to set prices from a target margin, not a guess.
- Costs the whole menu, knowing the blended food cost is what matters.
- Keeps it live, recalculating as prices and portions move.
A cafe food cost calculator turns the guesswork out of pricing and shows you, dish by dish, where your margin is made and where it leaks. Cost honestly, price to a target, and keep the numbers current, and the menu works as hard as the people making it.