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.

Free · No sign-up required

Text input

Your result is ready to copy or download after running.

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.

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.

Example

Use “Try example” to load this public sample and its settings, then run it.

Settings used in this example
ParameterExample valueInput and choices
Input unitsMiles (mi)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)

Input

1

Result

1.609344

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)

How to use this page

  1. Paste your input or open a local file.
  2. Adjust tool options if needed, then choose Run tool.
  3. Copy the result or download the original output bytes.

Inputs and results are not added to the public catalogue or saved in the URL. Processing happens in your browser; HTTP Request and DNS over HTTPS send the requests you explicitly run. Files up to 128 MiB can be opened; decompression and image tools may have smaller processing limits. Large results have a shortened preview. Text and HTML downloads use UTF-8; binary downloads preserve output bytes. Pasted text follows browser newline handling; open a file when exact input bytes matter.

Related tools

Browse utils tools