Description
Calculate a supplied ingredient/water mass balance.
Dietary arithmetic depends on as-purchased versus edible mass, per-serving versus per-100-gram bases, measured versus trace states and recall periods. A recorded allergen list is not a verified allergen-free declaration. Portion counts, label intervals and mass differences use supplied assumptions rather than establishing actual intake or nutritional suitability.
Calculate a supplied ingredient/water mass balance.
When to use this tool
Use Ingredient Added Water Mass Balance when you already have ingredientMass, addedWaterMass, removedWaterMass and need to calculate a supplied ingredient/water mass balance.
How to use the tool and how it works
- Enter ingredientMass, addedWaterMass, removedWaterMass. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read finalMass. Use the output convention below.
Require ingredient, added-water and removed-water masses>=0; return ingredient+addedWater-removedWater.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| ingredientMass | Ingredient Mass | Required. Finite number; minimum 0. |
| addedWaterMass | Added Water Mass | Required. Finite number; minimum 0. |
| removedWaterMass | Removed Water Mass | Required. Finite number; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| finalMass | ingredientMass+addedWaterMass-removedWaterMass; signed bookkeeping balance. | Required. Finite number. |
{
"input": {
"ingredientMass": 100,
"addedWaterMass": 40,
"removedWaterMass": 15
},
"output": {
"finalMass": 125
}
} Limitations and assumptions
- Negative final mass is retained. Units must match; no cooking, nutrient retention, evaporation model or edible output is verified.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Check original food labels, composition sources, ingredient/allergen information and dietary records before combining amounts. Use a complete appropriately interpreted dietary assessment when requirements or suitable intake matter; local scaling and source labels do not make those judgments.
References
Similar or alternative tools
- Dietary Recall Leftover Correction Term
Subtract supplied leftover mass from served mass.
- Edible Portion Weight Factor
Apply a supplied edible fraction to as-purchased mass.