Whether for your payments, inventory, or cash flow, our financing solutions help you move forward with peace of mind.
DIO (Days Inventory Outstanding): Definition & formula for SMBs
Inventory is cash sitting on shelves. Between the day you pay for goods or raw materials and the day you sell them, every dollar tied up has to be funded from your own cash.
DIO (days inventory outstanding) measures exactly that time: the average number of days your inventory sits in your business before it sells.
Here's what DIO means, how to calculate it correctly, and how to use it to free up cash.
Key takeaways
- DIO measures the average number of days between a product entering inventory and being sold. The longer it is, the more cash you sink into goods that aren't earning anything yet.
- Every day of DIO costs cash. On $1.2M in annual cost of goods sold, 10 days of DIO ties up about $33,000 at all times.
- A low DIO isn't always the goal. Cut it too fine, and you risk stockouts and lost sales. Judge your DIO against your industry and your own history.
What is DIO?
DIO (days inventory outstanding) measures the average number of days a business takes to sell through its inventory. In practice, you buy goods or raw materials today, and they only turn into sales weeks or months later. DIO puts a number on that gap.
It's a close cousin of inventory turnover. Both measure the same thing in different units. Inventory that turns 12 times a year equals a DIO of about 30 days (365 / 12). Turnover speaks to your operations team. DIO speaks to your cash, because it uses the same unit as customer and supplier payment terms.
Like DSO and DPO, DIO measures reality, not intentions. It shows what your inventory actually does, not what your purchasing policy says. Aiming for 3 weeks of safety stock but running a DIO of 70 days? You have a gap to explain, product by product.
How to calculate DIO: formula and example
It takes two steps. First, calculate average inventory to smooth out swings during the period:
Average inventory = (Beginning inventory + Ending inventory) / 2
Then calculate DIO:
DIO = (Average inventory / Cost of goods sold) × 365
- Average inventory: the inventory value from your balance sheet, averaged over the period.
- Cost of goods sold (COGS): the purchase or production cost of the goods you sold during the period. Not revenue.
- 365: the number of days in the period. For a quarter, use 90.
Example: A wholesale distributor has $80,000 in inventory at the start of the year and $120,000 at year-end. Annual COGS is $1,200,000.
Average inventory = (80,000 + 120,000) / 2 = $100,000
DIO = (100,000 / 1,200,000) × 365 = 30 days
This business holds its goods for 30 days on average before selling them. That's $100,000 of cash tied up in inventory at all times. Here are two contrasting scenarios:
Calculation mistakes to avoid
- Dividing by the number of days instead of multiplying. A wrong version of the formula, DIO = average inventory / (COGS × days), is all over the internet. It gives you a tiny fraction, not a number of days. Always multiply the inventory-to-COGS ratio by the number of days.
- Using revenue instead of COGS. Inventory is valued at cost, not at sale price. Dividing by revenue mixes two units and understates your DIO. The higher your margin, the bigger the error.
- Using a single date. In a seasonal business, year-end inventory may sit at its annual high or low. Average inventory (beginning plus ending, divided by two, or a monthly average) gives you an accurate picture.
Why DIO matters
DIO isn't just a logistics metric. It's one of three durations that decide how long you fund your operations before you see cash.
- It's the first link in the cash conversion cycle. DIO is one of the three pillars of the cash conversion cycle (CCC), along with DSO and DPO. The formula: CCC = DIO + DSO − DPO. Cash goes into inventory (DIO), waits for customer payment (DSO), and comes back faster the later you pay suppliers (DPO). DIO starts the clock. Until the product sells, DSO hasn't even started.
- Read it next to DPO. If your DPO covers your DIO, suppliers finance your inventory. You sell goods before you've paid for them. That's the big-box retail model. Most small manufacturers and distributors are the opposite. A DIO of 75 days against a DPO of 45 days means 30 days of inventory funded with your own cash, before customer payment terms even kick in. That gap is a key driver of your working capital needs.
- It's the only pillar tied to a physical asset. A receivable eventually gets collected or written off. Inventory can lose value, go out of style, or expire. Every extra day of DIO adds holding costs (space, insurance, handling) and obsolescence risk. That's also why banks and lenders watch DIO. Inventory growing faster than sales is one of the earliest signs of slowing demand.
What's a good DIO?
There's no universal "good" DIO. Judge yours against three benchmarks.
Your industry
A 60-day DIO is excellent for a manufacturer with long production cycles, normal for a distributor, and alarming for a fresh food supplier. Fashion brands need short DIOs, or they get stuck with unsold collections. Aerospace and nuclear live with long DIOs, driven by production cycles and qualification requirements.
Compare your DIO to your industry, not to an all-sector average.
Your own history
The real signal is the trend. Say your DIO goes from 45 to 65 days over three quarters, with flat sales. Either demand is slowing or you're overbuying. Either way, cash is getting buried.
It often shows up in the numbers before it shows up in the warehouse.
Your inventory mix
A 50-day overall DIO can hide 80% of products turning in 20 days and a few dead items sitting at 300 days. The average reassures you. The product-level detail tells you where the cash is.
Watch for two warning signs:
- A DIO that's too high ties up cash in goods that aren't earning yet. It adds holding costs and raises the risk of write-downs. Your working capital needs grow quietly.
- A DIO that's too low isn't automatically a win. Lean inventory exposes you to stockouts, lost sales, and unhappy customers. It also leaves you vulnerable to any supplier delay. After the supply chain disruptions of recent years, many manufacturers deliberately rebuilt their safety stock. A rising DIO can be a resilience choice, as long as it's financed.
How to reduce DIO without causing stockouts
The goal isn't minimum inventory. It's the right inventory: enough to meet demand and absorb surprises, and no more. Four levers, in order of impact:
- Improve demand forecasting. Most overstock starts with purchases based on gut feel or last year's numbers. Use sales history by product, factor in seasonality, and get sales and purchasing working together. You'll cut inventory without hurting service levels.
- Manage by product, not in bulk. Rank products by turnover (an ABC analysis is enough). Treat the 20% of products that drive most sales differently from the slow-moving long tail. Act fast on dead stock: promote it, liquidate it, or drop it. Every week you wait costs cash and space.
- Work on supplier terms. Smaller, more frequent deliveries, shorter lead times, or consignment inventory shift part of your inventory, and its financing, upstream. Supplier negotiation isn't just about price. Logistics terms are often worth more than a few points of discount.
- Sell faster instead of buying less. When the inventory is already there, the lever is commercial: feature slow movers, bundle offers, use liquidation channels. Slashing purchases to lower DIO hurts service levels. Selling faster lowers it without hurting availability.
These are long-term projects. Forecasting improves over several cycles. Supplier terms get renegotiated when contracts come up. In the meantime, the inventory you've already bought still has to be financed.
How Defacto helps you finance inventory turnover
Reducing DIO takes months. Forecasting improves cycle by cycle, and supplier terms get renegotiated at renewal. Meanwhile, the inventory you've already ordered is due in 30 or 45 days, long before it sells.
That's exactly the gap Defacto's inventory and purchase financing covers. Defacto pays the supplier invoice (†), and you repay once the inventory sells, 3 to 120 days later.
- Financing length matches your actual DIO. 60 days of turnover means 60 days of financing. Not a 3-year loan for a 2-month need.
- Your supplier gets paid upfront or on the due date. That opens the door to early payment discounts, so your inventory costs less.
- You finance the purchase that strains your cash, like a seasonal order or a volume deal, not all your purchasing.
- You know the cost before you commit. You only pay for the days you use, with a decision in 27 seconds on average.
This decouples your cash from your DIO. Even when turnover is structurally slow, for example when you build seasonal inventory (†) before peak season, your available cash doesn't take the hit. Meanwhile, your long-term levers, forecasting and inventory management (†), have time to work.
Managing DIO: turn inventory into a lever, not a burden
DIO measures how long your cash sits in inventory before it turns back into a sale. It's the first link in the cash conversion cycle, and the only one tied to a physical asset that can lose value. It's also one of the earliest signals of slowing demand or poorly calibrated purchasing.
Manage it well: track the trend and look product by product, never at the overall average alone. And treat it as a trade-off. A few extra days of DIO can be the price of a resilient supply chain, as long as you finance that choice instead of just absorbing it.
Right-sized inventory, DIO tracked monthly, and financing matched to actual turnover. That's the difference between inventory that fuels growth and inventory that chokes it.
FAQ: DIO (days inventory outstanding)
What does DIO mean?
DIO stands for days inventory outstanding, the average time inventory takes to turn over. It measures the average number of days a business holds goods or raw materials before selling them. It's expressed in days and works alongside DSO (how long customers take to pay) and DPO (how long you take to pay suppliers).
What's the formula for DIO?
DIO = (average inventory / cost of goods sold) × 365. Average inventory = (beginning inventory + ending inventory) / 2. Make sure you multiply the ratio by the number of days, not divide by it. A wrong version of the formula is widely shared online.
What's the difference between DIO and inventory turnover?
Both measure the same thing in different units. Inventory turnover counts how many times your inventory is replaced over a period. DIO converts that pace into days. Inventory that turns 12 times a year equals a DIO of about 30 days (365 / 12).
What's a good DIO?
There's no universal good DIO. Judge it against your industry (grocery distribution turns in days, manufacturing in months), your own history (the trend matters more than the level), and your inventory mix. A healthy average can hide slow movers that tie up most of your cash.
Is a low DIO always good news?
No. A low DIO means fast turnover and less cash tied up. But lean inventory exposes you to stockouts, lost sales, and any supplier delay. Many businesses have deliberately rebuilt their safety stock in recent years. A higher DIO can be a resilience choice, as long as it's financed.
How do you read DIO alongside DSO and DPO?
Together they form the cash conversion cycle: CCC = DIO + DSO − DPO. DIO measures how long cash sits in inventory. DSO measures how long you wait for customer payments. DPO measures how long before you pay suppliers. If DPO covers DIO, suppliers finance your inventory. If not, the gap adds to your working capital needs.
How do you finance inventory when DIO is structurally long?
When months pass between purchase and sale, inventory financing lets you pay the supplier now and repay once the inventory sells, over a term matched to your actual turnover. That decouples your cash from your DIO while your long-term levers, like forecasting and product-level management, take effect.
Explore other articles

E-invoicing just made B2B data everyone's. The advantage moved to what you do with it.

In the agent age, you won't apply for financial products. Your agent will subscribe to them.

