Body Mass Index Calculator

bmi-calculator
BMI Calculator

A Body Mass Index (BMI) Calculator is an instrument designed to assess whether your weight falls within a healthy range and is classified as underweight, overweight, or obese, using your height and weight measurements. This tool employs a straightforward equation to compute your BMI and categorizes your body weight accordingly.

BMI Calculator

BMI Calculator

BMI Range Category
Below 18.5Underweight
18.5 – 24.9Normal Weight
25 – 29.9Overweight
30 and aboveObese
`; // Show the BMI Table after calculation document.getElementById("bmiTable").style.display = "table"; } function getBMICategory(bmi) { if (bmi < 18.5) return "Underweight"; else if (bmi >= 18.5 && bmi < 24.9) return "Normal Weight"; else if (bmi >= 25 && bmi < 29.9) return "Overweight"; else return "Obese"; } function clearFields() { document.getElementById("height").value = ""; document.getElementById("weight").value = ""; document.getElementById("result").innerHTML = ""; document.getElementById("bmiTable").style.display = "none"; }