Download JavaScript, CSS and HTML Code of Body Mass Index (BMI) Calculator Widget

This widget calculates the Body Mass Index of a person as per his height and weight.

Terms for getting the code

  1. The code is available for free use on your site / blog.
  2. You can change the code as you wish, without any restrictions.
  3. The code is not available for onward distribution by you.

Using the Codes

If you own a blog or site, create a 'div' at the location you want the widget to appear on your page and paste all the three codes given below (i.e. Javascript, CSS and HTML) in this 'div'. The widget will appear at the desired location on your page.

In case you do not own any blog or web site, you can use the codes for using the widget off-line. Open any 'text editor' like 'Notepad'. Create a new file and paste all the three codes given below in this file and save it with extension .html or .htm . This file will open in your web browser and you will be able to use the widget offline.

Javascript Code

CSS Code

HTML Code

Widget View

Body Mass Index (BMI) Calculator
Measuring System
Height (Cms)
Weight (Kgs)
Body Mass Index (BMI)
Normal BMI range

The calculations are based on WHO recommendations.

Embed Code

If you do not want to go through the hassle of hosting the widget on your site blog, you can put the above widget on your site / blog by just using the embed code of Ideal Weight, Fat %ge and Body Mass Calculators in one gadget / widget, which is available in 9 skin colors and 16 international languages.