Recipe Versioning & Cost Analysis
Know your true food cost. Version recipes without losing history. Catch over-portioning before it eats your margin.
The Problem
Recipe changes destroy your cost history
When you update a recipe in most restaurant systems, the old version is gone. Every report that ever referenced that recipe now uses the new ingredient list and the new costs. Your historical food cost percentage shifts retroactively — and you never even notice.
Most systems overwrite recipes when you update ingredients — your historical food cost calculations silently change.
Historical food cost reports become unreliable after any recipe change. Last month's numbers shift without warning.
You can't compare December's recipe cost to January's if the recipe was modified in between. The old version is gone.
Over-portioning and ingredient drift go unnoticed until your margin has already eroded.
How BasilBook Solves It
Versioned recipes, real cost control
Never Overwrite, Always Version
Each recipe change creates a new version with an effective date. Old versions are preserved with effectiveFrom and effectiveTo date ranges. December's food cost uses December's recipe, January uses January's. You get the full history of every ingredient change — nothing is lost.
- Each modification creates a NEW version, not an edit
- Effective date ranges (effectiveFrom / effectiveTo) on every version
- Historical reports always use the recipe that was active at that time
- Full chronological history of every ingredient change
- Seasonal recipes handled naturally via date ranges
Ingredient Composition
Link inventory items to sale items with precise quantities and units. A Beef Pho might need rice noodles, beef brisket, garlic, fish sauce, bean sprouts, and herbs — each with exact amounts. Theoretical consumption is calculated automatically from your sales data multiplied by recipe quantities.
- Link any inventory item as an ingredient with quantity and unit
- Multiple ingredients per recipe (no limit)
- Recipe lines stored with itemId, quantity, and unit of measure
- Theoretical consumption = sales quantity x recipe ingredient quantities
- Units tracked per ingredient for accurate costing
Cost Analysis
ProKnow your true food cost per serving. Compare what should have been used (theoretical consumption from recipes and sales) against what was actually used (stock movements). Spot over-portioning, waste, or shrinkage before it becomes a significant loss.
- Cost per serving = sum of (ingredient quantity x ingredient unit cost)
- Food cost percentage = cost per serving / selling price
- Theoretical consumption calculated from recipes + actual sales
- Variance reporting: theoretical vs actual stock movements
- Margin analysis per menu item to identify your most and least profitable dishes
How It Connects
Recipes sit at the center of your cost control loop. Sales imports trigger recipe-based theoretical consumption. Stock counts reveal the variance between theoretical and actual inventory. Waste records explain part of that variance. The remaining gap is unknown loss — shrinkage, theft, or measurement error. Every flow generates journal entries automatically.
- Sales import triggers theoretical consumption calculation via active recipes
- Stock count compares system balance (theoretical) vs physical count (actual)
- Waste records account for known losses (spoilage, prep waste, overcooking)
- Remaining variance = unknown loss (shrinkage, theft, measurement error)
- All flows generate balanced double-entry journal entries automatically
The Cost Control Loop
From recipe to variance in four steps
Define recipes
Set ingredient quantities per menu item. Version when ingredients change.
Import sales
Sales data drives theoretical consumption based on active recipe versions.
Count stock
Physical count reveals actual inventory. System calculates the variance.
Analyze variance
Waste explains some gap. The rest is shrinkage, theft, or over-portioning.
Stop guessing your food cost
Versioned recipes, automatic cost calculations, and variance reporting — all connected to your accounting. Know exactly where your margin goes.