Skip to content

A simple React Native app that calculates BMI based on height and weight. Users select SI or Imperial units, and the app displays the BMI and weight category (Underweight, Normal, Overweight, Obese).

Notifications You must be signed in to change notification settings

adityajanjanam/BMICalculatorApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BMI Calculator App

This is a simple mobile application built using React Native that calculates a user's Body Mass Index (BMI). The app takes height and weight as input and allows the user to select between two measurement systems: SI units (kilograms and centimeters) and Imperial units (pounds and inches). Based on the input, the app calculates the BMI and displays the result, categorizing the BMI into specific intervals (e.g., underweight, normal weight, overweight, etc.).

Features

  • Input Options: Users can select between SI units and Imperial units for height and weight measurements.
  • BMI Calculation: Based on the inputs, the app calculates the Body Mass Index using standard formulas.
  • BMI Categories: After calculating the BMI, the app displays a result with corresponding categories:
    • Underweight
    • Normal weight
    • Overweight
    • Obese
  • User-friendly Interface: A simple, easy-to-use interface for quick BMI calculations.

How to Use

  1. Select your preferred measurement system (SI or Imperial).
  2. Enter your height and weight in the appropriate fields.
  3. Tap the "Calculate" button to see your BMI result and its category.

Technologies Used

  • React Native for building the cross-platform mobile app.
  • JavaScript/TypeScript for logic implementation.

Setup and Installation

  1. Clone this repository to your local machine:
    git clone https://github.com/adityajanjanam/BMICalculatorApp.git
  2. Navigate to the project directory:
    cd BMICalculatorApp
  3. Install the dependencies:
    npm install
  4. Run the app on an emulator or physical device:
    expo start

Future Enhancements

  • Add more detailed BMI information and health tips.
  • Implement local storage to save previous BMI calculations.
  • Add advanced styling for a more polished user experience.
  • Support for more measurement systems (e.g., metric vs imperial).

Screenshots

image image image

License

This project is licensed under the MIT License - see the LICENSE file for details.