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
- Enter fiberGrams, energyPerGram, declaredEnergy. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- 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 field | Meaning and units | Accepted input |
|---|---|---|
| fiberGrams | Fiber Grams | Required. Finite number; minimum 0. |
| energyPerGram | Energy Per Gram | Required. Finite number; minimum 0. |
| declaredEnergy | Declared Energy | Required. Finite number; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| fiberEnergy | Fiber Energy | Required. Finite number. |
| otherEnergy | Declared energy minus supplied fiber contribution; negative residuals are retained. | Required. Finite number. |
{
"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
Similar or alternative tools
- Nutrient Unit Energy Ratio
Return energy per supplied nutrient mass.
- Recipe Fat Drainage Energy Adjustment
Adjust a recipe's fat and energy after drainage.