Description
Return energy per supplied nutrient mass.
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.
Return energy per supplied nutrient mass.
When to use this tool
Use Nutrient Unit Energy Ratio when checking one explicit energy, label-resolution or rounding term.
How to use the tool and how it works
- Enter energy, nutrientMass. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read energyPerMass. Use the output convention below.
Return energy per supplied nutrient mass. Require nonnegative energy and positive nutrientMass; energyPerMass = energy/nutrientMass.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| energy | Energy | Required. Finite number; minimum 0. |
| nutrientMass | Nutrient Mass | Required. Finite number; strictly above 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| energyPerMass | Energy Per Mass | Required. Finite number. |
{
"input": {
"energy": 40,
"nutrientMass": 10
},
"output": {
"energyPerMass": 4
}
} Limitations and assumptions
- This ratio is not necessarily the nutrient's physiological energy factor or dietary recommendation.
- 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
- Nutrition Label Fiber Energy Factor
Separate a declared food energy value into supplied fiber energy and remainder.
- Meal Fat Energy Share Term
Return fat-derived energy and its share of total energy.