Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/namratha2301/bmi-app
Simple BMI and Fat percentage app in Streamlit.
https://github.com/namratha2301/bmi-app
python streamlit
Last synced: 15 days ago
JSON representation
Simple BMI and Fat percentage app in Streamlit.
- Host: GitHub
- URL: https://github.com/namratha2301/bmi-app
- Owner: Namratha2301
- Created: 2024-11-02T11:07:58.000Z (15 days ago)
- Default Branch: main
- Last Pushed: 2024-11-02T11:31:37.000Z (15 days ago)
- Last Synced: 2024-11-02T12:18:19.587Z (15 days ago)
- Topics: python, streamlit
- Language: Python
- Homepage: https://bmi-app-namratha.streamlit.app
- Size: 53.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BMI & Body Fat Percentage Calculator
This Streamlit app calculates your **Body Mass Index (BMI)** and estimates your **Body Fat Percentage** based on user inputs. This tool is for educational purposes only and is not a substitute for professional medical advice.
[![Streamlit App](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://bmi-app-namratha.streamlit.app)
## Features
- **BMI Calculation**: Computes BMI based on height and weight inputs and categorizes it according to standard BMI categories:
- **Underweight**: BMI < 18.5 (Light Blue)
- **Normal weight**: BMI 18.5–24.9 (Light Green)
- **Overweight**: BMI 25–29.9 (Gold)
- **Obesity**: BMI ≥ 30 (Red)
- **Body Fat Percentage Estimation**: Uses the U.S. Navy Method for calculating body fat based on body measurements, with separate formulas for men and women.## How It Works
1. **BMI Calculation**:
- Formula: `BMI = Weight (kg) / (Height (m)^2)`
- Input height in cm and weight in kg, and the app calculates your BMI, displaying a color-coded category for easy interpretation.2. **Body Fat Percentage Calculation**:
- Formula: U.S. Navy Method, based on specific body measurements.
- For **Men**: Requires waist and neck circumference.
- For **Women**: Requires waist, hip, and neck circumference.## Installation
1. Clone the repository:
```bash
git clone https://github.com/your-username/bmi-bodyfat-calculator.git
cd bmi-bodyfat-calculator