Examples
Examples
Try the starting example
- Ingredients [name,units per serving,usable stock units]; enter JSON
- [["Flour",0.1,2],["Egg",1,15]]
- Forecast servings (count)
- 30
- Reserve fraction
- 0.1
- Prep quantities [name,total requirement,additional need] (JSON)
- [["Flour",3.3,1.3],["Egg",33,18]]
- Ingredient lines needing replenishment (count)
- 2
Try another scenario
- Ingredients [name,units per serving,usable stock units]; enter JSON
- [["Flour",0.12,3],["Egg",1,12]]
- Forecast servings (count)
- 40
- Reserve fraction
- 0.2
- Prep quantities [name,total requirement,additional need] (JSON)
- [["Flour",5.76,2.76],["Egg",48,36]]
- Ingredient lines needing replenishment (count)
- 2
Calculation method
Calculation method
Prep quantities [name,total requirement,additional need] (JSON)
Requirement=units per serving×forecast×(1+reserve); additional=max(0,requirement−usable stock).
Ingredient lines needing replenishment (count)
Count requirements above usable stock.
Symbols and units
- a
- Ingredients [name,units per serving,usable stock units]; enter JSON
- b
- Forecast servings (count)
- c
- Reserve fraction
Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.
Assumptions & limits
Assumptions & limits
- One recipe ingredient per row and scalar reserve policy; no recipe substitution. Supported limits: All numeric inputs and computed intermediates must remain finite. Supported numeric input magnitude is zero or 1e-12 through 1e12 in absolute value; reject values outside this bounded range. All lists/JSON record tables are limited to 100 records unless a stricter bound is stated; reject malformed record arity and wrong member types. All numeric values must be finite. Lists contain at most 100 records; required lists must be nonempty. Rates, probabilities and fractions are entered as fractions, not percentages; fractions must be between 0 and 1. Use a single consistent user-selected currency for all amounts; no exchange-rate conversion.
Are these inputs private?
These calculations run in your browser. A shared link contains the values you choose to share. Only questions submitted to the separate AI finder are sent to OpenAI.