Converters / Length Converter
Length Converter
Convert a length between metric and customary units, from millimeters and centimeters to miles and kilometers.
Formula: Convert the source value to meters using its exact factor, then divide by the target unit’s factor to meters.
Conversion method
How length conversions work
Each supported length is converted through meters as the shared base unit. Exact international definitions are used for inches, feet, yards, and miles, so conversions work in either direction without separate formulas.
In practice
Worked examples
Input
5 miles to kilometers
Answer
8.04672 km
Input
100 centimeters to inches
Answer
39.3700787402 in
Good to know
Frequently asked questions
Millimeters, centimeters, meters, kilometers, inches, feet, yards, and miles are supported.
Yes. Use Swap units or select the original unit as the target. The conversion uses the same base-unit factors in either direction.
No. Negative lengths are rejected because length is a non-negative physical measurement.
Keep going