Finance Calculator

Days Inventory Outstanding (DIO) Calculator

Days inventory outstanding measures the average number of days inventory sits before being sold. Four modes below: compute DIO, find maximum inventory from a DIO target, simulate inventory reduction, and compare against sector benchmarks.

Note: This calculator is an educational computation tool. Results are informational and not financial, accounting, or investment advice. All calculations run 100% in your browser — no data is sent anywhere.

Mode 1 — Compute DIO

Formula: DIO = (average inventory ÷ COGS) × 365

Verified example: beginning inventory Rp200,000,000 and ending Rp300,000,000 → average Rp250,000,000. With COGS of Rp1,500,000,000 per year: DIO = 250,000,000 ÷ 1,500,000,000 × 365 = 60.83 days (≈ inventory turnover 6.0× per year).

Mode 2 — Inverse Solver: DIO Target → Maximum Inventory

Have a DIO target? Compute the maximum average inventory that still meets it: max inventory = target DIO × COGS ÷ 365.

Verified example: DIO target of 45 days with COGS of Rp1,500,000,000 → maximum average inventory = 45 ÷ 365 × 1,500,000,000 = Rp184,931,507.

Mode 3 — Simulator: Reduce Inventory, Free Cash

Move the slider to see how much cash is freed when average inventory is reduced, along with DIO before and after.

One day of DIO is worth: each 1 day of DIO equals COGS ÷ 365. For COGS of Rp1,500,000,000, one day of DIO = Rp4,109,589.04.

Mode 4 — DIO Benchmarks by Sector

Important: the table below is illustrative — compiled from general patterns per sector for rough comparison, not an official standard and not an audit or performance-rating reference.
SectorIllustrative DIO rangeCharacteristics
Restaurants / fast-food F&B5–15 daysPerishable ingredients, daily turnover
Food & beverage retail20–35 daysRoutine stock, monitored expiry
Consumer electronics35–55 daysShort product cycles, fast obsolescence
General manufacturing45–75 daysRaw materials + work in process
Automotive & components55–85 daysLayered supply chain
Apparel & fashion60–100 daysSeasonal, many SKU variants
Pharmaceuticals70–110 daysStrict regulation, large safety stock
Furniture & furnishings75–120 daysLong production lead times

Frequently Asked Questions (FAQ)

What is days inventory outstanding (DIO)?

Days inventory outstanding (DIO) measures the average number of days inventory sits in the warehouse before being sold. A lower DIO means inventory converts to sales faster and less cash is tied up in stock.

What is the days inventory outstanding formula?

The DIO formula is (average inventory ÷ COGS) × 365. Average inventory = (beginning inventory + ending inventory) ÷ 2, and COGS is the cost of goods sold over the same period. Example: (Rp200,000,000 + Rp300,000,000) ÷ 2 = Rp250,000,000; Rp250,000,000 ÷ Rp1,500,000,000 × 365 = 60.83 days.

What is a normal DIO?

There is no universal DIO number that applies to all businesses; a reasonable figure differs by sector because product characteristics and supply chains differ. The common way to judge it is to compare the company’s DIO against its own historical trend and its sector average. The benchmark table on this page is illustrative, not an official standard.

What is the difference between DIO, DSO, and DPO?

All three measure days in the cash cycle: DIO (days inventory outstanding) = days inventory sits before being sold; DSO (days sales outstanding) = days for receivables to be collected from customers; DPO (days payable outstanding) = days payments to suppliers are delayed. All three combine into the cash conversion cycle: CCC = DIO + DSO − DPO.

Why use average inventory instead of the ending balance?

Inventory balances fluctuate over a period — for example piling up before the busy season, then shrinking after it. Using the average of beginning and ending inventory smooths those fluctuations so DIO reflects typical conditions across the period, not a single date’s snapshot.

Should I use 365 or 360 days in the DIO formula?

Textbooks use 365 days; some analysts and banks use 360 days for simplicity. The difference is small: a DIO of 60.83 days on a 365-day year equals 60.00 days on a 360-day year. What matters is consistency — every comparison across periods or companies uses the same day basis.

Does a lower DIO mean better?

A low DIO means cash is freed from inventory faster, but a DIO that is too low can mean stockout risk and lost sales. A high DIO means more cash tied up in the warehouse, but some industries genuinely need large stocks because of long lead times. Assessment always uses sector context and company trends.

Free tool by NRTechStudio