Converters / Length Converter

Length Converter

Convert a length between metric and customary units, from millimeters and centimeters to miles and kilometers.

Enter zero or a positive value. Decimal values are supported.

Your answer will appear here.

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.

Keep going