Skip to content
Astera Technology

How far does stock cover a supplied demand calendar?

Find the first unmet demand day using the supplied arrival timing.

Astera Technology

Stock cover calculation

Each row is one consecutive planning day, including zero-demand days; use the same item and count unit throughout. Labels do not validate date spans. Scenario arrivals enter before demand. Cover stops at the first shortage; a partial day assumes uniform demand.

Planning inputs
Editable records
Day labelAssumed arrival unitsDemand unitsRemove

Example result

Demand calendar result
DayArrivalDemandBefore demandFilledRemainingShortfallState
D10206020400Covered
D220306030300Covered
D30403030010First shortage
Cover summary
MeasureValue
Full days covered2
Cover within horizon2.75
First shortageD3 / 10
Stock units up to the first shortage600D1D2D3
Stock units up to the first shortage — Dashed: before demand; solid: remaining; red: shortage

Inputs and planning rule

This example starts with 60 usable units. Each row must be one consecutive planning day, including zero-demand days, for the same item and count unit. Labels do not validate date spans. Each scenario arrival enters before that day’s demand. After the first shortage, later rows are retained but not evaluated as uninterrupted cover. A partial day assumes uniform demand within that day; arrivals are assumptions, not received stock.

Worked example

Stock cover example
DayArrival unitsDemand unitsBefore demandRemainingShortfall
D102060400
D2203060300
D304030010
Download editable CSV ↓

What changes if a later arrival follows the D3 shortage?

Show the worked answer

The first shortage remains D3. Cover is two full days plus 30/40 of D3, or 2.75 days under the uniform within-day assumption. Later arrivals cannot erase that gap.

When the result is held

All-zero demand reports no demand in this horizon. A fully supplied horizon has no established cover beyond its last row. Blank values are unknown, not zero. Use distinct nonblank day labels, 1–366 rows and whole quantities from 0 to 1,000,000. Exact exhaustion covers that day; a shortage stops evaluation.

Related resources