Skip to content

Finance· 12 min read· Dishment team

Food cost calculator: a free Excel template with formulas

A ready-made food cost calculator for Excel or Google Sheets: sheets for ingredient prices, the dish card, the menu and weekly food cost, formulas to copy and a worked lula kebab example.

Free Excel templateFood cost calculatorThe article’s tables and formulas, ready to use — opens in Excel and Google Sheets.

Working out food cost once on paper is easy. The hard part is redoing it every week and after every price change. That's what a simple food cost calculator is for: you change an ingredient's price in one place, and the cost and food cost percentage of every dish update by themselves.

This article gives you a ready-made food cost calculator template for Excel or Google Sheets: four sheets, what each column means and formulas you can copy. The examples use lula kebab and lentil soup. All prices are illustrative, so plug in your own suppliers' figures. We explained what food cost is and what percentage counts as normal in a separate article: food cost calculation.

What a food cost calculator works out

The calculator answers two questions:

  • What does one portion cost, and what is its food cost percentage? Food cost % = portion cost ÷ selling price × 100.
  • How much stock did the kitchen actually use this week? Food cost % = (opening stock + purchases − closing stock) ÷ kitchen sales × 100.

The first number is "what it should be", the second "what it was". The gap between them is loss: over-portioning, spoiled stock, write-offs nobody recorded. A good template shows both side by side.

How the template is built: four sheets

SheetWhat it's forHow often to update
IngredientsPurchase price and standard loss % for every ingredientWith every supplier invoice
CardCosting one dish: gross, loss, net, cost, food costWhen the recipe changes
MenuCost, price, percentage and margin of every dishWeekly
WeekActual food cost: stock, purchases, salesWeekly, after the stock count

Copy the tables below into your own file. The formulas refer to the column letters, so keep them as they are.

Sheet 1: Ingredients (the price list)

Each ingredient goes in once, on one row. The dish cards take prices from here, so when a price changes you update only this sheet.

A: CodeB: IngredientC: UnitD: Purchase price, ₼E: Standard lossF: SupplierG: Price date
M01Minced lambkg16.000%
M02Onionkg1.2015%
M03Lavasheach0.300%
M04Tomatoes and pepperskg3.0010%
M05Herbs and sumackg8.0020%
M06Salt, pepperkg2.000%
M07Red lentilskg3.500%
M08Carrotkg1.0020%
M09Butterkg14.000%
M10Lemonkg4.000%
M11Flour and spicesset0.300%

Two rules: always use the same unit (if you buy herbs by the bunch, weigh one bunch once and convert to a price per kilo), and record every price on the sheet the same way, either with VAT or without.

The cost and margin report in Dishment: revenue, cost of goods sold, gross profit and margin
Food cost report: 1,014.44 ₼ cost of goods on 6,789.55 ₼ revenue, a food cost of about 15% (demo data)

Sheet 2: Card (costing one dish)

Dish settings at the top, ingredients below. Example: lula kebab, one portion.

CellWhat it isExample
B1DishLula kebab
B2Yield (number of portions)1
B3Menu price, ₼14.00
B4Price includes VAT? (Yes / No)No
B5Target food cost32%

Ingredients start on row 8:

A: CodeB: IngredientD: GrossE: LossF: NetG: Price, ₼H: Cost, ₼
M01Minced lamb0.250 kg0%0.250 kg16.004.00
M02Onion0.060 kg15%0.051 kg1.200.07
M03Lavash10%10.300.30
M04Tomatoes and peppers0.150 kg10%0.135 kg3.000.45
M05Herbs and sumac0.030 kg20%0.024 kg8.000.24
M06Salt, pepper0.005 kg0%0.005 kg2.000.01
Total5.07

Result: the portion costs 5.07 ₼, food cost is 5.07 ÷ 14.00 = 36.2%, and the margin per portion is 8.93 ₼. With a 32% target, the suggested price is 5.07 ÷ 0.32 = 15.85 ₼, or 15.90 ₼ rounded. Raising the price isn't the only lever: check the portion size and the supplier too.

