I need a simple form to calculate your ideal weight. You can work in php or asp as you prefer.
The user first selects in a radio button if he is a man or a woman. Then insert in a field the height.
The result should be the ideal weight.
The formula is:
Men ideal weight = (height in meters) ² x 22.1
Women's ideal weight = (height in meters) ² x 20.6
(these is the formula of Keys)
For example a man 1.78 meters high has an ideal weight of 70.02:
3.1684 x 22.1 =70.02