TToolWise Digital Shop on Etsy →

Free tools

Days Inventory Outstanding (DIO) Calculator

Find how many days, on average, inventory sits before it sells — a core efficiency and cash-flow metric for any business that holds stock.

Quick answer: Days inventory outstanding is (average inventory ÷ cost of goods sold) × days in the period. With $60,000 of average inventory against $400,000 of annual COGS, stock sits about 54.8 days before it sells, roughly 6.7 turns a year. Whether that is good depends almost entirely on what you sell: a café and a jeweller should not be judged on the same number.
Value of stock on hand.
COGS for the period.
365 for a year.
Days inventory outstanding
—
Inventory turns/year
—
Efficiency
—
Read
—

DIO = (average inventory ÷ COGS) × days in period. Lower means inventory sells quickly and less cash is tied up in stock; too low risks stockouts and lost sales. Ideal levels vary hugely by industry (groceries turn fast, jewelry slow). General information only.

No sign-up No ads Runs in your browser — your numbers never leave your device

How long does stock sit?

Days inventory outstanding measures how many days, on average, products stay in inventory before selling. It's the flip side of inventory turnover: fewer days means faster-moving stock and less cash frozen in the warehouse. But too few days can mean you're running lean enough to risk stockouts.

DIO = (average inventory ÷ COGS) × days in period

What days inventory outstanding measures

DIO translates your stock level into time: on average, how many days does an item sit on the shelf between the day you pay for it and the day it sells? It divides average inventory by the cost of goods sold for the period, then scales to the number of days in that period. The flip side is inventory turnover, how many times a year the whole stock is replaced. Both come from the same two figures, and the calculator shows both.

The worked example, on this page's defaults

Average inventory is $60,000 and cost of goods sold for the year is $400,000. $60,000 ÷ $400,000 = 0.15, and 0.15 × 365 = 54.75 days, shown as 54.8 days and rated "Healthy". Turnover is $400,000 ÷ $60,000 ≈ 6.7 turns a year.

What would cutting that to 45 days be worth? At the same sales, 45 days of stock is 45 ÷ 365 × $400,000 ≈ $49,300. That frees about $10,700 of cash that is currently sitting on shelves, with no new sales required. Turning DIO into dollars this way usually makes the case for or against tighter ordering clearer than the day count alone.

Why the two inputs must match

Use cost of goods sold, not revenue, because inventory is carried at cost; dividing by revenue understates DIO whenever there is a markup. Use average inventory, ideally the mean of opening and closing balances or of month-end balances, not a single day's count. A year-end count taken after a big clearance sale will make stock look leaner than it was for most of the year.

What a "good" number looks like

There is no universal target. Businesses selling perishable or fast-moving goods typically carry only days or weeks of stock; businesses selling slow, high-value items can reasonably hold months. The useful comparison is with your own past periods and with businesses selling similar goods. A rising DIO with flat sales is the warning sign, because it means stock is building faster than it moves. Very low DIO is not automatically good either: running too lean can mean stockouts, rushed reorders and lost sales that never show up in this ratio.

What the average hides

Common mistakes

  1. Using sales instead of COGS, which makes stock look faster-moving than it is.
  2. Mismatched periods, such as a quarter's COGS with a 365-day multiplier.
  3. Treating the result as a stock-ordering rule. DIO describes the past; reorder points need lead times and demand variability.

When a spreadsheet is the honest next step

DIO needs a reliable inventory value at several points in time, and that comes from tracking stock as it arrives and sells, not from an annual count. If you hold stock, a simple inventory tracker that records cost per item and quantity on hand, like the ToolWise consignment and inventory trackers, gives you the averages this formula needs. DIO is also one leg of the cash conversion cycle. Pair it with the days sales outstanding calculator to see how long your cash is really tied up, or check the inventory turnover calculator for the same data viewed as turns.

Quick FAQ

DIO or inventory turnover?

They're two views of the same thing — DIO in days, turnover in times-per-year. DIO ≈ 365 ÷ turns. Use whichever is more intuitive for your team.

What's a good DIO?

Entirely industry-dependent. Compare to your own trend and close competitors, not a universal number. Falling DIO with steady sales is generally a good sign.

Related: inventory turnover calculator · days sales outstanding calculator · cash conversion cycle calculator · all free calculators.

Related free calculators

More free business metrics tools — no signup, works on any device.

Browse all 300+ free calculators →

More questions

Is the Days Inventory Outstanding Calculator free to use?

Yes. The Days Inventory Outstanding Calculator is completely free, runs in your browser, and never asks for a signup, email, or download. Enter your numbers and the result updates instantly.

How accurate is this calculator?

It uses standard formulas and recalculates the moment you change a value, so the math is exact for the inputs you enter. Treat the result as a reliable planning estimate; for decisions with legal or tax consequences, confirm the figures with a qualified professional.

Does it work on my phone?

Yes. The calculator is mobile-friendly and works on any phone, tablet, or computer — there is no app to install and nothing to save.

Can I add this calculator to my own website?

Yes. Scroll to “Add this free calculator to your site” above and copy the embed snippet to place the live calculator on your blog or website for free.

Last reviewed: September 2026. Free to use, no signup — Days Inventory Outstanding Calculator by ToolWise Digital.

Add this free calculator to your site

Copy the snippet to embed the live calculator on your blog or website — free for any site. The small “Calculator by ToolWise Digital” credit line keeps it free; you're welcome to remove it, but we appreciate you leaving it.

Tools that do this for you all year

Ready-made Google Sheets & Excel trackers for money, taxes, and small business — each with a free phone version.

Browse the shop →