Intermediate

Days Inventory Outstanding (DIO) Calculator

Enter beginning inventory, ending inventory, COGS and the period length to find Days Inventory Outstanding — how long, on average, goods sit in stock before being sold — and the associated inventory turnover ratio.
Inventory value at the start of the period
Inventory value at the end of the period
COGS for the full period (same period as above)

days

365 for annual, 90 for quarterly, 30 for monthly

Inventory basis

Days Inventory Outstanding (DIO)
100.4days

Average number of days inventory is held before being sold

Average inventory
550,000
Inventory turnover ratio
3.64x
COGS
2,000,000
% of period covered by avg inventory
27.5 %
Beginning inventory500,000
Average inventory550,000
Ending inventory600,000
Step by step
  1. 1

    Average inventory

    (500,000 + 600,000) ÷ 2 = 550,000
  2. 2

    DIO = (avg inventory ÷ COGS) × period

    (550,000 ÷ 2,000,000) × 365 = 100.4
Lock the current result, then change any input to compare scenarios.
Results are estimates for general information only and are not professional advice — always verify important results independently before relying on them. This is not financial, investment or tax advice; consult a qualified professional. Read the full disclaimer.
Quick answer

How does this calculator work?

DIO = (Average Inventory ÷ COGS) × Period Days, where Average Inventory = (Beginning + Ending) ÷ 2. Inventory Turnover = COGS ÷ Average Inventory = Period ÷ DIO. All three inputs must cover the same period (e.g. all annual or all quarterly). Lower DIO signals faster inventory movement and better working-capital efficiency; optimal values vary widely by industry.

Formula
DIO = (Average Inventory ÷ COGS) × Period Days • Inventory Turnover = COGS ÷ Average Inventory
How this is calculated

Days Inventory Outstanding (DIO) — also called Days Sales of Inventory (DSI) or inventory days — measures how many days worth of cost of goods sold is tied up in inventory at any point in time. A lower DIO means inventory moves quickly; a higher DIO means goods sit on shelves longer, tying up working capital and increasing storage costs.

The formula uses average inventory (beginning + ending ÷ 2) rather than a single snapshot to smooth out seasonal variation or deliberate stock build-ups at period boundaries. When only one balance sheet snapshot is available, the ending inventory alone may be used — the option is provided in the calculator. COGS and the inventory figures must cover the same period (for annual DIO, use annual COGS and year-start/year-end inventory).

DIO is the inventory component of the Cash Conversion Cycle (CCC): CCC = DIO + Days Sales Outstanding (DSO) − Days Payable Outstanding (DPO). A shorter CCC means the company converts inventory to cash faster. Acceptable DIO varies widely by industry: grocery retailers may target 5–15 days, car dealers 30–60 days, and aircraft manufacturers several hundred days.

Frequently asked questions

It depends entirely on the industry. Fast-moving consumer goods (FMCG) and grocery typically target 5–30 days; electronics and apparel 30–90 days; heavy machinery and aerospace 100–300+ days. Compare DIO to your industry peers and to your own historical trend rather than using an absolute benchmark.

Average inventory (beginning + ending ÷ 2) is the standard approach and smooths out intentional build-ups or draw-downs at period boundaries. Use ending inventory only if you have a single balance sheet date and no beginning balance, or if your inventory is highly stable throughout the year.

Inventory turnover = COGS ÷ Average Inventory, and DIO = Period Days ÷ Inventory Turnover. They are reciprocals of each other when measured over the same period: a turnover of 6× per year is DIO = 365/6 ≈ 61 days. Higher turnover means lower DIO and vice versa.

Also known as

days inventory outstanding calculator
DIO calculator
days sales of inventory calculator
inventory days calculator
average inventory days held
inventory turnover days ratio
how long inventory sits unsold

APA

TG we-Calculate Editorial Team. (2026). Days Inventory Outstanding (DIO) Calculator [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/days-inventory-outstanding-calculator

Chicago

TG we-Calculate Editorial Team. "Days Inventory Outstanding (DIO) Calculator." TG we-Calculate. 2026. https://we-calculate.com/calculator/days-inventory-outstanding-calculator.

IEEE

TG we-Calculate Editorial Team, "Days Inventory Outstanding (DIO) Calculator," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/days-inventory-outstanding-calculator

BibTeX

@misc{wecalculate_days_inventory_outstanding_calculator, title = {Days Inventory Outstanding (DIO) Calculator}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/days-inventory-outstanding-calculator}}, year = {2026}, note = {TG we-Calculate} }

Did this calculator help you?