{"product_id":"days-inventory-outstanding","title":"DIO Calculator","description":"\u003cstyle\u003e\n.dio-calculator {\n  --ink: #0f172a;\n  --muted: #475569;\n  --border: #e2e8f0;\n  --surface: #ffffff;\n  --tint: #f8fafc;\n  --primary: #1d4ed8;\n  --accent: #c2410c;\n  --accent-hover: #9a3412;\n  --chart-1: #1e40af;\n  --chart-2: #0d9488;\n  --chart-3: #7c3aed;\n  --chart-4: #be185d;\n  --chart-5: #334155;\n  width: 100%;\n  max-width: 1200px;\n  margin: 0 auto;\n  padding: 24px;\n  color: var(--ink);\n  background: var(--tint);\n  border: 1px solid var(--border);\n  border-radius: 8px;\n  font-family: system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif;\n  font-size: 15px;\n  line-height: 1.55;\n  container-type: inline-size;\n  overflow-wrap: anywhere;\n}\n.dio-calculator,\n.dio-calculator *,\n.dio-calculator *::before,\n.dio-calculator *::after {\n  box-sizing: border-box;\n}\n.dio-calculator * {\n  min-width: 0;\n}\n.dio-calculator h2,\n.dio-calculator h3,\n.dio-calculator p {\n  margin-top: 0;\n}\n.dio-calculator h2 {\n  margin-bottom: 8px;\n  font-size: 24px;\n  line-height: 1.25;\n  font-weight: 700;\n  letter-spacing: -0.02em;\n}\n.dio-calculator h3 {\n  margin-bottom: 12px;\n  font-size: 18px;\n  line-height: 1.35;\n  font-weight: 650;\n}\n.dio-calculator a {\n  color: var(--primary);\n  text-decoration-thickness: 1px;\n  text-underline-offset: 2px;\n}\n.dio-calculator a:hover {\n  text-decoration-thickness: 2px;\n}\n.dio-calculator button,\n.dio-calculator input,\n.dio-calculator select {\n  font: inherit;\n}\n.dio-calculator button,\n.dio-calculator input,\n.dio-calculator select,\n.dio-calculator a {\n  outline: none;\n}\n.dio-calculator button:focus-visible,\n.dio-calculator input:focus-visible,\n.dio-calculator select:focus-visible,\n.dio-calculator a:focus-visible {\n  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.70);\n  border-color: var(--primary);\n}\n.dio-header {\n  display: grid;\n  gap: 16px;\n  margin-bottom: 16px;\n}\n.dio-subtitle {\n  margin-bottom: 0;\n  max-width: 760px;\n  color: var(--muted);\n}\n.dio-pills {\n  display: flex;\n  flex-wrap: wrap;\n  gap: 8px;\n}\n.dio-pill {\n  display: inline-flex;\n  align-items: center;\n  gap: 6px;\n  min-height: 32px;\n  padding: 5px 10px;\n  border: 1px solid var(--border);\n  border-radius: 999px;\n  background: var(--surface);\n  color: var(--muted);\n  font-size: 13px;\n  font-weight: 500;\n  white-space: nowrap;\n}\n.dio-pill strong {\n  color: var(--ink);\n  font-variant-numeric: tabular-nums;\n}\n.dio-toolbar {\n  display: flex;\n  flex-wrap: wrap;\n  align-items: center;\n  gap: 8px;\n  margin-bottom: 16px;\n}\n.dio-button {\n  display: inline-flex;\n  align-items: center;\n  justify-content: center;\n  gap: 10px;\n  min-height: 44px;\n  padding: 11px 16px;\n  border: 1px solid #64748b;\n  border-radius: 6px;\n  background: var(--surface);\n  color: var(--ink);\n  font-size: 15px;\n  font-weight: 650;\n  line-height: 1.2;\n  cursor: pointer;\n  white-space: nowrap;\n  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);\n}\n.dio-button:hover {\n  border-color: #475569;\n  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.10);\n}\n.dio-download {\n  padding: 12px 18px;\n  border-color: var(--accent);\n  background: var(--accent);\n  color: #ffffff;\n}\n.dio-download:hover,\n.dio-download:active {\n  border-color: var(--accent-hover);\n  background: var(--accent-hover);\n}\n.dio-button-icon {\n  width: 18px;\n  height: 18px;\n  flex: 0 0 18px;\n}\n.dio-workspace {\n  display: grid;\n  grid-template-columns: minmax(0, 1fr);\n  gap: 16px;\n  margin-bottom: 16px;\n}\n.dio-panel,\n.dio-chart-card,\n.dio-table-card,\n.dio-education {\n  border: 1px solid var(--border);\n  border-radius: 8px;\n  background: var(--surface);\n  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);\n}\n.dio-panel,\n.dio-chart-card,\n.dio-table-card {\n  padding: 20px;\n}\n.dio-form-grid {\n  display: grid;\n  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));\n  gap: 16px;\n}\n.dio-field {\n  display: flex;\n  flex-direction: column;\n  gap: 6px;\n}\n.dio-label {\n  font-size: 14px;\n  line-height: 1.35;\n  font-weight: 600;\n  color: var(--ink);\n}\n.dio-control-wrap {\n  position: relative;\n}\n.dio-input {\n  width: 100%;\n  min-height: 44px;\n  padding: 10px 12px;\n  border: 1px solid #64748b;\n  border-radius: 6px;\n  background: #ffffff;\n  color: var(--ink);\n  font-size: 15px;\n  line-height: 1.35;\n  font-variant-numeric: tabular-nums;\n}\n.dio-input:hover {\n  border-color: #475569;\n}\n.dio-helper {\n  min-height: 38px;\n  margin-bottom: 0;\n  color: var(--muted);\n  font-size: 13px;\n  line-height: 1.45;\n  font-weight: 500;\n}\n.dio-error {\n  min-height: 19px;\n  margin-bottom: 0;\n  color: #b42318;\n  font-size: 13px;\n  line-height: 1.45;\n  font-weight: 600;\n}\n.dio-input[aria-invalid=\"true\"] {\n  border-color: #b42318;\n  box-shadow: 0 0 0 1px #b42318;\n}\n.dio-results-header {\n  display: flex;\n  flex-wrap: wrap;\n  align-items: flex-start;\n  justify-content: space-between;\n  gap: 12px;\n  margin-bottom: 16px;\n}\n.dio-primary-result {\n  display: grid;\n  gap: 4px;\n}\n.dio-primary-label {\n  color: var(--muted);\n  font-size: 13px;\n  line-height: 1.35;\n  font-weight: 600;\n}\n.dio-primary-value {\n  color: var(--primary);\n  font-size: 30px;\n  line-height: 1.15;\n  font-weight: 700;\n  letter-spacing: -0.02em;\n  font-variant-numeric: tabular-nums;\n  padding-bottom: 3px;\n}\n.dio-status {\n  display: inline-flex;\n  align-items: center;\n  min-height: 30px;\n  padding: 4px 9px;\n  border: 1px solid #bfdbfe;\n  border-radius: 999px;\n  background: #eff6ff;\n  color: #1e3a8a;\n  font-size: 13px;\n  font-weight: 650;\n}\n.dio-result-grid {\n  display: grid;\n  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));\n  gap: 12px;\n}\n.dio-result-card {\n  display: grid;\n  align-content: start;\n  gap: 6px;\n  min-height: 104px;\n  padding: 14px;\n  border: 1px solid var(--border);\n  border-radius: 7px;\n  background: var(--tint);\n}\n.dio-result-label {\n  color: var(--muted);\n  font-size: 13px;\n  line-height: 1.35;\n  font-weight: 600;\n}\n.dio-result-value {\n  color: var(--ink);\n  font-size: 20px;\n  line-height: 1.25;\n  font-weight: 700;\n  font-variant-numeric: tabular-nums;\n}\n.dio-result-note {\n  margin-bottom: 0;\n  color: var(--muted);\n  font-size: 13px;\n  line-height: 1.4;\n  font-weight: 500;\n}\n.dio-inline-message {\n  margin: 12px 0 0;\n  padding: 10px 12px;\n  border: 1px solid #bfdbfe;\n  border-radius: 6px;\n  background: #eff6ff;\n  color: #1e3a8a;\n  font-size: 13px;\n  line-height: 1.5;\n  font-weight: 500;\n}\n.dio-section-stack {\n  display: grid;\n  gap: 16px;\n  margin-bottom: 16px;\n}\n.dio-chart-card {\n  display: grid;\n  gap: 16px;\n}\n.dio-chart-heading {\n  display: grid;\n  gap: 4px;\n}\n.dio-chart-heading p {\n  margin-bottom: 0;\n  color: var(--muted);\n  font-size: 13px;\n  line-height: 1.5;\n  font-weight: 500;\n}\n.dio-chart-cluster {\n  display: grid;\n  grid-template-columns: minmax(0, 1fr);\n  align-items: center;\n  justify-content: center;\n  gap: 20px;\n  width: 100%;\n  max-width: 860px;\n  margin: 0 auto;\n}\n.dio-plot-wrap {\n  display: grid;\n  justify-items: center;\n  width: 100%;\n}\n.dio-chart-svg {\n  display: block;\n  width: 100%;\n  max-width: 620px;\n  height: auto;\n  height: 300px;\n  min-height: 0;\n  overflow: visible;\n}\n.dio-chart-side {\n  display: grid;\n  width: 220px;\n  max-width: 100%;\n  gap: 16px;\n  align-content: center;\n  justify-content: start;\n}\n.dio-chart-legend {\n  display: grid;\n  gap: 10px;\n  align-content: center;\n  justify-content: start;\n}\n.dio-legend-row {\n  display: grid;\n  grid-template-columns: 12px minmax(92px, max-content) max-content;\n  align-items: center;\n  column-gap: 10px;\n  row-gap: 4px;\n  color: var(--muted);\n  font-size: 13px;\n  line-height: 1.35;\n  font-weight: 500;\n}\n.dio-legend-swatch {\n  width: 12px;\n  height: 12px;\n  border-radius: 3px;\n}\n.dio-legend-value {\n  color: var(--ink);\n  font-weight: 700;\n  font-variant-numeric: tabular-nums;\n}\n.dio-chart-callout {\n  margin-top: 0;\n  padding: 10px 12px;\n  border: 1px solid var(--border);\n  border-radius: 6px;\n  background: var(--tint);\n  color: var(--muted);\n  font-size: 13px;\n  line-height: 1.55;\n  font-weight: 500;\n}\n.dio-chart-empty[hidden],\n.dio-chart-body[hidden] {\n  display: none !important;\n}\n.dio-chart-empty {\n  display: grid;\n  place-items: center;\n  min-height: 110px;\n  padding: 16px;\n  border: 1px dashed #cbd5e1;\n  border-radius: 6px;\n  background: var(--tint);\n  color: var(--muted);\n  text-align: center;\n  font-size: 13px;\n  line-height: 1.5;\n  font-weight: 600;\n}\n.dio-safe-stack .dio-chart-cluster {\n  grid-template-columns: minmax(0, 1fr);\n  gap: 24px;\n}\n.dio-safe-stack .dio-chart-side,\n.dio-safe-stack .dio-chart-legend {\n  justify-content: center;\n}\n.dio-table-card {\n  display: grid;\n  gap: 0;\n}\n.dio-table-overflow {\n  width: 100%;\n  overflow-x: auto;\n  overscroll-behavior-inline: contain;\n}\n.dio-table {\n  width: 100%;\n  min-width: 680px;\n  border-collapse: collapse;\n  font-size: 14px;\n  line-height: 1.45;\n}\n.dio-table th,\n.dio-table td {\n  padding: 11px 12px;\n  border-bottom: 1px solid var(--border);\n  text-align: left;\n  vertical-align: top;\n}\n.dio-table th {\n  background: #0f2747;\n  color: #ffffff;\n  font-weight: 700;\n}\n.dio-table td:nth-child(2) {\n  white-space: nowrap;\n  font-variant-numeric: tabular-nums;\n  font-weight: 650;\n}\n.dio-table tbody tr:hover {\n  background: #f8fafc;\n}\n.dio-table-note {\n  margin-top: 16px;\n  padding: 10px 12px;\n  border: 1px solid var(--border);\n  border-radius: 6px;\n  background: var(--tint);\n  color: var(--muted);\n  font-size: 13px;\n  line-height: 1.55;\n  font-weight: 500;\n}\n.dio-safe-table-stack .dio-table-note {\n  margin-top: 20px;\n}\n.dio-education {\n  padding: 24px;\n}\n.dio-education-grid {\n  display: grid;\n  gap: 24px;\n}\n.dio-education section {\n  display: grid;\n  gap: 8px;\n}\n.dio-education p,\n.dio-education li {\n  color: #334155;\n}\n.dio-education ul {\n  margin: 0;\n  padding-left: 22px;\n}\n.dio-formula {\n  display: block;\n  padding: 12px;\n  border: 1px solid var(--border);\n  border-radius: 6px;\n  background: var(--tint);\n  color: var(--ink);\n  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;\n  font-size: 14px;\n  line-height: 1.5;\n  overflow-wrap: anywhere;\n  font-variant-numeric: tabular-nums;\n}\n.dio-sr-only {\n  position: absolute;\n  width: 1px;\n  height: 1px;\n  padding: 0;\n  margin: -1px;\n  overflow: hidden;\n  clip: rect(0, 0, 0, 0);\n  white-space: nowrap;\n  border: 0;\n}\n@container (min-width: 640px) {\n  .dio-chart-cluster {\n    grid-template-columns: minmax(0, 1fr) minmax(200px, 220px);\n  }\n}\n@container (min-width: 900px) {\n  .dio-workspace {\n    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);\n  }\n  .dio-header {\n    grid-template-columns: minmax(0, 1fr) max-content;\n    align-items: end;\n  }\n  .dio-pills {\n    justify-content: flex-end;\n  }\n}\n@media (max-width: 639px) {\n  .dio-calculator {\n    padding: 16px;\n  }\n  .dio-panel,\n  .dio-chart-card,\n  .dio-table-card,\n  .dio-education {\n    padding: 16px;\n  }\n  .dio-form-grid {\n    grid-template-columns: minmax(0, 1fr);\n  }\n  .dio-chart-cluster {\n    gap: 16px;\n  }\n  .dio-chart-side,\n  .dio-chart-legend {\n    justify-content: center;\n  }\n  .dio-legend-row {\n    grid-template-columns: 12px minmax(82px, max-content) max-content;\n  }\n}\n@media (max-width: 359px) {\n  .dio-calculator {\n    padding: 12px;\n  }\n  .dio-panel,\n  .dio-chart-card,\n  .dio-table-card,\n  .dio-education {\n    padding: 14px;\n  }\n  .dio-button {\n    width: 100%;\n  }\n  .dio-primary-value {\n    font-size: 27px;\n  }\n  .dio-table-note {\n    margin-top: 12px;\n  }\n}\n\u003c\/style\u003e\n\u003cdiv class=\"dio-calculator\" data-calculator-root\u003e\n  \u003cheader class=\"dio-header\"\u003e\n    \u003cdiv class=\"dio-header-copy\"\u003e\n      \u003ch2\u003eDays Inventory Outstanding Calculator\u003c\/h2\u003e\n      \u003cp class=\"dio-subtitle\"\u003eEstimate how many days inventory remains on hand before it is sold, then review turnover, daily cost flow, and inventory movement from the same inputs.\u003c\/p\u003e\n    \u003c\/div\u003e\n    \u003cdiv class=\"dio-pills\" aria-label=\"Live calculation highlights\"\u003e\n      \u003cspan class=\"dio-pill\"\u003eDIO \u003cstrong class=\"dio-pill-dio\"\u003e—\u003c\/strong\u003e\u003c\/span\u003e\n      \u003cspan class=\"dio-pill\"\u003eAverage inventory \u003cstrong class=\"dio-pill-average\"\u003e—\u003c\/strong\u003e\u003c\/span\u003e\n      \u003cspan class=\"dio-pill\"\u003eTurnover \u003cstrong class=\"dio-pill-turnover\"\u003e—\u003c\/strong\u003e\u003c\/span\u003e\n      \u003cspan class=\"dio-pill\"\u003eInventory trend \u003cstrong class=\"dio-pill-trend\"\u003e—\u003c\/strong\u003e\u003c\/span\u003e\n    \u003c\/div\u003e\n  \u003c\/header\u003e\n\n  \u003cdiv class=\"dio-toolbar\" aria-label=\"Calculator actions\"\u003e\n    \u003cbutton class=\"dio-button dio-download\" type=\"button\"\u003e\n      \u003csvg class=\"dio-button-icon\" viewbox=\"0 0 24 24\" aria-hidden=\"true\" focusable=\"false\"\u003e\n        \u003cpath d=\"M12 3v11m0 0 4-4m-4 4-4-4M5 17v3h14v-3\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\u003e\u003c\/path\u003e\n      \u003c\/svg\u003e\n      \u003cspan\u003eDownload Excel\u003c\/span\u003e\n    \u003c\/button\u003e\n    \u003cbutton class=\"dio-button dio-reset\" type=\"button\"\u003eReset\u003c\/button\u003e\n  \u003c\/div\u003e\n\n  \u003cdiv class=\"dio-workspace\"\u003e\n    \u003csection class=\"dio-panel\" aria-labelledby=\"dio-inputs-heading\"\u003e\n      \u003ch3 id=\"dio-inputs-heading\"\u003eInventory and cost inputs\u003c\/h3\u003e\n      \u003cdiv class=\"dio-form-grid\"\u003e\n        \u003cdiv class=\"dio-field\"\u003e\n          \u003clabel class=\"dio-label\" for=\"dio-starting-inventory\"\u003eStarting inventory\u003c\/label\u003e\n          \u003cdiv class=\"dio-control-wrap\"\u003e\n            \u003cinput class=\"dio-input dio-currency-input\" id=\"dio-starting-inventory\" type=\"text\" inputmode=\"decimal\" autocomplete=\"off\" value=\"$500,000.00\" aria-describedby=\"dio-starting-help dio-starting-error\"\u003e\n          \u003c\/div\u003e\n          \u003cp class=\"dio-helper\" id=\"dio-starting-help\"\u003eInventory value at the beginning of the accounting period.\u003c\/p\u003e\n          \u003cp class=\"dio-error\" id=\"dio-starting-error\" aria-live=\"polite\"\u003e\u003c\/p\u003e\n        \u003c\/div\u003e\n        \u003cdiv class=\"dio-field\"\u003e\n          \u003clabel class=\"dio-label\" for=\"dio-ending-inventory\"\u003eEnding inventory\u003c\/label\u003e\n          \u003cdiv class=\"dio-control-wrap\"\u003e\n            \u003cinput class=\"dio-input dio-currency-input\" id=\"dio-ending-inventory\" type=\"text\" inputmode=\"decimal\" autocomplete=\"off\" value=\"$750,000.00\" aria-describedby=\"dio-ending-help dio-ending-error\"\u003e\n          \u003c\/div\u003e\n          \u003cp class=\"dio-helper\" id=\"dio-ending-help\"\u003eInventory value at the end of the same accounting period.\u003c\/p\u003e\n          \u003cp class=\"dio-error\" id=\"dio-ending-error\" aria-live=\"polite\"\u003e\u003c\/p\u003e\n        \u003c\/div\u003e\n        \u003cdiv class=\"dio-field\"\u003e\n          \u003clabel class=\"dio-label\" for=\"dio-cogs\"\u003eCost of goods sold (COGS)\u003c\/label\u003e\n          \u003cdiv class=\"dio-control-wrap\"\u003e\n            \u003cinput class=\"dio-input dio-currency-input\" id=\"dio-cogs\" type=\"text\" inputmode=\"decimal\" autocomplete=\"off\" value=\"$6,500,000.00\" aria-describedby=\"dio-cogs-help dio-cogs-error\"\u003e\n          \u003c\/div\u003e\n          \u003cp class=\"dio-helper\" id=\"dio-cogs-help\"\u003eCost assigned to goods sold during the accounting period.\u003c\/p\u003e\n          \u003cp class=\"dio-error\" id=\"dio-cogs-error\" aria-live=\"polite\"\u003e\u003c\/p\u003e\n        \u003c\/div\u003e\n        \u003cdiv class=\"dio-field\"\u003e\n          \u003clabel class=\"dio-label\" for=\"dio-period-days\"\u003eDays in accounting period\u003c\/label\u003e\n          \u003cdiv class=\"dio-control-wrap\"\u003e\n            \u003cinput class=\"dio-input dio-number-input\" id=\"dio-period-days\" type=\"text\" inputmode=\"decimal\" autocomplete=\"off\" value=\"365\" aria-describedby=\"dio-days-help dio-days-error\"\u003e\n          \u003c\/div\u003e\n          \u003cp class=\"dio-helper\" id=\"dio-days-help\"\u003eUse the actual number of days represented by the inventory and COGS figures.\u003c\/p\u003e\n          \u003cp class=\"dio-error\" id=\"dio-days-error\" aria-live=\"polite\"\u003e\u003c\/p\u003e\n        \u003c\/div\u003e\n      \u003c\/div\u003e\n    \u003c\/section\u003e\n\n    \u003csection class=\"dio-panel\" aria-labelledby=\"dio-results-heading\"\u003e\n      \u003cdiv class=\"dio-results-header\"\u003e\n        \u003cdiv class=\"dio-primary-result\"\u003e\n          \u003cspan class=\"dio-primary-label\" id=\"dio-results-heading\"\u003eDays inventory outstanding\u003c\/span\u003e\n          \u003cstrong class=\"dio-primary-value dio-live-result\" aria-live=\"polite\"\u003e35.10 days\u003c\/strong\u003e\n        \u003c\/div\u003e\n        \u003cspan class=\"dio-status\"\u003eOperational efficiency metric\u003c\/span\u003e\n      \u003c\/div\u003e\n      \u003cdiv class=\"dio-result-grid\"\u003e\n        \u003carticle class=\"dio-result-card\"\u003e\n          \u003cspan class=\"dio-result-label\"\u003eAverage inventory\u003c\/span\u003e\n          \u003cstrong class=\"dio-result-value dio-average-value\"\u003e$625,000.00\u003c\/strong\u003e\n          \u003cp class=\"dio-result-note\"\u003eMean of starting and ending inventory.\u003c\/p\u003e\n        \u003c\/article\u003e\n        \u003carticle class=\"dio-result-card\"\u003e\n          \u003cspan class=\"dio-result-label\"\u003eCOGS per day\u003c\/span\u003e\n          \u003cstrong class=\"dio-result-value dio-daily-cogs-value\"\u003e$17,808.22\u003c\/strong\u003e\n          \u003cp class=\"dio-result-note\"\u003eAverage daily cost flow through inventory.\u003c\/p\u003e\n        \u003c\/article\u003e\n        \u003carticle class=\"dio-result-card\"\u003e\n          \u003cspan class=\"dio-result-label\"\u003eInventory turnover\u003c\/span\u003e\n          \u003cstrong class=\"dio-result-value dio-turnover-value\"\u003e10.40×\u003c\/strong\u003e\n          \u003cp class=\"dio-result-note\"\u003eEstimated inventory cycles in the period.\u003c\/p\u003e\n        \u003c\/article\u003e\n        \u003carticle class=\"dio-result-card\"\u003e\n          \u003cspan class=\"dio-result-label\"\u003eInventory change\u003c\/span\u003e\n          \u003cstrong class=\"dio-result-value dio-change-value\"\u003e+$250,000.00\u003c\/strong\u003e\n          \u003cp class=\"dio-result-note dio-change-note\"\u003eEnding inventory is 50.00% above starting inventory.\u003c\/p\u003e\n        \u003c\/article\u003e\n      \u003c\/div\u003e\n      \u003cp class=\"dio-inline-message dio-interpretation\"\u003eAt the current cost flow, average inventory represents about 35.10 days of COGS. Compare this result with the company’s own history and close industry peers.\u003c\/p\u003e\n    \u003c\/section\u003e\n  \u003c\/div\u003e\n\n  \u003cdiv class=\"dio-section-stack\"\u003e\n    \u003csection class=\"dio-chart-card\" aria-labelledby=\"dio-chart-heading\"\u003e\n      \u003cdiv class=\"dio-chart-heading\"\u003e\n        \u003ch3 id=\"dio-chart-heading\"\u003eInventory snapshot\u003c\/h3\u003e\n        \u003cp class=\"dio-chart-intro\"\u003eStarting, ending, and average inventory are shown on the same scale.\u003c\/p\u003e\n      \u003c\/div\u003e\n      \u003cdiv class=\"dio-chart-body\"\u003e\n        \u003cdiv class=\"dio-chart-cluster\"\u003e\n          \u003cdiv class=\"dio-plot-wrap\"\u003e\n            \u003csvg class=\"dio-chart-svg\" role=\"img\" aria-labelledby=\"dio-chart-title dio-chart-desc\" viewbox=\"0 0 620 300\" preserveaspectratio=\"xMidYMid meet\"\u003e\n              \u003ctitle id=\"dio-chart-title\"\u003eInventory value comparison\u003c\/title\u003e\n              \u003cdesc id=\"dio-chart-desc\"\u003eBar chart comparing starting inventory, ending inventory, and average inventory.\u003c\/desc\u003e\n            \u003c\/svg\u003e\n          \u003c\/div\u003e\n          \u003cdiv class=\"dio-chart-side\"\u003e\n            \u003cdiv class=\"dio-chart-legend\" aria-label=\"Inventory chart legend\"\u003e\u003c\/div\u003e\n            \u003cdiv class=\"dio-chart-callout\"\u003eThe ending balance is higher than the starting balance, so inventory grew during the period. A rising balance can be intentional, but it can also increase storage, obsolescence, and working-capital exposure.\u003c\/div\u003e\n          \u003c\/div\u003e\n        \u003c\/div\u003e\n        \u003cp class=\"dio-chart-summary dio-sr-only\"\u003e\u003c\/p\u003e\n      \u003c\/div\u003e\n      \u003cdiv class=\"dio-chart-empty\" hidden\u003eEnter positive inventory values to see the chart.\u003c\/div\u003e\n    \u003c\/section\u003e\n\n    \u003csection class=\"dio-table-card\" aria-labelledby=\"dio-table-heading\"\u003e\n      \u003ch3 id=\"dio-table-heading\"\u003eCalculation detail\u003c\/h3\u003e\n      \u003cdiv class=\"dio-table-overflow\"\u003e\n        \u003ctable class=\"dio-table\"\u003e\n          \u003cthead\u003e\n            \u003ctr\u003e\n              \u003cth scope=\"col\"\u003eMetric\u003c\/th\u003e\n              \u003cth scope=\"col\"\u003eCurrent value\u003c\/th\u003e\n              \u003cth scope=\"col\"\u003eHow it is used\u003c\/th\u003e\n            \u003c\/tr\u003e\n          \u003c\/thead\u003e\n          \u003ctbody class=\"dio-table-body\"\u003e\u003c\/tbody\u003e\n        \u003c\/table\u003e\n      \u003c\/div\u003e\n      \u003cdiv class=\"dio-table-note\"\u003eThe calculator keeps full precision internally and rounds only displayed and exported values. All table rows, chart values, summary cards, and workbook cells come from the same calculation model.\u003c\/div\u003e\n    \u003c\/section\u003e\n  \u003c\/div\u003e\n\n  \u003csection class=\"dio-education\" aria-labelledby=\"dio-education-heading\"\u003e\n    \u003cdiv class=\"dio-education-grid\"\u003e\n      \u003csection\u003e\n        \u003ch2 id=\"dio-education-heading\"\u003eWhat does days inventory outstanding measure?\u003c\/h2\u003e\n        \u003cp\u003eDays inventory outstanding, usually abbreviated as DIO, estimates how long a company’s average inventory would support its current cost of goods sold. It translates inventory and COGS into a time-based operating metric, making inventory efficiency easier to compare across periods. A lower DIO generally indicates that inventory moves through the business more quickly, while a higher DIO indicates that more inventory is held relative to sales activity. Neither direction is automatically good or bad: the correct level depends on product lead times, seasonality, service expectations, spoilage risk, purchasing economics, and the industry’s normal operating model.\u003c\/p\u003e\n        \u003cp\u003eDIO is usually reviewed with other working-capital metrics rather than in isolation. The \u003ca href=\"https:\/\/www.sec.gov\/about\/reports-publications\/investor-publications\/beginners-guide-financial-statements\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eU.S. Securities and Exchange Commission’s guide to financial statements\u003c\/a\u003e explains where balance-sheet inventory and income-statement cost figures appear. Those statements should cover a consistent accounting period before you use them here.\u003c\/p\u003e\n      \u003c\/section\u003e\n\n      \u003csection\u003e\n        \u003ch2\u003eHow should each input be completed?\u003c\/h2\u003e\n        \u003ch3\u003eStarting inventory\u003c\/h3\u003e\n        \u003cp\u003eEnter the carrying value of inventory at the beginning of the period. This is a required dollar input when you want a complete DIO result. Use the value reported under the company’s accounting policy rather than a retail selling-price estimate. A higher starting balance raises average inventory and therefore increases DIO when all other inputs stay constant. A common mistake is mixing a beginning balance from one entity or fiscal period with COGS from another.\u003c\/p\u003e\n        \u003ch3\u003eEnding inventory\u003c\/h3\u003e\n        \u003cp\u003eEnter inventory at the end of the same period. It is also required for the standard two-point average. Increasing ending inventory raises the average balance and usually raises DIO. A large increase may reflect growth preparation, supplier constraints, seasonal purchasing, slower demand, or obsolete stock. The calculator displays both the dollar change and the percentage change from the starting balance so you can distinguish inventory movement from turnover efficiency.\u003c\/p\u003e\n        \u003ch3\u003eCost of goods sold\u003c\/h3\u003e\n        \u003cp\u003eEnter COGS for the exact accounting period. COGS is the cost assigned to products or services sold, not revenue and not cash paid to suppliers. Higher COGS reduces DIO because more cost is flowing through inventory each day. Zero or negative COGS cannot produce a meaningful DIO, so the calculator shows a validation message instead of dividing by zero. The accounting treatment of inventory may vary; \u003ca href=\"https:\/\/www.irs.gov\/publications\/p538\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eIRS Publication 538\u003c\/a\u003e provides general background on accounting periods and methods, although tax reporting and management analysis may use different conventions.\u003c\/p\u003e\n        \u003ch3\u003eDays in accounting period\u003c\/h3\u003e\n        \u003cp\u003eEnter the actual period length represented by COGS and the two inventory balances. Use 365 or 366 for a full fiscal year, about 90 or 91 for a quarter, or the precise number of days for a custom period. This field is required and must be positive. Using annual COGS with quarterly days, or quarterly COGS with annual days, will materially distort the result.\u003c\/p\u003e\n      \u003c\/section\u003e\n\n      \u003csection\u003e\n        \u003ch2\u003eHow is the DIO formula applied?\u003c\/h2\u003e\n        \u003cspan class=\"dio-formula\"\u003eAverage inventory = (starting inventory + ending inventory) ÷ 2\u003cbr\u003eDIO = average inventory ÷ COGS × days in accounting period\u003c\/span\u003e\n        \u003cp\u003eThe calculation first smooths the opening and closing inventory values into an average. It then divides that average by total COGS to determine what share of the period’s cost flow is represented by inventory. Multiplying by period days converts that share into days. The turnover result is the reciprocal view: COGS divided by average inventory. For the prefilled example, average inventory is $625,000, DIO is about 35.10 days, and inventory turns about 10.40 times during a 365-day period.\u003c\/p\u003e\n        \u003cp\u003eTwo-point averaging is practical, but it may be less representative when inventory fluctuates sharply within the period. Monthly or weekly average balances can provide a more stable measure for seasonal businesses. The calculator follows the common beginning-and-ending average because those figures are usually available from published statements.\u003c\/p\u003e\n      \u003c\/section\u003e\n\n      \u003csection\u003e\n        \u003ch2\u003eHow should the results, chart, and table be interpreted?\u003c\/h2\u003e\n        \u003cp\u003eThe primary DIO result is the estimated number of days that average inventory represents at the observed COGS rate. A high value may indicate slower movement, deliberate safety stock, long production cycles, or excess inventory. A low value may indicate efficient flow, but it can also signal stockout risk or underinvestment in service levels. A zero result occurs only when average inventory is zero; a blank result means required inputs are missing or invalid.\u003c\/p\u003e\n        \u003cp\u003eAverage inventory is the numerator of the DIO formula. COGS per day converts the period total into a daily run rate. Inventory turnover indicates how many times average inventory is theoretically consumed and replenished during the period. Inventory change shows whether the ending balance increased or decreased relative to the opening balance, but it does not by itself explain why the change occurred.\u003c\/p\u003e\n        \u003cp\u003eThe bar chart compares starting, ending, and average inventory on one dollar scale. The legend repeats the exact values, and the callout explains the direction of movement. The calculation table shows every input and derived metric, including the formula role of each row. After changing assumptions, all visual and tabular outputs update together. Download Excel creates a current-state workbook for review or documentation.\u003c\/p\u003e\n      \u003c\/section\u003e\n\n      \u003csection\u003e\n        \u003ch2\u003eWhat are the main benefits and common mistakes?\u003c\/h2\u003e\n        \u003cp\u003eDIO is useful for trend analysis, peer comparison, purchase planning, and working-capital reviews. It can help identify whether inventory growth is keeping pace with operating activity. However, comparisons are strongest when businesses use similar accounting policies, product mixes, and reporting periods. Industry structure matters: a grocery distributor, aircraft manufacturer, software reseller, and luxury retailer can have very different normal inventory cycles.\u003c\/p\u003e\n        \u003cul\u003e\n          \u003cli\u003eDo not use revenue in place of COGS; doing so changes the economics of the ratio.\u003c\/li\u003e\n          \u003cli\u003eDo not combine balances and COGS from mismatched periods, currencies, or business units.\u003c\/li\u003e\n          \u003cli\u003eDo not interpret a lower DIO as universally better without considering availability and stockout costs.\u003c\/li\u003e\n          \u003cli\u003eDo not rely on only one year; review changes over time and investigate unusual movements.\u003c\/li\u003e\n        \u003c\/ul\u003e\n        \u003cp\u003eFor a broader operational view, combine DIO with receivables and payables timing to understand the cash conversion cycle. A concise overview is available from \u003ca href=\"https:\/\/www.investopedia.com\/terms\/d\/days-inventory-outstanding-dio.asp\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eInvestopedia’s DIO explanation\u003c\/a\u003e. The result remains an analytical estimate and should not be treated as personalized accounting, tax, investment, or legal advice.\u003c\/p\u003e\n      \u003c\/section\u003e\n    \u003c\/div\u003e\n  \u003c\/section\u003e\n\u003c\/div\u003e","brand":"FinancialModelsLab","offers":[{"title":"Default Title","offer_id":49909489926387,"sku":"days-inventory-outstanding","price":0.0,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0522\/6191\/2762\/files\/days-inventory-outstanding.webp?v=1783935591","url":"https:\/\/financialmodelslab.com\/products\/days-inventory-outstanding","provider":"Financial Models Lab","version":"1.0","type":"link"}