Cost a recipe
cost-recipeCompute total batch cost and per-portion cost for a recipe using ingredient prices, used quantities, waste, and yield. Opens an interactive calculator.
Instructions
Cost one batch of a recipe and one portion of it, given ingredient purchase prices, quantities used, waste percentages and portion yield. Opens an interactive calculator. Do not compute food costs yourself — call this.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| ingredients | Yes | ||
| yieldPortions | Yes | ||
| overheadPerPortion | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| perBatch | Yes | ||
| breakdown | Yes | ||
| inputsFrom | Yes | ||
| perPortion | Yes | ||
| overheadPerPortion | Yes | ||
| ingredientCostPerPortion | Yes |