Free Online Body Mass Index (BMI) Calculator & Health Tracker—
gemini-3.0-flash
Calculate your Body Mass Index (BMI) accurately with this free online tool. Get instant health category results and track your session data without any sign-ups.
AI Generation Prompt
Free Online Body Mass Index (BMI) Calculator Specification
Overview
A clean, professional, and responsive BMI calculator designed for ease of use. This tool provides instant health feedback, visual indicators, and a session-based calculation log. It is optimized for mobile and desktop usage.
Core Features
- Dual-Unit Toggle: Switch seamlessly between Metric (cm/kg) and Imperial (ft/in/lbs).
- Visual BMI Gauge: A color-coded scale (Underweight to Obese) to indicate where the user falls.
- Instant Calculation: Real-time feedback as the user types or toggles units.
- Session History: An in-memory table tracking calculations performed during the current session.
- Export/Action Buttons: Options to clear history or copy the current session log to the clipboard.
- Educational Context: Brief info section below the calculator explaining the BMI categories.
UI/UX Design
- Layout:
- Header: Simple, bold title with a clean subtitle.
- Main Card: A centered, white card with a subtle shadow (elevation) containing the inputs and result.
- Input Section: Large, touch-friendly input fields with clear labels.
- Results Section: A prominent display showing the BMI index, followed by a color-coded gauge bar.
- History Section: A secondary card underneath the calculator displaying a chronological list of calculations made in the current session.
- Color Palette (Light Mode Only):
- Primary: Clean, health-focused teal (#2D9CDB).
- Background: Light off-white/gray (#F8F9FA).
- Text: Dark slate (#2D3436) for readability.
- Alerts/Categories: Specific color-coding for status (Blue for Underweight, Green for Healthy, Orange for Overweight, Red for Obese).
- Animations:
- Smooth fading transitions for the result card when values change.
- Subtle hover effects on buttons (slight lift and brightness change).
Technical Implementation Directives
- Architecture: One single HTML file including internal CSS and Vanilla JavaScript.
- Constraints Compliance:
- NO localStorage: Data must be kept in a JavaScript array variable. Persistence is not required as it violates sandbox rules.
- Responsive: Use Tailwind CSS or similar grid/flexbox techniques to ensure the tool adapts from smartphone (vertical stack) to desktop (side-by-side or wide view).
- Vanilla JS: Do not use React, Vue, or Angular. Use standard DOM manipulation.
- Aesthetics: Avoid browser defaults (e.g., standard buttons/inputs). Style with custom CSS for a modern, SaaS-like appearance with rounded corners (border-radius 8px+) and soft shadows.
Spread the word
Files being used
Frequently Asked Questions
Everything you need to know about using this application.
What is the formula for calculating BMI?
BMI is calculated by dividing an individual's weight in kilograms by the square of their height in meters (kg/m²). For imperial measurements, the result is multiplied by 703.
Is this BMI calculator private?
Yes. This tool operates entirely within your browser. No data is sent to a server, and no data is stored permanently on your device.
What does the BMI result mean?
BMI categories include Underweight (<18.5), Healthy Weight (18.5–24.9), Overweight (25–29.9), and Obese (30 or greater). These are general guidelines.
Does this tool save my history?
This tool provides a session-based history log. Data persists only while the browser tab remains open. Once you refresh or close the tab, the data is cleared.
Related Applications

Free Jump Rope Mat Impact Attenuation & Density Calculator
Use this free online calculator to determine jump rope mat impact attenuation and material density. Safely assess if your workout flooring protects your joints.

Guided Deep Breathing Exercise Timer with Ambient Sounds
Practice mindfulness with this guided deep breathing exercise timer. Featuring a rhythmic pulsating visual guide and calming ambient background sounds.

Free Base64 Image Data URI to File Size Calculator
Accurately calculate the file size of Base64 encoded image data strings. This free, web-based tool helps developers estimate binary file sizes for web apps.

Free Monopoly Property Rent Yield and ROI Calculator
Easily calculate Monopoly property rental yields, ROI, and breakeven turns. Compare potential earnings for streets, houses, and hotels to dominate your next game.
Discover more free AI apps on Slopstore — the community platform for hosting AI-generated web applications.