Length converter — feet, inches, metres, miles and more

Type a distance, choose the unit it is in and the unit you want, and the converter shows the answer plus the same length in all 13 units it supports.

Live demo · real result from this tool
100 centimetres =39.3700787402 inches

100 centimetres in every unit

UnitValue
kilometres0.001
metres1
centimetres100
millimetres1,000
micrometres1,000,000
nanometres1,000,000,000
miles0.000621371192
yards1.09361329834
feet3.28083989501
inches39.3700787402
nautical miles0.000539956803
astronomical units6.684587e-12
light years1.057001e-16

13 rows — scroll inside the table, or download the CSV.

Processed on your device — nothing is uploaded.

How to use the length converter

  1. Type the distance in Value. Decimals and negative numbers both work.
  2. In From, choose the unit you are starting with, such as feet or kilometres.
  3. In To, choose the unit you need. The answer appears straight away.
  4. Use the swap button between the two lists to reverse the direction.
  5. Scroll the table to see the same length in every other unit at once.

What it does and when to use it

The converter handles 13 length units in four families: metric (kilometres down to nanometres), imperial (miles, yards, feet, inches), nautical miles, and two astronomy units (the astronomical unit and the light year). Typical uses are a person’s height on a form that wants centimetres, a race distance in miles, a screen or timber size in inches, or a homework question about the distance to the Sun.

Working out the space a room covers is a different job: square metres and square feet belong in the area converter. For speeds such as km/h and mph, use the speed converter.

How it works

Every unit is stored as a number of metres. The tool converts your value into metres, then divides by the size of the target unit:

result = value × (metres per “from” unit) ÷ (metres per “to” unit)

The key factors are exact by definition:

Unit Metres
inch 0.0254
foot 0.3048
yard 0.9144
mile 1,609.344
nautical mile 1,852
astronomical unit 149,597,870,700
light year 9,460,730,472,580,800

The light year here is the distance light travels in a Julian year of 365.25 days. The astronomical unit used to be the average Earth–Sun distance and is now a fixed number.

Worked examples

All results below come from the converter itself.

Height. 6 feet = 182.88 centimetres (1.8288 m). Many medical and visa forms ask for height in centimetres, and this is an exact answer because both units are defined from the metre.

Marathon. 42.195 kilometres = 26.2187574565 miles, the familiar “26.2 miles”.

Nautical mile. 1 nautical mile = 1.852 kilometres exactly, which is why a speed of 1 knot equals 1.852 km/h.

Limits and tips

  • Feet-and-inches input is not supported. Enter 5 ft 9 in as 69 inches (5 × 12 + 9), or as 5.75 feet.
  • Tiny and huge numbers switch to scientific notation in the table, for example 1.222477e-11 astronomical units for 6 feet.
  • Parsecs are not included. Professional astronomy tends to use them; 1 parsec is about 3.26 light years.
  • To turn running distances into a pace, try the running pace converter. For body mass and parcel weights, the weight converter uses the same exact 1959 definitions.

Frequently asked questions

How many centimetres are in an inch?
Exactly 2.54. Since 1959 the inch has been defined as 2.54 cm, so a foot is exactly 30.48 cm and a mile exactly 1,609.344 metres. These are definitions, not rounded measurements.
How do I turn decimal feet into feet and inches?
Multiply the decimal part by 12. For example, 175 cm is about 5.74 ft. The 0.74 is part of a foot, and 0.74 × 12 ≈ 8.9 inches, so 175 cm is roughly 5 ft 9 in, not 5 ft 7 in.
Is a nautical mile the same as a mile?
No. A nautical mile is exactly 1,852 m, while an ordinary (statute) mile is 1,609.344 m, so the nautical mile is about 15% longer. Sea and air navigation use nautical miles, and a knot is one nautical mile per hour.
Does it support the US survey foot?
No. It uses the international foot of 0.3048 m. The slightly longer US survey foot was used in some American land records and was officially retired at the end of 2022, so old survey documents may differ in the sixth digit or beyond.
How precise are the results?
Results are shown to 12 significant digits. Because every factor here is an exact definition, any difference you see compared with another tool comes from rounding, not from a different conversion factor.

Written by the ToolsRift team · Last updated

Pages are drafted with AI assistance and checked by automated tests. How we write and check pages.

Was this tool useful?

Report a problem

Start typing to search every tool.

↑ ↓ to moveEnter to openEsc to close