/BMI-BMR-Calculator

To find the BMI & BMR of a person with Height, weight, age and gender

Primary LanguageJavaScript

BMI & BMR Calculator

This repository holds the code for a simple yet informative BMI and BMR calculator, built using HTML, CSS, and JavaScript.

Features:

  • Calculate your Body Mass Index (BMI) based on your height and weight.
  • Obtain your Basal Metabolic Rate (BMR) considering your gender and age.
  • Adjust your BMR based on your activity level (sedentary, lightly active, moderately active, very active, extremely active).
  • Receive a general interpretation of your weight status based on your BMI.
  • Get estimated calorie intake recommendations tailored to your BMI and gender.
  • Enjoy a customizable dark mode theme.

How to Use:

  1. Enter your height (cm), weight (kg), and age.
  2. Select your gender.
  3. Choose your activity level.
  4. Click the "Check" button.
  5. Read your calculated BMI, BMR, adjusted BMR, weight status interpretation, and calorie intake recommendations in the results section.
  6. If desired, switch between light and dark mode with the button.

Technical Details:

  • Built with HTML, CSS, and JavaScript.
  • Utilizes the Harris-Benedict equations for BMR calculation.
  • Provides general calorie intake recommendations based on BMI and gender, not intended as a substitute for professional guidance.
  • Open-source and hosted on GitHub for code exploration and contribution.

Feedback and Contribution:

Feel free to leave feedback, report bugs, or suggest improvements through the GitHub repository's issues page. You're also welcome to contribute to the code by making pull requests with enhancements or fixes.

Disclaimer:

While this calculator offers estimations, it's important to remember that individual factors like body composition, muscle mass, and health conditions can affect the accuracy of BMI and BMR calculations. For specific health and weight management advice, please consult a doctor or registered dietitian.