Free Recipe Cost Calculator
A recipe cost calculator calculates the ingredient cost of a recipe based on the purchase price and quantity of each ingredient, then calculates the total recipe cost and cost per serving.
Runs in your browser — nothing you enter is sent or saved. Read the step-by-step guide.
Want to see how it works?
Try a sample recipe. No typing needed.
What do you actually pay for your ingredients? Enter the package size and price (e.g. a 5 lb bag for $20).
Add at least one ingredient in step 1 first.
Pricing is the most foundational — and most critical — piece of running a profitable menu. With Dinezy, ingredient and recipe costs are calculated automatically from your inventory data, so you can layer in labor and other operating costs on top and use real numbers to drive your pricing, marketing, and operations decisions — see it with your own inventory, free.
Worked Example: Chicken Parm From Purchase Price to Food Cost %
The sample recipe in the calculator is a 4-serving batch of Chicken Parm. Its ingredients cost $18.76 per batch, or $4.69 per serving, and at a $21.99 menu price its food cost is 21.3%. Here is the same math by hand, so you can check every number the calculator shows. Click Try Chicken Parm above to follow along.
Step 1: Turn each purchase price into a cost per unit
Divide what you paid by the package size. 10 lb of chicken breast bought for $32.00 works out to $32.00 ÷ 10 lb = $3.20 per lb.
Step 2: Multiply by the amount the recipe uses
Put the recipe amount in the same unit as the purchase first. The recipe uses 24 oz of chicken breast, which is 1.5 lb, so the chicken breast costs 1.5 lb × $3.20 = $4.80. Do the same for every ingredient:
| Ingredient | Bought as | Cost per unit | Recipe uses | Cost |
|---|---|---|---|---|
| Chicken breast | 10 lb for $32.00 | $3.20 / lb | 24 oz = 1.5 lb | $4.80 |
| Flour | 25 lb for $14.00 | $0.56 / lb | 4 oz = 0.25 lb | $0.14 |
| Egg | 30 for $9.00 | $0.30 each | 2 | $0.60 |
| Panko | 5 lb for $15.00 | $3.00 / lb | 8 oz = 0.5 lb | $1.50 |
| Parmesan | 5 lb for $38.00 | $7.60 / lb | 8 oz = 0.5 lb | $3.80 |
| Marinara | 1 gallon for $12.00 | $12.00 / gallon | 12 fl oz = 0.09375 gallon | $1.12 |
| Mozzarella | 5 lb for $22.00 | $4.40 / lb | 16 oz = 1 lb | $4.40 |
| Spaghetti | 10 lb for $16.00 | $1.60 / lb | 24 oz = 1.5 lb | $2.40 |
| Batch cost (4 servings) | $18.76 | |||
Each line is rounded to the cent, and the batch cost adds the unrounded amounts, the same way the calculator does. By hand, the marinara works out to $1.125 and the batch to $18.765; the calculator's unit conversion comes out a tiny fraction lower, so it shows $1.12 and $18.76. The cost per serving is $4.69 either way.
Step 3: Divide the batch cost by the number of servings
$18.76 ÷ 4 servings = $4.69 per serving. This is the food cost of one plate; the calculator shows it as Unit Cost.
Step 4: Compare the cost per serving with the menu price
Food cost % = cost per serving ÷ menu price × 100. At $21.99, that is $4.69 ÷ $21.99 = 21.3% (the calculator's Cost Ratio), and the profit per serving before labor and overhead is $21.99 − $4.69 = $17.30.
How do you calculate ingredient cost?
Ingredient cost = (purchase price ÷ package size) × quantity used, with both amounts in the same unit. Convert within the same kind of unit: weight to weight (oz, lb, g, kg; 16 oz = 1 lb), volume to volume (fl oz, cups, quarts, gallons, ml, liters; 128 fl oz = 1 gallon), or count to count. Converting between weight and volume, such as cups of flour to pounds, depends on the ingredient, so measure it the same way you buy it. If an ingredient loses weight in prep, such as trimmed chicken, enter the amount you take out of the package rather than the trimmed weight, so the trim is part of the cost.
How do you price a menu item from its cost per serving?
Menu price = cost per serving ÷ target food cost %. For the Chicken Parm, a 30% target gives $4.69 ÷ 0.30 = $15.63, and the typical 28–35% range gives $13.40 to $16.75. At $16.00, the dish would run 29.3%, inside that range; the sample's $21.99 price leaves more room, at 21.3%. These prices cover ingredients only, so labor and overhead come out of what is left.
A calculator gives you a snapshot at today's prices. In Dinezy, recording a delivery at a new price recalculates every recipe that uses that ingredient.
What Happens Next Week?
Prices
What happens when your ingredient prices change?
Recipes
What happens when a recipe changes?
Locations
What happens when you manage more than one location?
Dinezy keeps the pieces connected.
See how Dinezy worksWhy Recipe Costing Matters
Restaurant margins leave very little room for a recipe that's costed wrong. A few numbers that put that in perspective — and if you're ready to see how recipe cost rolls up into full restaurant-wide food cost, see what a food cost calculator needs to track.
28–35% of revenue is a typical restaurant food cost benchmark
That range is the standard operators are measured against — a couple of points of drift on a single recipe adds up fast across a full menu.
Source: WhippleWood CPAs, restaurant financial benchmarks3–5% is the average net profit margin at a full-service restaurant
On margins that thin, a recipe costed even slightly wrong can be the difference between a profitable dish and one that quietly loses money on every order.
Source: Toast, "Average Restaurant Profit Margin"+3.4% year-over-year menu price inflation as of July 2026
Ingredient costs move constantly — a recipe cost calculated once at opening and never revisited is already out of date.
Source: National Restaurant Association, Menu Price economic indicators~26% of new restaurants close within their first year
Not the commonly repeated "90% fail" myth — but Cornell's peer-reviewed research on restaurant failure names weak cost control and not knowing daily numbers as recurring factors.
Source: Parsa et al., "Why Restaurants Fail," Cornell Hospitality Quarterly$162B lost industry-wide to food waste every year
Accurate recipe and batch-yield numbers are what let you catch overproduction and portioning waste before it becomes a write-off.
Source: Toast, restaurant food waste statisticsRecipe Cost Calculator FAQ
How do you calculate recipe cost?
Add up the cost of every ingredient in the recipe, where each ingredient's cost is its purchase price divided by its package size, multiplied by the amount the recipe uses. For example, a 5 lb bag of flour at $20 costs $4 per lb, so 0.5 lb of flour costs $2. This calculator does that math for you, including unit conversions such as ounces to pounds.
How do you calculate food cost per serving?
Divide the total recipe cost by the number of servings the recipe makes. A batch that costs $18.76 and makes 4 servings has a food cost of $4.69 per serving. Set the number of servings in the calculator and it shows the cost per serving instantly.
How do you calculate food cost percentage?
Divide the cost per serving by the menu price, then multiply by 100. A dish that costs $4.69 to make and sells for $16.00 has a food cost percentage of 29.3%. The calculator shows this figure next to your profit per serving.
What is a good food cost percentage?
Most restaurants aim for a food cost percentage of roughly 28–35%. A lower percentage leaves more room for labor and overhead, but the right target depends on your concept, price point, and menu mix, so compare each dish against your own target rather than one number.
How does ingredient price affect recipe cost?
Every change in an ingredient's purchase price changes the cost of each recipe that uses it, in proportion to how much of that ingredient the recipe uses. In the Chicken Parm example, a 10% rise in mozzarella adds about $0.44 to the batch, or $0.11 per serving. A calculator gives you a snapshot, so recalculate whenever supplier prices change, or use software like Dinezy that keeps ingredient prices and recipes connected.
Can I calculate batch recipes?
Yes. Enter the total quantity of each ingredient for the whole batch, then set how many servings the batch yields, and the calculator returns the total batch cost and the cost per serving.
Read More
- How to calculate recipe costThe step-by-step formula, with worked examples from a drink to a full plate.
- How to price menu itemsTurning a recipe cost into a menu price.
- Restaurant food cost calculatorHow single-recipe cost rolls up into restaurant-wide food cost.
- Recipe costing softwareWhat to look for once spreadsheets stop keeping up.
- Inventory managementWhere ingredient prices and stock levels live in Dinezy.
- Recipe managementRecipe costs that update as ingredient prices change.