Convert a distance or dimension between metric, imperial and other length units. Select the original and target units, then enter your measurement in this length converter.
Unit converter
Length Converter
Convert between metric, imperial and astronomical lengths.
Nautical mile (UK) uses the historical 6,080-foot measure.
For length conversions on your phone, Unit Converter is free to download and includes a Length converter.
How to use this tool
- Choose the original unit in From and the unit you need in To.
- Enter the length in Value.
- Read Converted value below. Valid entries update automatically; you can also click Convert.
Length, dimensions and distance
Length measures distance along one dimension. A product’s width, height and depth are all lengths, as are the distance across a room and the distance along a route. The unit tells you the scale of that measurement: millimeters suit small dimensions, while kilometers describe much larger distances.
A length converter is useful when dimensions arrive in a different system from the one you use. Product specifications, building drawings and travel distances commonly mix metric units with inches, feet, yards and miles. Understanding the relationships between these units also makes it easier to read a ruler or compare measurements.
How metric length units fit together
The meter is the SI base unit of length. Metric prefixes express decimal multiples or fractions of it. The common relationships are:
- Kilometer (km): 1,000 meters.
- Centimeter (cm): one hundredth of a meter, with 100 centimeters in a meter.
- Millimeter (mm): one thousandth of a meter, with 1,000 millimeters in a meter.
- Micrometer (μm): one millionth of a meter, used for very small dimensions.
These metric prefixes explain the conversion factors. A centimeter contains 10 millimeters, so converting centimeters to millimeters multiplies by 10. Converting meters to kilometers divides by 1,000. Moving to a smaller unit increases the numerical value because more of those units fit into the measured length.
Inches, feet, yards and miles
US customary and imperial measurements use the same modern international inch, foot, yard and statute mile. A foot contains 12 inches, a yard contains 3 feet, and a mile contains 1,760 yards or 5,280 feet. These relationships allow a measurement to be expressed in a unit suited to its size.
The international inch is exactly 25.4 millimeters, or 2.54 centimeters. This definition of the inch connects the two systems and makes the corresponding metric definitions of the foot, yard and mile exact too.
Common length conversion formulas
To convert inches to centimeters, multiply by 2.54. For feet to meters, multiply by 0.3048. For miles to kilometers, multiply by 1.609344:
- Centimeters = inches × 2.54
- Meters = feet × 0.3048
- Kilometers = miles × 1.609344
To convert in the opposite direction, divide by the same factor. These factors come from the defined relationships between international and metric units. The word “length” also matters here: square and cubic units measure area and volume, so their conversion factors are squared or cubed rather than applied once.
What is a nautical mile?
A nautical mile is a distance unit used in marine and air navigation. It equals exactly 1,852 meters and is longer than the statute mile used for road distances. Its navigation history is tied to measuring positions by latitude and longitude. A knot is the related speed unit: one nautical mile per hour.
NOAA explains the relationship between nautical miles and knots. The separate UK nautical mile option in this tool refers to the historical 6,080-foot definition; the modern international nautical mile uses the 1,852-meter definition.
Length units for space
Astronomical distances are easier to describe with larger units. An astronomical unit (au) is approximately the Earth–Sun distance and is useful within the solar system. A light-year is the distance light travels in a vacuum in a year, so it measures distance rather than time.
A parsec (pc) is approximately 3.26 light-years. A megaparsec (Mpc) contains one million parsecs and is used for distances between galaxies. These units let astronomers describe very different scales, from planetary orbits to intergalactic distances, as NASA’s explanation of cosmic distances describes.
More tools: Browse all calculators and unit converters.
Keep length conversions on your phone
Use Unit Converter for length and other everyday measurement conversions. Download it free from the App Store or Google Play.

