Cost a recipe
cost_recipeCost any recipe from its ingredients. For each ingredient give the pack price, the pack size and the quantity used (same unit as the pack size, e.g. grams). Returns each line cost, batch cost, cost per portion and a suggested menu price from a target food cost % (default 30%), ex-VAT and inc-VAT. open_in_prepsheet_url opens this exact recipe in the free ChefSums tool (no sign-in), where the user can edit, scale, print and save it; the recipe travels in the link itself and is not stored by ChefSums.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| portions | Yes | How many portions the batch makes. | |
| ingredients | Yes | The recipe's ingredients, 1 to 100 lines. Each line needs a name, the ex-VAT pack price, the pack size and the quantity used in the same unit as the pack size. | |
| recipe_name | No | Optional dish name. | |
| vat_rate_pct | No | VAT rate for the inc-VAT price. Default 20 (UK standard). | |
| target_food_cost_pct | No | Target food cost as % of the ex-VAT price. Default 30. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| portions | Yes | ||
| batch_cost | Yes | ||
| ingredients | Yes | ||
| recipe_name | Yes | ||
| vat_rate_pct | Yes | ||
| target_gp_pct | Yes | ||
| cost_per_portion | Yes | ||
| target_food_cost_pct | Yes | ||
| open_in_prepsheet_url | Yes | ||
| suggested_price_ex_vat | Yes | ||
| suggested_price_inc_vat | Yes | ||
| premium_price_ex_vat_at_75_gp | Yes | ||
| premium_price_inc_vat_at_75_gp | Yes |