QuickBooks Blog
An image showing a visualization of days inventory outstanding (DIO).
Midsize business

What is days inventory outstanding (DIO)? Calculate & boost your cash flow in 2026

Table of contents

Table of contents

Ask about discounts

You could save up to 25% on transaction costs².

Speak with us now to see if you qualify.

Talk to sales 1-800-515-8366

Monday - Friday, 6 AM to 4 PM PT

More about payments

Key DIO Takeaways

  • Days inventory outstanding shows how many days your capital is tied up in inventory before it is converted into sales.
  • While a high DIO increases carrying costs and the risk of obsolescence, a low DIO—while efficient—can increase the risk of stockouts if inventory levels become too lean.
  • DIO is most useful when integrated with other KPIs, such as stockout rate, carrying costs, and fulfillment speed.
  • There is no "perfect DIO". The optimal value balances carrying costs and customer service quality.
  • In volatile markets, it’s best practice to monitor DIO monthly because it allows you to react quickly to changes in demand.


The primary goal of any retail business is to convert inventory into sales, but that's not all. A business achieves true efficiency when it maintains a steady inventory flow, preventing merchandise from becoming outdated or stagnant.

This is precisely what Days Inventory Outstanding (DIO) can do for you. In this article, you'll learn what days inventory outstanding means, why it's important to work with it, how to calculate it, and other key insights to help you evaluate your inventory performance.

What is the days inventory outstanding (DIO) formula?

Days inventory outstanding (DIO) tells you how many days, on average, your inventory sits on the shelf before selling. In other words, it shows how long your cash is tied up in stock before you get it back.

An image showcasing the days inventory outstanding (DIO) formula.

To calculate DIO, choose a time period based on your sales cycle or accounting period, and use the following formula:

