Days Inventory Outstanding (DIO): Formula, Examples and What’s Healthy

Days inventory outstanding tells you how many days, on average, your inventory sits on a shelf before it sells. Every one of those days is cash you already spent that hasn’t come back yet. If your DIO is 60, you’re carrying roughly two months of product at cost, and that money can’t pay for ads, payroll or the next order.

I’ve been selling online since 2005 and started my business in October 2010. My first store failed and the second one worked, and a big lesson from that stretch was how fast cash disappears into boxes in a garage. These days I teach ecommerce at Ecommerce Paradise. Dropshipping is about as close to zero inventory as an online store gets, so this guide covers both ends of this number.

In this guide I’ll show you the days inventory outstanding formula, how it connects to inventory turnover, two worked examples (a seasonal ecommerce store and a dropshipper), how DIO fits into the cash conversion cycle, how to lower it without causing stockouts, and the basic IRS inventory rules small businesses should know.

Disclaimer: this article is general education, not personalized financial, tax, legal or lending advice. Examples use hypothetical numbers. Product details and fees change, so confirm current terms with the provider before you act. Some links on this page are affiliate links, which means I may earn a commission at no extra cost to you.

What Is Days Inventory Outstanding (DIO)?

Days inventory outstanding (DIO) is the average number of days it takes a business to turn its inventory into sales. You’ll also see it called days sales of inventory (DSI) or days in inventory. Same idea, different label.

It’s a timing metric, not a profit metric. A store can be very profitable with a long DIO, or have a tiny DIO and lose money on every order. Keep that in mind, because DIO tells you how efficiently cash moves through your inventory, not whether the business is healthy overall.

If you’re newer to reading your numbers, my guide to small business finance for beginners covers the balance sheet and income statement basics you’ll need here. DIO pulls one number from each.

The Days Inventory Outstanding Formula

Here’s the standard version.

DIO = (Average inventory divided by Cost of goods sold) times 365

  • Average inventory: usually beginning inventory plus ending inventory, divided by 2. This comes from your balance sheet.
  • Cost of goods sold (COGS): what the inventory you sold actually cost you during the same period. This comes from your income statement.
  • 365: the number of days in the period. Use 90 or 92 for a quarter, or 30 or 31 for a month, as long as COGS covers the same period.

Why COGS and not revenue? Because inventory sits on your balance sheet at cost. If you divide a cost number by a revenue number, your markup sneaks into the math and makes your DIO look shorter than it really is. Use cost over cost.

Where the Numbers Come From

For a typical ecommerce store, COGS includes the product cost plus costs to get it into sellable condition, like inbound freight and duties. The IRS walks through how a sole proprietor figures cost of goods sold on Schedule C in IRS Publication 334, starting with beginning inventory, adding purchases, labor, materials and other costs like freight-in and containers, then subtracting ending inventory.

That last step matters for DIO. Your ending inventory number drives both sides of the formula. If your count is wrong, your COGS is wrong and your DIO is wrong. Garbage in, garbage out.

DIO and Inventory Turnover: Two Views of the Same Thing

Inventory turnover tells you how many times you sold through your average inventory in a year. DIO tells you how many days one cycle takes. They’re flip sides of the same coin.

  • Inventory turnover = COGS divided by average inventory
  • DIO = 365 divided by inventory turnover

So if your turnover is 6, your DIO is 365 divided by 6, which is about 60.8 days. If your turnover is 12, your DIO is about 30.4 days. Higher turnover means lower DIO, and lower DIO means less cash parked in product.

Most owners find days easier to think about than turns. “We hold about seven weeks of stock” is a sentence you can act on.

Worked Example 1: A Seasonal Ecommerce Store

Let’s use a hypothetical online store called Harbor and Pine Home Goods. It sells candles, throws and gift sets, and like a lot of home and gift brands it does a big chunk of its sales in the fourth quarter. These numbers are made up to show the math.

The Simple Annual Calculation

  • Beginning inventory (January 1): $40,000
  • Ending inventory (December 31): $40,000
  • Annual COGS: $300,000

Average inventory = ($40,000 plus $40,000) divided by 2 = $40,000

DIO = ($40,000 divided by $300,000) times 365 = 0.1333 times 365 = 48.7 days

Inventory turnover = $300,000 divided by $40,000 = 7.5 turns. And 365 divided by 7.5 = 48.7 days. The two methods match, which is the check you want.

Why the Simple Average Misleads a Seasonal Store

Here’s the problem. Harbor and Pine sells through its holiday stock in December, so both the January 1 and December 31 balances are low points. In the middle of the year the warehouse is full. A two-point average completely misses that build-up.

Here are the hypothetical month-end inventory balances.

