Calculating volume and weight