Distribution Days Calculator
Distribution days, known in accounting as days inventory outstanding (DIO), measures how long your stock sits in the warehouse before it sells: the average number of days inventory is held before it converts into sales. Enter your beginning and ending inventory and your cost of goods sold, and this calculator returns your DIO in days, your inventory turnover, and your COGS per day, with sector benchmarks below so you can judge the number against businesses like yours.
DIO uses the average inventory for the period, not a single end-of-period snapshot, and COGS, not revenue. See the formula, worked examples and sector benchmark table below.
Quick Answer
Quick answer: a business with beginning inventory of $240,000 and ending inventory of $260,000 holds average inventory of $250,000. Against cost of goods sold of $1,825,000 over 365 days, that is a days inventory outstanding of exactly 50.00 days, an inventory turnover of 7.30x, and COGS per day of $5,000. Stock sits for about seven weeks between arriving and being sold.
Key takeaways
- DIO = (Average Inventory / COGS) x Days in period. Average inventory is (beginning + ending) / 2, worked out inside this calculator.
- Always use COGS, never revenue: revenue includes your gross margin and flatters turnover.
- DIO and inventory turnover are two views of the same fact: DIO = Days in period / Turnover.
- Benchmark only inside your own sector: typical days of inventory run from 7 to 14 days for a bakery to 90 to 180 days for spare parts.
- Each day of DIO ties up one day of COGS in cash: at $5,000 per day, ten days of DIO is about $50,000 of stock.
- Quick Answer
- How to use the days inventory outstanding calculator
- The days inventory outstanding formula
- Worked example: a mid-size retailer's year
- What is a good DIO? Benchmarks by industry
- DIO and the cash conversion cycle
- How to reduce days inventory outstanding
- Common mistakes that wreck the DIO number
- This page changed: from distribution intervals to DIO
- What competing calculators miss
- Frequently Asked Questions
- Add This Calculator to Your Website
- References
How to use the days inventory outstanding calculator
You need three figures from statements you already have: inventory at the start and end of the period, and cost of goods sold for the same period. The calculator averages the inventory and returns three linked results.
Enter beginning and ending inventory from the balance sheet. Beginning inventory is the value at the start of the period, ending inventory the value at the close: for a full year, the opening and closing balance sheet figures.
Enter COGS for the same period from the income statement. Never use revenue or sales: revenue includes your gross margin, so it overstates how fast stock moves and understates DIO.
Set the days in the period to match. Use 365 for a year, 90 for a quarter, 30 for a month. COGS and the day count must describe the same stretch of time, or the result is meaningless.
Read DIO, turnover and COGS per day together. DIO is the headline: the average days stock sits before it sells. Turnover says how many times stock cycles in the period, and COGS per day puts a cash value on each day.
The days inventory outstanding formula
Three short formulas do all the work, each using figures from a named statement.
Average inventory = (Beginning inventory + Ending inventory) / 2
Days inventory outstanding (DIO) = (Average inventory / COGS) x Days in period
Inventory turnover = COGS / Average inventory, so DIO = Days in period / Turnover
Beginning and ending inventory come from the balance sheet. Inventory is a snapshot at a moment in time, and a single snapshot is easily distorted: a business that stocks up before a busy season, or runs stock down before a year-end count, looks different on that one day than across the period. Averaging opening and closing values smooths that swing, which is why the formula uses average inventory rather than the ending figure alone. Monthly balances are better still where available.
COGS comes from the income statement for the same period: the direct cost of the goods actually sold, not the price customers paid. Inventory is also recorded at cost, so COGS is its like-for-like partner: dividing it by price-based revenue mixes two measures, an error the mistakes section sizes up.
Days in period is the length of the window the COGS covers: 365 for a year, 90 for a quarter, 30 for a month. Nothing in the formula forces a year, and a quarterly DIO compares directly with an annual one because both are expressed in days.
DIO also travels under two other names: days sales of inventory (DSI) and days in inventory. All three describe the same calculation and result, so a benchmark quoted as DSI can be compared with your DIO directly, as long as the period and COGS basis match.
Worked example: a mid-size retailer's year
A retailer opened the year holding $240,000 of stock and closed it holding $260,000, with COGS of $1,825,000 across 365 days: the figures pre-filled in the calculator above.
| Step | Working | Result |
|---|---|---|
| Average inventory | ($240,000 + $260,000) / 2 | $250,000 |
| COGS per day | $1,825,000 / 365 | $5,000 |
| Inventory turnover | $1,825,000 / $250,000 | 7.30x |
| DIO | ($250,000 / $1,825,000) x 365 | 50.00 days |
| DIO check via turnover | 365 / 7.30 | 50.00 days |
The two routes agree, as they must: DIO and turnover are reciprocals scaled by the period length. A turnover of 7.30x means the retailer sold through its average stock just over seven times in the year, and 365 / 7.30 leaves 50 days per cycle.
The same method works for a shorter window. In one quarter, a smaller business opens with $28,000 of inventory and closes with $32,000, so average inventory is ($28,000 + $32,000) / 2 = $30,000. Quarterly COGS is $120,000 over 90 days: DIO = ($30,000 / $120,000) x 90 = 22.50 days, turnover = $120,000 / $30,000 = 4.00x, and COGS per day = $120,000 / 90 = $1,333.33.
What is a good DIO? Benchmarks by industry
There is no single good DIO. Stock dangerously slow for fresh food is normal for industrial spares, where a part may wait months for the machine it fits.
| Sector | Typical days of inventory | Source |
|---|---|---|
| FMCG distribution | 26 to 46 days | WarehouseOps |
| Pharma distribution | 37 to 61 days | WarehouseOps |
| E-commerce fulfilment | 30 to 61 days | WarehouseOps |
| Industrial / MRO | 73 to 122 days | WarehouseOps |
| Automotive and equipment spare parts | 90 to 180 days | WarehouseOps |
| Bakery and perishable grocery | 7 to 14 days | Ordoro |
| Consumer electronics retail | 60 to 90 days | Ordoro |
The chart, drawn by range midpoint, shows how far apart normal practice sits by sector.
Use these ranges two ways. First, compare your figure with your own sector: a DIO of 50 days sits inside e-commerce fulfilment and pharma distribution, above the FMCG range, and well below anything industrial. Second, compare it with your own past: a DIO creeping up quarter after quarter signals slowing sales, overbuying, or ageing stock. Lower is not automatically better: cutting stock until shelves empty loses sales. The target is the lowest DIO that still keeps the products people want in stock.
DIO and the cash conversion cycle
DIO is one third of the cash conversion cycle, which measures how long cash is tied up in operations before sales bring it back:
Cash conversion cycle (CCC) = DIO + DSO - DPO
DIO is the days cash sits in stock. DSO, days sales outstanding, is the days customers take to pay after a sale. DPO, days payable outstanding, is the days the business takes to pay its suppliers, subtracted because supplier credit hands some of the waiting back. A retailer with DIO 50 days, DSO 20 days and DPO 35 days has a cycle of 35 days.
Each day of DIO ties up one day of COGS in cash. In the worked example, COGS per day is $5,000, so cutting DIO by 10 days frees about $50,000 of cash (10 x $5,000) without selling a single extra unit. Two close cousins complete the picture: the days of supply calculator asks how long current inventory lasts at the current rate of use, and the days of cash on hand calculator measures how long the money in the bank covers daily spending.
How to reduce days inventory outstanding
DIO falls when stock moves faster, or less of it is held for the same sales. Four standard levers do most of the work.
Forecast demand more carefully. Most excess stock is bought against a guess that proved too optimistic. Ordering against recent sales by product, adjusted for seasonality in your own records, removes that overbuying.
Order smaller amounts, more often. The same annual volume bought in monthly lots instead of quarterly lots lowers the average holding between deliveries, and DIO follows it down.
Clear aged stock deliberately. Slow lines do not fix themselves. Discounting, bundling or returning ageing stock converts it back into cash and stops the reorder habit that created it.
Shorten supplier lead times. Long lead times force large safety stocks: every order must cover weeks of uncertain demand. A supplier delivering in five days instead of fifteen lets you hold less cover for the same protection.
Every lever trades against service level, stated plainly: hold less stock and, sooner or later, a customer will ask for something that is not there. The honest goal is a deliberate balance: enough stock to serve demand reliably, and no more. Cutting DIO by starving bestsellers is not an improvement; cutting it by removing stock nobody buys is.
Common mistakes that wreck the DIO number
DIO is a simple formula, which means its errors are simple too. Four of them account for most wrong results.
Using revenue instead of COGS. Revenue is COGS plus gross margin, so swapping it in inflates turnover and shrinks DIO by exactly the margin. WarehouseOps documents the distortion: at a 30% gross margin, a business genuinely turning stock 3.5 times a year reports 5.0 turns when revenue is used, because 3.5 / 0.7 = 5.0. DIO looks a third healthier than it is, and decisions get made on the flattering number.
Using a year-end snapshot instead of an average. Ending inventory alone reflects one day, often a deliberately unusual one: stock run down before a count, or built up before a peak. An unusually low figure flatters DIO; an unusually high one alarms. Averaging beginning and ending values is the minimum correction, and monthly balances are better where records allow.
Mismatching the periods. Quarterly COGS against an annual day count, or a full year of COGS against one quarter's inventory, produces a number with no meaning. Inventory, COGS and days must all describe the same period: an easy error when figures come from different reports, and the first thing to check.
Averaging across unlike product classes. A single DIO for a business stocking both fresh food and hardware blends a 10 day cycle with a 120 day cycle into a figure describing neither. Calculate DIO by category where the mix is wide. On the cost side, the distribution cost calculator shows what holding and moving that stock costs, which decides how much a high DIO in one category actually matters.
This page changed: from distribution intervals to DIO
An honest note about this page's history. Until October 2026, this calculator measured something different: the average interval between distributions, worked out as the period divided by the number of distributions. Every established source, however, uses distribution days for days inventory outstanding, the metric this page now calculates, so the page was rebuilt to the standard meaning on 2026-10-21.
If you came looking for the payout or dispatch interval, the distribution frequency calculator is the right tool for how often distributions happen and the gaps between them.
What competing calculators miss
The calculators sharing this page's exact name, including BraveCalculator, CalculatorsHub and CalculatorGek, define distribution days correctly as DIO, but stop short in ways that matter.
They make you pre-average the inventory. Each takes average inventory as a single input, so the (beginning + ending) / 2 step, the one most likely to be skipped or done with a year-end snapshot, is left to you. This calculator averages beginning and ending inventory in the tool.
Two of them hard-code 365 days. A fixed year makes quarterly and monthly DIO impossible, and a quarterly figure forced through a 365 day formula is simply wrong. This calculator accepts any period length.
They return DIO and nothing else. None shows inventory turnover, though it is one division away, and none shows COGS per day, the figure that converts DIO into cash. This calculator returns all three outputs from the same inputs.
None of them benchmarks the result. A DIO of 50 days is good, bad or ordinary depending entirely on the sector, yet the rivals leave the number unjudged. The sourced benchmark table above is what turns a calculation into a decision.
Frequently Asked Questions
Days inventory outstanding (DIO) is the average number of days a business holds stock before selling it. It is calculated as (average inventory / COGS) x days in period. A DIO of 50.00 days means inventory sits for about seven weeks on average, so lower figures mean stock turns into sales faster.
First average the inventory: (beginning inventory + ending inventory) / 2. Then divide by COGS for the same period and multiply by the days in that period. With average inventory of $250,000, COGS of $1,825,000 and 365 days, DIO = ($250,000 / $1,825,000) x 365 = 50.00 days.
It depends on the sector. Typical ranges run from 7 to 14 days for a bakery and perishable grocery, through 26 to 46 days for FMCG distribution and 30 to 61 days for e-commerce fulfilment, up to 90 to 180 days for spare parts. Compare your DIO with your sector and your own trend, not a universal target.
Yes. DIO, days sales of inventory (DSI) and days in inventory are three names for the same measure, calculated the same way from average inventory, COGS and days in period. A figure quoted as DSI can be compared directly with DIO, as long as both use COGS and the same period.
They are two views of the same movement of stock. Inventory turnover counts how many times stock cycles in a period (COGS / average inventory), while DIO expresses that cycle in days. They convert directly: DIO = days in period / turnover, so a turnover of 7.30x over 365 days gives a DIO of 50.00 days.
Ending inventory is a single day's snapshot, and that day is often unusual: stock may be run down before a count or built up before a busy season. Averaging beginning and ending inventory smooths that swing and represents the stock actually held across the period.
Yes. Use the COGS for that quarter or month and set days in period to match: 90 for a quarter, 30 for a month. For example, average inventory of $30,000 against quarterly COGS of $120,000 over 90 days gives a DIO of 22.50 days. The result is in days, so it compares directly with an annual DIO.
Until October 2026 this page calculated the average interval between distributions (period / count). Every established source uses distribution days to mean days inventory outstanding, so on 2026-10-21 the page was rebuilt to the standard DIO meaning. The interval job is covered by the distribution frequency calculator instead.
Add This Calculator to Your Website
References
- Corporate Finance Institute. Days Inventory Outstanding (DIO). Accessed October 21, 2026.
- AccountingTools. Days inventory outstanding. Accessed October 21, 2026.
- Intuit QuickBooks. Days Inventory Outstanding Calculator. Accessed October 21, 2026.
- WarehouseOps. Inventory Turns & Days on Hand Calculator. Accessed October 21, 2026.
- Ordoro. Days Inventory Outstanding. Accessed October 21, 2026.