Note that cost is calculated from the gross weight, because that's what you pay for. The net column is for the kitchen, so the cook knows what goes on the plate.

Formulas for the Card sheet

Enter these on row 8 and fill down:

  • B8 (ingredient name): =XLOOKUP(A8,Ingredients!A:A,Ingredients!B:B,"")
  • E8 (loss, can be overwritten): =XLOOKUP(A8,Ingredients!A:A,Ingredients!E:E,0)
  • F8 (net): =D8*(1-E8)
  • G8 (price): =XLOOKUP(A8,Ingredients!A:A,Ingredients!D:D,0)
  • H8 (cost): =D8*G8

Totals (for example on rows 20–26):

  • Batch cost: =SUM(H8:H19)
  • Portion cost: =SUM(H8:H19)/B2
  • Price excluding VAT: =IF(B4="Yes",B3/1.18,B3)
  • Food cost %: portion cost ÷ price excluding VAT, formatted as a percentage
  • Margin, ₼: price excluding VAT − portion cost
  • Suggested price: =CEILING(portion_cost/B5,0.1); if you are VAT-registered, multiply the result by 1.18.

If your version of Excel doesn't have XLOOKUP, use VLOOKUP instead: =VLOOKUP(A8,Ingredients!A:G,4,FALSE). Depending on your regional settings, Excel may expect semicolons instead of commas between arguments.

Dishes cooked in batches: lentil soup

Soup, plov and sauces aren't cooked one portion at a time. For these, put the number of portions the batch yields in B2. Example: one pot, 10 portions.

IngredientGrossPrice, ₼Cost, ₼
Red lentils1.000 kg3.503.50
Onion0.300 kg1.200.36
Carrot0.200 kg1.000.20
Butter0.100 kg14.001.40
Lemon (to serve)0.200 kg4.000.80
Flour and spices1 set0.300.30
Total, 10 portions6.56

A portion costs 6.56 ÷ 10 = 0.656 ₼, or 0.66 ₼ rounded. At 4.50 ₼ the food cost is 14.6% and the margin 3.84 ₼. Soup is cheap and pulls the menu's average percentage down, while the kebab pushes it up. That's why you track food cost across the whole menu as well as dish by dish.

Sheet 3: Menu (every dish in one place)

One row per dish. Column B links to the dish's card sheet (for example =Card!H21), and column F is the weekly number sold from your till report.

A: DishB: Cost, ₼C: Price, ₼D: Food costE: Margin, ₼F: SoldG: Total margin, ₼H: Status
Lula kebab5.0714.0036.2%8.931801,607.04Check
Lentil soup0.664.5014.6%3.84140538.16OK
Plov4.3014.0030.7%9.701201,164.00OK
Herb qutab1.465.0029.2%3.54150531.00OK
Tea set2.4012.0020.0%9.6090864.00OK

Formulas: D = =B2/C2, E = =C2-B2, G = =E2*F2, H = =IF(D2>Target,"Check","OK"). Keep the target in its own cell, for example 32%, and use conditional formatting to colour the rows above it.

Theoretical food cost for these five dishes: =SUMPRODUCT(B2:B6,F2:F6)/SUMPRODUCT(C2:C6,F2:F6) = 1,956 ÷ 6,660 = 29.4%.

The table shows something worth noticing: the kebab has the highest percentage, but it also brings in the most margin each week. Dropping it from the menu because of the percentage alone would be a mistake. To judge sales and margin together, see restaurant menu engineering.

The tech card list in Dishment: dish price, cost and margin
Tech cards: every dish’s cost and margin in one list, with dishes that have no card flagged (demo data)

Sheet 4: Weekly food cost (actual vs theoretical)

This sheet compares "what it should be" with "what it was". Stock figures come from the stock count, purchases from invoices, sales from the till report.

