{"id":910,"date":"2015-01-18T17:39:29","date_gmt":"2015-01-19T00:39:29","guid":{"rendered":"http:\/\/www.larrylawhead.com\/articles\/?p=910"},"modified":"2017-10-24T16:58:07","modified_gmt":"2017-10-24T23:58:07","slug":"calculating-project-costs-using-story-points","status":"publish","type":"post","link":"https:\/\/www.larrylawhead.com\/articles\/2015\/01\/calculating-project-costs-using-story-points\/","title":{"rendered":"Calculating Project Costs Using Story Points"},"content":{"rendered":"<h2>Fibonacci Numbers &amp; Dog Breeds?<\/h2>\n<p>Managers using the <a title=\"Here's a quick overview of the &quot;Cost Accounting&quot; method for estimating project costs.\" href=\"http:\/\/en.wikipedia.org\/wiki\/Cost_accounting\">cost accounting method<\/a>\u00a0to estimate\u00a0projects are often lost when it comes to calculating the cost of Agile Scrum projects. Where the cost accounting method typically uses cost of time per project task as a key variable, <a title=\"Great blog post on Scrum effort estimation. \" href=\"http:\/\/scrummethodology.com\/scrum-effort-estimation-and-story-points\/\" target=\"_blank\">Scrum\u00a0uses effort estimates<\/a> and &#8220;time boxes&#8221;. To make matters worse, effort estimates assigned to tasks within these boxes are often measured by <a title=\"Wikipedia explanation of this sequence.\" href=\"http:\/\/en.wikipedia.org\/wiki\/Fibonacci_number\" target=\"_blank\">Fibonacci numbers<\/a> or \u00a0fruit, dog breeds, etc. It is easy to understand why managers can become frustrated. They are expected to reliably estimate the number of tasks, \u00a0the time and cost involved and all Scrum gives them is a list of dog breeds.<\/p>\n<h2>A Simple Model<\/h2>\n<p>Based on input from the book,\u00a0\u00a0\u201cAgile Estimating and Planning\u201d by Mike Cohn, I&#8217;ve identified\u00a0a simple model that works for me. I&#8217;m sharing it in the hope it may take the edge off\u00a0the uncertainty involved in estimating your projects managed by the\u00a0Scrum Framework.<\/p>\n<p>The model is flexible enough to add any variable relevant\u00a0to the\u00a0project. <a title=\"PMI offers great project management guidance.\" href=\"http:\/\/www.pmi.org\" target=\"_blank\">PMI<\/a> offers this high-level list&#8230;<\/p>\n<ul>\n<li>Cost of quality efforts<\/li>\n<li>Cost of risk factors<\/li>\n<li>Cost of project management time<\/li>\n<li>Costs of project management activities<\/li>\n<li>Cost directly associated with the project (labor, materials, training, equipment, etc.)<\/li>\n<li>Cost of physical office space or virtual office<\/li>\n<li>Profit (when applicable)<\/li>\n<li>Cost of overhead (management salaries, general office expenses, etc.)<\/li>\n<\/ul>\n<p>The number of tasks is managed by the Sprint\u00a0Backlog. Time is managed by the length of the sprint (&#8220;time box&#8221;). Cost is calculated by multiplying the sum of the variables by the sum of the effort applied to the sprint.<\/p>\n<h3>Basic formula<\/h3>\n<p>Variables<\/p>\n<ul>\n<li>C = production cost<\/li>\n<li>E = total expenses for the year<\/li>\n<li>W = work weeks in a year<\/li>\n<li>L = length of the sprint<\/li>\n<li>S = story point benchmark (decided by team)<\/li>\n<\/ul>\n<p>Pseudo Excel Formula<\/p>\n<p>C = (((E \/ W) * L) \/ S)<\/p>\n<h3>The model requires the following steps.<\/h3>\n<ol>\n<li>Add all cost variables<\/li>\n<li>Calculate how much variables cost each week<\/li>\n<li>Identify your\u00a0story point benchmark (example: highest number of story points burned down during a sprint)<\/li>\n<li>Multiply the weekly cost of the sprint by the length of the sprint<\/li>\n<li>Divide that sum by the number of story points, revealing\u00a0the cost per sprint based on actual throughput.<\/li>\n<li>Use the throughput average of past\u00a0sprints to calculate the cost of future sprints.<\/li>\n<\/ol>\n<h2>Benefits of this Model<\/h2>\n<p>The benefits of calculating project costs based on historical\u00a0throughput are self-evident. If not I recommend you get a good book on <a title=\"Wikipedia article on Lean manufacturing. \" href=\"http:\/\/en.wikipedia.org\/wiki\/Lean_manufacturing\" target=\"_blank\">Lean\u00a0manufacturing<\/a> such as, &#8220;The Goal&#8221; by Jeff Cox and Eliyahu Goldratt or &#8220;Going Lean&#8221; by Stephen Ruffa. The model uses the throughput average (mean) and not the median. Since a hallmark of Agile Scrum is continues improvement (<a title=\"The Kaizen institute. \" href=\"http:\/\/www.kaizen.com\/about-us\/definition-of-kaizen.html\" target=\"_blank\">Kaizen<\/a>), our calculations should include sprints of exceptional performance.<\/p>\n<p>I may cover this in more detail in a later post, but cost predictions reported by the model become more accurate as stories are better defined. The more general a backlog item or Epic the higher the effort estimate.\u00a0\u00a0As the stories are broken down with enough detail to create a solution and fit into a Sprint, the lower the effort estimate may become. This may mean, for example,\u00a0an Epic originally estimated at 89, may actually require stories totaling only 55 points. On the other hand an Epic at\u00a0infinity clearly indicates no estimate is possible, until its requirements are better understood. Epics totaling more story points than fit into available sprints (&#8220;time boxes&#8221;), confirm compromise is\u00a0required.<\/p>\n<p>By reaching improvement goals set during the retrospective, the model also reflects the reduced cost of production. Lower production costs present the organization with a number of market advantages such as lower cost resulting in larger market share.<\/p>\n<p>There is the added benefit of team participation. Teams want to succeed and they love a good challenge. After the team gets comfortable with estimation by\u00a0comparing\u00a0Fibonacci numbers\u00a0thy will certainly\u00a0be happy to commit themselves to a story point per sprint benchmark.\u00a0You can even use this as a game between teams. This moves production cost calculations from something done behind closed doors and out into the open.<\/p>\n<p>It is not necessary to throw Agile Scrum out the window when calculating project costs. Embracing this framework along with Lean ideas and leveraging <a title=\"The Kaizen institute. \" href=\"http:\/\/www.kaizen.com\/about-us\/definition-of-kaizen.html\" target=\"_blank\">Kaizen<\/a>\u00a0an organization will soon learn, accurate projections come by being Agile.<\/p>\n<p><a title=\"Example of how this model works.\" href=\"https:\/\/www.larrylawhead.com\/articles\/2015\/01\/project-cost-example\/\" target=\"_blank\">Click here<\/a> to view an example of this model.<\/p>\n<p>Books I used to develop this model:<\/p>\n<ul>\n<li>\u201c<a title=\"This book on Amazon.\" href=\"http:\/\/www.amazon.com\/Agile-Estimating-Planning-Mike-Cohn\/dp\/0131479415\" target=\"_blank\">Agile Estimating and Planning<\/a>\u201d by\u00a0<a title=\"Mike Cohen's blog.\" href=\"http:\/\/www.mountaingoatsoftware.com\/blog\" target=\"_blank\">Mike Cohn<\/a><\/li>\n<li>&#8220;<a title=\"This book on Amazon.\" href=\"http:\/\/www.amazon.com\/Scrum-Doing-Twice-Work-Half\/dp\/038534645X\" target=\"_blank\">Scrum: The Art of Doing Twice the Work in Half the Time<\/a>&#8221; by <a title=\"Blog at Scrum Inc.\" href=\"http:\/\/www.scruminc.com\/blog\/\" target=\"_blank\">Jeff Sutherland<\/a><\/li>\n<li>&#8220;<a title=\"This book on Amazon.\" href=\"http:\/\/www.amazon.com\/dp\/0884270610\/?tag=googhydr-20&amp;hvadid=31928194650&amp;hvpos=1t1&amp;hvexid=&amp;hvnetw=g&amp;hvrand=7702390212110110399&amp;hvpone=&amp;hvptwo=&amp;hvqmt=b&amp;hvdev=c&amp;ref=pd_sl_2tzh7kv7vd_b\" target=\"_blank\">The Goal<\/a>&#8221; by <a title=\"Blog by Jeff Cox\" href=\"http:\/\/www.jeffcox.com\/jcblog\/?page_id=15\" target=\"_blank\">Jeff Cox<\/a>\u00a0and\u00a0<a title=\"The Goldratt institute. \" href=\"http:\/\/www.goldratt.com\" target=\"_blank\">Eliyahu Goldratt<\/a><\/li>\n<li>&#8220;<a title=\"This book on Amazon.\" href=\"http:\/\/www.amazon.com\/Going-Lean-Manufacturing-Principles-Uncertainty\/dp\/081441057X\" target=\"_blank\">Going Lean<\/a>&#8221; by Stephen Ruffa<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Fibonacci Numbers &amp; Dog Breeds? Managers using the cost accounting method\u00a0to estimate\u00a0projects are often lost when it comes to calculating the cost of Agile Scrum projects. Where the cost accounting method typically uses cost of time per project task as a key variable, Scrum\u00a0uses effort estimates and &#8220;time boxes&#8221;. To make matters worse, effort estimates<\/p>\n<p class=\"more-link\"><a href=\"https:\/\/www.larrylawhead.com\/articles\/2015\/01\/calculating-project-costs-using-story-points\/\" class=\"themebutton2\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[4,119],"tags":[92,100,94,96,19,15,95],"class_list":["post-910","post","type-post","status-publish","format-standard","hentry","category-product-owner","category-scrum-master","tag-agile-scrum","tag-budgets-schedules","tag-cost-accounting-method","tag-cost-management-model","tag-larry-lawhead","tag-project-management","tag-story-points"],"_links":{"self":[{"href":"https:\/\/www.larrylawhead.com\/articles\/wp-json\/wp\/v2\/posts\/910","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.larrylawhead.com\/articles\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.larrylawhead.com\/articles\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.larrylawhead.com\/articles\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.larrylawhead.com\/articles\/wp-json\/wp\/v2\/comments?post=910"}],"version-history":[{"count":13,"href":"https:\/\/www.larrylawhead.com\/articles\/wp-json\/wp\/v2\/posts\/910\/revisions"}],"predecessor-version":[{"id":1001,"href":"https:\/\/www.larrylawhead.com\/articles\/wp-json\/wp\/v2\/posts\/910\/revisions\/1001"}],"wp:attachment":[{"href":"https:\/\/www.larrylawhead.com\/articles\/wp-json\/wp\/v2\/media?parent=910"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.larrylawhead.com\/articles\/wp-json\/wp\/v2\/categories?post=910"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.larrylawhead.com\/articles\/wp-json\/wp\/v2\/tags?post=910"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}