Days Inventory Outstanding Calculator (DIO)
A free tool by DeepRit, a Google Ads agency that does PPC and nothing else. We build and run Google Ads accounts so every click is accounted for. Book a free audit call
Free days inventory outstanding calculator. Work out DIO, how many days stock sits before it sells, from average inventory and cost of goods sold.
- Inventory turnover
- 0
Free, no sign-up. Runs in your browser: nothing you type is uploaded or saved.
How to use the days inventory outstanding calculator
- Enter your average inventory at cost for the period. A simple average is (opening inventory + closing inventory) ÷ 2.
- Enter your cost of goods sold (COGS) for the same period.
- Enter the number of days in the period: 365 for a year, 90 or 91 for a quarter, 30 for a month.
- Read your days inventory outstanding (DIO) and inventory turnover.
The days inventory outstanding calculator runs in your browser; your figures stay private.
What days inventory outstanding means
Days inventory outstanding (DIO), also called days in inventory or days sales of inventory (DSI), measures how many days, on average, a business holds inventory before it's sold:
DIO = average inventory ÷ cost of goods sold × number of days
With 60,000 of average inventory and 365,000 of yearly COGS:
60,000 ÷ 365,000 × 365 = 60 days
On average, stock sits for about two months before it's sold.
DIO and inventory turnover
DIO is the flip side of inventory turnover, which counts how many times inventory is sold and replaced in a period:
Inventory turnover = COGS ÷ average inventory
In the example: 365,000 ÷ 60,000 = 6.08 times a year. And DIO = days ÷ turnover = 365 ÷ 6.08 = 60 days. The inventory turnover calculator works from the same figures.
Both use cost, not selling price, for inventory and COGS, so the comparison is like for like.
Why DIO matters
- Cash: inventory is cash sitting on shelves. Lower DIO means less cash tied up and more available for the business.
- Risk: the longer stock sits, the more likely it becomes obsolete, damaged, out of fashion or expired.
- Storage costs: warehousing, insurance and handling all cost money.
- Cash conversion cycle: DIO is one of the three parts of the cash conversion cycle, along with days sales outstanding and days payables outstanding. The cash conversion cycle calculator combines them.
What is a good DIO?
It depends on the industry:
- Groceries and fresh food: very low DIO, often days or a couple of weeks.
- Fashion and electronics: moderate, because products go out of date.
- Furniture, jewellery and industrial equipment: often months.
Too high a DIO suggests overstocking or slow sellers. Too low can mean stock-outs and lost sales. The aim is to hold enough stock to meet demand reliably, and no more. Compare with similar businesses and track your own trend.
How to reduce DIO
- Improve demand forecasting using past sales and seasonality.
- Order smaller quantities more often. The EOQ calculator balances ordering costs against holding costs.
- Set reorder points so you reorder at the right time. The reorder point calculator and safety stock calculator help.
- Clear slow-moving stock with promotions or bundles.
- Track sell-through for each product. The sell-through rate calculator shows what's selling.
- Work with suppliers on shorter lead times.
DIO and profitability
Low DIO is good for cash, but profit matters too. A fast-selling, low-margin product can earn less than a slower, high-margin one. The GMROI calculator combines margin and turnover into one figure: gross margin earned per unit of inventory investment.
Measuring DIO accurately
- Use average inventory, not just the closing figure. For seasonal businesses, average the month-end inventory across the year.
- Match periods: quarterly COGS with 91 days, monthly COGS with 30 days.
- Use cost values for inventory, as recorded in your accounts.
- Measure by category as well as overall: one slow category can hide inside a healthy average.
DIO in the cash conversion cycle
DIO is one of three numbers that together show how long cash is tied up in running a business:
- DIO: how long inventory sits before it's sold.
- DSO (days sales outstanding): how long customers take to pay after a sale. The DSO calculator works it out.
- DPO (days payables outstanding): how long you take to pay suppliers.
Cash conversion cycle = DIO + DSO − DPO
If DIO is 60 days, DSO is 30 days and DPO is 45 days, the cycle is 45 days: from paying for stock to collecting cash from customers, the business is funding its operations for 45 days. Cutting DIO by 10 days cuts the cycle by 10 days, freeing cash. The days inventory outstanding calculator gives the first part of that equation, and the cash conversion cycle calculator combines all three.
Seasonal businesses
For seasonal businesses, DIO swings through the year. A toy retailer builds stock in the autumn, so DIO looks high in October and very low in January. Measuring DIO over the whole year, using average inventory across all twelve months, gives a fairer picture than a single quarter. Comparing the same quarter year on year also helps: if this year's Q4 DIO is higher than last year's, stock is moving more slowly.
DIO by product category
A company-wide DIO can hide big differences between products. A homeware shop might have:
- Candles: DIO of 30 days, fast sellers.
- Kitchen gadgets: 90 days.
- Furniture: 150 days.
Running the days inventory outstanding calculator for each category shows where cash is tied up. Slow categories might need smaller orders, promotions or a different range. Fast categories might need more stock to avoid running out. Pair DIO with gross margin, because a slow product with a high margin can still be worthwhile; the GMROI calculator combines the two.
Common causes of high DIO
- Over-ordering to get bulk discounts that cost more in tied-up cash than they save.
- Poor forecasting, especially for new products.
- Slow-moving or obsolete items that were never cleared.
- Long supplier lead times, which force businesses to hold more safety stock. The safety stock calculator helps set the right level.
- Too many product variations (sizes, colours) splitting demand.
DIO for manufacturers
For manufacturers, inventory includes raw materials, work in progress and finished goods. A total DIO combines all three, but it's often useful to measure them separately. Long raw-material DIO suggests over-buying; long work-in-progress DIO suggests production bottlenecks; long finished-goods DIO suggests weak sales or over-production.
Using DIO in monthly reporting
Include DIO in your monthly management report alongside inventory turnover, gross margin and stock value. A short commentary helps: "DIO rose from 55 to 62 days because we bought ahead of the holiday season" explains a change that might otherwise look worrying. Running the days inventory outstanding calculator monthly, with consistent inputs, makes trends easy to spot.
Quick tips
- Measure monthly and look at the trend, not a single figure.
- Compare categories to find where cash is tied up.
- Set a target range for each category based on lead times and demand.
- Pair DIO with margin before cutting stock of slow but profitable lines.
The days inventory outstanding calculator makes each of these checks quick.
Who uses a days inventory outstanding calculator
Retailers use it to see how long stock sits on shelves. Manufacturers use it to monitor raw materials, work in progress and finished goods. Finance teams use it in working capital reviews, and buyers use it to decide how much to order and when.
In summary
Divide average inventory by cost of goods sold and multiply by the days in the period. The result shows how long stock sits before it sells. Lower is usually better for cash, as long as you keep enough stock to meet demand.
A worked example
A kitchenware retailer had average inventory of 60,000 at cost last year and cost of goods sold of 365,000. The owner enters these into the days inventory outstanding calculator with 365 days:
- DIO: 60 days.
- Inventory turnover: 6.08 times a year.
Looking by category, cookware takes 45 days to sell but specialty gadgets take 120. She cuts gadget orders by a third and runs a gadget bundle promotion, aiming to bring overall DIO down to around 50 days and free up cash for the holiday season.
Bring in the next customer from Google
Numbers like these keep a business running. Google Ads, run carefully, is how many small businesses bring in the next customer. DeepRit manages Google Ads for small and mid-size businesses, and only Google Ads. We check your account before we ever get on a call, then fix the structure, the keywords, the tracking and the ads, with month-to-month terms and no long contract. Book a free audit call.
Sources and further reading
- Days in inventory on Wikipedia: the formula and how it relates to inventory turnover.
- Working capital on Wikipedia: how inventory fits into the working capital cycle.
Frequently asked questions
How do you calculate days inventory outstanding?
Divide average inventory by cost of goods sold and multiply by the number of days in the period. The days inventory outstanding calculator does it for you.
What is a good DIO?
It depends on the industry. Lower is generally better for cash, as long as you don't run out of stock.
What's the difference between DIO and inventory turnover?
They measure the same thing in different ways: turnover counts how many times stock is sold in a period; DIO counts how many days it takes.
Should I use cost or selling price?
Cost, for both inventory and COGS.
How can I reduce DIO?
Forecast demand better, order smaller amounts more often, and clear slow-moving stock.
Is the days inventory outstanding calculator free?
Yes. It's free, needs no sign-up, and works in your browser.
Free PPC audit
See where your ad budget leaks.
We look at your Google Ads account before the call, then walk you through what we'd fix first, in dollars. No obligation, no hard sell.