How is BMI calculated?

0153

BMI (Body Mass Index) is calculated using the formula:

BMI = weight / height**2

Where:

  • weight is the person's weight in kilograms (kg).
  • height is the person's height in meters (m).

Steps to Calculate BMI:

  1. Measure your weight in kilograms.
  2. Measure your height in meters.
  3. Square your height (multiply height by itself).
  4. Divide your weight by the squared height.

Example:

If a person weighs 70 kg and is 1.75 m tall:

  1. Square the height: (1.75^2 = 3.0625)
  2. Calculate BMI: (BMI = 70 / 3.0625 \approx 22.86)

If you want to practice calculating BMI programmatically, consider trying out related labs on LabEx!

0 Comments

no data
Be the first to share your comment!