Why Portfolio-Wide DSI Hides Simultaneous Stockouts and Overstock
Accountants love looking at storewide Days Sales of Inventory (DSI)—for example, "we hold 45 days of inventory, so we look balanced." Unfortunately, storewide averages lie: a 45-day blended DSI often means half your fast movers have 9 days left before going out of stock while your slow movers sit on 160 days of dead weight.
Even single-SKU DSI needs a reality check against supplier lead times. Thirty days of supply sounds safe until you remember your factory requires 35 days for production and ocean transit—putting your Stockout Buffer Margin at -5 days and guaranteeing an out-of-stock gap.
This calculator computes both Financial DSI and Unit Days of Supply per SKU, subtracts supplier Lead Time Days to reveal your true Buffer Margin, and flags every variant as STOCKOUT RISK, OPTIMAL, or OVERSTOCK.
How to Use the DSI & Countdown Tool in 4 Steps
Gather 30-Day COGS, Units Sold & On-Hand Counts
Paste SKU on-hand quantities, unit cost, trailing 30-day COGS, trailing 30-day units sold, and supplier lead time days.
Compare Financial DSI vs Unit Runway
Verify whether valuation-weighted DSI matches physical unit days of supply across cost changes.
Check Stockout Buffer Margin
Inspect Unit Days of Supply minus Lead Time Days—any SKU <= 7 days (especially <= 0) requires urgent replenishment.
Export the DSI Countdown CSV
Download the full SKU countdown sheet to coordinate buyers, 3PL replenishment, and cash-flow planning.
Deterministic Logic & Shopify Validation Rules
- Financial DSI = ((Units On Hand × Unit Cost) / Last 30d COGS) × 30.
- Unit Days of Supply = Units On Hand / (Last 30d Units Sold / 30).
- Stockout Buffer Margin = Unit Days of Supply − Lead Time Days.
- Classification: STOCKOUT RISK when Buffer Margin <= 7 days; OVERSTOCK when Unit Supply or DSI > 90 days (and Buffer Margin > 30 days) or zero 30d sales with stock on hand; otherwise OPTIMAL.