MonthEnding inventory at cost
Prior December 31 (opening)$40,000
January$34,000
February$30,000
March$31,000
April$33,000
May$36,000
June$39,000
July$45,000
August$58,000
September$80,000
October$105,000
November$92,000
December$40,000

Add all 13 balances (the opening balance plus 12 month-ends) and you get $663,000. Divide by 13 and the average inventory is $51,000.

DIO using the monthly average = ($51,000 divided by $300,000) times 365 = 62.1 days

That’s more than 13 days longer than the simple calculation. Same store, same year, same COGS. The only difference is that the monthly method actually sees the inventory that was sitting in the warehouse from August to November.

Looking at Q4 on Its Own

You can also calculate DIO for a single quarter. Say Harbor and Pine’s Q4 COGS was $125,000. Using the four balances that bracket Q4 (September, October, November and December month-ends), average inventory is ($80,000 plus $105,000 plus $92,000 plus $40,000) divided by 4 = $79,250.

Q4 DIO = ($79,250 divided by $125,000) times 92 days = 58.3 days

So with that said, which number is right? All of them, for different questions. The simple annual number is fine for a quick year-over-year comparison. The monthly average is what you want for cash planning. And a quarterly number tells you whether your holiday buy was sized well. Just don’t compare a two-point DIO from one year to a monthly-average DIO from another.

Worked Example 2: A Dropshipper With Near-Zero Inventory

Now let’s flip it. Picture a hypothetical high-ticket dropshipping store selling outdoor furniture and grills. The supplier ships directly to the customer, so the store owner never touches the product. The only inventory on the books is a handful of display samples and a few replacement parts, about $3,000 at cost all year.

  • Average inventory: $3,000
  • Annual COGS: $400,000

DIO = ($3,000 divided by $400,000) times 365 = 0.0075 times 365 = 2.7 days

That’s the main reason I like dropshipping for people starting out. You’re not buying a container of product and hoping it sells. The cash you would have locked in inventory stays available for marketing and operations.

But it’s not free. Honest downsides:

  • Your margins are usually thinner than buying in bulk, because the supplier is doing the warehousing and fulfillment for you.
  • You don’t control stock levels. If the supplier runs out, you’re out, and your DIO of 2.7 days won’t warn you.
  • The rest of your cash cycle still matters. Your payment processor may hold or delay payouts, and you may pay the supplier when the order is placed unless you’ve negotiated terms. That’s DSO and DPO territory, which I cover next.

A near-zero DIO is great, but it doesn’t mean your cash cycle is solved. It means the inventory piece of it is small.

What Does a Healthy DIO Look Like?

This is the question everyone asks, and the honest answer is that there’s no single good number. I’m not going to give you a made-up benchmark, because DIO varies hugely by product type, supplier lead time and business model.

A few principles that hold up:

  • Compare yourself to yourself first. Is your DIO rising or falling over the last 4 to 8 quarters, measured the same way each time?
  • Compare against your supplier lead times. If reordering takes 45 days door to door, a DIO of 20 is probably too thin. A DIO of 200 on the same product is probably too heavy.
  • Perishable, seasonal and trend-driven products should generally run lower than durable, slow-changing goods, because the risk of holding them goes up the longer they sit.
  • Look at DIO by SKU or category, not just in total. A healthy overall average can hide a few products that haven’t moved in a year.

If you want a broader reference point, the U.S. Census Bureau publishes Manufacturing and Trade Inventories and Sales estimates each month. Its Monthly Retail Trade program also includes retail inventories data. Those are economy-wide figures, so treat them as context about the direction of the market, not a target for your store.

Comparing Business Models

Here’s how DIO tends to behave by model. No numbers, because yours depend on your products and suppliers.

Business modelTypical DIO patternMain inventory risk
DropshippingClose to zeroSupplier stockouts you can’t see
Print on demandClose to zeroProduction delays at the printer
Stocked ecommerce, evergreen productsModerate and fairly steadySlow-moving SKUs piling up
Stocked ecommerce, seasonal productsSwings a lot through the yearLeftover stock after the season
Wholesale or distributionOften higher, depends on lead timesLarge purchase orders tying up cash
ManufacturingIncludes raw materials and work in processMaterials sitting before production

DIO in the Cash Conversion Cycle

DIO is one of three parts of the cash conversion cycle. If you haven’t read it yet, my full guide to the cash conversion cycle formula and examples goes step by step.

Cash conversion cycle = DIO plus DSO minus DPO

Back to Harbor and Pine. Say its simple DIO is 48.7 days, its DSO is 3 days because card payouts land quickly, and its supplier gives net 30 terms so DPO is 30 days.

CCC = 48.7 plus 3 minus 30 = 21.7 days

