Demand buffer units โ€” local calculator

Single-purpose local calculator: Demand buffer units. Public formula: peak_daily_demand*peak_lead_days-average_daily_demand*average_lead_days. Includes editable input, CSV measurement register, synthetic worked example and validation checklist. No online service.

Python 3.10+ locally; no paid libraries. A small single-purpose calculator, not a complete business platform. English workbook/code; Russian quickstart.

49 XTR

Open the store

Prices in Telegram Stars (XTR). Income and customer results are not guaranteed.

Specialist stores

Formula / input / worked example (English)

# Demand buffer units

`peak_daily_demand*peak_lead_days-average_daily_demand*average_lead_days`

Input semantics and units:
- `average_daily_demand`: numeric input; units are part of the field name where applicable.
- `average_lead_days`: numeric input; units are part of the field name where applicable.
- `peak_daily_demand`: numeric input; units are part of the field name where applicable.
- `peak_lead_days`: numeric input; units are part of the field name where applicable.

Result uses the unit stated in the product title, or a dimensionless ratio. Check cohort membership and aggregation boundaries independently.

example-input.json

{
  "average_daily_demand": 12.0,
  "average_lead_days": 15.0,
  "peak_daily_demand": 18.0,
  "peak_lead_days": 21.0
}

example-output.json

{
  "product_id": "ops-safety-stock",
  "result": 198.0,
  "scope": "Arithmetic estimate from supplied inputs; no forecast or service"
}