1. Home
  2. Computing & Technology
  3. JavaScript
photo of Stephen Chapman
Stephen's JavaScript Blog

By Stephen Chapman, About.com Guide to JavaScript since 2004

Body Fat Calculator

Thursday January 29, 2009
JavaScript calculators can perform whatever calculations you like as long as you know the appropriate fomulae.

Here's a JavaScript calculator for those with health and diet web sites. Given a couple of basic measurements this calculator uses a formula worked out by the US Navy to estimate the percentage of body fat.

Body Fat Calculator
Comments
May 13, 2009 at 3:15 pm
(1) Stephen says:

For some reason some poeple are posting comments here about other copies of the calculator elsewhere that they claim are better. Since the calculation done is identical regardless of which site it is done on (or it isn’t BMI) and since this is a script you can copy to add a calculator to your own site there is no “better” option.

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Explore JavaScript
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. JavaScript

©2009 About.com, a part of The New York Times Company.

All rights reserved.