Recipe Cost Calculator (Cost per Serving)
Work out the cost of a recipe and the cost per serving from each ingredient's package price and the amount used, with a menu price for a target food cost.
Results are planning estimates based on the values you enter. Check local rules, prices and real-world details before relying on them.
How do you calculate the cost of a recipe?
Recipe costing works out how much of each package a recipe uses and what that portion costs, then adds the portions together. Dividing by the number of servings gives a cost per serving, which helps with home budgeting, meal planning and pricing food for sale.
How to use this calculator
Add each ingredient with the price you paid for the package, the package size and how much the recipe uses, in the same unit (grams, millilitres or items). Enter the number of servings. Optionally add a target food cost percentage to see a menu price.
Formula
Ingredient cost = package price × amount used ÷ package size. Recipe cost = sum of ingredient costs. Cost per serving = recipe cost ÷ servings. Menu price for a target food cost = cost per serving ÷ (food cost % ÷ 100).
Terms in the formula
- Package price
- What you paid for the whole pack.
- Amount used
- How much of the pack the recipe uses.
- Food cost %
- Ingredient cost as a share of the selling price.
Understanding your result
The ingredients are listed from most to least expensive, so you can see what drives the cost. The cost per serving is the figure to compare between recipes. For selling food, the menu price at your target food cost is a starting point before adding packaging, labour and overheads.
Calculator credits
Calculator developmentJulia Edwards
Editorial supervisionSamad Aslam Khan
Published byThe Calculatorz
Last updated
Read how we research, test, review and correct our calculators in our editorial policy.
Frequently asked questions
How do I calculate the cost of a recipe?
For each ingredient, divide the package price by the package size to get the price per gram (or per item), multiply by the amount used, then add all ingredients.
What is food cost percentage?
Ingredient cost as a share of the selling price. Many restaurants aim for roughly 25–35%, leaving the rest for labour, overheads and profit.
Should I include spices and oil?
Yes, if you want an accurate cost. Small amounts of many ingredients add up, so include them with a small amount used.
How do I handle items sold by count, like eggs?
Use count as the unit: a dozen eggs has a package size of 12, and using 3 eggs means an amount of 3.
Does this include energy and labour?
No, it covers ingredients only. Add an allowance for energy, packaging and labour if you are pricing food to sell.
How can I make a recipe cheaper?
Look at the most expensive ingredient in the results, which often makes up half the cost, and compare brands, pack sizes or substitutes.
References & methodology sources
These sources support the calculator’s formula, definitions, thresholds, units or result interpretation.
- National Institute of Standards and Technology. (2026). NIST Handbook 130, Section IV.C: Uniform unit pricing regulation. View source
- Marecek, L., Anthony-Smith, M., & Honeycutt Mathis, A. (2020). Solve proportions and their applications. In Prealgebra 2e (Section 6.5). OpenStax. View source
- U.S. Food and Drug Administration. (2013). Guidance for industry: Guidelines for determining metric equivalents of household measures. View source
- U.S. Department of Agriculture. (2024). FoodData Central foundation and documentation. View source