Description
Calculate whole rations and remaining mass using a caller-supplied ration size.
Food-assistance records track sources, quantities, vouchers, transfers and purchasing units. Nominal person-rations and whole-pack costs depend on supplied assumptions; they do not determine nutritional adequacy or legal entitlements. Returned quantities also do not establish that food can safely be redistributed.
Calculate whole rations and remaining mass using a caller-supplied ration size.
When to use this tool
Use Emergency Food Explicit Ration Share when checking the stated supplied assistance inventory, quantity or cost convention.
How to use the tool and how it works
- Enter availableMass, suppliedRationPerPerson. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read wholePersonRations, remainingMass. Use the output convention below.
Require availableMass>=0 and suppliedRationPerPerson>0. Count floor(available/ration) whole person-rations and subtract their allocated mass for the remainder.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| availableMass | Available Mass | Required. Finite number; minimum 0. |
| suppliedRationPerPerson | Positive caller-defined mass allocation on the same basis as availableMass; no dietary recommendation. | Required. Finite number; strictly above 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| wholePersonRations | Whole Person Rations | Required. Safe integer. |
| remainingMass | Remaining Mass | Required. Finite number. |
{
"input": {
"availableMass": 105,
"suppliedRationPerPerson": 4
},
"output": {
"wholePersonRations": 26,
"remainingMass": 1
}
} Limitations and assumptions
- The ration is supplied, not selected or recommended; no nutrition, duration, individual dietary need or emergency-response adequacy is evaluated.
- 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 verified inventory and program records with qualified nutrition, food-safety and humanitarian professionals for actual dietary, distribution or benefit decisions.
References
Similar or alternative tools
- Food Parcel Component Shortfall
Separate a supplied food-parcel component shortfall from surplus.
- Communal Meal Served Unserved Count
Separate unserved people from extra people served at a communal meal.