calculate cost per decision