Computation of Loss