Skip to content

This is a simple BMI (Body Mass Index) calculator built using Streamlit, a Python library for creating web applications. The BMI calculator allows users to input their weight and height, select their preferred units, and calculates their BMI based on the input.

Notifications You must be signed in to change notification settings

MuhammadAhmed-0/BMI-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

BMI Calculator

This is a simple BMI (Body Mass Index) calculator built using Streamlit, a Python library for creating web applications. The BMI calculator allows users to input their weight and height, select their preferred units, and calculate their BMI based on the input.

Here is the GUI:

image

Features

  • Input weight and height in either kilograms or pounds, and meters, centimeters, or inches respectively.
  • Automatically converts weight and height units for accurate BMI calculation.
  • Calculates BMI based on the formula: BMI = weight (kg) / (height (m) ^ 2).
  • Provides an interpretation of the calculated BMI category (Underweight, Normal weight, Overweight, Obese).
  • Responsive design for easy use on various devices.

How to Use

  1. Clone the repository to your local machine:

    git clone https://github.com/your_username/bmi_calculator.git
    
  2. Navigate to the project directory:

    cd bmi_calculator
    
  3. Install the required dependencies:

    pip install streamlit
    
  4. Run the Streamlit app:

    streamlit run bmi_calculator.py
    
  5. Access the BMI calculator in your web browser at the provided local address.

Dependencies

  • Streamlit: 0.86.0
  • Python: 3.8 or higher

Contributors

About

This is a simple BMI (Body Mass Index) calculator built using Streamlit, a Python library for creating web applications. The BMI calculator allows users to input their weight and height, select their preferred units, and calculates their BMI based on the input.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages