bmi calculator
bmi_calculatorCalculate Body Mass Index (BMI) from weight and height using the WHO standard formula. Supports metric (kg/cm) and imperial (lbs/inches) units. Returns the BMI value, WHO classification (Underweight, Normal, Overweight, Obese Class I-III), and the healthy weight range for the given height. Formula: BMI = weight_kg / (height_m)^2. Useful for health screening, fitness planning, and clinical intake forms.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | Unit system. 'metric' = kg and cm. 'imperial' = lbs and inches. Defaults to 'metric'. | metric |
| height | Yes | Height. Units determined by the 'unit' parameter. | |
| weight | Yes | Body weight. Units determined by the 'unit' parameter. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bmi | Yes | Body Mass Index value rounded to 1 decimal. | |
| category | Yes | WHO BMI classification: Underweight, Normal weight, Overweight, Obese Class I/II/III. | |
| weight_unit | Yes | Unit of the weight values in this response (kg or lbs). | |
| healthy_weight_range_low | Yes | Low end of healthy weight range (BMI 18.5) in the input unit system. | |
| healthy_weight_range_high | Yes | High end of healthy weight range (BMI 24.9) in the input unit system. |