Skip to main content

Sub-recipes

Sub-recipes are recipes that are used as components inside other recipes. They let you build your costing the same way you build your food - from the base up.

What sub-recipes are​

A sub-recipe is simply a recipe that you reference as an ingredient within another recipe. Instead of listing every individual ingredient in a complex dish, you break it into logical components, each with its own cost.

Think of it like this: your burger has a bun, a patty, a sauce, and toppings. The sauce itself is made from multiple ingredients. Rather than listing every sauce ingredient inside the burger recipe, you create the sauce as its own recipe and then add "Burger sauce - 1 portion" as a single line in the burger recipe.

Common examples​

Sub-recipes are everywhere in a professional kitchen:

Sub-recipeUsed in
Pizza doughMargherita, Pepperoni, Calzone
Bechamel sauceLasagne, Croque Monsieur, Fish pie
Pastry (shortcrust)Quiche, Pies, Tarts
Simple syrupCocktails, Iced coffee, Lemonade
Burger sauceClassic burger, Chicken burger
Granola mixGranola bowl, Yoghurt parfait
Spice blendMultiple curry dishes
Vanilla sponge baseVictoria sponge, Trifle, Layered cake
Stock (chicken)Soups, Risotto, Gravy
When to use a sub-recipe

A good rule of thumb: if you make a component in advance and use it across multiple dishes, it should be a sub-recipe. This keeps your costings DRY (Don't Repeat Yourself) - update the sub-recipe once and every parent recipe updates automatically.

Creating a sub-recipe​

Sub-recipes are created exactly like regular recipes:

  1. Go to CostingBrik > Recipes.
  2. Click Add recipe.
  3. Set Recipe type to Base recipe (used in other recipes), or to Both (menu item & base recipe) if you also sell it on its own. Only recipes of these two types can be added to another recipe.
  4. Build the recipe as normal, adding all ingredients with quantities.
  5. Set its Portioning - this is important because it decides what one portion of the sub-recipe costs when it is used elsewhere.

You can file it under any category you like, for example one called "Prep".

Example - Bechamel Sauce (makes 10 portions of 100 ml):

IngredientQuantityUnitCost
Unsalted butter60g£0.19
Plain flour60g£0.04
Whole milk1,000ml£0.58
Nutmeg (ground)2g£0.03
Salt5g£0.01
White pepper1g£0.02
Total£0.87

With 10 portions, each portion costs £0.087, and the whole batch £0.87.

Labour rolls up as labour

If the bechamel carries hands-on time, that time reaches the parent recipe as labour, never as ingredient cost. A dish taking a tenth of the batch carries a tenth of its minutes and a tenth of its labour money, reported separately from the £0.87. See Labour.

Using a sub-recipe inside another recipe​

Sub-recipes have their own button in the parent recipe's ingredient list:

  1. In the parent recipe, click Add base recipe (under the ingredient lines, or in the empty list).
  2. Search for the sub-recipe by name (e.g. "Bechamel Sauce").
  3. Enter the quantity and choose its unit: portions, batches, grams or ml (see below).
  4. Brikly calculates the line's cost from the sub-recipe's cost.

Example - Lasagne (makes 6 portions):

ComponentQuantityUnitCost
Bolognese sauce (sub-recipe)4portions£3.20
Bechamel sauce (sub-recipe)5portions£0.44
Lasagne sheets250g£0.32
Mozzarella200g£1.10
Parmesan50g£0.65
Total£5.71

Cost per portion: £5.71 / 6 = £0.95

Which units a sub-recipe line can use​

In the recipe editor, a sub-recipe line can always be measured in portions or batches. g is offered when the sub-recipe can be weighed: it has a finished weight, or a known weight for every ingredient in it. ml is offered when it can be measured by volume: a finished volume, or a known volume for every ingredient. If g or ml is not in the list, use portions or batches, or set a finished weight or volume on the sub-recipe. The editor does not offer kg or l. Brikly saves a line by weight only when the sub-recipe can be weighed, so an older line whose sub-recipe can no longer be weighed stops the save, and Brikly says so, for example "'Bechamel Sauce' can't be measured in g yet. Set a finished weight on it, or add weight conversion data to its ingredients."

Nesting recipes​

You can nest sub-recipes multiple levels deep. For example:

  • Lasagne contains Bolognese sauce.
  • Bolognese sauce contains Soffritto base.
  • Soffritto base contains onion, celery, and carrot.

Brikly traces the cost through every level. When the price of onions changes, the soffritto cost updates, which updates the Bolognese cost, which updates the lasagne cost - all automatically.

Nesting limit

Sub-recipes can sit inside each other up to 5 levels below the recipe at the top. Brikly will not save a recipe that would go deeper, and tells you to use a simpler base recipe or remove a level. Most kitchens rarely go beyond two or three levels. If your recipe structure is getting overly complex, consider whether some sub-recipes could be simplified.

Avoiding circular references​

Brikly prevents you from creating circular references - where Recipe A contains Recipe B, and Recipe B contains Recipe A. If you try, Brikly will not save the recipe and says "One of the base recipes you added already uses this recipe, which would make an endless loop. Remove it or pick a different base recipe."

Cost roll-up​

One of the key benefits of sub-recipes is automatic cost roll-up. Here is how it works:

  1. Ingredient prices are updated (e.g. from a new invoice).
  2. Sub-recipes that use those ingredients are re-costed.
  3. Parent recipes that use those sub-recipes are re-costed.
  4. This continues up through every level of nesting.

You do not need to trigger this manually. When you open a recipe, its cost is worked out from the latest ingredient prices, rolled up through every sub-recipe layer. The figures stored for the recipe list catch up in the background shortly after a price changes.

Choosing Recalculate cost from the More actions menu on a sub-recipe's page re-costs every recipe that uses it, at every level.

Archived sub-recipes​

If a sub-recipe is archived while other recipes still use it, those recipes keep the line, but Brikly will not save one of them until you restore that sub-recipe or remove the line. The message names the sub-recipe, for example "'Sponge base' is archived. Restore it or remove it from this recipe before saving." The same applies when you roll back to a version (see Version history) or approve a recipe draft that uses it.

Review sub-recipe yields regularly

If your kitchen changes how it produces a sub-recipe (e.g. making a smaller batch of sauce), remember to update the yield. An incorrect yield on a frequently used sub-recipe will cascade incorrect costs into every dish that uses it.