Length Unit Converter
Unit Converters
Convert metric, imperial, nautical, and astronomical lengths, including nanometers and AU. See all unit equivalents instantly; calculations run in browser.
All unit equivalents
Metric
- Angstrom (Å)
- Nanometer (nm)
- Micron (µm)
- Millimeter (mm)
- Centimeter (cm)
- Meter (m)
- Kilometer (km)
Imperial / US
- Inch (in)
- Foot (ft)
- Yard (yd)
- Mile (mi)
Other
- Nautical Mile (nmi)
- Astronomical Unit (AU)
- Light-Year (ly)
- Parsec (pc)
How to use this tool
- Enter a value. Type the number you want to convert into the top input field.
- Select units. Choose the "from" unit in the left dropdown and the "to" unit in the right dropdown. The lists include metric, imperial, nautical, and astronomical units such as nanometers and AU.
- Read the result. The converted value appears instantly in the bottom field. It is rounded to 6 significant figures and shown in scientific notation for very large or very small quantities.
- Swap direction. Click the swap button (⇅) between the two rows to reverse the conversion - the result becomes the new input.
- Copy the result. Use the Copy button next to the result field to copy the converted value to your clipboard.
- Compare all units. Expand All unit equivalents below the converter to compare the current length in every supported unit and copy any value.
How length unit conversion works
Every conversion on this page is performed by converting the source value to meters first, then dividing by the target unit's meter equivalent. For example, to convert 5 miles to kilometers: 5 × 1609.344 = 8046.72 m ÷ 1000 = 8.04672 km. All conversion factors are exact international definitions; no approximations are used in the calculation.
Results are rounded to 6 significant figures. For astronomical units
(light-years, parsecs, angstroms) or sub-atomic sizes, the result is shown in scientific
notation (e.g., 9.46073 × 10¹⁵).
Common length conversions
| Value | Result |
|---|---|
| 1 cm | 0.393701 in |
| 5 cm | 1.96850 in |
| 10 cm | 3.93701 in |
| 30 cm | 11.8110 in |
| 100 cm | 39.3701 in |
| 1 m | 3.28084 ft |
| 5 m | 16.4042 ft |
| 10 m | 32.8084 ft |
| 100 m | 328.084 ft |
| 1 km | 0.621371 mi |
| 5 km | 3.10686 mi |
| 10 km | 6.21371 mi |
| 42.195 km (marathon) | 26.2188 mi |
| 1 ft | 0.3048 m |
| 6 ft | 1.8288 m |
| 1 mi | 1.60934 km |
| 1 in | 2.54 cm |
| 1 yd | 0.9144 m |
| 1 nmi | 1.852 km |
| 1 nm | 10 Å |
| 1 AU | 149,597,870.7 km |
The metric system
The metric system uses powers of ten, making conversions between metric units straightforward. The base unit of length is the meter. A kilometer is 1,000 meters, a centimeter is 1/100 of a meter, and a millimeter is 1/1,000 of a meter. The metric system is the international standard and is used by the vast majority of countries worldwide for everyday measurement.
Imperial and US customary units
The imperial system (used primarily in the United States) has less regular relationships between its units. There are 12 inches in a foot, 3 feet in a yard, and 1,760 yards (5,280 feet) in a mile. The US survey system uses very slightly different foot and mile values for land surveying, but the differences are negligible for everyday use and this converter uses the international values.
Nautical miles and aviation
A nautical mile (nmi) is exactly 1,852 meters, defined as one arc-minute of latitude along any meridian of the Earth. This makes nautical miles particularly useful in navigation: a course change of one degree of latitude covers exactly 60 nautical miles. Knots (the speed unit in maritime and aviation contexts) are nautical miles per hour.
Astronomical units
For distances beyond our solar system, metric prefixes become unwieldy. Astronomers use:
- Astronomical unit (AU): exactly 149,597,870,700 meters, the standard unit for distances within the solar system and roughly the average Earth–Sun distance.
- Light-year (ly): the distance light travels in one year in a vacuum: approximately 9.461 × 10¹⁵ meters.
- Parsec (pc): the distance at which one astronomical unit subtends one arc-second: approximately 3.086 × 10¹⁶ meters, or about 3.26 light-years.
The nearest star to Earth (Proxima Centauri) is about 1.3 parsecs (4.24 light-years) away. The Milky Way galaxy is about 30,000 parsecs in diameter.
Sub-atomic lengths
- Nanometer (nm): 10⁻⁹ meters, or 10 angstroms. Nanometers are used for wavelengths of visible light and for small material and semiconductor features.
- Micron (µm): 10⁻⁶ meters. Used in manufacturing tolerances, cell biology (a human red blood cell is 6–8 µm), and semiconductor process nodes.
- Angstrom (Å): 10⁻¹⁰ meters. Used in chemistry and crystallography to express atomic radii, bond lengths, and crystal lattice spacings.
Metric prefix mnemonic
To remember the metric prefixes in descending order - kilo, hecto, deca, (base), deci, centi, milli - use the mnemonic:
"King Henry Died (By) Drinking Cold Milk" (Kilo · Hecto · Deca · Base · Deci · Centi · Milli)
Extending further in both directions: mega (10⁶), giga (10⁹), tera (10¹²) on the large side; micro (10⁻⁶), nano (10⁻⁹), pico (10⁻¹²) on the small side.
Historical origins of common units
- Foot: originally the length of a human foot. Charlemagne standardized it as the length of his own foot in the 8th century; the modern international foot (0.3048 m) was defined by agreement in 1959.
- Meter: defined in 1793 as one ten-millionth (10⁻⁷) of the distance from the equator to the North Pole along the Paris meridian. Today the meter is defined by the speed of light - exactly 1/299,792,458 of the distance light travels in one second.
- Mile: from the Latin mille passuum (thousand paces) - a Roman pace was two steps (~1.48 m), making a Roman mile about 1,480 m. The English statute mile of 5,280 feet was fixed by Parliament in 1593.
Frequently asked questions
How many centimeters are in an inch?
Exactly 2.54 centimeters equal one inch. This is the international definition, adopted in 1959. To convert inches to centimeters, multiply by 2.54. To go the other way, divide by 2.54.
How do I convert kilometers to miles?
Multiply the number of kilometers by 0.621371 to get miles. Equivalently, divide by 1.609344. For a quick mental estimate, multiply km by 0.6 - it is about 4 % low but fast to compute.
How many feet are in a meter?
One meter equals approximately 3.28084 feet, or more precisely 1 / 0.3048 feet. The foot is defined as exactly 0.3048 meters. To convert meters to feet, multiply by 3.28084.
What is a nautical mile and how does it compare to a regular mile?
A nautical mile is exactly 1,852 meters, while a statute (land) mile is 1,609.344 meters. A nautical mile is therefore about 1.15078 statute miles. Nautical miles are used in maritime and aviation navigation because one nautical mile corresponds to one arc-minute of latitude.
What is an Angstrom used for?
An Angstrom (Å) equals 10⁻¹⁰ meters (0.1 nanometers). It is used in atomic physics, crystallography, and chemistry to express the sizes of atoms, molecules, and chemical bond lengths. For example, a hydrogen atom has a radius of about 0.53 Å.
How long is a nanometer?
A nanometer (nm) is exactly one billionth of a meter (10⁻⁹ m), or 10 angstroms. Nanometers are used for wavelengths of visible light, tiny structures in materials, and semiconductor features.
What is an astronomical unit?
An astronomical unit (AU) is exactly 149,597,870,700 meters, the standard scale for distances within the solar system. Earth is about 1 AU from the Sun, so the unit is useful for comparing planetary orbits.
What is a parsec?
A parsec is approximately 3.086 × 10¹⁶ meters, or about 3.26 light-years. It is the distance at which one astronomical unit subtends one arc-second of angle, and is the standard unit for measuring distances between stars and galaxies in astronomy.
Related tools
- Area ConverterAfter converting dimensions, convert a resulting square measurement if needed.
- Volume ConverterContinue from linear dimensions to cubic capacity for rooms, tanks, or materials.
- Projectile MotionPrepare height or range measurements for a projectile-motion calculation.
- Pool CalculatorConvert pool dimensions before estimating water volume and chlorine.