Skip to content

Main content

Naturopathy Label Netmass Serving Count Tool

Audit package mass and supplied serving-size arithmetic without intake advice.

Loading tool…

Description

Subtract packagingMass from grossMass.

A product label can express an amount per serving, per package, or on a solvent-free basis. Changing the denominator changes the reported amount or fraction.

Subtract packagingMass from grossMass.

When to use this tool

Use Naturopathy Label Netmass Serving Count when you need to reconcile explicit label quantities or package counts.

How to use the tool and how it works

  1. Enter grossMass, packagingMass, servingMass, declaredServings. 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 netMass, completeServings, remainder, declarationGap. Use the output convention below.

Subtract packagingMass from grossMass. Divide by positive servingMass, returning the floored completeServings, remainder, and count minus declaredServings.1

Input fieldMeaning and unitsAccepted input
grossMassGross MassRequired. Finite number.
packagingMassPackaging MassRequired. Finite number; minimum 0.
servingMassServing MassRequired. Finite number; strictly above 0.
declaredServingsDeclared ServingsRequired. Safe integer; minimum 0.
Output fieldInterpretationReturned shape
netMassNet MassRequired. Finite number.
completeServingsComplete ServingsRequired. Safe integer.
remainderRemainderRequired. Finite number.
declarationGapDeclaration GapRequired. Safe integer.
json
{
  "input": {
    "grossMass": 120,
    "packagingMass": 20,
    "servingMass": 3,
    "declaredServings": 30
  },
  "output": {
    "netMass": 100,
    "completeServings": 33,
    "remainder": 1,
    "declarationGap": 3
  }
}

Limitations and assumptions

  • Units must agree; a package's nominal serving count does not establish an appropriate amount to consume.
  • 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 the original label's units and basis; assess suitability or safety independently of label arithmetic.

References

  1. Calculation and input contract: naturopathy/naturopathy-label-netmass-serving-count — tool.io

Similar or alternative tools