Metal material weight calculation