This interactive weight calculator allows users to calculate their Basal Metabolic Rate (BMR) and determine weight loss or weight gain strategies based on their personal information.
- Calculates BMR based on gender, age, weight, height, and body fat percentage.
- Provides weight loss calculations based on different aggressiveness levels (Easy, Medium, Hard).
- Offers weight gain calculations based on various strategies (Suggested, Aggressive, Reckless).
- User-friendly GUI built with Tkinter.
-
Input Personal Information:
- Gender: Enter your gender.
- Age: Input your age in years.
- Weight: Provide your weight in kilograms.
- Height: Enter your height in centimeters.
- Body Fat Level: Indicate whether you know your body fat percentage (yes/no). If yes, provide your body fat percentage in the next entry.
-
Weight Loss:
- Enter the amount of weight you want to lose in pounds.
- Select the aggressiveness of your weight loss strategy (Easy, Medium, Hard).
- Click the "Calculate Weight Loss" button to see your results.
-
Weight Gain:
- Enter the amount of weight you want to gain in pounds.
- Select the aggressiveness of your weight gain strategy (Suggested, Aggressive, Reckless).
- Click the "Calculate Weight Gain" button to see your results.
-
View Results:
- The results will be displayed, showing your BMR, caloric intake needed to meet your weight goals, and the estimated time to reach those goals.
-
Clone the repository:
git clone https://github.com/Elijah-JS/Weightloss-Calc.git
-
Navigate to the project directory:
cd Weightloss-Calc
-
Ensure you have Python installed along with the Tkinter library. You can install Tkinter using the following command (if it’s not already included with your Python installation):
sudo apt-get install python3-tk
-
Run the calculator:
python3 your_script_name.py
- Python 3.x
- Tkinter (comes pre-installed with Python in most distributions)
Elijah JS
This project is licensed under the MIT License - see the LICENSE file for details.