Skip to content

Main content

Household Food Stock Duration Tool

Divide supplied usable stock by explicit constant daily draw; no nutrition adequacy or assistance eligibility claim.

Loading tool…

Description

Optionally exclude reserve and divide the stock base by daily draw.

Stock planning relates quantities to use rates, reservations, losses and package sizes. The resulting coverage is a model of supplied inventory, not assurance of edibility, safe storage, adequate nutrition or actual recipient eligibility.

Optionally exclude reserve and divide the stock base by daily draw.

When to use this tool

Use Household Food Stock Duration when you need an explicit food-inventory or distribution-budget calculation.

How to use the tool and how it works

  1. Enter usableStock, dailyDraw, reservedStock, excludeReserve. 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 stockBase, durationDays. Use the output convention below.

Require positive dailyDraw and reserve between zero and usable stock. Optionally exclude reserve and divide the stock base by daily draw.1

Input fieldMeaning and unitsAccepted input
usableStockUsable StockRequired. Finite number; minimum 0.
dailyDrawDaily DrawRequired. Finite number; strictly above 0.
reservedStockReserved StockRequired. Finite number; minimum 0.
excludeReserveExclude ReserveRequired. Boolean.
Output fieldInterpretationReturned shape
stockBaseStock BaseRequired. Finite number.
durationDaysDuration DaysRequired. Finite number.
json
{
  "input": {
    "usableStock": 100,
    "dailyDraw": 10,
    "reservedStock": 20,
    "excludeReserve": true
  },
  "output": {
    "stockBase": 80,
    "durationDays": 8
  }
}

Limitations and assumptions

  • Daily draw is supplied stock units/day, not a recommended intake. Constant use and complete usability are assumptions; no dietary adequacy or safety is established.
  • 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

Reconcile physical stock and the applicable handling and distribution procedures. Assess food condition and appropriate nutritional requirements independently of inventory arithmetic.

References

  1. Calculation and input contract: food-security/household-food-stock-duration — tool.io

Similar or alternative tools