A BMI calculator evaluates body weight in relation to height by dividing weight (kg) by height squared (m²). It classifies individuals as underweight, normal, overweight, or obese. This tool helps identify potential health risks but doesn’t account for factors like muscle mass, making it less accurate for specific groups.