Skip to content

BMI Calculator — Body Mass Index Checker with Healthy Weight Range (HTML/CSS/JS)

1 downloads 130 views Updated 1 month ago
BMI Calculator — Body Mass Index Checker with Healthy Weight Range (HTML/CSS/JS)
Price
Free
No cost
Downloads
1
Category
Business Tools
Last update
Oct 12, 2026
License
MIT / Free use
Reviewed by our team before publishing

About this code

BMI Calculator — Body Mass Index Checker (HTML/CSS/JS)

A ready-to-use BMI calculator for any website. Two live sliders for weight (30–150 kg) and height (120–210 cm), an instant BMI value with a colour-coded category (Underweight / Healthy / Overweight / Obese), a visual gauge with marker, the healthy weight range for the entered height, and a short advice line. Pure HTML, CSS and vanilla JavaScript — no frameworks, no build step, no dependencies.

Features

  • Live sliders — BMI, category, gauge and healthy range update as you slide
  • Colour-coded WHO category bands with visual gauge (BMI 14–40 scale)
  • Healthy weight range calculated for the visitor's exact height
  • Fully responsive, works offline, only ~6 KB total
  • Zero dependencies — drop it into any page

What's Inside

index.html (the calculator page), style.css (all styles — re-theme via the colour values), app.js (computeBMI() pure logic + slider wiring) and README.txt (setup + customisation guide). The maths is unit-tested: 70 kg / 170 cm = BMI 24.2 (Healthy), healthy range 53.5–72 kg.

Need a Custom Website or Mobile App?

Downloading free code is just the start. Yadu Tech builds complete websites and mobile apps for businesses — design, development, deployment, all done for you.

👉 Chat on WhatsApp

Features & includes

Full source code
Easy setup
Clean, modular code
Responsive design

You might also like

More in Business Tools
Purchase Order Generator — Create Professional Purchase Orders with GST (HTML/CSS/JS)
Free
Business Tools • 17h ago

Purchase Order Generator — Create Professional Purchase Orders with GST (HTML/CSS/JS)

Purchase Order Generator — Professional POs in Minutes Stop sending orders on WhatsApp messages. This free Purchase Order Generator creates...

2 12
Free
Freelance Rate Calculator — Hourly, Daily & Project Pricing for Indian Freelancers (HTML/CSS/JS)
Free
Business Tools • 5d ago

Freelance Rate Calculator — Hourly, Daily & Project Pricing for Indian Freelancers (HTML/CSS/JS)

Freelance Rate Calculator — Hourly, Daily & Project Pricing for Indian Freelancers Stop guessing your freelance rate. Enter your desired mon...

1 61
Free
Income Tax Calculator — New vs Old Regime with Slab Breakup (HTML/CSS/JS)
Free
Business Tools • 2w ago

Income Tax Calculator — New vs Old Regime with Slab Breakup (HTML/CSS/JS)

Income Tax Calculator — New vs Old Regime (FY 2026-27) Find out exactly how much income tax you owe in FY 2026-27 — in one click. Enter your...

1 103
Free
BMI Calculator — Body Mass Index Checker with Healthy Weight Range (HTML/CSS/JS)
Free
Download