A: WeekB: Opening stock, ₼C: Purchases, ₼D: Closing stock, ₼E: Used, ₼F: Kitchen sales, ₼G: Actual food costH: Theoretical food costI: Gap, ptsJ: Gap, ₼
12,8006,1002,6006,30019,50032.3%29.8%2.5489
2
3
4

Formulas: E = =B2+C2-D2, G = =E2/F2, I = =(G2-H2)*100, J = =E2-H2*F2. Next week's opening stock is this week's closing stock: B3 = =D2.

In the example, the recipe cards say the kitchen should have used 5,811 ₼ of stock; it actually used 6,300 ₼. That 489 ₼ gap in one week is about 2,000 ₼ a month. If the gap is more than a point, look for the reason: portion sizes, unrecorded write-offs, a loss % missing from a card, or theft. On recording write-offs properly: restaurant food write-off log. On counting stock: restaurant inventory count.

DISHMENT

Want to see this in your restaurant?

We'll show you Dishment on your own menu in 30 minutes.

Free demo

Using it in Google Sheets

The same formulas work in Google Sheets, XLOOKUP included. The upside: the manager and the chef can open the file at the same time, version history is kept and you can check it from a phone. One rule: only one person edits the Ingredients sheet, everyone else gets view-only access. Otherwise someone deletes a price by accident and every card shows zero.

Common mistakes

  • Costing from net weight. The card looks cheap and the stockroom comes up short.
  • Not updating prices. The supplier has raised the price of meat, and the Ingredients sheet still shows the old one.
  • Forgetting what goes on the side. Lavash, lemon, sauce and yoghurt are part of the portion cost.
  • Watching the percentage and forgetting the margin. A cheap dish with a low percentage can earn less than an expensive one with a high percentage.
  • Never measuring actual food cost. The cards only say what it should be. Without the Week sheet you won't see your losses.

Where Excel runs out

A food cost calculator in Excel works comfortably up to about 20–30 dishes. After that the friction starts: copying prices from every invoice by hand, typing in weekly sales from the till report, linking prep items from card to card. Excel also doesn't deduct stock as dishes sell, so you still count what's on the shelf by hand.

In Dishment's Inventory and recipes module this happens on its own. Recipe cards are written with gross, loss % and net, every dish sold deducts its ingredients automatically, and cost and margin are calculated at the average purchase price. Dishes without a card show up in a separate list. The stock count puts book and actual stock side by side and shows the value of the difference in manat, which is the Week sheet's job done for you. We showed how to write a recipe card in a separate article: restaurant recipe card template. For the full profit picture: restaurant profit margin.

If your sheet is already filled in, the work isn’t lost: in Dishment the ingredient list, tech cards and opening stock load from that same file with «Import from Excel» in Back Office. The columns are recognised for you, and rows with errors show up before anything is saved.

FAQ

What is a food cost calculator?

A spreadsheet or program that takes a dish's ingredients and their prices and works out the portion cost and the food cost percentage. A good one also suggests a selling price and shows your actual weekly food cost.

How do I get the Excel template?

Copy the four tables from this article into Excel or Google Sheets, keep the column letters and enter the formulas in the cells shown. Replace the example figures with your own prices.

What should my food cost percentage be?

It depends on the format: often 25–35% for fast food and cafes, lower for drinks. Treat it as a benchmark, not a rule: track your own numbers for a few weeks and set your own target.

Should food cost use the price with or without VAT?

Without VAT, if you are VAT-registered. Otherwise the percentage looks lower than it really is. Cell B4 in the template handles this automatically.

When is Excel no longer enough?

When the menu passes 30 dishes, prep items multiply and you want stock levels to follow sales automatically. At that point restaurant software with inventory and recipe cards saves both time and money.

DISHMENT

Try it free for 30 days

We open the account and move your menu over together. No card needed.

30 days free

Dishment

Meet your next Friday rush with Dishment

Sifariş№ 001

30 days free. We'll move your menu over together and train the team. No card needed.

or write to us WhatsApp · +994 50 563 86 36