describe how to calculate entity values