Skip to content

Main content

Nutrition Label Fiber Energy Factor Tool

Caller-supplied labeling energy factor; no jurisdiction or fiber subtype rule is selected.

Loading tool…

Description

Separate a declared food energy value into supplied fiber energy and remainder.

Food energy and label values depend on the declared nutrient factors, serving basis and rounding convention. A numerical fraction or rounding envelope does not select a regulatory rule, establish food quality or determine individual nutritional needs.

Separate a declared food energy value into supplied fiber energy and remainder.

When to use this tool

Use Nutrition Label Fiber Energy Factor when checking one explicit energy, label-resolution or rounding term.

How to use the tool and how it works

  1. Enter fiberGrams, energyPerGram, declaredEnergy. 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 fiberEnergy, otherEnergy. Use the output convention below.

Separate a declared food energy value into supplied fiber energy and remainder. Require nonnegative grams, energyPerGram and declaredEnergy; otherEnergy = declaredEnergy-fiberGrams*factor.1

Input fieldMeaning and unitsAccepted input
fiberGramsFiber GramsRequired. Finite number; minimum 0.
energyPerGramEnergy Per GramRequired. Finite number; minimum 0.
declaredEnergyDeclared EnergyRequired. Finite number; minimum 0.
Output fieldInterpretationReturned shape
fiberEnergyFiber EnergyRequired. Finite number.
otherEnergyDeclared energy minus supplied fiber contribution; negative residuals are retained.Required. Finite number.
json
{
  "input": {
    "fiberGrams": 10,
    "energyPerGram": 2,
    "declaredEnergy": 100
  },
  "output": {
    "fiberEnergy": 20,
    "otherEnergy": 80
  }
}

Limitations and assumptions

  • The remainder can be negative; no jurisdictional label factor or regulatory validity is selected.
  • 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

Use the applicable labeling method and matched food-composition basis; assess dietary implications with appropriate professional context.

References

  1. Calculation and input contract: dietetics/nutrition-label-fiber-energy-factor — tool.io

Similar or alternative tools