Length Converter

Convert between millimetres, centimetres, metres, kilometres, inches, feet, yards, miles and nautical miles using exact factors. Free, instant and runs entirely in your browser, with a table showing your value in every unit at once.

Length ConverterPrivate · runs on your device
Convert
Enter a value
In every unit

How to use the length converter

The converter behaves like a calculator that already knows every factor, and it updates as you type.

  1. Type a number in the Value box. Decimals work, and so do negative numbers, which suit differences or offsets.
  2. Choose the unit you have in From and the unit you want in To. The answer appears in the large result area straight away.
  3. Read the line under the result, which gives the one-unit factor in both directions, such as 1 mi = 1.6093 km.
  4. Press Swap units to reverse the direction without retyping the number.
  5. Look at the In every unit list on the right for the same length in all nine units, which helps when a plan or spec sheet asks for a different one.

Results are shown to four decimal places between 1 and 1,000, to two decimals above 1,000 and to six below 1, so a long exact value such as 8.04672 appears as 8.0467. Everything runs in your browser and nothing you enter is sent anywhere.

Exact definitions behind the factors

The imperial and US customary units are defined in terms of the metre, under the international yard and pound agreement of 1959. The converter stores each unit as its length in metres and works through that base, so no rounding creeps in between steps.

UnitLength in metresRelationship
Inch0.0254exactly 25.4 mm
Foot0.304812 inches
Yard0.91443 feet
Mile1,609.3441,760 yards or 5,280 feet
Nautical mile1,852about 1.1508 miles
Kilometre1,000about 0.6214 miles

The foot used is the international foot. The older US survey foot differs from it by about two parts per million, which matters only on very large land surveys. The nautical mile began as one minute of latitude and is now fixed at 1,852 metres, which is why it is the unit of distance at sea and in aviation.

Worked examples and common mistakes

These examples can be reproduced in the converter. Remember that the display rounds, so 5 miles shows as 8.0467 km although the exact value is 8.04672 km.

  • 10 km is 6.2137 miles, and a marathon of 42.195 km is 26.2188 miles.
  • A height of 5 ft 10 in has no single box, so enter 70 inches and convert to centimetres: 177.8 cm. In the other direction, 180 cm is 5.9055 ft, and the 0.9055 ft left over is 10.87 in, so 5 ft 10.87 in.
  • A 6.1 inch phone screen is 154.94 mm along its diagonal.
  • A4 paper at 210 by 297 mm is 8.2677 by 11.6929 inches.
  • 1 nautical mile is 1.852 km and 1.1508 statute miles.

The most common mistake is treating decimal feet as feet and inches. A height of 5.10 ft means 5.1 feet, which is 155.4 cm, not 5 ft 10 in. Another is mixing up the statute mile used on roads with the nautical mile used at sea, which are about 15 percent apart. A third is trusting a rounded memory aid such as 1 inch = 2.5 cm on a long run of measurements, where the small error adds up: over 100 inches it is already 4 cm out. A fourth is entering a length in the wrong box, so glance at the unit names in From and To before copying a result.

When another tool fits better

This page converts a single length. If your quantity is an area, such as a plot or a room, use the area converter instead, because squaring a length factor by hand is a common source of error. For distance covered per unit of time, the speed converter handles miles per hour and kilometres per hour, and the running pace calculator turns a distance and a time into a pace per kilometre or mile. Body height and weight go into the BMI calculator, which accepts both metric and imperial input, so converting first is not necessary. For multi-step arithmetic on lengths, the scientific calculator lets you write a calculation such as 5 * 1.609344 on one line. Values are accepted between minus and plus one trillion.

Quick answers

Frequently asked questions

The questions people ask most, answered in plain words.

How many kilometres are in a mile?

One mile is exactly 1.609344 kilometres, because a mile is defined as 1,609.344 metres. Going the other way, one kilometre is 0.621371 miles. As a mental shortcut, multiply miles by 1.6 or kilometres by 0.6, which is close enough for road signs abroad.

How many centimetres are in an inch?

One inch is exactly 2.54 centimetres, a value fixed by international agreement in 1959. That makes one foot 30.48 cm and one centimetre about 0.3937 inches. Since the factor is exact, converting inches to millimetres introduces no rounding error beyond what the display shows.

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

A statute mile is 1,609.344 metres and is used on land. A nautical mile is 1,852 metres, originally one minute of latitude, and is used at sea and in aviation. One nautical mile is about 1.15 statute miles, and a knot is one nautical mile per hour.

How do I convert feet and inches to centimetres?

Change the whole length to inches first, then convert from inches to centimetres. For 5 ft 10 in, that is 5 times 12 plus 10, or 70 inches, which is 177.8 cm. Typing 5.10 as feet would be wrong, because it means 5.1 feet, not 5 feet 10 inches.

Does the length converter work offline or save my numbers?

The calculation runs in your browser as JavaScript, so once the page has loaded it needs no connection. Nothing you type is sent to a server or stored. If you reload the page, the fields return to their defaults, so note down any result you want to keep.

Popular presets of this tool

Same tool, set up for one job. Pick the page that matches what you are doing.

ConvertersCentimeters to Inches ConverterConvert centimeters to inches as you type.ConvertersInches to Centimeters ConverterConvert inches to centimeters as you type.ConvertersMillimeters to Inches ConverterConvert millimeters to inches as you type.ConvertersInches to Millimeters ConverterConvert inches to millimeters as you type.ConvertersInches to Feet ConverterConvert inches to feet as you type.ConvertersFeet to Inches ConverterConvert feet to inches as you type.ConvertersFeet to Centimeters ConverterConvert feet to centimeters as you type.ConvertersCentimeters to Feet ConverterConvert centimeters to feet as you type.ConvertersFeet to Meters ConverterConvert feet to meters as you type.ConvertersMeters to Feet ConverterConvert meters to feet as you type.ConvertersMiles to Kilometers ConverterConvert miles to kilometers as you type.ConvertersKilometers to Miles ConverterConvert kilometers to miles as you type.ConvertersYards to Meters ConverterConvert yards to meters as you type.ConvertersMeters to Yards ConverterConvert meters to yards as you type.ConvertersCentimeters to Millimeters ConverterConvert centimeters to millimeters as you type.ConvertersMillimeters to Centimeters ConverterConvert millimeters to centimeters as you type.ConvertersKilometers to Meters ConverterConvert kilometers to meters as you type.ConvertersMeters to Centimeters ConverterConvert meters to centimeters as you type.ConvertersInches to Meters ConverterConvert inches to meters as you type.ConvertersMeters to Inches ConverterConvert meters to inches as you type.ConvertersMiles to Feet ConverterConvert miles to feet as you type.ConvertersFeet to Miles ConverterConvert feet to miles as you type.ConvertersYards to Feet ConverterConvert yards to feet as you type.