Recipe Cost Calculator: Calculate Ingredient & Portion Costs

Calculate how much it costs to prepare a recipe using ingredient quantities, purchase prices, unit conversions and usable yields. Add ingredients to the free Recipe Cost Calculator to see total recipe cost, cost per portion and optional food cost percentage.

See the recipe costing formula and a worked example

Dish Cost Calculator

For each ingredient, enter what you bought (a 1 kg pack, a 5 kg bag, a tray of 12 eggs) and what it cost, then the usable quantity the recipe needs. The calculator converts kg and g, litre and ml, but never between weight, volume and pieces. No signup; nothing you type leaves your browser.

The calculator needs JavaScript. Without it, use the formula and the worked example below.

Result

Reset to Sample loads the illustrative paneer butter masala below. Results are ingredient costs from the prices you enter, not an audited costing.

How Do You Calculate Recipe Cost?

Recipe cost = sum of the individual ingredient costs.

Ingredient cost = recipe quantity × unit cost, with both in the same unit. With a usable yield below 100%:

Ingredient cost = Qr × Cp ÷ (Qp × Y), where Qr is the usable quantity the recipe needs, Cp the purchase cost, Qp the quantity bought (in the same base unit as Qr) and Y the usable yield as a fraction.

Cost per portion = total recipe cost ÷ number of portions. Never multiply grams by a price per kilogram without converting first.

How Does Unit Conversion Work in Recipe Costing?

  • Mass (1 kg = 1,000 g): paneer at ₹320 per kg, 250 g used. 250 g = 0.25 kg, so 0.25 × ₹320 = ₹80.
  • Volume (1 litre = 1,000 ml): cream at ₹200 per litre, 50 ml used. 50 ml = 0.05 litre, so 0.05 × ₹200 = ₹10.
  • Count: a tray of 12 eggs for ₹72. ₹72 ÷ 12 = ₹6 each, so 3 eggs cost ₹18.
  • Purchase pack: a 5 kg flour bag for ₹250. ₹250 ÷ 5 = ₹50 per kg; 500 g = 0.5 kg, so 0.5 × ₹50 = ₹25. The quantity and the price must describe the same pack.

Weight, volume and pieces are never converted into each other. A litre of oil does not weigh a kilogram, and an egg or a lemon has no fixed weight. If an ingredient is bought by weight and measured by volume, the calculator shows Unit Conversion Required: mass and volume cannot be converted automatically without an ingredient-specific conversion factor. Weigh it instead, or enter it in the unit you buy it in.

What Is Usable Yield in Recipe Costing?

Usable yield is the share of the purchased quantity left for the recipe after defined preparation losses such as peeling, trimming or deboning. Example: 1 kg of a vegetable bought for ₹50 with an 80% usable yield leaves 0.8 kg, so each usable kg costs ₹50 ÷ 0.8 = ₹62.50.

  • Enter yield above 0% and up to 100%. 100% is the default and means no preparation loss is modelled, not that none happens.
  • Enter the recipe quantity as the usable amount. If you already weigh the gross amount before trimming, leave yield at 100%, or the loss is counted twice.
  • Cooking yield (rice that gains weight, meat that loses it) is a different measure that can exceed 100%. It is not part of this field.

Recipe Costing Example for an Indian Restaurant

Paneer butter masala, recipe code REC-001, at a fictional Sample Restaurant. The batch makes 2 portions, and each row uses 100% usable yield.

Illustrative recipe costs used to explain the calculation. These are not verified current market prices.

Paneer butter masala, 2 portions (illustrative)
IngredientRecipe quantityIllustrative purchase unit costCalculationIngredient cost
Paneer250 g₹320/kg0.25 × ₹320₹80
Tomato200 g₹40/kg0.20 × ₹40₹8
Onion100 g₹30/kg0.10 × ₹30₹3
Butter30 g₹500/kg0.03 × ₹500₹15
Cream50 ml₹200/litre0.05 × ₹200₹10
Spices20 g₹600/kg0.02 × ₹600₹12
Cooking oil20 ml₹150/litre0.02 × ₹150₹3
Total₹131
  • Total recipe cost: ₹80 + ₹8 + ₹3 + ₹15 + ₹10 + ₹12 + ₹3 = ₹131.
  • Cost per portion: ₹131 ÷ 2 = ₹65.50. That is the ingredient cost of one portion, not the full cost of serving it.
  • Food cost % at an illustrative ₹250 selling price before GST: ₹65.50 ÷ ₹250 × 100 = 26.20%. Contribution after included ingredient costs: ₹250 − ₹65.50 = ₹184.50, before labour, rent, gas and other costs. 26.20% is this example's result, not a target.
  • If paneer rises to ₹360/kg: paneer costs 0.25 × ₹360 = ₹90 (₹10 more), the recipe ₹141 and each portion ₹70.50, so food cost becomes ₹70.50 ÷ ₹250 × 100 = 28.20%.
  • Scaling to 6 portions: paneer becomes 250 × 6 ÷ 2 = 750 g, and every other ingredient is multiplied by 3 in the same way.
  • Target pricing: a dish costing ₹80 a portion at a 32% food cost target works out to ₹80 ÷ 0.32 = ₹250. That is arithmetic, not a required menu price; for GST and delivery commission use the menu price calculator.

