Home / Free JavaScripts / Math Related / Here

Cut & Paste Length Converter

Credit: By Bruce Zhang

Description: Use this practical script to easily convert between the 7 most popular length units- centimeters, meters, kilometers, miles, inches, feet and yards. Simply enter a number, and let the script display the desired equivalents. Cool!


1 select a length unit from the "From" dropdown list and one from the "To" dropdown list.
2 Enter a numeric value, and click "To" button.

From To
centimeters = 1 centimeters


Step 1: Insert the below script into the <HEAD> section of your page:

Step 2: Insert the below HTML block in the <BODY> section of your page:

JavaScript Tools:
Site Info

CopyRight 1998-2014 JavaScript Kit. NO PART may be reproduced without author's permission.