Written by the Utiliby editorial team · Last updated October 13, 2026 · Rules and formulas reviewed October 2026
What this free recipe cost calculator does
Knowing what a recipe really costs is the first step to pricing food for sale, trimming a household budget or deciding whether a homemade version is cheaper than the shop's. This free online recipe cost calculator turns a list of ingredients into a total recipe cost, cost per serving, food cost percentage and a suggested menu price.
You enter each ingredient with the amount the recipe uses, the price you paid and the size of the package. The calculator converts between units (it knows about cups, spoons, grams, ounces, pounds, litres and counts), accounts for trimming waste with a yield percentage, and adds packaging, labour and overhead if you want them. A second tab turns costs into a price, and a third compares the unit price of any ingredient. It runs in your browser and saves your recipe on your own device.
How to use the recipe cost calculator
- Name the recipe and enter how many servings it makes. To see the cost of a bigger or smaller batch, change the "scale to" servings.
- Add ingredients. For each row enter the name, the amount the recipe uses and its unit, the price you paid for the package, the package size and its unit. Pick names from the suggestions (flour, butter, milk, sugar and so on) so the calculator can convert between volume and weight.
- Set yield %. If you lose part of the ingredient to peeling, trimming or cooking, enter the usable percentage (for example 80 for carrots).
- Add labour, overhead and packaging if you want the full cost.
- Open the Menu price tab to turn costs into a price using a target food cost percentage, a markup or a profit margin, or to test a price of your own.
- Print, download or copy. The export contains only the active tab.
How to cost a recipe: formulas and an example
Ingredient cost = package price × (amount used ÷ package size) ÷ yield. Cost per serving = total cost ÷ servings. Food cost % = food cost per serving ÷ menu price × 100. Menu price = food cost per serving ÷ target food cost %.
Worked example (the default recipe). A batch of 24 chocolate chip cookies uses 2¼ cups of flour, 1 cup of butter, ¾ cup of white sugar, ¾ cup of brown sugar, 2 eggs, a 12 oz bag of chocolate chips, 2 teaspoons of vanilla, and a little baking soda and salt. At typical US supermarket prices the ingredients come to about $9.59, which is about 40 cents per cookie. At a 30% target food cost the cookie would sell for about $1.33. Chocolate chips and butter are over two thirds of the cost, so those are the lines to shop around.
Unit conversions and ingredient densities
Recipes are written in cups and spoons, but ingredients are priced by weight. To bridge the two, the calculator uses average grams per US cup for common ingredients:
| Ingredient | Grams per cup | Ingredient | Grams per cup |
|---|---|---|---|
| All-purpose flour | 125 | Butter | 227 |
| Granulated sugar | 200 | Brown sugar (packed) | 213 |
| Powdered sugar | 120 | Honey | 340 |
| Milk | 245 | Vegetable oil | 218 |
| Rice (uncooked) | 185 | Rolled oats | 90 |
| Cocoa powder | 85 | Chocolate chips | 170 |
These are averages. Flour packed into a cup can weigh 20% more than flour spooned and levelled, and brands differ. For the most accurate costing, weigh ingredients in grams when you can. When the used unit and the package unit are both weights, or both volumes, or both counts, no density is needed.
Yield percentage and edible portion cost
Many ingredients lose weight before they reach the plate. As purchased (AP) cost is what you pay; edible portion (EP) cost is what you actually use: EP cost = AP cost ÷ yield. Typical yields are approximate and depend on the item and your trimming:
| Ingredient | Typical yield |
|---|---|
| Onions, peeled | about 90% |
| Carrots, peeled and trimmed | about 80 to 85% |
| Potatoes, peeled | about 80 to 85% |
| Bell peppers, seeded | about 80 to 85% |
| Celery, trimmed | about 75 to 85% |
| Fresh herbs, leaves only | about 50 to 70% |
| Pineapple, peeled and cored | about 50% |
| Whole fish to fillets | about 35 to 45% |
| Trimmed beef roast | about 80 to 90% |
Enter your own yield from a test: weigh the item, trim it and weigh what you keep. Cooking loss (meat shrinking in the oven) is a separate matter, but you can include it in the yield if your recipe uses cooked weight.
Food cost percentage benchmarks
| Business | Typical food cost % |
|---|---|
| Full-service restaurant | 28 to 35% |
| Pizzeria | 25 to 30% |
| Fast food and quick service | 25 to 32% |
| Cafe, coffee and tea drinks | 15 to 25% |
| Bar (beverage cost) | 18 to 25% |
| Bakery and cottage food | 25 to 35% (about 3× ingredient cost) |
| Catering | 25 to 35% |
These are rules of thumb that differ by region and concept. A fine-dining restaurant with expensive ingredients may run a higher food cost and charge for the experience; a cafe selling coffee has a very low one. Use them as a starting point and let your real labour, rent and sales volume decide.
Three ways to set a menu price
- Target food cost %: price = food cost ÷ target %. Simple and the most common. 30% means the price is about 3.3 times the food cost.
- Markup multiple: price = food cost × multiple. A 3× markup equals a 33% food cost.
- Profit margin: price = total cost ÷ (1 − margin). A 25% margin on a $5 total cost gives $6.67. Use this when you want a specific profit after labour and overhead.
The Menu price tab shows all three results (one at a time) and a table of prices at food cost targets from 20 to 40%, plus friendly price points such as $x.49 or $x.95. It also shows profit per serving, gross margin and prime cost, and weekly and monthly profit if you enter how many servings you sell.
Labour, overhead and prime cost
Ingredients are only part of the story. Labour is hours × hourly rate (include your own time if you are self-employed). Overhead covers rent, utilities, equipment, insurance and fees; here it is entered as a percentage of ingredient cost for simplicity. Prime cost is food plus labour and is one of the most-watched numbers in restaurants, usually held under about 65% of sales. If your profit per serving is negative, the calculator highlights it.
Ways to lower your recipe cost
- Check the biggest line on the cost breakdown first; a 10% saving on your largest ingredient beats a 50% saving on a pinch of spice.
- Compare unit prices with the Price per unit tab, because the bigger package is not always cheaper per ounce.
- Buy in-season produce and store brands for staples such as flour, sugar and oil.
- Cut waste: raise your yield by trimming less aggressively and using trimmings in stocks.
- Adjust portion size rather than quality, and check that every garnish earns its cost.
- Scale recipes to batch sizes that use whole packages, so nothing is left over to spoil.
Scaling a recipe and batch costing
Because costs are proportional to amounts, you can scale a recipe by multiplying every quantity by the same factor. Enter the number of servings you make now and the number you want, and the breakdown table shows the scaled amounts and costs. Beware that some things do not scale linearly: spices and leavening, cooking times and equipment capacity. Round packaged items up to whole units when you shop.
Recipe costing for home bakers and cottage food sellers
If you sell cakes, cookies or preserves from home, the cost of ingredients is typically a third or less of the price. The rest pays for your time, packaging, fees, the cost of cooking energy, equipment wear and a small profit. Many home bakers undercharge because they leave out labour. Enter an honest hourly rate, add packaging per serving (box, ribbon, label) and check the price against what your market will pay. Cottage food laws vary by location, so check the rules for labels, licences and permitted products before selling.
Recipe costing for restaurants, caterers and meal prep
Professional kitchens cost every recipe, called plate costing, and review it whenever supplier prices change. Use the yield percentage for trimmed produce and proteins, enter portion sizes carefully, and update package prices from your latest invoices. For meal prep and catering, scale to the number of portions you will make and use the batch total for the shopping budget. Combine the Menu price tab's prime cost with your actual sales to see which dishes earn their place on the menu.
Common recipe costing mistakes
- Forgetting small items such as oil, salt, spices and garnishes, which can add 5 to 10% to the cost.
- Ignoring trimming and cooking loss.
- Using shelf prices that do not match what you actually paid, such as sale prices or bulk prices you no longer buy.
- Mixing up fluid ounces and ounces by weight.
- Leaving out packaging and labour.
- Not updating prices for months.
Privacy
All calculations run in your browser. Your recipe is saved only in your own browser's local storage so it is there when you return. It is never uploaded. You can remove it with the reset button or by clearing your site data.
Related free tools
Use these free online tools together with this one:
- Work out dough quantities with the pizza dough calculator.
- Plan roasting and grilling times with the meat cooking time calculator.
- Create a nutrition facts label with the nutrition facts label generator.
- Compare ingredient prices per unit with the unit price calculator.
- Compare ingredient suppliers with the vendor comparison tool.
- Organise prep and catering tasks with the Kanban board.
Frequently asked questions
How do I calculate the cost of a recipe?
List every ingredient with the amount the recipe uses, the price you paid and the size of the package. For each ingredient, cost = package price × (amount used ÷ package size). Add all the ingredient costs, then divide by the number of servings. The calculator converts between cups, grams, ounces and pounds for you.
How do I work out cost per serving?
Cost per serving = total recipe cost ÷ number of servings. For example, a $9.59 batch of 24 cookies costs about $0.40 per cookie in ingredients. Add packaging, labour and overhead for the full cost per serving.
What is food cost percentage and how is it calculated?
Food cost percentage = food cost per serving ÷ selling price × 100. A dish with $3 of ingredients sold for $10 has a 30% food cost. Many restaurants aim for 28 to 35%, but the right level depends on the business.
How do I price a menu item from its cost?
Divide the food cost by your target food cost percentage. With $3.00 of food cost and a 30% target, the price is $3.00 ÷ 0.30 = $10.00. You can also use a markup multiple (food cost × 3.33) or a margin on total cost. The Menu price tab does all three.
What is a good food cost percentage?
As a general guide, full-service restaurants often run 28 to 35%, pizzerias 25 to 30%, cafes and coffee drinks 15 to 25%, and bars 18 to 25%. Home bakers who sell often price at about three times ingredient cost. These are rules of thumb, not requirements.
What is yield percentage and why does it matter?
Yield is the share of a purchased ingredient that ends up usable after trimming, peeling or cooking. If you buy 1 kg of carrots and 800 g are usable, the yield is 80% and your real cost is the price divided by 0.80. Ignoring yield understates your cost.
What is the difference between AP and EP cost?
AP (as purchased) cost is what you pay for the whole item. EP (edible portion) cost is the cost of the part you actually use. EP cost = AP cost ÷ yield percentage. Enter the yield % in the calculator to get EP costing automatically.
Does the calculator convert cups to grams?
Yes. It has built-in average densities for about 90 common ingredients such as flour, sugar, butter and milk. If you buy flour by the pound and use it by the cup, type 'flour' in the name and the calculator converts it. If an ingredient is not recognised it assumes the density of water and shows a warning.
Can I include labour and overhead?
Yes. Enter the hours of labour and the hourly rate, plus an overhead percentage of ingredient cost and any packaging per serving. The calculator reports food cost, prime cost and total cost per serving separately.
What is prime cost?
Prime cost is food cost plus labour cost, usually shown as a percentage of sales. Restaurants often aim to keep prime cost around 60 to 65% of sales. The Menu price tab shows your prime cost percentage.
How do I scale a recipe and see the new cost?
Enter the number of servings the recipe makes and the number you want. All amounts and costs in the breakdown scale proportionally, so you can see the cost of a batch for 6, 24 or 100 servings.
How do I cost a recipe for a bakery or cottage food business?
Include every ingredient, packaging and your time. A common starting rule is to charge at least three times the ingredient and packaging cost, then check that the price also covers labour, overhead, fees and profit. Check your local cottage food rules before selling.
Can I compare prices of different package sizes?
Yes. The Price per unit tab shows the price per gram, ounce, pound, kilogram, cup, tablespoon, teaspoon or item for any package, so you can compare brands and sizes fairly.
Does it work in euros, pounds or other currencies?
Yes. Choose the currency symbol in the settings. The calculator does not convert exchange rates; it only changes the symbol. Metric and US units are both supported.
Are my recipes saved?
The calculator saves your current recipe in your own browser (local storage) so it is there when you return. Nothing is sent to a server. Clearing your browser data, or using private browsing, removes it, and the Reset button restores the example.
Are prices updated automatically?
No. Prices change often, so the numbers come from what you enter. Update your package prices from time to time, especially for ingredients with volatile prices such as eggs, butter and cooking oil.
Can I print or export the cost breakdown?
Yes. Print / save as PDF prints only the tab you are viewing, CSV downloads the table for a spreadsheet and copy summary puts it on your clipboard.
Is this recipe cost calculator really free?
Yes. It is free to use with no sign-up, no limits on the number of recipes and no data collection.
Sources and further reading
- National Restaurant Association and culinary school textbooks on food cost percentage, plate costing and prime cost.
- USDA FoodData Central and USDA food yield tables, for typical edible-portion yields (values here are rounded approximations).
- King Arthur Baking ingredient weight chart, for grams-per-cup densities (rounded averages).
- Standard culinary math: AP versus EP cost, markup multiples and margin pricing.
Sources were consulted in October 2026. Standards and rules can change, so always check the official page for your situation.