Distance Converter

Convert lengths between metres, kilometres, miles, feet and more. Choose the input and output units, then convert a number directly in your browser.

Input: High-precision numberResult: High-precision number

Text input

Tool options
The unit of the number you enter. For example, choose Miles (mi) for a distance measured in miles.
The unit you want in the result. The result contains a number without a unit suffix.

Examples

A marathon in kilometres

Input

42195

Expected answer

42.195
Input units
Metres (m)
Output units
Kilometers (km)
A nautical mile in metres

Input

1

Expected answer

1852
Input units
Nautical miles
Output units
Metres (m)
A six-foot height in inches

Input

6

Expected answer

72
Input units
Feet (ft)
Output units
Inches (in)
A screen width from inches to centimetres

Input

24

Expected answer

60.96
Input units
Inches (in)
Output units
Centimetres (cm)
A 100-metre sprint in millimetres

Input

100

Expected answer

100000
Input units
Metres (m)
Output units
Millimetres (mm)

How to convert a distance

Enter one number, choose its input unit and the output unit, then run the converter. Use a decimal point, without a thousands separator or unit suffix: enter 1.5, not 1,500 or 1.5 km. The default converts metres to kilometres.

Example: miles to kilometres

Choose miles as the input unit and kilometres as the output unit. An input of 1 gives 1.609344. For the reverse conversion, swap the two units. The calculation uses decimal arithmetic; recurring decimals may be rounded.

Unit definitions and approximate comparisons

One inch is 0.0254 m and one mile is 1609.344 m. Vehicle lengths, sports fields and Earth–Moon distances are fixed comparisons, not measurements. The inherited Chef maritime definitions use 1.853184 m per fathom, 185.3184 m per cable and 1853.184 m per nautical mile; these differ from the modern international definitions. For an international nautical mile, convert 1852 metres instead.

Parameters

ParameterDefault valueInput and choices
Input unitsMetres (m)The unit of the number you enter. For example, choose Miles (mi) for a distance measured in miles.
26 Available choices
  • Nanometres (nm)
  • Micrometres (µm)
  • Millimetres (mm)
  • Centimetres (cm)
  • Metres (m)
  • Kilometres (km)
  • Thousandths of an inch (th)
  • Inches (in)
  • Feet (ft)
  • Yards (yd)
  • Chains (ch)
  • Furlongs (fur)
  • Miles (mi)
  • Leagues (lea)
  • Fathoms (Chef definition)
  • Cables (Chef definition)
  • Nautical miles (Chef definition)
  • Car lengths (4 m)
  • Bus lengths (8.4 m)
  • American football fields (91 m)
  • Football pitches (105 m)
  • Earth–Moon distances
  • Earth equatorial circumferences
  • Astronomical units (au)
  • Light-years (ly)
  • Parsecs (pc)
Output unitsKilometres (km)The unit you want in the result. The result contains a number without a unit suffix.
26 Available choices
  • Nanometres (nm)
  • Micrometres (µm)
  • Millimetres (mm)
  • Centimetres (cm)
  • Metres (m)
  • Kilometres (km)
  • Thousandths of an inch (th)
  • Inches (in)
  • Feet (ft)
  • Yards (yd)
  • Chains (ch)
  • Furlongs (fur)
  • Miles (mi)
  • Leagues (lea)
  • Fathoms (Chef definition)
  • Cables (Chef definition)
  • Nautical miles (Chef definition)
  • Car lengths (4 m)
  • Bus lengths (8.4 m)
  • American football fields (91 m)
  • Football pitches (105 m)
  • Earth–Moon distances
  • Earth equatorial circumferences
  • Astronomical units (au)
  • Light-years (ly)
  • Parsecs (pc)

Related tools

Browse utils tools