Recipe Cost Calculator
- Ingredient 1: 500 of a 1,000 pack at $4.00 contributes $2.00.
- Ingredient 2: 250 of a 500 pack at $3.00 contributes $1.50.
- Ingredient 3: 120 of a 250 pack at $2.50 contributes $1.20.
- Ingredient 4: 0 of a 100 pack at $0.00 contributes $0.00.
- Total batch cost: $4.70.
- Per serving: $4.70 / 5 = $0.94.
A recipe cost calculator helps you figure out exactly how much a dish costs to make by pricing each ingredient based on the amount you actually use. For every ingredient, the math is simple: take the amount used, divide it by the full pack size, and multiply by the pack price. Add up those ingredient costs and you get the total batch cost. Divide the batch cost by the number of servings, and you land on the cost per serving. For example, a recipe using ingredients that cost $2.00, $1.50, and $1.20 produces a batch of $4.70, which comes out to $0.94 per serving across 5 servings. Another batch totaling $4.31 across 3 servings costs $1.44 per serving, while a $12.72 batch across 6 servings runs $2.12 per serving, with the first ingredient alone making up nearly 80% of the cost.
This prorated method is the accepted standard because it ties each ingredient's cost to the portion you actually use, rather than charging the full pack price every time. The approach works well when the rest of the pack gets used later, though perishables that spoil should be charged in full to the recipe that opened them. Restaurants rely on this logic to benchmark ingredient cost at roughly 28 to 35% of menu price, making the per-serving figure the starting point for pricing a dish. This page shows the formula, step-by-step workings, worked examples, and sources so you can apply the same method with confidence.
Worked examples
Everyday home cooking
Primary result: $0.94 — ingredients of $2.00, $1.50 and $1.20 make a $4.70 batch across five servings. (500 · 1000 · 4 $ · 250 · 500 · 3 $ · 120 · 250 · 2.5 $ · 0 · 100 · 0 $ · 5)
| Cost per serving | $0.94 |
| Total batch cost | $4.70 |
One pricey ingredient leads
Primary result: $1.44 — the first ingredient alone contributes $3.20 of the $4.31 batch. (200 · 400 · 6.4 $ · 50 · 200 · 1.8 $ · 0 · 250 · 2.5 $ · 30 · 100 · 2.2 $ · 3)
| Cost per serving | $1.44 |
| Total batch cost | $4.31 |
Pricing a bake-sale batch
Primary result: $2.12 — a $12.72 batch over six servings sets the floor for any sensible selling price. (750 · 750 · 9.99 $ · 300 · 1000 · 3.33 $ · 90 · 90 · 1.49 $ · 15 · 50 · 0.8 $ · 6)
| Cost per serving | $2.12 |
| Total batch cost | $12.72 |
Costing a recipe properly
Costing a recipe properly means prorating each ingredient by the amount you actually use, not by the full pack price you paid at the store. The formula a recipe cost calculator applies is straightforward: each ingredient costs (amount used / pack size) × pack price. The batch cost is the sum across all ingredients, and the cost per serving divides that batch cost by the number of servings the recipe yields. This approach prevents the common mistake of assigning an entire $4.00 bag of flour to a recipe that only uses a cup.
A verified example shows how the math builds up. Suppose a recipe uses 500 units from a 1,000-unit pack that costs $4.00, 250 units from a 500-unit pack at $3.00, and 120 units from a 250-unit pack at $2.50. Those three ingredients cost $2.00, $1.50, and $1.20 respectively, for a total batch cost of $4.70. Across 5 servings, that comes to $0.94 per serving. The same logic scales to larger ingredient lists: items priced at $3.20, $0.45, and $0.66 (with a fourth slot unused at $0.00) produce a batch of $4.31, or $1.44 per serving across 3 servings. A four-ingredient batch of $9.99, $1.00, $1.49, and $0.24 totals $12.72, or $2.12 per serving across 6 servings — and the first ingredient alone accounts for nearly 80% of the total cost.
Prorating pack prices by amount used only works if the remainder of the pack is genuinely used later. A bottle of olive oil you will finish over several months can be prorated fairly. Perishables that spoil — fresh herbs, dairy, produce — should be charged in full to the recipe that opened them, because the money is spent regardless of whether you use the rest. Charging the full pack price to that recipe gives you a more honest cost figure and helps you decide whether the dish is worth making again.
Once you have the per-serving cost, it becomes the starting point for pricing a dish. Restaurants typically benchmark ingredient cost at roughly 28–35% of menu price, so a serving that costs $2.12 to make would suggest a menu price in the range of about $6.06 to $7.57 if you apply that same standard. Home cooks can use the same ratio to judge whether a recipe fits their budget or to compare homemade costs against takeout and packaged alternatives.
From batch cost to cost per serving
Once your recipe cost calculator has the price of every ingredient, the math follows a simple chain. Each ingredient costs (amount used / pack size) × pack price. Add those results together and you get the batch cost. Divide the batch cost by the number of servings, and you arrive at the cost per serving — the figure that tells you whether a dish makes sense on your menu or in your household budget.
The arithmetic is easy to get wrong by hand, so the calculator was checked against three fixed examples. In the first, ingredients costing $2.00, $1.50 and $1.20 — 500 of a 1,000 pack at $4.00, 250 of a 500 pack at $3.00, and 120 of a 250 pack at $2.50 — make a batch of $4.70, which comes to $0.94 per serving across 5 servings. In the second, ingredients of $3.20, $0.45 and $0.66, with a fourth slot unused at $0.00, make a batch of $4.31, which comes to $1.44 per serving across 3 servings. In the third, ingredients of $9.99, $1.00, $1.49 and $0.24 make a batch of $12.72, which comes to $2.12 per serving across 6 servings. Notice that in this last case the first ingredient alone is nearly 80% of the cost — a reminder that one expensive item can dominate a recipe even when the others look modest.
There is an important caveat behind prorating pack prices by the amount used. The method only works if the rest of the pack is genuinely used later. For pantry staples and shelf-stable goods, that assumption is reasonable. For perishables that spoil before you can use them, you should charge the full pack price to the recipe that opened them, because that is what the recipe actually cost you in cash.
The per-serving number is also the starting point for pricing a dish. Restaurants benchmark ingredient cost at roughly 28–35% of menu price, so if your calculator shows a cost per serving of $2.12, the menu price would need to land in a range that keeps food cost within that benchmark. The same logic applies at home: knowing the true cost per serving lets you compare meals on equal footing and adjust portions or ingredients before you cook, not after.
Worked examples
The table below shows three verified batches run through a recipe cost calculator, each built from the same formula: each ingredient costs (amount used / pack size) × pack price; the batch cost is the sum across ingredients, and the cost per serving divides it by the servings. Example A uses 500 of a 1,000-count pack bought for $4.00, 250 of a 500-count pack bought for $3.00, and 120 of a 250-count pack bought for $2.50. Those three ingredients cost $2.00, $1.50, and $1.20 respectively, for a batch of $4.70 across 5 servings — $0.94 per serving.
Example B keeps just three active ingredients ($3.20, $0.45, and $0.66) with a fourth slot unused at $0.00, producing a batch of $4.31 across 3 servings, or $1.44 per serving. Example C stretches to four ingredients at $9.99, $1.00, $1.49, and $0.24, totaling $12.72 across 6 servings, or $2.12 per serving. In that last batch the first ingredient alone is nearly 80% of the cost, which shows how a single dominant item can drive the whole dish — useful to know when you are deciding where to shop around or substitute.
These figures assume you can prorate pack prices by the amount actually used, which only holds if the rest of each pack is genuinely used later. Perishables that spoil before you finish them should be charged in full to the recipe that opened them, or the per-serving figure will look artificially low and your margins will drift.
For context, restaurants benchmark ingredient cost at roughly 28–35% of menu price, so the per-serving number from any recipe cost calculator is the starting point for pricing a dish — not the final price itself. Add labor, overhead, and the profit you want before setting what a customer pays.
| Example | Ingredient costs | Batch cost | Servings | Cost per serving |
|---|---|---|---|---|
| A | $2.00, $1.50, $1.20 | $4.70 | 5 | $0.94 |
| B | $3.20, $0.45, $0.66, $0.00 | $4.31 | 3 | $1.44 |
| C | $9.99, $1.00, $1.49, $0.24 | $12.72 | 6 | $2.12 |
The perishables trap
A recipe cost calculator works by running a simple formula for every item on your list: (amount used ÷ pack size) × pack price. Add those results together and you get the batch cost, then divide by the number of servings for the per-serving figure. That math is easy. The hard part is knowing when prorating is honest and when it quietly hides the true expense of what you cooked.
Prorating only tells the truth when the remainder of the pack is genuinely used later. If you buy a 500-count container for $3.00, use 250 counts, and will use the other 250 counts next week, charging $1.50 to this recipe is correct. The same logic holds for the verified example of ingredients costing $2.00, $1.50, and $1.20 — 500 of a 1,000-count pack at $4.00, 250 of a 500-count pack at $3.00, and 120 of a 250-count pack at $2.50 — which make a batch of $4.70, or $0.94 per serving across 5 servings. Every fraction left over has a real future use.
Perishables break that assumption. Fresh herbs, dairy, opened stock, or anything with a short shelf life often spoil before the rest of the pack is consumed. When that happens, prorating understates what the recipe truly cost you. If a jar of sauce costs $9.99 and you use it once before it goes bad, the recipe did not cost a fraction of $9.99 — it cost $9.99. Charge the full pack price to the recipe that opened it. In the verified example of ingredients costing $9.99, $1.00, $1.49, and $0.24, the batch totals $12.72, or $2.12 per serving across 6 servings, and the first ingredient alone is nearly 80% of the cost. Treating that $9.99 as a prorated expense would give you a falsely low number and a falsely confident price.
The same caution applies to a recipe with an unused ingredient slot. A verified set of $3.20, $0.45, and $0.66 — with a fourth slot at $0.00 — makes a batch of $4.31, or $1.44 per serving across 3 servings. The empty slot is not a problem, but the three active costs still need honest handling. If the $3.20 item is perishable and will not be used again, it belongs in full on this recipe.
This matters because the per-serving figure is the starting point for pricing a dish. Restaurants benchmark ingredient cost at roughly 28–35% of menu price, so a distorted per-serving number cascades into a distorted menu price. A recipe cost calculator can do the arithmetic perfectly and still mislead you if the policy behind each line is wrong. Decide pack-by-pack whether the remainder has a real future use, and charge perishables in full when it does not.
From ingredient cost to menu price
Once your recipe cost calculator has produced a per-serving figure, the next step is turning that number into a menu price. Restaurants benchmark ingredient cost at roughly 28–35% of menu price, so the per-serving figure is the starting point for pricing a dish. If your recipe costs $0.94 per serving across 5 servings, a target food-cost percentage of 30% implies a menu price of about $3.13. A per-serving cost of $1.44 across 3 servings suggests a menu price near $4.80 at the same 30% target. And a per-serving cost of $2.12 across 6 servings points to a menu price of roughly $7.07.
The math behind those per-serving figures is straightforward. Each ingredient costs (amount used / pack size) × pack price; the batch cost is the sum across ingredients, and the cost per serving divides it by the servings. In one verified example, ingredients costing $2.00, $1.50 and $1.20 (500 of a 1,000 pack at $4.00; 250 of a 500 pack at $3.00; 120 of a 250 pack at $2.50) make a batch of $4.70, which is $0.94 per serving across 5 servings. In another, ingredients of $3.20, $0.45 and $0.66 (with a fourth slot unused at $0.00) make a batch of $4.31, which is $1.44 per serving across 3 servings. A third example uses ingredients of $9.99, $1.00, $1.49 and $0.24 to make a batch of $12.72, which is $2.12 per serving across 6 servings.
That third example highlights an important pattern: the first ingredient alone is nearly 80% of the cost. When one ingredient dominates the batch total, small changes in its pack price or amount used will move the per-serving cost far more than similar changes to the other ingredients. A recipe cost calculator helps you see that concentration clearly, so you know where to focus your attention when negotiating with suppliers or adjusting portion sizes.
There is one caution to keep in mind when prorating pack prices by the amount used. Costing with pack prices prorated by amount used only works if the rest of the pack is genuinely used later; perishables that spoil should be charged in full to the recipe that opened them. If you buy a container of cream, use a quarter of it, and the rest spoils before you can use it, the true cost of that recipe is the full container price, not one quarter of it. Treating the spoiled remainder as a zero-cost leftover understates your per-serving figure and leads to menu prices that do not cover what you actually spent.
What home cooks learn from costing
Running numbers through a recipe cost calculator often reveals a gap between what home cooks assume and what the math actually shows. The biggest surprise is usually which ingredient drives the total. In one verified batch totaling $12.72, a single ingredient accounts for $9.99 of it — nearly 80% of the entire cost. The other three ingredients ($1.00, $1.49, and $0.24) barely move the needle. Without costing each line item, most cooks would struggle to guess which one matters most.
The calculation itself is straightforward. Each ingredient costs (amount used / pack size) × pack price. The batch cost is the sum across all ingredients, and the cost per serving divides that total by the number of servings. The verified $12.72 batch works out to $2.12 per serving across 6 servings. A smaller verified batch of $4.70 — built from ingredients costing $2.00, $1.50, and $1.20 — comes to $0.94 per serving across 5 servings. Another batch of $4.31, with a fourth ingredient slot unused at $0.00, yields $1.44 per serving across 3 servings.
One important caveat: prorating pack prices by the amount used only works if the rest of the pack is genuinely used later. Perishables that spoil before you finish them should be charged in full to the recipe that opened them. A $4.00 pack of which you use half is $2.00 only if the other half gets used; if it goes bad, the true cost to that recipe is $4.00.
Once the per-serving figure is in hand, it becomes the starting point for pricing a dish. Restaurants benchmark ingredient cost at roughly 28–35% of menu price, meaning the menu price should be about 3 to 3.5 times the ingredient cost. Home cooks can use the same logic to decide whether a dish makes sense for a dinner party budget or a side hustle.
FAQs
How do you calculate the cost of a recipe?
Price each ingredient by the share of its pack that you use and add them up. For example, the verified first batch totals $4.70. This method ensures you only count the portion consumed rather than the full package price, giving you an accurate picture of what a recipe truly costs to prepare.
How do I get the cost per serving?
Divide the batch cost by the number of servings. For example, $4.70 over 5 servings is $0.94 per serving. This simple division gives you a clear per-serving cost, which helps you set prices, compare recipes, and understand exactly how much each plate costs in ingredients.
What is a good food-cost percentage?
Restaurants often target 28–35% of the menu price as ingredient cost, so a $2.12-per-serving dish supports roughly a $6–$7.50 price on ingredients alone. This range helps ensure profitability while keeping prices reasonable. Your target may vary depending on cuisine, location, and business model.
Should I charge the whole pack if I only use part?
Prorate shelf-stable goods you will use up; charge perishables in full if the remainder will spoil. This approach keeps your cost estimates realistic. Shelf-stable ingredients like flour or spices can be divided across multiple recipes, while perishables that go bad should be fully counted toward the current dish.
Why does one ingredient dominate my recipe cost?
Proteins and specialty items dwarf staples — in the verified $12.72 batch, a single $9.99 ingredient is nearly 80% of the total. This is common in many recipes where meat, cheese, or unique specialty ingredients carry most of the cost while staples like flour, salt, and oil contribute very little.
What costs are not in this calculator?
Energy, labour, packaging and waste — ingredient cost is the foundation, not the full cost of a dish. This calculator focuses solely on what you spend on food ingredients. To understand your true cost per serving, you would also need to account for cooking utilities, staff time, containers, and any food that gets discarded.