Length converter

Convert miles to km, feet to metres, inches to cm and 16 other length units with exact factors. Accepts feet and inches such as 5 ft 11 in.

Drafted with AI writing toolsUpdated Checked examples: 4

A number in the “from” unit, or with its own unit: 5 ft 11 in, 3 mi
Try
Converted value
km
Converted value: 1.609344 km
Significant figures: 12; Nearest, ties away from zero
Conversion
1 mi = 1.609344 km
Conversion factor
1.609344
Exactness
Exact

1 mi is exactly 1.609344 km.

One length, two rulers

00.20.40.60.81 mi00.511.51.609344 km
1 mi in every Length unit Rows: 22
UnitValueDefinition
metre (m)1,609.344Base unit
kilometre (km)1.6093441 km = 1,000 m, exact
centimetre (cm)160,934.41 cm = 0.01 m, exact
millimetre (mm)1,609,3441 mm = 0.001 m, exact
micrometre (µm)1,609,344,0001 µm = 0.000001 m, exact
nanometre (nm)1,609,344,000,0001 nm = 1 × 10⁻⁹ m, exact
ångström (Å)16,093,440,000,0001 Å = 1 × 10⁻¹⁰ m, exact
inch (in)63,3601 in = 0.0254 m, exact
foot (ft)5,2801 ft = 0.3048 m, exact
yard (yd)1,7601 yd = 0.9144 m, exact
mile (mi)11 mi = 1,609.344 m, exact
nautical mile (nmi)0.86897621 nmi = 1,852 m, exact
thou (mil)63,360,0001 mil = 0.0000254 m, exact
hand15,8401 hand = 0.1016 m, exact
fathom (ftm)8801 ftm = 1.8288 m, exact
chain (ch)801 ch = 20.1168 m, exact
furlong (fur)81 fur = 201.168 m, exact
astronomical unit (au)1.07578 × 10⁻⁸1 au = 149,597,870,700 m, exact
light-year (ly)1.701078 × 10⁻¹³1 ly = 9.4607304725808 × 10¹⁵ m, exact
parsec (pc)5.215529 × 10⁻¹⁴1 pc = 3.0856775814913672789 × 10¹⁶ m, exact (Defined as 648000/π au (IAU 2015 Resolution B2))
point (typographic) (pt)4,561,9201 pt = 0.0254/72 m, exact (Desktop publishing point, 1/72 in)
pica (pc (type))380,1601 pc (type) = 0.0254/6 m, exact (12 points, 1/6 in)
How it's calculated S
  1. Convert mile to metre

    1 mi×1,609.344 mmi=1,609.344 m1\ \text{mi} \times 1{,}609.344\ \tfrac{\text{m}}{\text{mi}} = 1{,}609.344\ \text{m}

    1 mi = 1,609.344 m, exact

  2. Convert metre to kilometre

    1,609.344 m÷1,000 mkm=1.609344 km1{,}609.344\ \text{m} \div 1{,}000\ \tfrac{\text{m}}{\text{km}} = 1.609344\ \text{km}

    1 km = 1,000 m, exact

  3. Combined factor

    1 mi=1,609.3441,000 km=1.609344 km1\ \text{mi} = \frac{1{,}609.344}{1{,}000}\ \text{km} = 1.609344\ \text{km}

    Both units are defined exactly and the converted mathematical value has a terminating decimal. A displayed result may still be rounded.

About the length converter

Each length unit is defined as a fixed number of metres; a conversion multiplies by the “from” factor and divides by the “to” factor. The imperial units have exact metric values because the 1959 international yard and pound agreement fixed the yard at 0.9144 m, which makes the inch 25.4 mm, the foot 0.3048 m and the mile 1,609.344 m.

The default converts 1 mile: 5,280 ft × 0.3048 m/ft = 1,609.344 m, so 1 mi = 1.609344 km with no rounding. A height typed as “5 ft 11 in” is read as one value and gives 180.34 cm.