So Harbor and Pine is financing about 22 days of operations out of its own pocket. For most stocked ecommerce stores, DIO is the biggest piece of that equation. You often can’t shave much off DSO when customers already pay at checkout, and DPO depends on how much negotiating power you have with suppliers. Inventory is where the days usually are.

What Lowering DIO Is Worth in Dollars

Here’s a simple way to put a dollar figure on it. Daily COGS for Harbor and Pine is $300,000 divided by 365, which is about $821.92.

If the store cut its DIO by 15 days, the cash freed up is roughly 15 times $821.92 = $12,329.

That’s not profit. It’s cash that stops being tied up in product, which you can use to pay down a balance on a revolving line of credit or simply keep as a buffer. Inventory is a big part of working capital, so my guide on how to calculate working capital is a good companion to this one.

How to Lower Days Inventory Outstanding

Lowering DIO is mostly about buying smarter and moving stuck stock. Here are the levers I’d look at first.

Set Reorder Points Instead of Guessing

A reorder point tells you when to place the next order so it arrives just before you run out. The basic version is:

Reorder point = (Average daily unit sales times Lead time in days) plus Safety stock

Say a candle SKU sells 20 units a day, the supplier takes 30 days to deliver, and you want 150 units of safety stock. Reorder point = (20 times 30) plus 150 = 750 units. When stock on hand drops to 750, you order. That stops the habit of buying six months of product “just in case,” which is one of the fastest ways to bloat DIO.

Find and Clear Dead Stock

Run a report of every SKU with no sales in the last 90 or 180 days. Those products drag your DIO up and cost you storage fees every month they sit.

In the Harbor and Pine example, say $6,000 of its average inventory is dead stock. Clear it and average inventory drops to $34,000. DIO = ($34,000 divided by $300,000) times 365 = 41.4 days, down from 48.7. Selling old stock at a discount hurts, but holding it forever usually hurts more.

Bundle Slow Movers With Best Sellers

Pair a slow product with a popular one as a gift set or “complete the look” bundle. It moves units you’d otherwise discount heavily, and it can lift your average order value at the same time. Just make sure the bundle price still covers the cost of both items plus shipping.

Take Preorders on New or Seasonal Products

Preorders let you gauge demand, and sometimes collect cash, before you commit to a big purchase order. For a seasonal store, running preorders on new designs in early fall can help size the holiday buy. Be upfront with customers about ship dates, and only promise a delivery window you’re confident your supplier can hit.

Move Some SKUs to Dropship

This is the hybrid model I like. Keep your fast movers in stock where you control speed and margin, and let a supplier dropship the long tail of bulky, expensive or slow products. Your DIO falls because the slow, expensive items never sit on your books. If you’re curious how the dropship side works, I cover ecommerce business models at Ecommerce Paradise.

Negotiate Smaller, More Frequent Orders

Ask suppliers about lower minimum order quantities, even if the unit cost goes up a little. Compare that small price bump to the cash you free up and the storage you save. Sometimes the cheaper unit price on a giant order is the more expensive choice once you add carrying costs.

The Risk of Going Too Low: Stockouts

Here’s where people overcorrect. A low DIO looks great on paper, but if you cut inventory too far you run out of your best sellers, and that costs more than carrying a few extra weeks of stock.

Say Harbor and Pine’s best candle sells 20 units a day with $25 of gross profit per unit. If it’s out of stock for 10 days and those customers don’t wait, that’s 20 times $25 times 10 = $5,000 in lost gross profit. And that ignores ad spend wasted sending traffic to an out-of-stock page, plus customers who never come back.

Warning signs your DIO is too low:

  • You regularly sell out of top SKUs before the next order lands.
  • You’re paying for rush or air freight to cover gaps.
  • Your ad performance swings because products keep going in and out of stock.
  • You’re turning away wholesale or bulk orders because you can’t fill them.

The goal isn’t the lowest DIO possible. It’s the lowest DIO that still keeps your best products available. Safety stock exists for a reason.

Inventory Accounting Basics for Small Businesses

Your DIO is only as good as your inventory numbers, so here are the basics. Remember this is general education, so talk to a CPA about your own return.

The IRS Inventory Rules in Plain English

IRS Publication 538 on accounting periods and methods explains that if you’re required to keep inventory, you value it at the beginning and end of each tax year to figure cost of goods sold. Your method has to conform to generally accepted accounting principles for similar businesses, clearly reflect income and stay consistent from year to year.

Publication 538 also covers how to identify inventory costs (specific identification, FIFO and LIFO) and how to value it (cost, lower of cost or market, or the retail method). It notes that goods you can’t sell at normal prices because of damage, style changes or similar reasons should be valued at their bona fide selling price minus the direct cost of disposition. That’s relevant to the dead stock conversation above.

The Small Business Taxpayer Exception

