
Days inventory outstanding (DIO) is the average number of days your inventory sits on the shelf before it sells. The formula is average inventory divided by cost of goods sold (COGS), multiplied by the number of days in the period. For a consumer brand, it is one of the fastest ways to see how much cash is parked in product instead of working for you.
This guide covers the calculation, three worked examples, how DIO relates to inventory turnover, how to judge whether your number is good, and the levers that bring it down without leaving you out of stock.
TL;DR
- DIO = (average inventory ÷ COGS) × days in the period. Use 365 for a year, 90 for a quarter, 30 for a month.
- A high DIO means cash is tied up in stock. A very low DIO can mean you are one demand spike away from stockouts.
- DIO is the inverse of inventory turnover: annual DIO equals 365 divided by annual turns.
- There is no universal good number. Compare against similar products and your own trend, and break the blended figure out by SKU or category.
- To lower DIO safely, segment SKUs, tighten reorder points, shorten supplier lead times and stop reordering persistent losers.
Table of Contents
- What days inventory outstanding actually tells you
- The DIO formula
- Three worked examples
- Getting the average right for a seasonal brand
- DIO versus inventory turnover
- Where DIO fits in the cash conversion cycle
- What is a good DIO?
- What pushes DIO up in a consumer brand
- How to lower DIO without creating stockouts
- Our perspective
- Put your DIO to work
- FAQ
- Sources
What days inventory outstanding actually tells you
DIO measures how long inventory stays in stock before it becomes a sale. That makes it a liquidity and operating-efficiency metric: it shows how quickly product converts into sales and, eventually, cash.
The reading is clear. A lower DIO means you turn stock into revenue faster. A higher DIO can signal weak sales or too much inventory, and excess stock may become obsolete and hurt cash flow. QuickBooks notes that a high DIO generally means more capital is tied up, while an excessively low figure can raise stockout risk.
Founders often feel this before they measure it. The bank balance looks thin, yet the warehouse is full. Revenue is growing, yet there is never enough cash to place the next purchase order. DIO puts a number on that gap. If your product sits for 120 days before it sells, you are financing four months of inventory before a customer pays you a dollar.
That is why faster-selling stock frees working capital for growth, while slow-moving stock locks up cash and adds obsolescence or spoilage risk. For a food, beverage, supplement or beauty brand with expiry dates, the second risk is not theoretical.

The DIO formula
The standard version is:
DIO = (Average inventory ÷ COGS) × Number of days in the period
Average inventory is beginning inventory plus ending inventory, divided by two. Wall Street Prep explains why the average matters: the income statement covers a period while the balance sheet is a snapshot at one moment, so averaging keeps the numerator and denominator from being mismatched in time.
A few practical rules keep the number honest:
- Pull inventory and COGS for the same period. Mixing a quarterly COGS with an annual inventory balance produces nonsense.
- Match the day count to the period: 365 for a year, 90 for a quarter, 30 for a month.
- Use inventory at cost, the way it sits on your balance sheet, not at retail price.
- Make sure COGS reflects what you actually sold, including landed costs your accountant capitalizes into inventory.
Some analysts use 360 days instead of 365. The difference moves the result by roughly 1.4%, so the important thing is to pick one and keep it constant when you compare periods.
Three worked examples
An annual calculation
Suppose a brand starts the year with $50,000 of inventory and ends it with $70,000. COGS for the year is $500,000. Average inventory is ($50,000 + $70,000) ÷ 2 = $60,000. DIO is ($60,000 ÷ $500,000) × 365, or about 43.8 days.
In plain terms, product spends a little over six weeks in your possession before it sells.
A quarterly calculation
Take average inventory of $20,000 and quarterly COGS of $100,000. DIO is ($20,000 ÷ $100,000) × 90 = 18 days, as in this quarterly example. Notice that the day count changed to 90. Using 365 here would overstate DIO by more than fourfold.
A slower-moving product line
A boutique retailer starts the year with $40,000 in inventory and ends with $50,000. Average inventory is $45,000. With annual COGS of $270,000, DIO is ($45,000 ÷ $270,000) × 365 = 60.8 days.
Compare that with the first example. Sixty days is not automatically worse than 44. A retailer carrying a wider range of slower items may sit at 60 by design. What matters is whether the number is moving in the wrong direction and whether it fits your margin structure and lead times.
| Example | Average inventory | COGS | Days | DIO |
|---|---|---|---|---|
| Annual | $60,000 | $500,000 | 365 | 43.8 days |
| Quarterly | $20,000 | $100,000 | 90 | 18 days |
| Boutique retailer | $45,000 | $270,000 | 365 | 60.8 days |
Getting the average right for a seasonal brand
The two-point average, beginning plus ending divided by two, works well for steady businesses. It can mislead when your year has a spike. If you build inventory in September for a Q4 rush and end the year nearly sold out on December 31, the two endpoints may both be low and hide a very heavy middle.
Quarter-end and year-end balances are also often the lowest points in a seasonal cycle, since that is when you have sold through. QuickBooks explains that averaging beginning and ending inventory smooths seasonal swings, large restocks and sales events better than relying on a single ending balance. For a more accurate read, average the twelve month-end balances instead. One analysis suggests this can shift DIO by 10 to 20 days compared with the two-point method for seasonal sellers.
If your brand has a holiday peak, calculate both and keep the monthly-average version as your management number. Use the simple version when you need to compare against published figures that use it.

