{"id":8324,"date":"2020-04-13T07:32:08","date_gmt":"2020-04-13T11:32:08","guid":{"rendered":"https:\/\/demand-planning.com\/?p=8324"},"modified":"2020-04-13T07:32:08","modified_gmt":"2020-04-13T11:32:08","slug":"how-do-i-calculate-lost-sales-from-a-stockout","status":"publish","type":"post","link":"https:\/\/demand-planning.com\/2020\/04\/13\/how-do-i-calculate-lost-sales-from-a-stockout\/","title":{"rendered":"How Do I Calculate Lost Sales From A Stockout?"},"content":{"rendered":"<span class=\"cb-itemprop\" itemprop=\"reviewBody\"><p><strong>Q:<\/strong> Thanks for the Wonderful Book &#8220;Fundamentals of Demand Planning &amp; Forecasting&#8221;. Is there any best proven and Industry accepted model\/algorithm to calculate sales loss? For example, the actual sale duration for an item is from 7 am to 10.30 pm every day. But if an item is sold out at 6 pm, how do we calculate the number of sales that we lost\/missed during the remaining time period from 6 pm to 10.30 pm?<\/p>\n<p>I am working as a Demand Planning Manager in the Food &amp; Beverages and Health &amp; Supplement industries. We do demand planning on a daily basis with 3 days in advance (T-3) for Sale day (T) {Freeze Demand plan on Monday for Thursday&#8217;s sales}. We need a minimum of 2 days (T-2 &amp; T-1) for procurement, transport, cooking and other operations. Buffer stock\/Safety stock is not possible as shelf life of cooked food is max 24 hours. So on any day, our forecasted demand is equal to sum of sales plus wastage.<\/p>\n<p>Often we face difficulties in calculating the correct sales loss percentage due to item stock outs.<\/p>\n<p>Below is the data (imaginary numbers):<\/p>\n<p>Date Stockout @ Demand Sold Wastage Sales Loss<br \/>\nDay 1 No Stockout 100 95 5 &#8211;<br \/>\nDay 2 No Stockout 105 98 7 &#8211;<br \/>\nDay 3 No Stockout 105 100 5 &#8211;<br \/>\nDay 4 21:42:29 95 95 &#8211; ?<br \/>\nDay 5 21:34:40 100 100 &#8211; ?<br \/>\nDay 6 20:21:47 98 98 &#8211; ?<br \/>\nDay 7 20:09:54 100 100 &#8211; ?<br \/>\nDay 8 No Stockout 115 105 10 &#8211;<\/p>\n<p>Is there any algorithm\/method to calculate sales loss for the days 4 to 7 in order to identify the overall potential sales\/day?<\/p>\n<p>MAPE = {(Wastage+Sales Loss)\/Actual Sales}*100<\/p>\n<p>Without correct sales loss numbers, it is very difficult to get MAPE correct.<\/p>\n<p>Thanks in advance.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>A:<\/strong> Your problem is very unique, and thus you won&#8217;t find any textbook that discusses it. If I were to face this problem, I would take the average sales on days when\u00a0there was no stockout. The difference between the average demand and actual sales is your loss. For example on day 4 sales would have been\u00a0106 but you sold only 95, so lost sales equals 11 units.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-8325\" src=\"https:\/\/demand-planning.com\/wp-content\/uploads\/2020\/04\/Ask-Dr.-Jain-feature.png\" alt=\"\" width=\"1300\" height=\"293\" data-wp-pid=\"8325\" srcset=\"https:\/\/demand-planning.com\/wp-content\/uploads\/2020\/04\/Ask-Dr.-Jain-feature.png 1003w, https:\/\/demand-planning.com\/wp-content\/uploads\/2020\/04\/Ask-Dr.-Jain-feature-300x68.png 300w, https:\/\/demand-planning.com\/wp-content\/uploads\/2020\/04\/Ask-Dr.-Jain-feature-768x173.png 768w, https:\/\/demand-planning.com\/wp-content\/uploads\/2020\/04\/Ask-Dr.-Jain-feature-800x180.png 800w, https:\/\/demand-planning.com\/wp-content\/uploads\/2020\/04\/Ask-Dr.-Jain-feature-600x135.png 600w\" sizes=\"(max-width: 1300px) 100vw, 1300px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>I hope this helps.<\/p>\n<p>Happy forecasting.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Dr. Chaman Jain<\/strong><\/p>\n<p><strong>St. John&#8217;s University<\/strong><\/p>\n<\/span>","protected":false},"excerpt":{"rendered":"<p>Q: Thanks for the Wonderful Book &#8220;Fundamentals of Demand Planning &amp; Forecasting&#8221;. Is there any best proven and Industry accepted model\/algorithm to calculate sales loss? For example, the actual sale duration for an item is from 7 am to 10.30 pm every day. But if an item is sold out at 6 pm, how do [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":8329,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[386],"tags":[],"class_list":{"0":"post-8324","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-analytics"},"_links":{"self":[{"href":"https:\/\/demand-planning.com\/wp-json\/wp\/v2\/posts\/8324"}],"collection":[{"href":"https:\/\/demand-planning.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/demand-planning.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/demand-planning.com\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/demand-planning.com\/wp-json\/wp\/v2\/comments?post=8324"}],"version-history":[{"count":0,"href":"https:\/\/demand-planning.com\/wp-json\/wp\/v2\/posts\/8324\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/demand-planning.com\/wp-json\/wp\/v2\/media\/8329"}],"wp:attachment":[{"href":"https:\/\/demand-planning.com\/wp-json\/wp\/v2\/media?parent=8324"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/demand-planning.com\/wp-json\/wp\/v2\/categories?post=8324"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/demand-planning.com\/wp-json\/wp\/v2\/tags?post=8324"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}