Calculation of weight in space