Maaz Zindani

Loading the index…

↑↓ move↵ openesc close4791 pages

Free tool · Unit and size converters

Length converter

Type a length, pick the unit it is in and the unit you want. 5 mi converts to 8.04672 km, and the table lists the same length in all 12 units.

  • Free
  • No sign-up
  • Runs in your browser

By Maaz Zindani · Updated

A number, zero or more.

Feet, yards and miles are the international units, defined exactly in meters. The old US survey foot differs by about 2 parts in a million and is not used here.

Converted length

8.04672 km5 mi in kilometers

  • 1 mi = 1.609344 km
  • 1 km = 0.6213711922 mi
  • 8,046.72 m
In feet and inches
26,400 ft 0 in
In meters
8,046.72 m
In miles
5 mi
5 mi in every unit
UnitValue
Millimeters8,046,720 mm
Centimeters804,672 cm
Meters8,046.72 m
Kilometers8.04672 km
Inches316,800 in
Feet26,400 ft
Yards8,800 yd
Miles5 mi
Nautical miles4.34488121 nmi
Micrometers8,046,720,000 µm
Nanometers8,046,720,000,000 nm
Mils (thousandths of an inch)316,800,000 mil

How to use the Length Converter

  1. Type the Length as a number, for example 5.
  2. Set From to the unit your number is in, and To to the one you need.
  3. Read the big answer and the chips for the factor in both directions.
  4. Scan In feet and inches and the table below it when you need another unit as well.

How do I convert a length from one unit to another?

Every unit here is stored as a fixed number of meters. To convert, the tool turns your length into meters and then divides by the size of the unit you want. For 5 miles, one mile is 1,609.344 m, so the length is 8,046.72 m, and dividing by 1,000 m per kilometer gives 8.04672 km. The same length is 26,400 ft, because a mile holds 5,280 feet.

Doing the sum by hand works the same way: multiply by the size of the unit you start with, in meters, then divide by the size of the unit you end with. The tool uses exact decimal arithmetic, so a figure such as 25.4 mm for one inch comes out whole, with no rounding noise from binary fractions.

Small and large scales work in the same list. Going down the list, 1,000 nm fit in one micrometer, and a micrometer is itself 0.000001 m. At the other end, one kilometer holds 1,000 m. Lengths shown with more than 15 digits switch to a power of ten so the answer stays readable.

Order matters when two answers look alike. A figure in feet that you read as meters is off by a factor of 3.280839895, which is why the chips under the answer spell out the factor in both directions. Check that the first chip matches the pair you meant before you copy the number.

How many centimeters, feet or yards are in an inch, foot or mile?

The imperial units are defined in terms of the meter, and the table shows each size. An inch is exactly 0.0254 m, a foot is 12 inches, a yard is 3 feet and a mile is 1,760 yards. A nautical mile is a separate unit of exactly 1,852 m, used at sea and in the air, and it is longer than the land mile.

These sizes come from the NIST guide to SI conversion factors, where each of them is marked as exact.

Imperial and nautical units in metric
UnitIn metersIn centimetersIn inches
Inches0.0254 m2.54 cm1 in
Feet0.3048 m30.48 cm12 in
Yards0.9144 m91.44 cm36 in
Miles1,609.344 m160,934.4 cm63,360 in
Nautical miles1,852 m185,200 cm72,913.38583 in

How do I convert centimeters or meters to feet and inches?

Feet and inches are shown as one line under every result, so you do not have to split a decimal by hand. A person who is 180 cm tall is 5 ft 10.866 in: 180 cm is 70.866 inches, which is 5 whole feet and a remainder of 10.866 inches. A height of 1.75 m is 5 ft 8.898 in. The inches are rounded to three decimals, and when they round up to 12 the tool carries one foot.

To do it yourself, divide the length in inches by 12, keep the whole number as feet, and multiply the leftover fraction by 12 for the inches.

Which factors do I need for everyday pairs?

Most searches come down to a few pairs. The table gives each factor in both directions, rounded to ten significant digits. Multiply by the first factor to go from the left unit to the right one, or by the second to go back.

One kilometer is a little more than 0.62 mile, so a distance in miles is about 62 percent of the same distance in kilometers. The reverse is about 1.6 kilometers for each mile. For land measure use the area calculator, and for a mixed set of units, the unit converter.

Common pairs in both directions
FromEqualsAndEquals
1 mm0.03937007874 in1 in25.4 mm
1 cm0.3937007874 in1 in2.54 cm
1 m3.280839895 ft1 ft0.3048 m
1 km0.6213711922 mi1 mi1.609344 km
1 m1.093613298 yd1 yd0.9144 m
1 nmi1.852 km1 km0.5399568035 nmi

Use it with

Questions

How many centimeters are in an inch?

One inch is exactly 2.54 cm, which is 25.4 mm. To convert inches to centimeters, multiply by 2.54.

How many feet are in a mile?

A mile holds 5,280 feet. 5 miles is 26,400 ft, or 8.04672 km.

How many miles are in a kilometer?

One kilometer is 0.6213711922 miles, and one mile is 1.609344 km.

How do I convert meters to feet?

Divide the meters by 0.3048. One meter is 3.280839895 ft, so 1.75 m is 5.741469816 ft, or 5 ft 8.898 in.

Is a nautical mile the same as a mile?

No. A nautical mile is exactly 1,852 m, and a mile is 1,609.344 m. One nautical mile is 1.150779448 mi.

What is a mil?

A mil is one thousandth of an inch, which is 0.0000254 m or 25.4 micrometers. It is used for thin sheet and coating thickness.

The tool's results are computed in your browser by the code on this page, using the sources listed above; the explanations are checked against the tool's own output.