Skip to content

units.health

body measurements like body mass index

Quick health calculations from body measurements. They are rules of thumb, not medical advice.

Tags: health

  • bmi body mass index, mass divided by the square of height, in kg/m²
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

1
bmi(70 kg, 1.75 m)22.8571
2
bmi(154 lb, 5 ft 9 in)22.7416
Example outputCtrl+Enter to run
1
# body mass index in metric
2
bmi(70 kg, 1.75 m)22.8571
3
# and in pounds and inches
4
bmi(154 lb, 5 ft 9 in)22.7416
Example outputCtrl+Enter to run

Example results generated on 2026-11-04. Ones using now, today or randomness will differ when you run them.