https://github.com/get-unknown-err0r/bmi-calculator
This project provides an advanced BMI (Body Mass Index) calculator built using Python. It calculates the BMI, categorizes it, and offers additional features such as displaying a BMI chart and saving results to a file.
https://github.com/get-unknown-err0r/bmi-calculator
arpit-prajapati batch-script bmi-calculator bmi-index get-unknown-err0r github python3 shell-language
Last synced: about 2 months ago
JSON representation
This project provides an advanced BMI (Body Mass Index) calculator built using Python. It calculates the BMI, categorizes it, and offers additional features such as displaying a BMI chart and saving results to a file.
- Host: GitHub
- URL: https://github.com/get-unknown-err0r/bmi-calculator
- Owner: GET-UNKNOWN-ERR0R
- Created: 2024-12-30T13:14:25.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-30T13:35:14.000Z (over 1 year ago)
- Last Synced: 2025-06-24T16:52:27.335Z (12 months ago)
- Topics: arpit-prajapati, batch-script, bmi-calculator, bmi-index, get-unknown-err0r, github, python3, shell-language
- Language: Python
- Homepage:
- Size: 74.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Advanced BMI Calculator
This project provides an advanced BMI (Body Mass Index) calculator built using Python. It calculates the BMI, categorizes it, and offers additional features such as displaying a BMI chart and saving results to a file.
## Output:

## Features:
- **User Input Validation**: Ensures valid input for weight and height.
- **BMI Calculation**: Calculates BMI using the formula `BMI = weight / height^2`.
- **BMI Category Display**: Categorizes the BMI value (Underweight, Normal weight, Overweight, Obesity).
- **Graphical BMI Visualization**: Displays a chart showing the BMI categories.
- **Save Results**: Allows the user to save their BMI results to a text file.
- **Save Chart Option**: If the GUI is unavailable, the chart can be saved as a `.png` file.
## Requirements:
- Python 3.x
- Matplotlib (for chart plotting)
### Installation:
1. Ensure Python 3.x is installed on your system.
2. Install Matplotlib:
```bash
pip install matplotlib
```
3. Clone Repository:
```bash
git clone https://github.com/GET-UNKNOWN-ERR0R/bmi-calculator.git
cd bmi-calculator
```
4. Run:
```bash
python3 bmi_calculator.py
```
## License