<h3>Background:</h3>
<p>Some time ago, I built a system for recording and categorizing application crashes for one of our internal programs. At the time, I used a combination of frequency and aggregated lost time (the time between the program launch and the crash) for prioritizing types of crashes. It worked reasonably well.</p>
<p>Now, The Powers That Be want solid numbers on the <em>cost</em> of each type of crash being worked on. Or at least, numbers that <em>look</em> solid. I suppose I could use the aggregate lost time, multiplied by some plausible figure, but it seems dodgy.</p>
<h3>Question:</h3>
<p>Are there any established methods of calculating the real-world cost of application crashes? Or failing that, published studies speculating on such costs?</p>
<hr />
<h3>Consensus</h3>
<p>Accuracy is impossible, but an estimate based on uptime should suffice if it is applied consistently and its limitations clearly documented. Thanks, Matt, Orion, for taking time to answer this.</p>

[{'answer_id': 55544, 'author': 'Matt Sheppard', 'author_id': 797, 'author_profile': 'https://Stackoverflow.com/users/797', 'pm_score': 5, 'selected': True, 'text': "<p>I've not seen any studies, but a reasonable heuristic would be something like :</p>\n\n<p>( Time since last application save when crash occurred + Time to restart application ) * Average hourly rate of application operator.</p>\n\n<p>The estimation gets more complex if the crashes have some impact on external customers such, or might delay other things (i.e. create a bottle neck such that another person winds up sitting around waiting because some else's application crashed).</p>\n\n<p>That said, your 'powers that be' may well be happy with a very rough estimate so long as it's applied consistently and they can see how it is changing over time.</p>\n"}, {'answer_id': 55553, 'author': 'Orion Edwards', 'author_id': 234, 'author_profile': 'https://Stackoverflow.com/users/234', 'pm_score': 4, 'selected': False, 'text': '<blockquote>\n  <p>The Powers That Be want solid numbers on the cost of each type of crash being worked on</p>\n</blockquote>\n\n<p>I want to fly in my hot air balloon to Mars, but it doesn\'t mean that such a thing is possible.</p>\n\n<p>Seriously, I think you have a duty to tell them that there is no way to accurately measure this. Tell them you can rank the crashes, or whatever it is that you can actually do with your data, but that\'s all you\'ve got.</p>\n\n<p>Something like "We can\'t actually work out how much it costs. We DO have this data about how long things are running for, and so on, but the only way to attach costs is to pretend that X minutes equals X dollars even though this has no basis in reality"</p>\n\n<p>If you just make some bullcrap costing algorithm and DON\'T push back at all, you only have yourself to blame when management turns around and uses this arbitrary made up number to do something stupid like fire staff, or decide not to fix any crashes and instead focus on leveraging their synergy with sharepoint portal internet web sharing love server 2013</p>\n\n<p><strong>Update:</strong> To clarify, I\'m not saying you should only rely on stats with 100% accuracy, and just give up on everything else.<br>\nWhat I think is important is that you know what it is you\'re measuring. You\'re not actually measuring cost, you\'re measuring uptime. As such, you should be upfront about it. If you want to estimate the cost that\'s fine, but I believe you need to make this clear..</p>\n\n<p>If I were to produce such a report, I\'d call it the \'crash uptime report\' and maybe have a secondary field called "Estimated cost based on $5/minute." The managers get their cost estimate, but it\'s clear that the actual report is based on the uptime, and cost is only an estimate, and how the estimate works.</p>\n'}, {'answer_id': 58053, 'author': 'Christian', 'author_id': 4074, 'author_profile': 'https://Stackoverflow.com/users/4074', 'pm_score': 3, 'selected': False, 'text': '<p>There is a missing factor here .. most applications have a \'buckling\' factor where crashes suddenly start "costing" a lot more because people loose confidence in the service your app is providing. Once that happens then it can be <strong>very</strong> costly to get users back to trusting and using the system.  </p>\n'}, {'answer_id': 1902205, 'author': 'Kramii', 'author_id': 11514, 'author_profile': 'https://Stackoverflow.com/users/11514', 'pm_score': 2, 'selected': False, 'text': '<p>It depends...</p>\n\n<p>In terms of cost, the <em>only</em> thing that matters is the <strong>business impact</strong> of the crash, so it rather depends on the type of application.</p>\n\n<p>For may applications, it may not be possible to determine business impact. For others, there may be meaninful measures.</p>\n\n<p>Demand-based measures may be meaningful - if sales are steady then down-time for a sales app may be useful. If sales fluctuate unpredictable, then such measures are less useful.</p>\n\n<p>Cost of repair may also be useful.</p>\n'}]
['https://Stackoverflow.com/questions/55531', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/811/']