Length Converter
Convert length between millimetres, centimetres, metres, kilometres, inches, feet, yards, miles and nautical miles.
How it works
converted = value × factor(from) ÷ factor(to)
Sources
- BIPM SI Brochure, 9th edition (2019) — metre definition
- International yard and pound agreement (1959) — 1 in = 25.4 mm exactly
Worked example: 5 kilometres in miles
Five kilometres is 3.10685596 miles, because one mile is exactly 1,609.344 metres and 5,000 ÷ 1,609.344 gives that figure. The same length is 5,000 metres, 500,000 centimetres, 196,850.393701 inches and 2.69978402 nautical miles.
The metric-to-imperial direction is exact only up to the display: 1 inch is defined as 25.4 millimetres exactly, so 1 inch is exactly 2.54 cm, and 6 feet is exactly 1.8288 m. Conversions that start from those definitions never drift.
How the conversion works
Every unit in this table carries a factor in metres, the base unit. A millimetre is 0.001, a centimetre 0.01, a metre 1, a kilometre 1,000, an inch 0.0254, a foot 0.3048, a yard 0.9144, a statute mile 1,609.344 and a nautical mile 1,852. Converting multiplies by the source factor and divides by the target factor.
The imperial factors are not approximations. Since the 1959 international yard and pound agreement, the inch, foot, yard and mile have had exact metric definitions, which is why one conversion path is as accurate as another.
When each unit is used
Metres and millimetres are the working units in engineering, manufacturing and science, and most of the world measures everyday distance in metres and kilometres. Inches and feet remain standard in United States construction, plumbing, screen sizes and tyre dimensions.
Nautical miles are used in air and sea navigation because one nautical mile is very close to one minute of latitude, which makes chart work straightforward. Yards survive in cricket pitches, American football fields and fabric retail, and the mile is still the road distance unit in the United Kingdom and the United States.
Common mistakes
The costliest error is mixing up miles and nautical miles. A flight of 100 nautical miles covers 185.2 km, while 100 statute miles covers 160.9 km — a 15% difference that matters for fuel planning.
The second is assuming a metre is 3.28 feet exactly. It is 3.28084, so a rough factor drifts by about 0.003% per conversion; acceptable once, not acceptable across a bill of materials. The third is rounding between steps: convert km to miles and then miles to feet, rounding in between, and the error compounds. Convert directly, or keep full precision until the final display.
Finally, watch the decimal separator. In locales that write 1,5 for one and a half, a value entered as 1.5 means something different, and this converter follows the browser locale for display while parsing a dot as the decimal point.
Questions
How accurate is this length converter?
Conversion factors are exact definitions where such a definition exists, and full precision where it does not. Only the displayed result is rounded.