BMI Calculator

From rosegaelle dot com - Projects Wiki

Jump to: navigation, search

Note: This code is already on my list of projects to update this Summer.

BMI Calculator screenshot on Ubuntu 8.10

The Body mass index (BMI) is a measure of human body fat based on height and weight that applies to adult men and women[1]. Also known as Quetelet index, this heuristic does not actually measure the percentage of body fat, but is instead meant to assess how much an individual's body weight departs from what is normal or desirable for a person of his or her height[2].



The World Health Organization regards a BMI of less than 18.5 as underweight and may indicate malnutrition, an eating disorder, or other health problems, while a BMI greater than 25 is considered overweight and above 30 is considered obese[3]. These ranges of BMI values are valid only as statistical categories when applied to adults, and do not predict health.

Category BMI range – kg/m2
Severely underweight less than 16.0
Underweight between 16.0 and 18.5
Normal between 18.5 and 25
Overweight between 25 and 30
Obese Class I between 30 and 35
Obese Class II between 35 and 40
Obese Class III over 40


To facilitate the computation of a person's BMI knowing the person's height and weight - in either metric or U.S. units -, I have designed this simple BMI calculator based on the National Institute of Health's Body Mass Index Tables[4]/bmi_tbl.htm.



Coming soon.


Coming soon.


Coming soon.


Coming soon.


  1. "Standard BMI Calculator". In National Heart, Lung, and Blood Institutes. Retrieved May 9, 2011, from
  2. "Body Mass Index". In Wikipedia. Retrieved May 9, 2011, from
  3. "BMI Classification". In World Health Organization. Retrieved May 9, 2011, from
  4. "Body Mass Index Tables". In National Health Institute. Retrieved May 9, 2011, from
Personal tools