There’s an important exception. Per Publication 538, a small business taxpayer can choose not to keep an inventory but must still use a method of accounting for inventory that clearly reflects income. The options include treating inventory as non-incidental materials and supplies, or following how inventory is treated in your financial statements or books and records.

Who counts as a small business taxpayer? Publication 334 (for returns covering the prior tax year) says you qualify if your average annual gross receipts for the 3 prior tax years are $31 million or less (indexed for inflation) and you’re not a tax shelter. For tax years beginning in 2026, the IRS inflation adjustment revenue procedure raises that gross receipts test to $32 million. Older editions of Publication 538 show a lower figure from before the inflation adjustments, so check the latest IRS guidance for the year you’re filing.

Here’s my practical take. Even if the tax exception lets you skip formal inventory accounting, you still need to track inventory for management purposes. You can’t calculate a meaningful DIO, set reorder points or spot dead stock without knowing what’s on your shelves and what it cost.

Cash vs Accrual and Why It Matters for DIO

On the cash method, inventory purchases can look like big expenses in the month you pay for them, which makes your profit jump around and hides what’s really sitting in the warehouse. The SBA’s guide to managing your business finances compares cash and accrual accounting and explains why the balance sheet is the foundation. For DIO, accrual-style books that track inventory as an asset and expense it as COGS when it sells give you a much cleaner number. My post on cash flow vs profit explains why those two can look so different for inventory businesses.

Tools That Make DIO Easier to Track

Tracking DIO monthly, by SKU, with accurate COGS is where most small stores fall apart. Bookkeeping software is a whole topic of its own, and I cover it in more detail over at Bookkeeping Paradise, my site comparing bookkeeping software. Here I’ll keep it brief.

For ecommerce brands that hold inventory, Finaloop is built specifically around inventory and COGS accounting. Per Finaloop’s site in November 2026, its InventoryIQ product offers real-time stock tracking per warehouse, automated landed cost calculation, COGS tracking per SKU and per channel, and FIFO-based accounting. Its site also lists demand planning and 60 plus 3PL and WMS integrations.

Finaloop’s site shows two ways to work with it in November 2026, a full-service option where its accounting team runs your books on the platform, or the platform on its own for brands with an in-house finance team. Per its pricing page in November 2026, a Starter plan is listed at $245 a month for brands with up to $1 million in annual gross revenue that have been in business 4 years or less, and other brands get a custom quote after a call. It’s aimed at consumer brands, so a pure dropshipper with almost no inventory may not need this level of tooling.

Get Accurate COGS and Inventory Numbers for Your Store

Per Finaloop’s site in November 2026: real-time stock tracking per warehouse, automated landed costs, COGS per SKU and channel, and FIFO-based inventory accounting.

Check Out Finaloop →

Once your DIO is accurate, plug it into a 13 week cash flow forecast so you can see when big inventory purchases will squeeze your bank balance before they happen.

Frequently Asked Questions

What is the days inventory outstanding formula?

DIO equals average inventory divided by cost of goods sold, times the number of days in the period. For a full year that’s times 365. Average inventory is usually beginning plus ending inventory divided by 2, but seasonal businesses get a more accurate number by averaging monthly balances.

Is a higher or lower DIO better?

Lower generally means less cash tied up in product, so all else equal, lower is better. But too low leads to stockouts and lost sales. The right DIO is the lowest one that still keeps your best sellers in stock given your supplier lead times.

How is DIO different from inventory turnover?

They measure the same thing in different units. Inventory turnover is COGS divided by average inventory and tells you how many times you sold through your stock in a year. DIO is 365 divided by turnover and tells you how many days one cycle takes.

Can DIO be zero?

Practically, yes, or very close to it. A pure dropshipping or print on demand business that never holds stock will have a DIO near zero. Most still carry a few samples or parts, so you’ll often see a small number like 2 or 3 days.

Does DIO matter if I have plenty of cash?

It still matters. A rising DIO is often the first sign of dead stock, over-ordering or slowing demand, and it shows up before the cash problem does. Watching it monthly gives you time to react, whether that means a sale, a smaller next order or a working capital loan to bridge a seasonal buy.

The Bottom Line

Days inventory outstanding is one of the simplest numbers you can track and one of the most useful for any business that holds stock. Pull your average inventory and COGS, divide, multiply by 365, and you know how many days of cash are sitting on your shelves.

Your next step: calculate your DIO for the last 12 months using monthly inventory balances, not just the start and end of the year. Then sort your SKUs by days on hand and pick the three slowest movers to bundle, discount or switch to dropship. Do that every quarter and you’ll free up cash without starving your best sellers.

For more guides on running the money side of an online business, head to the Business Finance Paradise homepage.

Related Articles

Scroll to Top