BMI uses a mathematical formula that takes into account both a person's height and weight. BMI equals a person's weight in kilograms divided by height in meters squared. (BMI=kg/m2).