Length converter

Convert any length between metric and imperial units: mm, cm, m, km, inches, feet, yards, miles and nautical miles. It uses the exact international definitions and runs in your browser, free.

How to use it

  1. Type the number in Value.
  2. Pick the unit you have in From and the one you want in To.
  3. Read the result at the top. The table below shows the same length in every other unit.

Complete guide to converting length and distance

Why length units cause confusion

Most of the world measures distance in meters and kilometers, while the United States and a few other places still use inches, feet, yards and miles. A road sign, a screen size, a piece of furniture, a running route or a flight plan can each use a different system, and sailors and pilots add the nautical mile. This converter moves between nine units: millimeters, centimeters, meters, kilometers, inches, feet, yards, miles and nautical miles. It also lists the same length in all the other units, so you can pick the one you need. Everything runs in your browser.

How it works and how exact it is

Each unit is defined as a number of meters. The tool multiplies your value by the meters in the unit you have and divides by the meters in the unit you want. These factors are exact by definition. Since 1959 the international inch is exactly 25.4 mm, which fixes the foot at 0.3048 m, the yard at 0.9144 m and the mile at 1,609.344 m. The nautical mile is exactly 1,852 m. Results are cleaned to 12 significant digits and displayed with up to 10.

UnitExact value in metersTypical use
Inch (in)0.0254Screens, pipes, tools
Foot (ft)0.3048Height, altitude in aviation
Yard (yd)0.9144Fabric, sports fields
Mile (mi)1,609.344Road distance in the US and UK
Nautical mile (nmi)1,852Sea and air navigation

Worked examples

  1. Race distance: type 5, choose Mile (mi) in From and Kilometer (km) in To. The result is 8.04672 km, with the Conversion factor 1 mi = 1.609344 km. The table also shows 26,400 ft, 8,800 yd and 316,800 in.
  2. Height in a form: type 6, choose Foot (ft) in From and Centimeter (cm) in To. The result is 182.88 cm (1 ft = 30.48 cm). In the table you also see 72 in and 2 yd.
  3. At sea: type 10, choose Nautical mile (nmi) and Kilometer (km). The result is 18.52 km.

Tips and common mistakes

  • Do not mix the mile and the nautical mile. A nautical mile is about 15% longer (1.852 km against 1.609344 km), so 10 nmi is 18.52 km but 10 mi is 16.09344 km.
  • For feet and inches such as 5 ft 9 in, convert in two steps: 9 in is 0.75 ft, so type 5.75 ft. Or convert each part separately and add the results.
  • The mile here is the international mile. The old US survey mile is about two parts per million longer, which only matters in land surveying.
  • Very large or very small results use powers of ten, for example 1.5 × 10²⁰. That is normal when you convert between millimeters and kilometers at extreme values.
  • Round at the end, not in the middle. If you convert twice with rounded numbers, the error grows.

Related tools

If you also work with areas, the area converter handles square units. For travel speeds use the speed converter, and for web design sizes the px to rem converter.

Questions

How many meters are in a mile?

One international mile is exactly 1,609.344 meters (1.609344 km).

Are the factors exact?

Yes. Since 1959 the inch is defined as exactly 25.4 mm, so the foot (0.3048 m), yard (0.9144 m) and mile (1,609.344 m) are exact. A nautical mile is exactly 1,852 m.

Is this the US survey mile?

No. It uses the international mile. The old US survey mile is about 2 parts per million longer, a difference that only matters in land surveying.

Why does a very large or small result show powers of ten?

Results above 10^15 or below 0.000001 appear in scientific notation, like 1.5 × 10^20, so they stay readable.