Length Converter

Type a length, such as 5 km or 6 ft, and see it in every unit at once. The answers update as you type.

How it works

Every unit is stored as its exact size in metres. The inch is 0.0254 m and the mile is 1,609.344 m, by definition. A conversion is one multiplication into metres and one division out, so no rounded factors pile up.

You can type the unit after the number. "6 ft", "6 feet" and "6ft" all read as feet. A bare number uses the unit picked in the list.

Results show up to 10 significant digits. Very small or very large values switch to scientific notation. Everything runs on this page.

How to use it

  1. 1 Type a length in the Value box, such as 5 or 5 km.
  2. 2 If you typed only a number, pick its unit in the From unit list.
  3. 3 Read the length in every unit below, grouped into metric, imperial and US, and nautical.
  4. 4 Press Copy beside any result, or Copy all results for the whole list.

Good to know

  • Feet and inches together, such as 5 ft 11 in, are not read as one amount. Convert 71 in instead, or add the two results.
  • For height in centimetres, type the inches: 70 in is 177.8 cm.
  • A typed unit wins over the list. Pick from the list and the typed unit is dropped, so the two never disagree.

Browser support

  • Chrome 94 and later
  • Firefox 93 and later
  • Safari 16.4 and later
  • Edge 94 and later

These are the oldest versions with everything the tool uses. They are worked out from the tool itself, so they change when it does.

Version numbers checked on 2026-09-04.

Converting length without rounding errors

Most length conversions come down to a few fixed numbers. An inch is 2.54 cm. A foot is 12 inches, so 30.48 cm. A yard is 3 feet, 91.44 cm. A mile is 1,760 yards, which is 1,609.344 metres. None of these are approximations. Since the international yard and pound agreement of 1959, the inch has been defined from the metre, so every imperial length has an exact metric value.

This converter keeps each unit as its exact size in metres. To turn 5 kilometres into miles, it multiplies 5 by 1,000 to get 5,000 metres, then divides by 1,609.344. The answer is 3.106855961 miles. Going through metres in one step avoids the drift you get from chaining rounded factors, such as 0.62 miles per kilometre and then 5,280 feet per mile.

Here is a worked example for height. Someone who is 6 ft tall is 72 inches. 72 times 2.54 is 182.88 cm. Type 6 ft and the page shows 1.8288 m, 182.88 cm and 72 in together. For a runner, type 10 km and read 6.213711922 miles. For a sailor, type 1 nmi and read 1,852 m, or about 1.151 land miles.

The results are grouped so the ones you need sit together. Metric units come first, then imperial and US units, then the nautical mile on its own. The unit you converted from is marked, so you can check the page read your input the way you meant it.

The tool has limits. It reads one amount at a time, so 5 ft 11 in has to be typed as 71 in. It has no furlongs, chains, light years or astronomical units, and no historic or regional units. It uses the international foot, not the retired US survey foot. Results are rounded to 10 significant digits, which is far more precise than any tape measure, but a value copied from here is still a rounded number.

Frequently asked questions

How many centimetres are in an inch?

Exactly 2.54. Since 1959 the inch has been defined as 0.0254 metres, so the answer has no rounding at all.

Why is a nautical mile longer than a mile?

A nautical mile is 1,852 metres. It was based on one minute of latitude, which makes it handy for charts. A land mile is 1,609.344 metres. Ships and aircraft use nautical miles, and knots are nautical miles per hour.

Which foot does this use?

The international foot, 0.3048 metres exactly. The US survey foot, which was slightly longer, was retired at the end of 2022. The difference is about 2 parts per million, which only matters for long land surveys.

Can I type a unit instead of picking it?

Yes. Type the number and then the unit, such as 3 mi, 250 cm or 12 inches. Symbols, full names, plurals and the US spelling "meters" all work.

Related tools

Your files are processed on your device and are not uploaded. You can verify this in your browser’s developer tools under the Network tab.