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 Baker's Percentage Dough Calculator & Recipe Scaler
Calculate precise baker's percentages for bread dough recipes. Scale ingredient quantities by flour weight, hydration levels, and total yield effortlessly.

Free Event Venue Capacity Calculator & Floor Plan Planner
Instantly calculate event venue capacity based on total square footage. Plan safe seating layouts for banquets, theater, and standing events with our free tool.

Free Online Social Media Meta Tag Generator & Preview Tool
Create and preview social media meta tags for OpenGraph, Twitter Cards, and LinkedIn. Easily generate accurate HTML tags to optimize how your links share online.

Free Oboe & Bassoon Reed Scraping Thickness Profile Visualizer
Accurately visualize and analyze your oboe or bassoon reed scraping profile. A free, browser-based tool to map reed thickness and optimize your woodwind sound.
Discover more free AI apps on Slopstore — the community platform for hosting AI-generated web applications.