Days inventory outstanding = (Average inventory / Cost of goods sold) x (# of Days)

The result indicates how efficient a company’s cash conversion cycle is. All companies that make or sell products can benefit from calculating DIO.

Wholesalers, retailers, and e-commerce stores use this formula to measure the number of days finished goods are stored before they are pulled to fill sales orders. Manufacturers can use the formula in two ways. Like retailers, they can measure the storage days before finished products are sold. They can also measure the days components or raw materials are stored until they are pulled into production. This helps ensure procurement matches production needs.

Why should you use the days inventory outstanding formula?

Using the DIO formula gives you a clear picture of how healthy your inventory management really is. It helps you understand whether your purchasing decisions make sense, if your pricing is encouraging sales, and how well your seasonal promotions are actually performing.

One of the main reasons to track DIO is to avoid slow inventory turnover. When turnover slows, problems start to pile up. The risk of items becoming obsolete goes up, money that could support other parts of the business gets stuck in stock, and you may even need to take on debt to buy more inventory.

On top of that, storage and space costs rise without adding any real value. Consistently monitoring can help you cut down on stockouts, reduce maintenance expenses like insurance and warehousing, and improve how quickly your inventory moves—strengthening your entire operational chain in the process.

How does the days inventory outstanding formula work?

The DIO formula calculates how long inventory sits before it’s sold by dividing average inventory by cost of goods sold and multiplying by the number of days in the measurement period. But the real value comes from the analysis that follows—understanding what that figure says about your inventory performance, cash efficiency, and operational health.

Here’s how to calculate days inventory outstanding:

Steps to use days inventory outstanding formula

Step 1: Calculate your average inventory

Knowing your business’s average inventory is essential if you want a realistic DIO. It smooths out the natural ups and downs that happen with seasonal stock changes.

If you rely on a single number from one specific day, your analysis can get skewed—especially if that day happens to fall during a peak or a dip. Using an average gives you a more accurate picture of how your operations really run, and calculating it is straightforward.

Instead of taking just one “snapshot” of your inventory, you use two numbers: your beginning inventory (what you had on the first day of the period) and your ending inventory (what you have on the last day). Add them together and divide by two. That’s it. The formula looks like this:

  • Average Inventory = (Beginning Inventory + Ending Inventory) / 2

If you’re doing a monthly review, for example, you’d use the inventory values from day 1 and day 30. This approach helps you see how your inventory behaves throughout the month, giving you more realistic insights into your turnover and overall operational efficiency.

Step 2: Determine your total cost of goods sold (COGS)

Working with your total cost of goods sold (COGS) helps you pinpoint the real cost of the items you actually sold during a given period. This number generally includes direct costs—things like materials, direct labor, and inbound freight.

In other words, we're talking about the expenses that are strictly necessary to get your inventory into a saleable condition, so they reflect the true cost tied to the products that went out the door.

The easiest way to calculate it is with the classic formula:

  • COGS = (Starting Inventory + New Purchases) – Ending Inventory

Once you calculate this value, you can clearly isolate the cost of the merchandise that left your inventory during the period, without mixing in the stock you still have on hand. The most accurate and recommended approach is to pull this figure directly from your Profit & Loss (P&L) statement, since it records direct costs in a standardized way and aligns with your official accounting.


note icon Start by mastering the basic data before drawing conclusions. Accurately record your Beginning Inventory, Ending Inventory, and COGS, because errors in these values will distort the entire analysis. Once you have clean data, interpreting the DIO becomes much easier.


Step 3: Choose your measurement period

The right time to analyze your DIO really depends on the scale of your operations. You can look at it annually, quarterly, or monthly—just make sure the number of days matches your reporting cycle.

  • Annual: 365 days. This offers a broad view of performance throughout the year.
  • Quarterly: 90 days. Ideal for evaluating the strategic adjustments required by each season.
  • Monthly: 30 days. It allows you to detect rapid changes in demand or stock levels.

In the fast‑moving markets of 2026, monthly monitoring has become the most reliable way to avoid overstocking. It lets you react quickly to sudden shifts in sales, pricing, and product availability, keeping your operations more agile.

Step 4: Run the DIO formula

After gathering all the necessary data, the final step is to calculate the DIO, which provides a single efficiency indicator.

The DIO formula:

  • Days Inventory Outstanding = (Average Inventory / Cost of Goods Sold) × Number of Days in Period

Step 5: Analysis 

Now that you've calculated your DIO, what can you do with it? How does it solve a problem in practice?

Let’s say you’re carrying $300,000 in inventory and your current DIO is 45 days. If you shave that down to 40 days, that five‑day improvement frees up roughly:

$300,000 ÷ 45 ≈ $6,667 per day

So reducing DIO by 5 days unlocks about $33,000 in cash, which—depending on your burn rate—can translate into an extra 10–14 days of runway. It’s a small operational tweak with an outsized financial impact.

And an accounting solution, like QuickBooks, can do the heavy lifting here. Its forecasting tools automatically pull in your sales velocity, purchasing patterns, and historical inventory turns so you can see exactly how changes in DIO ripple through your cash flow projections. 

Instead of wrestling with spreadsheets, you get a clear, forward‑looking view of how operational decisions affect your runway.

Incorporating DIO analysis into your inventory control process can really boost its effectiveness. Using this metric as a practical tool helps you keep a closer eye on your inventory cycle and make decisions with a lot more confidence.

Days inventory outstanding vs. inventory turnover rate

Inventory turnover rate is another useful metric to analyze how efficiently your business is managing inventory. Where DIO measures how quickly inventory is converted into liquid assets, the inventory turnover rate simply measures the number of times stock on hand is sold and replenished in the period analyzed.

Inventory turnover rate is essentially the inverse of days inventory outstanding. Hence, while a low DIO is desirable, a higher inventory turnover rate is the goal. A high turnover rate means you can get products out the door quickly.

A low inventory turnover rate suggests either weak sales or excess inventory.

Effectively managing inventory turnover helps to reduce depreciation and shrinkage. Optimal turnover is critical for food items and perishable goods that you have to write off once they spoil. With this in mind, QuickBooks Inventory lets you assign expiration dates to inventory, helping teams take action on items that are soon to expire and reduce losses.

3 ways to respond to a high DIO

When your DIO starts creeping higher than you’d like, it’s usually a signal that something in your pricing, promo cadence, or replenishment rhythm needs a quick tune‑up.

An image showing an example of a company with a high DIO, using the days inventory outstanding formula.

Take care of it with one—or all—of the following suggestions:

1. Revisit pricing: Check whether your current price still matches demand and competitive benchmarks. Small, strategic adjustments often unlock movement.

2. Plan a targeted promo: Use a short, well‑timed promotion to accelerate sell‑through without eroding long‑term margin.

3. Tighten reorder rules: Reduce reorder quantities or extend reorder intervals until velocity stabilizes.

Take time back with AI agents in your corner

Let QuickBooks AI agents handle the busywork so you and your team can focus on what really matters.

Best practices for implementing days inventory outstanding analysis in your business

Days inventory outstanding can be calculated for the entire inventory value of your warehouse or individual product lines. It’s good practice to do both.

Doing a macro measure once per quarter helps to reveal overall corporate finance health. Appropriate DIO rates vary by industry and product. To understand how you’re doing, check DIO calculations against industry benchmarks.

Micro DIO measures for individual product lines inform pricing, promotions, procurement, and product mix. If you find a higher DIO for a certain item within a product category, you will know to stock less of this item and instead favor items that keep cash flowing.

If you’re ready to put the formula into practice at your business, take these three simple steps:

Set your time increment

The period you select for analyzing the DIO depends on your business's specific conditions and the inventory you work with. However, it is standard practice to select specific periods for certain goods.

  • Fast-moving consumer goods (FMCG) or perishable items require monthly (30-day) or even weekly increments to catch spoilage or trend shifts before they impact profit.
  • For midsize businesses or industries with longer production cycles, like custom furniture or machinery, a quarterly (90-day) view provides a clearer picture of long-term capital efficiency without the "noise" of daily fluctuations.

It's worth noting that consistency in this work is just as important as selecting the appropriate time period. Periodically assessing the DIO at the same intervals will guarantee the effectiveness of the analysis and decisions based on it.

Build a body of core metrics

Like any analytical tool, DIO should never be evaluated in isolation. You can better understand how each inventory movement impacts the rest of the business by integrating it with KPIs, like:

The goal of using DIO is to help you find the balance between the cost of holding inventory (insurance, warehousing, tied-up capital) and the buffer needed to respond to demand without delays. In other words, too low a DIO can lead to stockouts, but too high can drive up carrying costs.

The key message is that a “perfect” DIO isn't a fixed number, but rather the one that minimizes carrying costs without sacrificing customer experience or fulfillment speed. When your core metrics are aligned, you can anticipate problems, adjust purchases precisely, and maintain a more stable and profitable operational flow.


note icon You should start with a short analysis period and build from there. Working with DIO may seem abstract at first, but using monthly cycles allows you to quickly identify patterns and make more confident decisions. As you gain experience, you can combine longer periods to detect structural trends while maintaining operational agility.


Move to real-time decision intelligence

If you think the digital tools currently available can help you work with your DIO, you're right.

Tools like QuickBooks help streamline the process by eliminating the need for manual data updates. It also updates your average inventory and COGS with every scanned barcode or sales receipt. This gives you a live DIO that you can consult at any time.

An image showing an example of DIO trends tracked throughout the year on a graph, as would appear in a financial dashboard.

Plus, the AI agents used by QuickBooks can track your DIO trends in real time as demand shifts throughout the year, and they can even adjust your reorder points for you. With that level of automation, you can actually anticipate and plan around stock inventory.

Navigate midsize business challenges and opportunities

Sometimes the smartest moves are the ones that make your life easier from the start, and bringing DIO analysis into your routine is one of those moves. It gives you a clearer picture of what’s going on behind the scenes, so you’re not guessing or scrambling later.

And if you’re already using QuickBooks Online, pairing the two is a no‑brainer. With the amount of busywork it cuts down on, you’ll have more time for tasks that can push the needle for your business.

Run and grow your business, unlock deeper insights, and work like you have a larger team behind you

Recommended for you

Mail icon
Get the latest to your inbox
No Thanks

Looking for something else?

QuickBooks

From big jobs to small tasks, we've got your business covered.

Firm of the Future

Topical articles and news from top pros and Intuit product experts.

QuickBooks Support

Get help with QuickBooks. Find articles, video tutorials, and more.