Body mass index is calculated by dividing weight by height squared. If BMI > 30 we speak of obesity.