The problem
The Android BMI Calculator App with Diet Suggestions and History answers a simple everyday question most free calculator apps answer badly: given my height, weight, age and activity, what does my weight mean, how many calories do I need, and what should I eat? Many people know their weight but not their body mass index, and a bare BMI number without its WHO category, calorie figure or food suggestion is not useful. Generic calculators also forget every entry, so there is no way to see whether weight is moving in the right direction. This app closes that gap in one offline Android app: it computes BMI from height and weight, classifies it against the WHO cut-offs, estimates BMR with the Mifflin-St Jeor equation, converts it to daily calories by activity level, suggests diet changes matched to the category, and keeps a weight history with a trend chart and a goal, all stored on the device with Room.
Enters height, weight, age, gender and activity level.
Follow the working sequence
How it works
The app works end to end in a short, visible chain: the user enters height, weight, age, gender and activity level, and the app computes BMI, BMR and daily calories from published formulas, classifies the BMI against the WHO cut-offs, picks diet suggestions for that category, and saves the weight entry to a local Room database where it joins the history chart. The input screen validates the measurements and shows the healthy weight range for the entered height before any calculation runs. The results screen then shows the BMI number with its category on a colour scale, the BMR and daily calorie figures with every term of the Mifflin-St Jeor arithmetic on display, and the diet suggestions for that category. Each new weight entry is stored with its date, the trend chart redraws from the stored entries, and the goal view compares the latest weight with the healthy range and the user's chosen goal.
- The user enters height in centimetres, weight in kilograms, age in years, gender and activity level on the calculator screen; the app validates the ranges before computing.
- BMI is computed as weight (kg) divided by height in metres squared — for example 70 kg at 1.72 m gives 70 ÷ 2.9584 = 23.7 kg/m².
- The BMI is classified against the WHO cut-offs (under 18.5, 18.5–24.9, 25.0–29.9, 30.0 and above) and shown on a colour scale with the category label.
- BMR is estimated with the Mifflin-St Jeor equation (10 × weight + 6.25 × height − 5 × age, plus 5 for men or minus 161 for women), and multiplied by the selected activity factor to give daily calorie needs.
- Diet suggestions for the user's BMI category are selected from the in-app content and shown with the calorie targets for losing, maintaining or gaining weight.
- The weight entry is saved with its date in the Room database; the history screen redraws the trend chart and updates the start weight, latest weight, total change and weekly average change.
Tech stack:
- Kotlin
- Jetpack Compose
- Android SDK (min API 26)
- Room database
- Material Design 3
- ViewModel · StateFlow
- MPAndroidChart-style custom canvas chart
- Android Studio
| Parameter | Value |
|---|---|
| Platform | Android 8.0 (API 26) and above (design target) |
| Language | Kotlin |
| UI | Jetpack Compose with Material Design 3 |
| Database | Room (SQLite) on-device, offline |
| BMI formula | Weight (kg) ÷ height (m)², result in kg/m² |
| WHO cut-offs | Underweight below 18.5 kg/m²; normal 18.5–24.9 kg/m²; overweight 25.0–29.9 kg/m²; obese 30.0 kg/m² and above |
| BMR equation | Mifflin-St Jeor: 10 × weight (kg) + 6.25 × height (cm) − 5 × age (years) + 5 (men) or −161 (women), result in kcal/day |
| Activity factors | 1.2 sedentary; 1.375 lightly active; 1.55 moderately active; 1.725 very active; 1.9 extra active |
| Calorie targets | Maintain = TDEE; lose ≈ TDEE − 500 kcal/day; gain ≈ TDEE + 300 kcal/day (design targets) |
| Water guidance | Approximately 35 ml per kg of body weight per day (general guidance, approximate) |
| History | Weight entries with dates, trend chart, weekly average change |
| Internet | Not required for any feature (offline-first design) |
Project features
The Android BMI Calculator App with Diet Suggestions and History is built around four capabilities that work together in one offline app: accurate BMI and BMR computation, WHO category classification, diet suggestions matched to the category, and a weight history with trend charts. The calculator takes height, weight, age, gender and activity level and returns BMI, BMR and daily calorie needs in one tap, showing the arithmetic behind each figure so the student can explain it. The WHO category is shown on a colour scale with the exact cut-offs, so the result is a classification rather than a bare number. Diet suggestions change with the category, giving underweight, normal-weight, overweight and obesity-range users different, practical food guidance. Weight entries are saved offline in Room, plotted on a trend chart, and compared against a user-set goal, so progress over weeks is visible without any account or internet connection.
- [BMI computation with WHO categories] BMI is computed as weight in kilograms divided by height in metres squared, then classified against the verified WHO cut-offs: under 18.5 kg/m² underweight, 18.5–24.9 normal weight, 25.0–29.9 overweight, and 30.0 and above obese. The result is shown on a colour scale with the worked calculation visible. (Implemented.)
- [BMR via the Mifflin-St Jeor equation] Basal metabolic rate is estimated with the verified Mifflin-St Jeor equation: for men 10 × weight (kg) + 6.25 × height (cm) − 5 × age (years) + 5, and for women the same terms with −161 instead of +5. Every term of the calculation is shown on the results screen. (Implemented.)
- [Daily calorie needs by activity level] BMR is multiplied by the standard activity factor — 1.2 sedentary, 1.375 lightly active, 1.55 moderately active, 1.725 very active, 1.9 extra active — to give total daily energy expenditure, plus calorie targets for losing about 0.5 kg per week, maintaining, and gaining about 0.5 kg per week. (Implemented.)
- [Diet suggestions per BMI category] Each WHO category gets its own practical suggestions: energy-dense foods and more frequent meals for underweight users, a balanced plate for normal weight, portion and sugary-drink guidance for overweight users, and structured meals plus a prompt to consult a dietitian for the obesity range. Suggestions are general food guidance, not a prescribed diet. (Implemented.)
- [Weight history with trend charts] Every weight entry is saved with its date in a Room database and plotted on a line chart, with start weight, latest weight, total change and average weekly change shown alongside. The chart makes a slow trend visible that a single weighing cannot. (Implemented.)
- [Goal setting and healthy-range display] The user sets a lose, maintain or gain goal, and the app shows the healthy weight range for their height from the WHO band (BMI 18.5–24.9) with progress toward the goal. (Implemented.)
- [Fully offline, on-device storage] All data stays in the Room database on the phone: no account, no sign-in, no cloud upload and no internet connection are needed for any feature. (Implemented.)
What is included
- Complete Kotlin + Jetpack Compose Android source code (calculator, results, diet, history screens)
- Room database implementation with weight-entry storage and trend-chart logic
- Diet-suggestion content for all four WHO BMI categories
- Working demo build (APK) for the student's own phone
- Project report PDF (background, BMI and BMR theory, formulas, architecture, testing)
- PPT presentation for final review
- Viva Q&A preparation document (BMI, WHO categories, Mifflin-St Jeor, Room, Compose)
- To order, message Projectech on WhatsApp for a quotation: share your branch, college deadline and any customisation you need, and Projectech confirms the scope, price and delivery timeline before work starts.
Limitations & prerequisites
- BMI and BMR are calculated estimates from published formulas, not measurements: BMI does not distinguish muscle from fat, so athletes and very muscular users can be classified as overweight by BMI alone.
- The WHO cut-offs apply to adults; they are not validated for children, adolescents, pregnant users or older adults with different body composition.
- BMR and calorie figures are estimates: the Mifflin-St Jeor equation is typically within about 10% of measured resting energy use, and activity factors are broad averages, not personal measurements.
- Diet suggestions are general food guidance, not a prescribed diet plan, and the app does not replace a doctor or dietitian.
- Weight history depends on the user entering honest, regular weigh-ins; missed or mistyped entries distort the trend chart.
- This app is an educational health-tracking prototype, not certified medical equipment, and its figures are not a diagnosis: it must not be used for medical decisions, and anyone with a health concern should consult a qualified clinician.
- Data stays only on the device: there is no cloud backup, so uninstalling the app without exporting loses the history.
Frequently Asked Questions
How is BMI calculated in this app?
BMI is calculated as weight in kilograms divided by height in metres squared, exactly as the World Health Organization defines it, so a 70 kg person at 1.72 m has a BMI of 23.7 kg/m². The app shows the worked calculation, then classifies the number against the WHO cut-offs — under 18.5 underweight, 18.5–24.9 normal, 25.0–29.9 overweight, 30.0 and above obese — with the category on a colour scale.
Which formula is used for BMR and daily calories?
BMR is estimated with the Mifflin-St Jeor equation, published in 1990: 10 × weight (kg) + 6.25 × height (cm) − 5 × age (years), plus 5 for men or minus 161 for women, giving kilocalories per day at rest. Daily calories multiply BMR by the standard activity factor, 1.2 sedentary up to 1.9 extra active, and the app shows every term of the arithmetic for the viva.
Does the app work without internet?
Yes, every feature works fully offline. All weight entries are stored in a Room database on the phone, and BMI, BMR, calorie and diet calculations always run entirely on the device with no server call, no account and no sign-in, so the app works anywhere. There is no cloud upload, so the app works in a hostel or classroom with no connectivity, and no personal health data ever leaves the phone.
Are the diet suggestions a medical diet plan?
No, the suggestions are general food guidance matched to the BMI category — for example portion and sugary-drink guidance for overweight users, and energy-dense foods for underweight users — not a prescribed diet. The app is an educational health-tracking prototype, not certified medical equipment, and its figures are not a diagnosis; anyone with a medical condition should consult a doctor or dietitian before changing their diet.
Can the app be customised for my college requirements?
Yes, realistic customisations include a different activity-factor set, imperial units (pounds and feet/inches), a water-intake tracker, a BMI-for-age note for younger users, or an export of the weight history to a file. Customisation is quoted separately on WhatsApp after the base scope is confirmed, and the report is updated to match whatever is built.
Is this project suitable for a final-year project?
Yes — for Computer Science, IT and Mobile Application Development programs. It demonstrates Android development with Kotlin and Jetpack Compose, local persistence with Room, real formula implementation with verifiable WHO and Mifflin-St Jeor references, and a working health-tracking app with history and charts, all of which make a clear viva story.
Components & software requirements
- Kotlin
- Jetpack Compose
- Android SDK (min API 26)
- Room database
- Material Design 3
- ViewModel · StateFlow
- MPAndroidChart-style custom canvas chart
- Android Studio
Delivery information
Built-to-order project. Delivery timeline is shared after order confirmation based on current queue.
Support terms
Complete documentation, setup guide, and viva preparation included. Support for setup and explanation provided.
Download free synopsis (PDF)
Enter your name and WhatsApp number — the synopsis PDF downloads immediately. We may send occasional project updates on WhatsApp; no spam.