units.health
body measurements like body mass index
Quick health calculations from body measurements. They are rules of thumb, not medical advice.
Tags: health
bmibody mass index, mass divided by the square of height, in kg/m²
Functions
Section titled “Functions”bmi(mass: quantity, height: quantity) -> float
body mass index, mass divided by the square of height, in kg/m²
Under 18.5 is usually called underweight, 25 and over overweight, and 30 and over obese. It ignores build, so it suits populations better than individuals
1bmi(70 kg, 1.75 m)22.85712bmi(154 lb, 5 ft 9 in)22.7416Example outputCtrl+Enter to run
More examples
Section titled “More examples”health
Section titled “health”1# body mass index in metric2bmi(70 kg, 1.75 m)22.85713# and in pounds and inches4bmi(154 lb, 5 ft 9 in)22.7416Example outputCtrl+Enter to run
Example results generated on 2026-11-04. Ones using now, today or randomness will differ when you run them.