Results that never terminate, such as 1 nautical mile = 6,076.115… ft, are labelled as repeating and shown to 12 significant figures. Astronomical units follow the IAU: 1 au = 149,597,870,700 m, and a light-year is the distance light travels in 365.25 days.

How to convert length units

Go through the meter: multiply by the length of one starting unit in meters, then divide by the length of one target unit. For 3 yards to centimeters, 3 × 0.9144 m = 2.7432 m, and 2.7432 ÷ 0.01 = 274.32 cm. The method works for any pair of length units.

Length conversion chart

The inch, foot and yard have exact metric values in NIST's conversion tables. Metric prefixes are powers of ten: NIST's SI prefix reference defines milli as one thousandth and kilo as one thousand. A ≈ sign marks a rounded decimal.

ConversionOperation on the inputOne-unit example
Feet to mmMultiply by 304.81 ft = 304.8 mm
mm to feetDivide by 304.81 mm ≈ 0.00328083989501 ft
Inches to metersMultiply by 0.02541 in = 0.0254 m
mm to metersDivide by 1,0001 mm = 0.001 m
Meters to kmDivide by 1,0001 m = 0.001 km
km to metersMultiply by 1,0001 km = 1000 m
Feet to yardsDivide by 31 ft ≈ 0.333333333333 yd

Feet to mm and mm to feet

One foot is exactly 304.8 mm, so multiply feet by 304.8: 2 ft = 609.6 mm. To go from millimeters to feet, divide by 304.8. A wall drawn as 2,400 mm high is about 7.874 ft.

The decimal part of a foot is not a count of inches. 7.874 ft is 7 feet plus 0.874 × 12 ≈ 10.49 inches. For the same reason, 5 ft 11 in is 1,803.4 mm, while 5.11 ft is only 1,557.528 mm.

Inches to meters

One inch is exactly 0.0254 m. Multiply inches by 0.0254: 12 in = 0.3048 m, and a 65-inch TV diagonal is 1.651 m. For meters to inches, divide by 0.0254. One meter is about 39.37 inches.

Millimeters, meters and kilometers

Metric lengths convert by powers of ten. Divide millimeters by 1,000 for meters (1,500 mm = 1.5 m), and divide meters by 1,000 for kilometers (1,500 m = 1.5 km).

Multiply by 1,000 to go the other way: 2.5 km = 2,500 m, and a 42.195 km marathon is 42,195 m.

A larger unit always gives a smaller number for the same length. Use that as a check: one kilometer is a million millimeters, so mixing up mm and km puts the answer off by a factor of one million.

Feet to yards

Divide feet by 3. 6 ft = 2 yd, and 300 ft = 100 yd, the length of an American football field between the goal lines. A foot is exactly one third of a yard, so 100 ft is 33 1/3 yd, which appears as 33.3333333333.

Common mistakes

  • Reading decimal feet as feet and inches. 5.11 ft is 5 ft 1.32 in, not 5 ft 11 in.
  • Using a length factor on an area. A 3 m × 5 m room is 15 m², about 161.4587 ft². Multiplying 15 by 3.28084 gives about 49.21, which is wrong: an area needs the factor squared.
  • Rounding the factor early. 3.28084 ft per meter and 39.37 in per meter are rounded. Dividing by 0.3048 or 0.0254 is exact.
  • Taking extra digits as accuracy. A reading good to ±0.01 ft is good to ±3.048 mm after conversion, however many decimals the answer shows.

Typing a length with units

  • 5 ft 11 in and 5'11" are both read as one length, 71 inches.
  • Fractions work: 3/2 means 1.5 of the starting unit.
  • A bare number is read in the starting unit.

For a height in feet and whole inches, use the height converter. The mm to inches and inches to mm converters include fractional-inch charts for small parts.

Square units belong in the area converter. The most common pair has its own pages: meters to feet and feet to meters.

Worked examples

1 mile to kilometres

Value
1 mi
From
mile (mi)
To
kilometre (km)
Converted value
1.609344 km
Conversion factor
1.609344
Conversion
1 mi = 1.609344 km
Exactness
Exact

