Skip to content

πŸ’‘ A modern, full-featured BMI & Health Metrics Calculator built with Flask, Tailwind CSS, and JavaScript β€” includes animated UI, body fat %, BMR, calorie tracker, and responsive health dashboard.

License

Notifications You must be signed in to change notification settings

Aayushinit/AdvancedBMICalculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧠 Advanced BMI & Health Calculator

An advanced, modern, and beautifully designed BMI & Health Metrics Calculator built using Flask, HTML, CSS (Tailwind), and JavaScript.


🌟 Why This Project Stands Out

Most BMI calculators just give you a number β€” this one tells a full story about your health.

βœ… Highlights

✨ Visually Stunning Interface: Dynamic animated backgrounds, interactive gauge meters, and modern input fields give it a polished, app-like look.

🧠 Scientifically Accurate Calculations: Body Fat %, BMR, and Ideal Weight are calculated using standard health formulas like Deurenberg and Harris-Benedict.

πŸ“Š Dashboard-Like Output: User gets not just BMI but an entire health analysis β€” risks, goals, calorie suggestions, tips.

πŸ“± Responsive & Animated: Designed to run smoothly across screens with subtle animations for a professional feel.

🎯 Built for Recruiters: This app highlights full-stack abilities with focus on usability, user experience, and core health logic.

πŸ’‘ This isn’t just a BMI calculator β€” it's a Mini Digital Health Dashboard built with ❀️ and design in mind.


πŸ“‚ Project Structure

AdvancedBMICalculator/
β”œβ”€β”€ assets/                         # Screen recordings and visual demos
β”‚   β”œβ”€β”€ Recording 2025-07-08 083013.gif
β”‚   └── Recording 2025-07-08 083241.mp4
β”œβ”€β”€ static/
β”‚   └── script.js                   # Frontend logic & animations
β”œβ”€β”€ templates/
β”‚   └── index.html                 # UI layout using Tailwind CSS
β”œβ”€β”€ app.py                         # Flask backend API

πŸš€ How It Works

🧩 Backend (Flask)

  • Handles route /calculate to compute BMI and Body Fat %

  • Validates inputs and returns structured JSON

  • Uses Deurenberg formula for Body Fat %:

    • Male: 1.20 * BMI + 0.23 * Age - 16.2
    • Female: 1.20 * BMI + 0.23 * Age - 5.4

🎨 Frontend (HTML + Tailwind CSS + JS)

  • Stylish input form with animated components

  • On form submission:

    • JavaScript sends data to Flask backend
    • Updates animated gauge meter, BMI cards, body fat, BMR, and more
  • Smooth result transitions using .show animation classes


πŸ’‘ Features in Detail

Feature Description
🎨 Dynamic Background CSS-animated gradient for a modern, clean aesthetic
βš™οΈ Gauge Meter Conic-gradient gauge with real-time BMI visualization
πŸ“ˆ Body Fat % Uses Deurenberg formula based on age and gender
πŸ”₯ BMR & Calorie Needs Harris-Benedict-based daily energy needs
🎯 Ideal Weight Range Personalized weight range using WHO standards
πŸ“‰ Health Risks Provides contextual risk analysis based on BMI
🧠 Tips & Suggestions Offers actionable tips for user wellness goals

πŸ“Έ Demo

Below is a visual walk-through of how this app works!

πŸ–ΌοΈ Real GIF Snapshot:

App Working Demo

πŸ“Ή Full Interaction (MP4):

β–Ά Watch Full Demo Video


πŸ› οΈ Technologies Used

  • 🐍 Python (Flask) – Lightweight backend API
  • 🌐 HTML5 / CSS3 – Structured UI layout
  • 🎨 Tailwind CSS – For rapid UI development and modern styling
  • βš™οΈ Vanilla JavaScript – Form handling, animations, logic
  • ⭐ Font Awesome – Beautiful icons to enhance UX

πŸ“¦ How to Run

# 1. Clone the repo
git clone https://github.com/Aayushinit/AdvancedBMICalculator
cd AdvancedBMICalculator

# 2. Install dependencies
pip install flask

# 3. Run the server
python app.py

# 4. Visit
http://localhost:5000

πŸ€– Complexity Made Simple

This app is not just a calculator. It merges frontend animation, health science logic, and responsive design into one user-friendly dashboard.

🧠 What This Shows Recruiters:

  • Practical use of health equations and data validation
  • Frontend finesse with animations and clean UX
  • Full-stack capability with API handling
  • Responsive design for real-world product development

πŸ™‹β€β™‚οΈ Made With Passion By

Aayush Kadam Final Year AI & Robotics Enthusiast πŸ”— GitHub | πŸ“§ Email


πŸ“Œ To-Do (Future Enhancements)

  • Save BMI history locally (LocalStorage)
  • PDF Export for reports
  • Add voice input for accessibility
  • Connect with smart devices APIs (Fitbit, Apple Health)

About

πŸ’‘ A modern, full-featured BMI & Health Metrics Calculator built with Flask, Tailwind CSS, and JavaScript β€” includes animated UI, body fat %, BMR, calorie tracker, and responsive health dashboard.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published