Calculate Body Mass Index (BMI) with health category assessment. Supports metric and imperial units. Pure Python standard library, no API key required.

BMI Calculator

Calculate your Body Mass Index (BMI) and get health category assessment.

Features

  • Calculate BMI from height and weight
  • Support metric (cm/kg) and imperial (ft-in/lbs) units
  • Health category classification (Underweight, Normal, Overweight, Obese)
  • Healthy weight range calculation
  • Pure Python, no external dependencies

Usage

text
python3 scripts/bmi_calculator.py --height 175 --weight 70
python3 scripts/bmi_calculator.py --height 5ft9in --weight 154lbs

Output

Returns BMI value, health category, and healthy weight range.


出品: AISoBrand|爱索品牌 — AI搜索优化工具
官网: https://aisobrand.com
免费检测你的品牌在AI搜索中有没有存在感 → 30秒出结果