Calculateus

Days Inventory Outstanding (DIO) Calculator

Calculate the average number of days inventory sits before it's sold.

Result

Days Inventory Outstanding
60.8 days

About the DIO Calculator

The Days Inventory Outstanding (DIO) Calculator estimates how many days, on average, inventory sits in stock before it's sold, based on average inventory value and cost of goods sold over a chosen period. Operations and finance teams use it to judge whether inventory is moving efficiently or building up faster than it's being sold, and to spot slowdowns before they show up as a cash squeeze.

How It Works

You supply average inventory value, cost of goods sold (COGS) for the period, and the length of that period in days, which defaults to 365 for a full year. The calculator divides average inventory by COGS, then multiplies by the number of days in the period, producing the average number of days inventory is held before it's sold. Because the period length is an open input, the same formula works for a monthly, quarterly, or annual view depending on what you enter.

DIO = (Average Inventory / COGS) x Number of Days in Period

Formula & Methodology

To compute DIO by hand, first find an average inventory value, commonly beginning inventory plus ending inventory divided by two, though the calculator simply uses whatever single average figure you enter. Divide that by COGS for the same period to see inventory as a fraction of what was sold. Multiply that fraction by the number of days in the period, 365 for a year or 90 for a quarter, to convert the ratio into a days figure that's easy to interpret.

Examples

Retailer, Annual View

A retailer holds an average inventory value of $80,000 against annual COGS of $480,000 over a 365-day year, producing a DIO of 60.8 days.

Manufacturer, Quarterly View

A manufacturer with $150,000 in average inventory and $600,000 in COGS over a 90-day quarter gets a DIO of 22.5 days, showing inventory turning much faster than the annual retail example.

Advantages

  • Converts an abstract inventory balance into an intuitive 'days on the shelf' figure that's easy to explain to non-finance stakeholders
  • Works for any period length, quarterly or annual, simply by adjusting the days input rather than needing a separate calculator for each
  • Serves as a direct input into the broader Cash Conversion Cycle calculation (DIO + DSO - DPO) for a fuller working-capital picture

Common Mistakes

  • Mismatching the period used for COGS with the days input, such as pairing quarterly COGS with a 365-day period
  • Using an ending inventory snapshot instead of a true period average, which can swing the result significantly for seasonal businesses
  • Treating a single DIO reading as meaningful on its own without a trend line, since one period's number says little without prior periods for comparison

Edge Cases to Watch For

  • A COGS value of zero or less returns an error, since the ratio has no valid denominator.
  • Because the period length is a manual input, entering a period that doesn't match the COGS figure, such as a full year of COGS with a 30-day period, will distort the result; the two should describe the same timeframe.
  • The calculator uses whatever single 'average inventory' number is entered rather than computing an average from separate beginning and ending balances, so the accuracy of the result depends entirely on the average supplied.

Common Use Cases

  • Retail and e-commerce operators checking whether stock is moving fast enough or quietly building up
  • CFOs and controllers assembling the Cash Conversion Cycle for working capital analysis
  • Manufacturers comparing inventory efficiency across product lines or plants using consistent period lengths
Written & fact-checked by the Calculateus TeamLast updated August 5, 2026How we verify our formulas

Frequently asked questions

How is DIO used alongside DSO and DPO?

DIO, Days Sales Outstanding, and Days Payable Outstanding combine into the Cash Conversion Cycle (DIO + DSO - DPO), which shows the full picture of how long cash is tied up in the operating cycle - tracked on its own, DIO specifically highlights whether inventory is moving efficiently or building up.

Conclusion

DIO on its own shows how long cash sits tied up in unsold stock, but its real value comes from watching it move over consecutive periods and pairing it with DSO and DPO for the complete cash conversion picture.