Skip to content
JohnGuerrero chef · mentor · consultant

gastro píldoras — article

  • Projects

Why I built a free dish costing calculator

  • #free dish costing calculator
  • #how to cost a dish
  • #recipe costing
  • #food cost percentage
  • #kitchen tools
  • #chef resources
Chef's notebook, pencil, paring knife and pocket calculator lined up on the scratched steel of a kitchen pass, steam in the background

I’ve been asked “can you send me your costing spreadsheet?” so many times that I lost count years ago. On consulting jobs, in mentoring sessions, on training days inside kitchens turning over millions, and in corners where the chef was doing his sums on a phone calculator propped against the extractor hood. Always the same request. And always the same picture: a tool that ought to be as basic as sharpening a knife still living on napkins, smudged whiteboards and spreadsheets that everyone cobbles together as best they can.

That constant repetition led me to an uncomfortable conclusion: after decades building costings on whatever surface was in front of me — from a bar napkin to the shared spreadsheet of seventeen operations at once: restaurants, dark kitchens and a central kitchen, each with its own size, demand and team, at our busiest — professional kitchens still had nowhere to cost a dish in thirty seconds, with no sign-up, no catches and the full formula.

So I built it myself. I’ve just published a free dish costing calculator on my site. It doesn’t ask for your email, it doesn’t store your data on any server, and it gives you the cost per portion including wastage, the recommended selling price with VAT and the real food cost. The interface is in Spanish, since that’s the language of the kitchens I work with, but the numbers read the same in any language. I’ve paired it with a guide on how to cost a dish step by step, with the formula and a worked example from start to finish, because a tool without judgement is just a box of numbers.

This is the story of why I made it and what sits behind the decisions.

A cook's hands with a pencil beside a paper napkin on the corner of the pass mid-service, plated dishes blurred in the background

What annoyed me about what’s already out there

I’m not going to point the finger at anyone. But I’ve spent years watching a pattern that irritates me: online tools that want your email before they’ll let you calculate anything. Or that drop you into a three-screen sales funnel before releasing a half-finished result. Or templates that ignore wastage as if nothing in a kitchen ever got trimmed, reduced or binned. Or calculators that give you the cost but not the selling price, as if the number that mattered weren’t the one the customer pays.

I’ll be as honest as I can: I sell templates and software too. My group has costing spreadsheets and a management platform where costing sits connected to purchasing and stock. This free calculator doesn’t compete with those products: it solves the one-off moment, the quick sum, the urgent question. The products solve the daily operation. They’re different things and I’ve no problem saying so.

That’s why this calculator is genuinely free. No asterisks. No “leave us your email and we’ll send you the result”. No “sign up to save your recipes”. You open it, you put in the ingredients with their costs and wastage, and you have your numbers. Full stop.

The three decisions

When I sat down to decide what this tool was going to be, I made three decisions that weren’t up for negotiation. All three come from having been burned by other people’s tools myself, and from having watched too many cooks get frustrated with solutions that promise and don’t deliver.

The first: no sign-up. Nobody should have to hand over their email to find out what their dish costs. Costing is a basic right of the trade, not a sales lead. If tomorrow you want to buy a template or talk about mentoring, you’ll come and find me. But today’s calculation shouldn’t cost you a single piece of personal data.

The second: your data doesn’t leave your browser. Everything you enter — ingredients, prices, wastage, portions — is stored only on your own machine, using localStorage. It doesn’t pass through my server. I don’t see it and neither does anyone else. Clear your browser and it’s gone. It’s privacy by design, not by promise. At a time when everyone wants your data to train something or sell you something, it mattered to me that this tool should be the exact opposite: a closed space that only you control.

The third: the full formula. Wastage included. Selling price with VAT. Real food cost. None of those toy calculators that tell you what a loin costs without mentioning that you lose 15% trimming it. I’ve been doing costings since I walked into a professional kitchen at 17, and I know the devil is in the detail: whether you apply wastage before or after working out the cost per kilo, whether VAT sits inside or outside the margin, whether your food cost is calculated on the net or the gross selling price. This tool does the sums the way I do them when I sit down properly with a client.

What I learned building it

My personal site had, until now, been a deliberately JavaScript-free place. Just HTML, CSS and a clock. No frameworks, no dependencies, nothing to track. An almost aesthetic decision: I wanted my digital home to be fast, light and quiet.

Breaking that rule needed a good reason. A dish costing calculator can’t exist without JavaScript. You need to add ingredients dynamically, recalculate in real time, apply percentages on the fly. It was the first exception worth making. So the calculator is the only page on my site that runs script. And it does it with the bare minimum: vanilla JavaScript, no external libraries, no trackers. If you don’t enter anything, nothing happens. If you do, it all happens on your machine.

There was another lesson I wasn’t expecting. Writing the guide that goes with the calculator forced me to squeeze the whole method I’ve been refining since I started in this trade at 17 into a formula that fits on one line. Explaining step by step how to work out the cost per portion — with wastage, with real yield, with margin and VAT — forced me to distil everything I’ve done on whiteboards, napkins and spreadsheets down to a clear protocol. That guide is published alongside the tool and I think, on its own, it’s already worth more than a lot of the training I’ve seen out there.

A perfectly ordered mise en place on steel: trays of prepared vegetables in a row, a folded cloth, a knife lined up and a closed notebook

Who it’s for (and who it isn’t)

This calculator is for the cook who needs to cost a dish right now. For the hospitality student learning to build their first costings and who doesn’t want to get lost in somebody else’s spreadsheet. For the food truck just getting going that needs to know whether its burger has a margin or is a black hole. For the chef in an impromptu meeting who wants a quick number before committing to a price.

It’s not for anyone who needs costing wired into purchasing and stock every day. If your operation needs the cost of every dish to update automatically when the price of oil goes up or a supplier’s yield changes, this will come up short. That’s what management software is for, and I’ll say it plainly: my group has one where costing is tied to spec sheets, purchasing and stock. This calculator doesn’t compete with that. It solves the moment. The software solves the daily operation.

Frequently asked questions

Is it really free and with no sign-up?

Yes. You go in, put in your ingredients with their costs and wastage, and you get the cost per portion, the recommended selling price and the food cost. No email, no hidden forms, no checkout. The tool is there for whoever needs it.

Where is my data stored?

Only in your browser, through localStorage. Your ingredients, prices and calculations don’t leave your machine. Close the browser and come back and the data is still there. Clear your local storage and it’s gone. I have no access to it and I don’t want any.

What if it isn’t enough for me?

If you need more — multiple recipes, a link to purchasing, cost history — that’s exactly what Miselup (se abre en una pestaña nueva) does: it’s the group’s tool specialising in costing, and there all of that lives integrated instead of scattered across loose sheets. If you’d rather stay in Excel, I also have costing templates (se abre en una pestaña nueva). And if you want us to work through the real numbers of your kitchen together, in mentoring we open up your costings, your margins and your profit and loss.

The calculator is live from today: free dish costing calculator. It’s not a promise or a launch with a countdown: it’s a tool I built because I’d have loved to have it when I started out. If it helps, use it. If something’s missing, tell me.

This article is part of a build notebook where I write about what I’m building, why I’m building it and what I learn along the way. If you want to follow the thread, it’s at /construyendo.

Need a hand with your idea or your business? Drop me a message!