By · Updated

Length Converter

Metres, Feet, Inches, Miles and More

No ratings yet

OneTask is free, with no sign-up, and built by one person.
If this tool saved you time, a coffee helps keep new ones coming.

How the Length Converter works

This length converter handles metric, imperial and nautical units. Enter a length, pick the unit you have and the unit you want, and this converts between metric and imperial using the exact internationally agreed factors. When you are reading from feet you can type it the way people write it — 5'10" works as well as 5.8333.

Length conversion looks like the most settled arithmetic there is, and mostly it is. Type an amount, pick the two units and the answer appears with the conversion factor and its inverse underneath. The useful knowledge is where those factors come from, the one place they still disagree, and how many digits of the answer you should actually keep.

How the length converter works

Every unit is stored as a number of metres, and the converter divides one by the other. The formula is simply: result = amount × (metres per "from" unit ÷ metres per "to" unit). That single rule covers all 81 pairs of the nine units, including odd ones like nautical miles to inches, without a separate table for each.

Why the factors are exact. Since the international yard and pound agreement of 1959, the yard has been defined as exactly 0.9144 metres. Everything else follows:

None of these are measurements that might be refined later. They are definitions, so 2.54 cm to the inch is exact rather than convenient, and results terminate instead of drifting.

Feet and inches in one box. When converting from feet you can type 5'10", 5 ft 10 or 5'10 as well as a decimal. Heights and room sizes are almost always written that way, and turning 5 ft 10 in into 5.8333 ft by hand is where errors creep in.

Where length conversion matters

The US survey foot is a different foot

Before 1959 the United States defined the foot as 1200/3937 of a metre, about two parts per million longer than the international foot. That is only 2 mm over a kilometre, but state plane coordinates run to hundreds of kilometres from their origin, where the difference grows to metres. The US kept the old unit as the "US survey foot" for mapping and only retired it at the end of 2022. This converter uses the international foot, which is right for everything except historical survey plats and legal land descriptions that name the survey foot.

Reading the result

Worked example. Converting 12 ft to metres gives 3.6576 m, with the factor 0.3048 and the inverse 3.28084. Converting 3.6576 m back gives exactly 12 ft, because the factors are exact.

Tips and pitfalls

Length converter quick reference

The exact factors are 1 in = 2.54 cm, 1 ft = 0.3048 m, 1 yd = 0.9144 m and 1 mi = 1.609344 km. Some common conversions, rounded to a sensible precision:

Metric Imperial
1 cm 0.394 in
1 m 3.281 ft, or 39.37 in
1.7 m 5 ft 6.9 in
1.8 m 5 ft 10.9 in
10 m 32.81 ft
100 m 328.1 ft
1 km 0.621 mi
5 km 3.107 mi
10 km 6.214 mi
21.0975 km (half marathon) 13.109 mi
42.195 km (marathon) 26.219 mi
Imperial Metric
1 in 2.54 cm
6 in 15.24 cm
1 ft (12 in) 30.48 cm
1 yd (36 in) 91.44 cm
1 mi 1.609 km
1 nautical mile 1.852 km, or 1.151 mi

For single pairs with their own tables, see metres to feet, cm to inches and km to miles.

FAQ

How many feet are in a metre?

A metre is 3.280839895 feet, because a foot is defined as exactly 0.3048 metres and the reciprocal of that runs on forever. For rough mental arithmetic, a metre is a little over three and a quarter feet, or add about ten per cent to a yard.

Can I type a height like 5'10"?

Yes. When the "from" unit is feet, this accepts feet and inches written the usual way — 5'10", 5 ft 10 in, or 5'10 all work — and converts the inches part for you. For every other unit, enter a plain decimal number.

Why is an inch exactly 25.4 millimetres?

Because the 1959 international yard and pound agreement defined the yard as exactly 0.9144 metres, and an inch is one thirty-sixth of a yard. Before that agreement, the British and American inches differed slightly, which caused real problems in manufacturing between the two countries.

What is the difference between a mile and a nautical mile?

A statute mile is 1,609.344 metres and comes from Roman and English land measure. A nautical mile is 1,852 metres and approximates one minute of latitude, which is why charts, ships and aircraft use it. A nautical mile is about 15% longer than a statute mile.

How do I convert km to miles in my head?

Multiply by 0.6, or use the Fibonacci trick: consecutive Fibonacci numbers are in almost exactly the ratio of a mile to a kilometre, so 8 km is about 5 miles, 13 km about 8 miles and 21 km about 13 miles. The exact factor is 0.621371 miles per kilometre.

How do I convert inches to cm?

Multiply by 2.54, which is exact. 6 inches is 15.24 cm, 12 inches is 30.48 cm and 36 inches is 91.44 cm. To go from centimetres to inches divide by 2.54, so 100 cm is 39.37 inches.

See also: all Units tools, Images, Audio & Video, Documents, Data & Code.

Related tools