The formula to calculate the BMI is as follows:
BMI = Weight(in KG)/Height * Height(in m)
From the formula of Body Mass Index, it follows that,
Weight (in Kg) = BMI * Height * Height (in m)