Description
Subtract reserved within onHand for usable stock, divide by positive dailyUse for daysCover, and multiply dailyUse by leadDays+safetyDays for leadDemand and any positive deficit.
Pharmacy inventory distinguishes physical stock, reservations, holds, lots, package units, and expiry records. A stock calculation describes supplied records and cannot establish that a medicine is suitable or authorized for use.
Subtract reserved within onHand for usable stock, divide by positive dailyUse for daysCover, and multiply dailyUse by leadDays+safetyDays for leadDemand and any positive deficit.
When to use this tool
Use Pharmacy Supply Lead Time Day Cover when you need one explicit pharmacy stock-accounting component.
How to use the tool and how it works
- Enter onHand, reserved, dailyUse, leadDays, safetyDays. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read usable, daysCover, leadDemand, deficit. Use the output convention below.
Subtract reserved within onHand for usable stock, divide by positive dailyUse for daysCover, and multiply dailyUse by leadDays+safetyDays for leadDemand and any positive deficit.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| onHand | On Hand | Required. Safe integer; minimum 0. |
| reserved | Reserved | Required. Safe integer; minimum 0. |
| dailyUse | Daily Use | Required. Finite number; strictly above 0. |
| leadDays | Lead Days | Required. Finite number; minimum 0. |
| safetyDays | Safety Days | Required. Finite number; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| usable | Usable | Required. Safe integer. |
| daysCover | Days Cover | Required. Finite number. |
| leadDemand | Lead Demand | Required. Finite number. |
| deficit | Deficit | Required. Finite number. |
{
"input": {
"onHand": 100,
"reserved": 20,
"dailyUse": 10,
"leadDays": 5,
"safetyDays": 2
},
"output": {
"usable": 80,
"daysCover": 8,
"leadDemand": 70,
"deficit": 0
}
} Limitations and assumptions
- Counts, daily demand, and day durations must match; constant demand and supplied lead times are assumptions, not a prescription, service guarantee, or clinical stock 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
Reconcile verified inventory and product records within the pharmacy's controlled workflow before purchasing, releasing, or dispensing stock.
References
Similar or alternative tools
- Ward Stock Imprest Reorder Pack Rounding
Form onHand+onOrder-reserved, subtract it from target with a zero floor, and round required units up to positive packSize.
- Hospital Pharmacy Quarantined Available Balance
Validate quarantine and hold within physical units and their supplied overlap within both.