The calculator opens with this recipe loaded, so you can change any price and watch every total update. The quicker food cost calculator takes one price per ingredient and also works out a monthly food cost % from opening stock, purchases and closing stock.

How Do You Calculate the Cost of a Recipe?

  1. Enter the recipe name.
  2. Set the number of portions the batch makes.
  3. Add an ingredient.
  4. Enter the quantity you bought.
  5. Choose the unit you bought it in.
  6. Enter what you paid for that quantity.
  7. Enter the usable quantity the recipe uses.
  8. Choose the unit the recipe uses.
  9. Change the usable yield if there is preparation loss.
  10. Check the ingredient cost under the row.
  11. Repeat for every ingredient, including garnish.
  12. Check the total recipe cost.
  13. Check the cost per portion.
  14. Optionally, enter the selling price before GST.
  15. Check the food cost percentage.
  16. Copy the breakdown, or download it as text or CSV.

What Inputs Does a Recipe Cost Calculator Need?

What Inputs Does a Recipe Cost Calculator Need?
FieldPurpose
Recipe nameIdentifies the dish
Ingredient nameIdentifies the material
Quantity boughtAmount bought from the supplier
Bought inThe supplier's unit: kg, g, litre, ml, piece or unit
Cost of that quantityPrice paid for the quantity bought
Quantity used in recipeUsable amount in the dish
Used inThe kitchen's unit
Usable yieldAdjusts for a defined preparation loss
Ingredient costCalculated cost of that ingredient
PortionsServings the batch produces
Total recipe costSum of the ingredient costs
Cost per portionCost allocated to one serving
Selling priceOptional menu price before GST
Food cost %Portion cost as a share of the selling price

What Do Recipe Cost Calculator Results Mean?

  • Ingredient cost: the cost allocated to one ingredient in the recipe.
  • Total recipe cost: the sum of the ingredient costs you included.
  • Cost per portion: total recipe cost divided by the portions the batch makes.
  • Food cost %: cost per portion divided by the selling price before GST. It is not a profit margin, and shows N/A when the price is ₹0.
  • Contribution after included ingredient costs: selling price minus ingredient cost per portion. Labour, rent, gas, packaging and other costs still come out of it, so it is not net profit.

If any ingredient has no price, or its units cannot be converted, the calculator shows Price Required or Unit Conversion Required instead of a total, with a labelled partial total of the costed rows. A blank row is ignored.

How Does Ingredient Wastage Affect Recipe Cost?

Different losses need to be kept apart so none is counted twice:

  • Purchase-to-usable yield and preparation loss: peel, bones and trim. This is what the usable yield field models.
  • Cooking yield: weight gained or lost in cooking. Measure it separately if you portion cooked food by weight.
  • Spoilage and unplanned waste: food that goes off, spills or is returned. These belong in a wastage log, not in the recipe.

Recipe cost is the ingredient cost of a standard dish. A restaurant's actual food cost for a period depends on opening stock, purchases, closing stock, waste and stock adjustments, so a recipe alone cannot tell you what the kitchen really used.

What Common Recipe Costing Mistakes Should Restaurants Avoid?

  1. Leaving out ingredients, especially garnish, oil and spices.
  2. Mixing grams with kilograms, or millilitres with litres.
  3. Treating a purchase pack's price as the cost of one portion.
  4. Ignoring preparation loss, or applying the yield twice.
  5. Costing with last quarter's purchase prices.
  6. Getting the portion count wrong, or confusing batch size with portion size.
  7. Treating a blank price as ₹0.
  8. Calling ingredient cost or contribution "profit".
  9. Comparing with a GST-inclusive selling price without saying so.
  10. Assuming every recipe scales perfectly, or that recipe cost equals actual stock used.

What Is the Difference Between a Recipe Cost Calculator and a Recipe Card?

What Is the Difference Between a Recipe Cost Calculator and a Recipe Card?
Recipe cost calculatorRecipe card
Interactive calculationsStandard recipe documentation
Editable ingredient pricesIngredient and method records
Immediate cost updatesPrintable kitchen reference
Portion cost calculationPreparation guidance
Browser-based toolExcel, Word or PDF template

Record the method, portion size and plating with our free recipe card template, and keep the costed figures from this calculator alongside it.

Need to manage standard recipes beyond one-off calculations? F&Bos recipe costing software costs each recipe ingredient by ingredient with a yield factor for prep loss, converts between purchase and recipe units, tracks purchase prices over time and deducts ingredients from stock on every bill. Recipe management software covers sub-recipes, batch prep and recipes shared across outlets. It is paid software with no free plan.

Frequently Asked Questions About Recipe Costing

How do you calculate recipe cost?

Calculate the cost of each ingredient using its recipe quantity and compatible unit cost, including any applicable usable yield adjustment. Add all ingredient costs to obtain total recipe cost.

How do you calculate food cost per portion?

Divide the total included recipe ingredient cost by the number of portions produced. Make sure the portion count and ingredient quantities represent the same batch.

Can the recipe cost calculator handle unit conversions and wastage?

Yes. The calculator supports compatible measurement conversions and usable yield factors to account for specified preparation losses.

Cost every dish once, then keep it current

F&Bos recipe costing uses your purchase prices and yields, and deducts stock on every bill. See it with your own menu.

Book a demo

Considering F&Bos? See how F&Bos compares with a typical POS — dish margins, recipe-linked inventory and payroll in one app.