Skip to content

Main content

Food Label Drained Net Weight Share Tool

Calculate explicitly labeled drained-to-net food mass fraction and remaining mass without inferring nutrients.

Loading tool…

Description

Calculate drained mass as a share of supplied positive net mass.

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 drained mass as a share of supplied positive net mass.

When to use this tool

Use Food Label Drained Net Weight Share when you already have drainedMass, netMass and need to calculate drained mass as a share of supplied positive net mass.

How to use the tool and how it works

  1. Enter drainedMass, netMass. 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 fraction, remainder. Use the output convention below.

Require netMass positive/finite and drainedMass within [0,net]; return drained/net and net-drained.1

Input fieldMeaning and unitsAccepted input
drainedMassDrained MassRequired. Finite number; minimum 0.
netMassNet MassRequired. Finite number; strictly above 0.
Output fieldInterpretationReturned shape
fractionFractionRequired. Finite number.
remainderRemainderRequired. Finite number.
json
{
  "input": {
    "drainedMass": 30,
    "netMass": 120
  },
  "output": {
    "fraction": 0.25,
    "remainder": 90
  }
}

Limitations and assumptions

  • This is a recorded mass relation, not a legal net-weight determination, nutrient adjustment or edible-fraction estimate.
  • 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

  1. Calculation and input contract: dietetics/food-label-drained-net-weight-share — tool.io

Similar or alternative tools