Length converter
Convert meters, kilometers, centimeters, inches, feet, yards, miles, and nautical miles.
Browser compute / no account / no upload
Convert a length value between 10 units. Every result is computed through the meter, so the order of conversions does not change the answer.
Method
- All units are stored as exact factors relative to the meter, then combined in a single multiplication and division.
- The nautical mile is 1852 m exactly. The statute mile is 1609.344 m exactly.
- The result keeps the full floating point value until it is formatted for display.
Length units change at every border and every trade. A drawing may be dimensioned in millimeters, a route in miles, a screen in inches, and a sea chart in nautical miles. This converter moves between ten common units using the international definitions, so a value does not drift depending on which pair of units you choose.
What the units measure
The meter is the SI base unit of length. The inch is defined as exactly 0.0254 m, the foot as 12 inches, the yard as 3 feet, and the statute mile as 5280 feet. The nautical mile is exactly 1852 m, a value chosen to approximate one minute of latitude.
How the conversion works
Each unit is stored as a factor relative to the meter. To convert, multiply by the factor of the source unit and divide by the factor of the target unit. Because both factors are exact definitions, a round trip returns the original value within floating point precision.
| Unit | Symbol | Relationship to m |
|---|---|---|
| Meter | m | 1 m = 1 m |
| Kilometer | km | 1 km = 1000 m |
| Centimeter | cm | 1 cm = 0.01 m |
| Millimeter | mm | 1 mm = 0.001 m |
| Micrometer | µm | 1 µm = 0.000001 m |
| Inch | in | 1 in = 0.0254 m |
| Foot | ft | 1 ft = 0.3048 m |
| Yard | yd | 1 yd = 0.9144 m |
| Mile | mi | 1 mi = 1609.344 m |
| Nautical mile | nmi | 1 nmi = 1852 m |
Worked example
Example 1
Meters to feet
Problem
A 100 m running track is measured in feet for a training plan. What is the distance?
Solution
One foot is exactly 0.3048 m.
Divide the length in meters by the foot factor: .
Answer
328.084 ft
Common mistakes
- Using the US survey foot instead of the international foot. The survey foot is 1200/3937 m, about 0.000002 m longer, and appears in older land records.
- Confusing the nautical mile with the statute mile. The nautical mile is 1852 m, while the statute mile is 1609.344 m.
- Rounding a conversion before multiplying by another factor. Keep full precision until the final answer.
- Treating an inch as 2.5 cm. The exact value is 2.54 cm, a 1.6 percent difference that matters over long distances.
Precision and significant figures
The inch, foot, yard, mile, and nautical mile are exact by definition, so the conversion factors have no uncertainty. The measured input limits the precision of the result. Report the answer to the significant figures supported by that measurement, not to the eight digits the calculator can display.
Key takeaways
- Every length value is converted through the meter.
- The result table shows the same quantity in all supported units, so you can check the conversion against a familiar value.
- Exact definitions carry no uncertainty; the measured input determines how many digits are meaningful.