Length Converter
- Runs in your browser: what you type is not uploaded
- Free, no sign-up
- Formula explained below
About Length Converter
The length converter changes a distance from one unit to another — metric (mm, cm, m, km) and imperial/US (inch, foot, yard, mile) — instantly as you type.
Every unit is defined by an exact factor: how many metres it equals. The tool converts your value to metres first, then to the target unit, so results are accurate in both directions.
Formula
- value — the number you enter
- factorFrom — metres in one 'from' unit
- factorTo — metres in one 'to' unit
Exact definitions: 1 in = 0.0254 m, 1 ft = 0.3048 m, 1 yd = 0.9144 m, 1 mi = 1609.344 m.
How to use the Length Converter
- Type the value you want to convert.
- Pick the unit you are converting from and the unit you want.
- Read the highlighted result; the grid shows the same value in every other unit.
- Use the swap button to reverse the direction.
Good to know
- The inch has been defined as exactly 25.4 mm worldwide since 1959.
- 1 mile = 1760 yards = 5280 feet = 1609.344 metres.
- 1 kilometre ≈ 0.621371 miles; 1 mile ≈ 1.609 km.
Frequently asked questions about the Length Converter
Is a US foot the same as a metric foot?
There is no metric foot. The international foot used here is exactly 0.3048 m and is standard in both the US and UK for everyday measurement.
How many centimetres are in an inch?
Exactly 2.54 cm, because 1 inch = 25.4 mm by definition.
Why convert through metres?
Using a single base unit (the metre) keeps every conversion consistent and avoids rounding errors that pile up when converting unit-to-unit directly.