Skip to content

Main content

Ingredient Solid Water Fraction Tool

Split one explicitly measured ingredient into water/solid mass on a declared basis; not a formulation ledger.

Loading tool…

Description

Return water and remaining solid mass and retain the unit label.

Food quantities depend on whether their basis is gross, edible, drained, wet, dry or solid mass. Changing the denominator can change a reported concentration or yield without changing the actual sample or proving anything about its safety.

Return water and remaining solid mass and retain the unit label.

When to use this tool

Use Ingredient Solid Water Fraction when you need a stated food-mass, composition-basis or yield calculation.

How to use the tool and how it works

  1. Enter ingredientMass, measuredWaterFraction, massUnit. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read waterMass, solidMass, unit. Use the output convention below.

Require nonnegative ingredient mass, nonempty unit and water fraction in [0, 1]. Return water and remaining solid mass and retain the unit label.1

Input fieldMeaning and unitsAccepted input
ingredientMassIngredient MassRequired. Finite number; minimum 0.
measuredWaterFractionMeasured Water FractionRequired. Finite number; minimum 0; maximum 1.
massUnitMass UnitRequired. Text; maximum UTF-16 length 8192.
Output fieldInterpretationReturned shape
waterMassWater MassRequired. Finite number.
solidMassSolid MassRequired. Finite number.
unitUnitRequired. Text; maximum UTF-16 length 8192.
json
{
  "input": {
    "ingredientMass": 100,
    "measuredWaterFraction": 0.2,
    "massUnit": "g"
  },
  "output": {
    "waterMass": 20,
    "solidMass": 80,
    "unit": "g"
  }
}

Limitations and assumptions

  • Water fraction is wet-mass basis, not percent. The unit label is not validated and the calculation does not identify ingredients or nutritional composition.
  • 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

Reconcile measured quantities and preparation records on a common basis. Use the appropriate laboratory, nutritional or safety assessment when arithmetic alone cannot establish the intended property.

References

  1. Calculation and input contract: food-technology/ingredient-solid-water-fraction — tool.io

Similar or alternative tools