Calculation of product weight