⇄

Length Converter

Convert length converter using the available input and format options.

Choose a file or fill the fields, then click Run tool.

About Length Converter

Distances turn up in mixed units all the time: a running route in kilometers, a room plan in feet, a cable spec in millimeters, a road sign in miles. Students, travelers, builders and online shoppers use this to switch between metric and imperial lengths without hunting for the right factor.

How it works

You enter a value and choose from and to units: meters, kilometers, centimeters, millimeters, miles, yards, feet and inches. The script multiplies your value by the meter equivalent of the from unit and divides by that of the to unit. The factors are exact international definitions, such as 0.3048 m per foot and 1,609.344 m per mile. The result shows up to six decimal places and is calculated in your browser.

How to use Length Converter

  1. Complete the available fields: Value, From, To. Use the field labels and examples shown in the workspace.
  2. Select “Run tool” and check the result before copying or downloading it.

Worked example

Convert 10 km to miles. The code computes 10 x 1,000 / 1,609.344 and shows 10 km = 6.213712 mi. Converting 6 ft to meters gives 1.8288 m, because 6 x 0.3048 is exact.

Tips for a better result

  • For heights written as feet and inches, convert each part separately and add them, since the field accepts one number at a time.
  • Use millimeters rather than centimeters when copying a result into engineering drawings to avoid moving the decimal point by hand.
  • Nautical miles are not in the list. Do not substitute the statute mile, which is shorter.

Frequently asked questions

How precise are the results?

The factors are exact definitions, and the display rounds to six decimal places. That is far finer than everyday measuring tools, so rounding is rarely the limiting factor.

Can I convert a negative value?

The formula will accept it and return a negative result. Physically a length is not negative, but the arithmetic still works for offsets and differences.

Does it support feet and inches together, like 5'11"?

No. Enter a single decimal number. For 5 ft 11 in, enter 71 inches or 5.9167 feet.

What to check

Some measures vary by region or date and may not have a universal equivalent.

Read the Privacy Policy for information about local processing, connected services and advertising.