Unit Converter

Length Converter

Enter a value in any length unit and instantly see the equivalent in millimeters, meters, kilometers, inches, feet, miles and more.

Meters Inches Feet Miles Kilometers
Conversion Results
Unit Value
-->

About the Length Converter

Length is the measurement most people run into every day — road signs in kilometers or miles, a shelf that needs to fit in inches or centimeters, a shipping label with dimensions in an unfamiliar system. This tool lets you enter a value once and see it converted to every common length unit at the same time — metric, imperial, nautical, and even astronomical — no need to look up a from/to pair.


How to Use This Tool

  1. Enter the length value you want to convert.
  2. Select the unit that value is currently in.
  3. The table updates automatically, showing the equivalent value in every other unit.

Conversion Formula

Every length unit converts through the meter (m), the SI base unit of length. To convert from unit A to unit B:

value_B = value_A × factor_A→m ÷ factor_B→m

All length units are linear multiples of the meter, so every conversion here is straightforward multiplication or division — there's no offset to account for, unlike temperature scales.


Length Unit Conversion Factors (to Meters)

Unit Symbol Value in Meters
Nanometernm1 × 10⁻⁹
Micrometerμm1 × 10⁻⁶
Millimetermm0.001
Centimetercm0.01
Meterm1
Kilometerkm1,000
Mil (thou)mil0.0000254
Inchin0.0254
Footft0.3048
Yardyd0.9144
Milemi1,609.344
Nautical Milenmi1,852
Light-yearly9.4607304725808 × 10¹⁵

Note: inch/foot/yard/mile use the exact international yard-and-pound definition (1959). The nautical mile is defined exactly as 1,852 m. The light-year uses the IAU-adopted Julian-year definition.


Worked Examples

Example 1 — Miles to Kilometers

A road sign shows 5 miles to the next town: 5 × 1.609344 km/mi = 8.05 km.

Example 2 — Inches to Centimeters

A 15-inch laptop screen: 15 × 2.54 cm/in = 38.1 cm.

Example 3 — Millimeters to Mils

A machining tolerance of 0.05 mm: 0.05 mm ÷ 0.0254 mm/mil ≈ 1.97 mil — a common conversion in manufacturing drawings.

Example 4 — Light-years to Kilometers

The nearest star system, Proxima Centauri, is about 4.25 light-years away: 4.25 × 9.4607 × 10¹⁵ m ≈ 4.02 × 10¹³ km.


Frequently Asked Questions

How many centimeters are in an inch?
Exactly 2.54 cm. This is the internationally agreed definition of the inch, so the conversion is exact, not an approximation.
How do I convert miles to kilometers?
Multiply the mile value by 1.609344 to get kilometers. Equivalently, 1 km ≈ 0.621371 miles.
What's the difference between a mile and a nautical mile?
A statute mile (used on land in the US) is 1,609.344 m. A nautical mile, used in aviation and maritime navigation, is 1,852 m — based on one minute of latitude on Earth's surface.
What is a mil, and how is it different from a millimeter?
A mil (or "thou") is one thousandth of an inch — 0.0254 mm. It's commonly used in manufacturing and electronics to specify tight tolerances, and it's easy to confuse with the millimeter because the names sound similar despite being different units.
How many feet are in a meter?
1 meter ≈ 3.28084 feet. Conversely, 1 foot = 0.3048 m exactly.
Is a light-year a unit of time or distance?
Distance. A light-year is the distance light travels in one Julian year (365.25 days) through a vacuum — about 9.46 trillion kilometers. The name refers to the time taken, but the unit itself measures length.
-->