Checked against: 1 mi = 5280 ft × 0.3048 m/ft = 1609.344 m (NIST HB 44 App. C, international foot of 1959)

5 ft 11 in to centimetres

Value
5 ft 11 in
From
foot (ft)
To
centimetre (cm)
Converted value
180.34 cm
Exactness
Exact

Checked against: 71 in × 2.54 cm/in (1 in = 0.0254 m exactly)

1 nautical mile to feet

Value
1 nmi
From
nautical mile (nmi)
To
foot (ft)
Converted value
6,076.11548556 ft
Exactness
Exact definitions, repeating decimal

Checked against: 1852 m ÷ (0.3048 m/ft) = 2315000/381 ft, a non-terminating decimal

Light-year to astronomical units (very large exact factors)

Value
1 ly
From
light-year (ly)
To
astronomical unit (au)
Converted value
63,241.0770843 au

Checked against: 1 ly = 299792458 m/s × 365.25 d × 86400 s/d; 1 au = 149597870700 m (IAU 2012 B2); ratio 431996825232/6830953

Questions

How many kilometres are in a mile?

Exactly 1.609344 km. The 1959 international yard and pound agreement set the yard at 0.9144 m, and a mile is 1,760 yards, so 1,760 × 0.9144 m = 1,609.344 m. In the other direction 1 km is 0.621371 miles, which makes a 10 km race 6.21 miles.

How many centimetres are in an inch?

Exactly 2.54 cm. The inch has been defined as 25.4 mm since the 1959 international yard and pound agreement (effective 1 July 1959 in the United States, according to NIST), so inch-to-centimetre results are exact, not rounded. A 12-inch ruler is 30.48 cm and a 55-inch screen diagonal is 139.7 cm.

How do I convert feet and inches to centimetres?

Multiply the feet by 30.48 and the inches by 2.54, then add. For 5 ft 11 in, 5 × 30.48 = 152.4 cm and 11 × 2.54 = 27.94 cm, which gives 180.34 cm. Typing “5 ft 11 in” into the value box does the same sum, and the answer is exact because both factors are defined values.

Is a nautical mile longer than a mile?

Yes. A nautical mile is exactly 1,852 m, which is 1.1508 statute miles or 6,076.1 ft. It was chosen to approximate one minute of latitude, so sea and air navigation pair it with the knot, one nautical mile per hour. The statute mile used on roads is 1,609.344 m.

What happened to the US survey foot?

NIST declared it obsolete on 1 January 2023 and replaced it with the international foot of exactly 0.3048 m. The survey foot, 1200/3937 m, is 2 parts per million longer, which adds up to 3.2 mm over a mile. This converter uses the international foot for every foot, yard and mile.

About this calculator

1 in=2.54 cm=25.4 mm1 ft=12 in=0.3048 m1 yd=3 ft=0.9144 m1 mi=5280 ft=1.609344 km1 nmi=1852 m\begin{gathered} 1\ \text{in} = 2.54\ \text{cm} = 25.4\ \text{mm} \\ 1\ \text{ft} = 12\ \text{in} = 0.3048\ \text{m} \\ 1\ \text{yd} = 3\ \text{ft} = 0.9144\ \text{m} \\ 1\ \text{mi} = 5280\ \text{ft} \\ = 1.609344\ \text{km} \\ 1\ \text{nmi} = 1852\ \text{m} \end{gathered}

Sources

  1. NIST SP 811 (2008), Guide for the Use of the SI, Appendix B — conversion factors
  2. NIST Handbook 44, Appendix C — General tables of units of measurement
  3. NIST — U.S. Survey Foot
  4. IAU 2012 Resolution B2 — the astronomical unit

Checked against references

This calculator includes 4 worked examples with independently sourced answers. They run in the test suite, and you can run them here too.

Put this calculator on your site

Paste this where you want the calculator to appear. It is free to use, it stays in step with corrections made here, and the credit line below it links back so your readers can find the full version.

Height
Preview the embed

Keep the credit line. It is the only condition, and it is what keeps these calculators free.