Nested recipe cost calculator

Roll a subrecipe into a parent recipe

Roll subrecipe cost into a parent recipe

Example values are loaded. Replace them with your own figures.

Cost per ounce, portion, or other named unit.

Quantity used by the parent recipe.

Combined cost of other parent recipe lines.

What this calculation means

Nested recipe costing adds the used share of a prepared component to the other ingredient lines of a parent recipe. Only the withdrawn component quantity belongs in that parent total.

Do not include the same subrecipe withdrawal again inside Other ingredient line costs.

How to use this calculator

Enter the component cost per unit and the quantity withdrawn in the matching unit. Add the combined cost of the other parent-recipe ingredients.

Formula and variables

Parent ingredient cost = Subrecipe cost per unit × Subrecipe quantity used + Other ingredient line costs

Subrecipe cost per unitUSD / unit
Cost per ounce, portion, or other named unit.
Subrecipe quantity usedsame unit
Quantity used by the parent recipe.
Other ingredient line costsUSD
Combined cost of other parent recipe lines.

Dollar amounts display to cents, with exact half-cent values rounded away from zero; intermediate calculations keep full precision.

Understand your result

The answer is the parent recipe’s ingredient total for the stated withdrawal and other lines.

Worked example

Use 8 oz of a subrecipe costing $0.25/oz and add $4.50 of other ingredients.

Subrecipe cost per unit: 0.25 USD / unit

Subrecipe quantity used: 8 same unit

Other ingredient line costs: 4.5 USD

  1. The withdrawn subrecipe costs $0.25 per oz × 8 oz = $2.
  2. Add $4.50 of other ingredients: $2 + $4.50 = $6.50.

Example result: $6.50

Frequently asked questions

Do I enter the entire subrecipe batch cost?

Only if the parent actually consumes the whole batch after converting it to the appropriate unit basis. Normally enter the unit cost and the amount withdrawn.

Can the parent use several subrecipes?

This form has one component withdrawal and an aggregate Other ingredient line costs field. Establish additional component costs separately without double-counting.