DIO versus inventory turnover
These two metrics describe the same behavior from opposite directions. Inventory turnover counts how many times you sell and replace inventory in a period: COGS ÷ average inventory. DIO measures how long inventory stays before sale. Sage notes they are inversely related, and annual DIO can be calculated as 365 ÷ annual turnover. A similar definition from EDGAR calculates days of inventory as 365 ÷ inventory turnover, where turnover is cost of revenue ÷ average inventory.
So a brand turning inventory 8 times a year has a DIO of about 45.6 days (365 ÷ 8). A brand turning 4 times has a DIO of about 91 days.
Which should you track? Turnover is handy for setting targets and comparing across categories. DIO is easier to explain to a team and to plug into cash planning, because days translate directly into weeks of cash you need to fund. If you want the target-setting side, our guide to inventory turnover targets walks through it.
Where DIO fits in the cash conversion cycle
DIO is one third of the cash conversion cycle (CCC). The other two are days sales outstanding, which is how long customers take to pay, and days payables outstanding, which is how long you take to pay suppliers. Investopedia uses the same DIO formula inside its cash conversion cycle walkthrough, and a lower CCC indicates your invested cash is converting into revenue more efficiently.
For most DTC brands, DSO is close to zero because customers pay at checkout. That makes DIO and DPO the two levers that decide how much cash the business needs to carry. Negotiating longer supplier terms helps, but shaving 15 days off DIO is often entirely within your control. We cover the whole picture in what a cash conversion cycle is and how to calculate it.
What is a good DIO?
There is no universal good number. CFI advises comparing DIO with similar companies in the same industry, because it varies widely by industry. A fresh food brand with a 60-day shelf life cannot behave like a furniture brand importing by ocean freight.
You will see rules of thumb quoted online, such as 30 to 60 days. Treat them as a starting point only. A better benchmark set looks like this:
- Your own trend. Is DIO rising quarter over quarter while revenue is flat? That is the early warning.
- Your shelf life and lead time. If your supplier needs 90 days to deliver and you must hold safety stock, a DIO below roughly that window may be unrealistic without air freight or smaller batches.
- Your margin structure. High gross margin brands can afford more inventory days than thin-margin ones, because the cash drag is smaller relative to profit per unit.
- Your funding cost. If you finance inventory, every extra day of DIO has a price. Our piece on inventory financing and why to model turns, not rates shows how.
Why the blended number hides problems
Aggregate DIO can conceal trouble. BoxHero warns that a blended figure can hide slow-moving SKUs, seasonality, cost changes and bulk-order effects, and recommends breaking the metric out by product category or inventory stage and comparing seasonal periods consistently.
A brand might show a healthy 50 days overall, while its top three SKUs sit at 25 days and its long tail of flavors, colors and sizes sits at 180. The average looks fine. The cash is stuck in the tail.
What pushes DIO up in a consumer brand
Before you pull levers, find the cause. In the brands we see, the usual drivers are:
- Minimum order quantities. A manufacturer or co-packer that will only run 10,000 units forces you to buy more than you will sell in a quarter. Our guide to copacker capacity planning covers how to plan around this.
- Forecasts built on hope. Orders placed against a growth plan rather than sell-through data produce stock that arrives after the demand curve has moved. Better demand forecasting methods shrink that error.
- SKU sprawl. Every new variant adds safety stock and splits demand across more items.
- Long lead times. The further away the factory, the more inventory you hold in transit and on hand.
- Dead stock nobody wants to write off. Old product keeps inflating average inventory and DIO while generating nothing. See how to approach audit-ready dead stock write-offs.
Practical decisions across the stack matter here: inventory system integrations, demand signals and replenishment rules all determine how accurately you can plan. This breakdown of inventory forecasting for DTC brands is a useful companion when you are sorting out the forecasting layer.
How to lower DIO without creating stockouts
The goal is not blanket inventory reduction. Sound improvement treats service level as a guardrail: differentiated replenishment policies that improve turns without starving shelves. Here is a sequence that works.
1. Segment your SKUs
Use ABC analysis to identify which products drive the most value and which are driving DIO. QuickBooks recommends this as the first step. Your A items deserve tight control and high availability. Your C items deserve the hardest questions.
2. Reset reorder points
Set reorder points from historical sales, forecast demand and actual supplier lead time rather than gut feel. Shorter lead times may allow lower reorder points, while longer lead times require more inventory. Recalculate when lead times change, not once a year.
3. Order smaller and more often, where the economics allow
Xero recommends smaller, more frequent supplier orders, lower minimum quantities, faster receiving and picking, and reorder alerts based on demand, lead time and safety stock. Weigh this against freight and unit cost. A lower DIO that raises landed cost by 8% may not be a win.
4. Fix the product mix
Price, bundle or promote slow movers, and stop reordering SKUs that persistently underperform. Rationalizing low-value variants often cuts DIO more than any process improvement, because it removes the safety stock those items demand.
5. Keep counts accurate and review on a schedule
Cycle counts keep system inventory and physical inventory aligned, so reorder logic works on real numbers. Fishbowl also recommends recurring inventory reviews, dead-stock clearance and sales-and-operations planning. A monthly meeting where sales, ops and finance look at DIO by category does more than any software purchase.
6. Track it alongside cash, not alone
A falling DIO should show up as cash. If it does not, ask what changed: payables, pricing, or freight. Pair it with a 13-week cash flow forecast so you see the effect weeks ahead, and use the broader working capital playbook to decide where freed cash goes. If you need a replenishment tool, our Inventory Planner recommendation is a place to start.
Our perspective
We see the same pattern repeatedly. A brand grows 40% and runs out of cash anyway, because inventory grew faster than sales. The founder reads that as a funding problem. Usually it is an operating problem that shows up as a funding problem: too many SKUs, minimum orders set by the factory rather than by demand, and forecasts nobody has tested against reality.
Our approach is to translate DIO into decisions. Which five SKUs hold half the inventory dollars? What does each extra week of lead time cost in cash? What happens to the runway if DIO falls from 90 days to 70? Those questions turn a ratio into a prioritized list, and that is the work we do with founders: find the constraint, size it, and decide what to do first.
A good DIO is not the lowest one. It is the one that matches your lead times, your margins and your growth plan, and that you can defend to an investor without flinching.
Put your DIO to work
If your DIO is climbing and you cannot tell whether the cause is forecasting, purchasing or product mix, a short outside review usually answers it faster than another spreadsheet. Our DTC Operator Diagnostic is a $197 one-off review that helps you see where your operating constraints sit.
If you would rather work through your numbers with someone who has built, scaled, restructured and exited a consumer brand, book a Founder Hour at $500 per hour. For ongoing support on inventory, cash and operating decisions, see our Founder Advisory service.
FAQ
What does days inventory outstanding mean?
It is the average number of days a company holds inventory before selling it. A lower number means stock converts to sales and cash faster. A higher number means more capital sits on shelves, which raises cash needs and the risk of obsolete product.
What is the difference between DIO and inventory turnover?
Turnover counts how many times you sell through and replace inventory in a period, while DIO counts the days that process takes. They are inverses: annual DIO is 365 divided by annual turnover. A turnover of 6 equals a DIO of about 61 days.
What is a good inventory days number?
It depends on your industry, shelf life, lead times and margins. Compare against similar companies and your own history rather than a single universal target. Also break DIO out by category or SKU, since a healthy blended number can hide slow-moving products.
Can DIO be too low?
Yes. Very low DIO may mean you are running lean enough that a demand spike or a delayed shipment causes stockouts and lost sales. The aim is the lowest DIO you can hold while keeping your best sellers consistently available.
Should I use 365 or 360 days in the formula?
Either works if you stay consistent. Switching between them moves the result by about 1.4%, so choose one and use it every period. Always match the day count to the period of your COGS: 365 for a year, 90 for a quarter, 30 for a month.
Sources
- Days Inventory Outstanding: Formula, Guide, and How to Calculate
- What is days inventory outstanding? How to calculate it
- Inventory turnover ratio: What it is and how to improve it
- Days Inventory Outstanding (DIO) formula and calculator
- Days Inventory Outstanding (DIO) explained
- Days Inventory Outstanding (DIO): Formula and Example
- What is Days Inventory Outstanding?
- Activity ratios help
- Cash Conversion Cycle: Understand the Key Formula
- Days on Hand Inventory: Formulas and Examples
- How to calculate stock turnover rate?
- Days Inventory Outstanding: Formula and How to Improve DIO
- Inventory Forecasting for Ecommerce
Recommended
