To convert a length, express it in meters first and then divide by the size of the target unit in meters. One inch is exactly 0.0254 meters and one foot exactly 0.3048 meters, so conversions between metric and imperial units are exact. For a height, multiply feet by 12, add the inches and multiply by 2.54 to get centimeters.
Lengths turn up in two systems at once: a room plan in feet, a parcel limit in centimeters, a race in miles, a map in kilometers. This converter has two modes. Unit to unit converts a length between any two of 12 units, from micrometers and mils to miles, nautical miles and light years. Feet and inches takes a height written the American way, such as 5 ft 9 in, and gives it in centimeters. Every factor comes from the exact definitions published by NIST, so the result is limited only by the digits shown, and the working lists the value in meters on the way.
How to use it
Pick a mode
Choose Unit to unit for any two length units, or Feet and inches for a height.
Enter the length
Type the value and choose the From and To units, or type the feet and the inches.
Read the result and the factor
The converted length, its value in meters and the conversion factor update as you type.
Examples
One inch in centimeters
Mode
Unit to unit
Length
1
From
Inches (in)
To
Centimeters (cm)
ResultConverted length: 2.54 cm
In meters: 0.0254 m
Conversion factor: 1 in = 2.54 cm
1 in = 0.0254 m
0.0254 m = 2.54 cm
Since 1959 the inch is defined as exactly 2.54 centimeters, so this result has no rounding at all.
A height of 5 ft 9 in in centimeters
Mode
Feet and inches
Feet
5
Inches
9
ResultConverted length: 175.26 cm
In meters: 1.7526 m
Conversion factor: 1 ft = 30.48 cm, 1 in = 2.54 cm
5 ft × 12 + 9 in = 69 in
69 in × 2.54 = 175.26 cm
5 feet is 60 inches; adding 9 gives 69 inches, and 69 × 2.54 is 175.26 centimeters.
One mile in kilometers
Mode
Unit to unit
Length
1
From
Miles (mi)
To
Kilometers (km)
ResultConverted length: 1.609344 km
In meters: 1,609.344 m
Conversion factor: 1 mi = 1.609344 km
1 mi = 1609.344 m
1609.344 m = 1.609344 km
A mile is 5,280 feet of 0.3048 meters each, which is exactly 1,609.344 meters.
How it is calculated
result = value × (size of From unit in meters ÷ size of To unit in meters)
value
the length you enter
size in meters
the exact length of one unit, such as 0.0254 for an inch or 1,609.344 for a mile
Every unit is stored by its exact size in meters, taken from NIST tables. The converter multiplies your value by the From size to get meters, then divides by the To size. In Feet and inches mode it multiplies the feet by 12, adds the inches and multiplies the total by 2.54, because one inch is exactly 2.54 centimeters. Results show up to ten significant digits.