{"id":99,"date":"2015-05-29T09:38:06","date_gmt":"2015-05-29T07:38:06","guid":{"rendered":"http:\/\/wpcalc.com\/?p=99"},"modified":"2026-09-30T19:31:45","modified_gmt":"2026-09-30T16:31:45","slug":"days-in-inventory","status":"publish","type":"post","link":"https:\/\/wpcalc.com\/en\/finance\/days-in-inventory\/","title":{"rendered":"Days in Inventory Calculator"},"content":{"rendered":"<section class=\"not-prose calculator-box\" aria-labelledby=\"calculator-title\"><div class=\"flex items-baseline sm:items-center justify-between gap-2 sm:gap-3\"><div class=\"flex flex-col sm:flex-row sm:items-center gap-2\"><span class=\"icon icon-calculator text-primary-700! text-base! dark:text-primary-300!\" aria-hidden=\"true\"><\/span><h2 id=\"calculator-title\" class=\"text-lg font-display font-bold\">Inventory Days Outstanding Calculator<\/h2><\/div><div class=\"calcdash-favorite group\">\n  <button type=\"button\" class=\"favorite\" id=\"favorite\" data-favorite-id=\"99\" data-favorite-title=\"Days in Inventory\" data-favorite-url=\"https:\/\/wpcalc.com\/en\/finance\/days-in-inventory\/\" data-favorite-excerpt=\"Calculate how many days your company holds inventory before selling it. Enter average inventory, cost of goods sold, and the period length to measure inventory efficiency and turnover speed.\" aria-label=\"Add to Favorites\" data-favorite-icon=\"icon icon-inventory\">\n    <span class=\"icon icon-shape-star-empty\" aria-hidden=\"true\"><\/span>\n  <\/button>\n  <div class=\"calcdash-favorite__tip\" aria-hidden=\"true\">\n   <span class=\"favorite-tooltip\" id=\"favorite-tooltip\"><\/span>\n  <\/div>\n  <span class=\"sr-only\" role=\"status\" id=\"favorite-status\"><\/span>\n<\/div><\/div><form action=\"https:\/\/wpcalc.com\/en\/finance\/days-in-inventory\/\" method=\"POST\" class=\"calculator\" id=\"calculator-99\" data-post=\"99\"><fieldset class=\"fieldset-input\"><legend class=\"sr-only\">Input Fields<\/legend><div class=\"field has-term\" id=\"input-1\"><label for=\"field-1\">Average inventory<\/label><div class=\"term\">AI<\/div>  <div class=\"absolute bottom-0 left-16 top-8 w-2 h-0.5 bg-blue-500\"><\/div><input type=\"text\" name=\"average_inventory\" id=\"field-1\" aria-describedby=\"calc-unit-1 calc-info-1\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"0\" value=\"20000\"\/><div class=\"unit\" id=\"calc-unit-1\">$<\/div><small id=\"calc-info-1\">Average inventory during the period (e.g. beginning + ending \/ 2)<\/small><\/div><div class=\"field has-term\" id=\"input-2\"><label for=\"field-2\">Cost of goods sold (COGS)<\/label><div class=\"term\">COGS<\/div>  <div class=\"absolute bottom-0 left-16 top-8 w-2 h-0.5 bg-blue-500\"><\/div><input type=\"text\" name=\"cost_of_goods_sold_cogs\" id=\"field-2\" aria-describedby=\"calc-unit-2 calc-info-2\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"0.01\" value=\"100000\"\/><div class=\"unit\" id=\"calc-unit-2\">$<\/div><small id=\"calc-info-2\">Total cost of goods sold during the same period<\/small><\/div><div class=\"field has-term\" id=\"input-3\"><label for=\"field-3\">Number of days<\/label><div class=\"term\">D<\/div>  <div class=\"absolute bottom-0 left-16 top-8 w-2 h-0.5 bg-blue-500\"><\/div><input type=\"text\" name=\"number_of_days\" id=\"field-3\" aria-describedby=\"calc-info-3\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"1\" value=\"365\"\/><small id=\"calc-info-3\">Typically 365 for annual, or 90 for quarterly analysis<\/small><\/div><\/fieldset><div class=\"buttons\"><button type=\"submit\" data-text=\"Re-Calculate\" id=\"calculate-button\" data-post=\"99\">Calculate<\/button><button type=\"reset\">Reset<\/button><\/div><div class=\"field is-checkbox hidden!\" id=\"field-auto-calc\"><input type=\"checkbox\" id=\"auto-calc\"><label for=\"auto-calc\">Calculate automatically<\/label><small>If enabled, the result will update automatically when you change any value.<\/small><\/div><div class=\"fieldset-result is-hidden\" aria-labelledby=\"result-title\" aria-live=\"polite\" role=\"region\"> <h3 class=\"result-title bg-gradient-to-r from-primary-50 to-gray-50 dark:from-primary-900 dark:to-gray-800\" id=\"result-title\"><span class=\"icon icon-s-pulse\" aria-hidden=\"true\"><\/span> Your Results<\/h3><div class=\"result-box\"><div class=\"field-result\" id=\"output-1\"><span class=\"field-title\"><span>Days in Inventory<\/span><\/span><span class=\"field-value\" id=\"result-1\" data-unit=\"days\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><div class=\"field-result is-column\" id=\"output-2\"><span class=\"field-title\"><span>Interpretation<\/span><\/span><span class=\"field-value\" id=\"result-2\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><\/div><div class=\"result-actions\"><button type=\"button\" class=\"copy-link\"><svg viewBox=\"0 0 20 20\" fill=\"currentColor\" aria-hidden=\"true\"><path d=\"M12.232 4.232a2.5 2.5 0 0 1 3.536 3.536l-1.225 1.224a.75.75 0 0 0 1.061 1.06l1.224-1.224a4 4 0 0 0-5.656-5.656l-3 3a4 4 0 0 0 .225 5.865.75.75 0 0 0 .977-1.138 2.5 2.5 0 0 1-.142-3.667l3-3Z\"\/><path d=\"M11.603 7.963a.75.75 0 0 0-.977 1.138 2.5 2.5 0 0 1 .142 3.667l-3 3a2.5 2.5 0 0 1-3.536-3.536l1.225-1.224a.75.75 0 0 0-1.061-1.06l-1.224 1.224a4 4 0 1 0 5.656 5.656l3-3a4 4 0 0 0-.225-5.865Z\"\/><\/svg><span class=\"copy-link__text\">Copy link to this calculation<\/span><\/button><span class=\"sr-only\" role=\"status\" id=\"copy-link-status\"><\/span><\/div><\/div><a href=\"#respond\" class=\"hidden transition-opacity duration-300 opacity-0 w-50 text-sm justify-center items-center gap-2 px-4 py-2 rounded bg-gray-200 text-gray-700 hover:bg-gray-300\" id=\"leave-comment\"><span class=\"icon icon-comments\" aria-hidden=\"true\"><\/span>Leave a Comment<\/a><\/form><\/section><section id=\"calc-reactions\" class=\"not-prose hidden my-12 bg-gradient-to-r from-primary-50 to-gray-50 border border-indigo-100 rounded-xl px-6 py-4 shadow-sm\" data-post=\"99\" aria-live=\"polite\" aria-labelledby=\"calc-reactions-title\"><p id=\"calc-reactions-title\" class=\"text-sm text-gray-500 text-center mb-2\">How did this result make you feel?<\/p><div role=\"group\" aria-labelledby=\"calc-reactions-title\" class=\"grid grid-cols-3 sm:flex sm:flex-row sm:justify-around gap-4 sm:items-center sm:flex-wrap\"><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"like\"><span class=\"reaction-count\" data-reaction-count=\"like\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\ude00 <\/span><span class=\"reaction-description font-medium\">Like <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"helpful\"><span class=\"reaction-count\" data-reaction-count=\"helpful\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\udca1 <\/span><span class=\"reaction-description font-medium\">Helpful <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"confused\"><span class=\"reaction-count\" data-reaction-count=\"confused\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\ude15 <\/span><span class=\"reaction-description font-medium\">Confused <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"disappointed\"><span class=\"reaction-count\" data-reaction-count=\"disappointed\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\ude1e <\/span><span class=\"reaction-description font-medium\">Disappointed <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"inaccurate\"><span class=\"reaction-count\" data-reaction-count=\"inaccurate\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\u274c <\/span><span class=\"reaction-description font-medium\">Inaccurate <\/span><\/button><\/div><div id=\"reaction-message\" class=\"hidden mt-8 rounded-md border border-primary-100 bg-white\/50 backdrop-blur-sm px-4 py-2 text-sm text-center shadow-sm\"><\/div><\/section><div class=\"calcdash-ad not-prose calcdash-ad--calc_result calcdash-ad--in-article\"><ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-1721569815777345\" data-ad-slot=\"6317458308\" data-ad-layout=\"in-article\" data-ad-format=\"fluid\"><\/ins><script>(adsbygoogle = window.adsbygoogle || []).push({});<\/script><\/div>\n<style id=\"wpcoderpro-inline-1\">.formula-box {\r\n\tborder-bottom: none !important;\r\n}<\/style><section class=\"formula-box\" aria-labelledby=\"formula-title\">\r\n\t<div id=\"formula-title\" class=\"not-prose font-display mb-4\"><span class=\"icon icon-formula\" aria-hidden=\"true\"><\/span><h2>Days in Inventory Formula<\/h2><\/div>\r\n\t<figure class=\"not-prose formula\">\r\n\t\t<figcaption class=\"formula-title\">Formula<\/figcaption>\r\n\t\t<div class=\"text-base text-gray-800\" id=\"formula\">\n\\[ \\text{Days in Inventory} = \\frac{\\text{Average Inventory}}{\\text{Cost of Goods Sold}} \\times D \\]\n\\[ \\text{Days in Inventory} = \\frac{D}{\\text{Inventory Turnover Ratio}} \\]\n<\/div>\r\n\t<\/figure>\r\n\t<\/p>\n<p><strong>Where:<\/strong><\/p>\n<ul>\n<li>\\( \\text{Average Inventory} \\) \u2014 the average value of inventory held during the period, usually computed as \\( \\frac{\\text{Beginning Inventory} + \\text{Ending Inventory}}{2} \\)<\/li>\n<li>\\( \\text{COGS} \\) \u2014 cost of goods sold over the same period<\/li>\n<li>\\( D \\) \u2014 number of days in the period (365 for a year, 90 for a quarter)<\/li>\n<\/ul>\n<p>The formula shows how many days, on average, a company needs to sell its entire inventory. Since the inventory turnover ratio is \\( \\frac{\\text{COGS}}{\\text{Average Inventory}} \\), dividing the period length by that ratio gives the same result.<\/p>\n<p>\r\n<\/section>\n<style id=\"wpcoderpro-inline-459\">.calculation-box {\r\n\tborder-bottom: none !important;\r\n}<\/style><section id=\"calculation\" class=\"calculation-box\" aria-labelledby=\"calculation-title\">\r\n\t<div id=\"calculation-title\" class=\"not-prose font-display\"><span class=\"icon icon-unordered-list\" aria-hidden=\"true\"><\/span><h2>Days in Inventory \u2013 Calculation Example<\/h2><\/div>\r\n\r\n<\/p>\n<p><strong>Example:<\/strong> a company reports an average inventory of $20,000 and annual cost of goods sold of $100,000, analyzed over 365 days.<\/p>\n<p>\\[ \\text{Days in Inventory} = \\frac{20{,}000}{100{,}000} \\times 365 = 0.20 \\times 365 = 73 \\text{ days} \\]<\/p>\n<p><strong>Result:<\/strong> 73 days. The company holds its inventory for about two and a half months before selling it \u2014 a moderate turnover pace for many industries.<\/p>\n<p>\n\r\n<\/section>\n<h2>How to Use the Days in Inventory Calculator<\/h2>\n<ol>\n<li>Enter the <strong>Average inventory<\/strong> value. If you only know the beginning and ending inventory, add them together and divide by two.<\/li>\n<li>Enter the <strong>Cost of goods sold (COGS)<\/strong> for the same period, taken from the income statement.<\/li>\n<li>Enter the <strong>Number of days<\/strong> in the period \u2014 365 for a full year or 90 for a quarter.<\/li>\n<li>Read the <strong>Days in Inventory<\/strong> result in days, along with the interpretation of the turnover speed.<\/li>\n<\/ol>\n<h2>What Is Days in Inventory?<\/h2>\n<p>Days in Inventory (also called Days Inventory Outstanding, or DIO) measures the average number of days a company keeps its inventory in stock before selling it. It is one of the three components of the <strong>cash conversion cycle<\/strong>, alongside days sales outstanding and days payable outstanding. Together, these metrics show how long it takes to turn resource investments into cash.<\/p>\n<p>The metric matters because inventory ties up working capital. Every day a product sits on a shelf or in a warehouse, the company has money locked in goods that produce no return and may lose value. A shorter inventory period frees cash faster, reduces storage and insurance costs, and lowers the risk of obsolescence \u2014 particularly important for perishable goods, electronics, and fashion items.<\/p>\n<p><strong>How to interpret the result:<\/strong> there is no single \"good\" number, because the answer depends heavily on the industry. Fresh food retailers often operate at 10\u201320 days, while machinery manufacturers or jewelry sellers may exceed 200 days. The number is most meaningful when compared with the company's own history, direct competitors, or industry benchmarks. A consistently rising figure usually signals overstocking, weakening demand, or purchasing problems; a falling figure generally means faster sales or leaner operations. The interpretation shown with the result (fast, moderate, or slow turnover) is a general guideline \u2014 always benchmark against your sector.<\/p>\n<h2>Assumptions, Limitations and Practical Tips<\/h2>\n<ul>\n<li><strong>Use consistent periods.<\/strong> Average inventory and COGS must cover the same time frame, and the number of days must match that frame, or the result will be distorted.<\/li>\n<li><strong>COGS, not revenue.<\/strong> The calculation uses cost of goods sold, not sales. Inventory is recorded at cost in the balance sheet, so using revenue would understate the result.<\/li>\n<li><strong>Average smooths seasonality.<\/strong> The simple (beginning + ending) \/ 2 average can misrepresent seasonal businesses. For those, use monthly inventory balances averaged over the year.<\/li>\n<li><strong>A low number isn't always better.<\/strong> Very fast turnover may mean stockouts, lost sales, and rushed purchasing. Tools like the <a href=\"https:\/\/wpcalc.com\/en\/finance\/economic-order-quantity\/\">Economic Order Quantity calculator<\/a> help find the balance between ordering costs and holding costs.<\/li>\n<li><strong>Compare like with like.<\/strong> Different accounting methods change the numbers. For example, the <a href=\"https:\/\/wpcalc.com\/en\/finance\/fifo-inventory-cost\/\">FIFO inventory cost method<\/a> and the <a href=\"https:\/\/wpcalc.com\/en\/finance\/ending-inventory\/\">Ending Inventory calculator<\/a> both affect the inventory value used in the formula.<\/li>\n<li><strong>Watch it alongside other metrics.<\/strong> Pair days in inventory with liquidity measures such as the <a href=\"https:\/\/wpcalc.com\/en\/finance\/acid-test-ratio\/\">Acid Test Ratio<\/a> and efficiency measures like <a href=\"https:\/\/wpcalc.com\/en\/finance\/total-asset-turnover\/\">Total Asset Turnover<\/a> for a fuller picture of operational health.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Calculate how many days your company holds inventory before selling it. Enter average inventory, cost of goods sold, and the period length to measure inventory efficiency and turnover speed.<\/p>\n","protected":false},"author":70,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[5],"tags":[26],"class_list":["post-99","post","type-post","status-publish","format-standard","hentry","category-finance","tag-inventory"],"acf":[],"_links":{"self":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts\/99","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/users\/70"}],"replies":[{"embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/comments?post=99"}],"version-history":[{"count":2,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts\/99\/revisions"}],"predecessor-version":[{"id":66075,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts\/99\/revisions\/66075"}],"wp:attachment":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/media?parent=99"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/categories?post=99"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/tags?post=99"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}