ToolActToolAct

Length Unit Converter

Online length unit conversion tool - convert between km, m, cm, mm, miles, feet, inches and more

What is Length Unit Conversion?

A length unit converter quickly transforms one length measurement into another. It supports 16 common length units including metric (kilometer, meter, centimeter, millimeter), imperial (mile, yard, foot, inch), and Chinese traditional units (li, zhang, chi, cun). Whether for engineering measurements, scientific calculations, or everyday size conversions, this tool provides precise results instantly. All calculations happen locally in your browser, keeping your data private and secure. Length conversion is used constantly in daily life, engineering, education, travel, construction, and product specifications. Meters, kilometers, centimeters, millimeters, inches, feet, yards, and miles have fixed relationships, but rounding and precision depend on the task. A tiny difference may not matter for a rough travel estimate, yet it can matter for furniture, shipping dimensions, machining, maps, or scientific data. The converter gives quick results, while formal specifications should state the unit, precision, and rounding rule explicitly.

How to Use

How to use

  1. Enter the value you want to convert in the input field
  2. Select the source unit (From) and target unit (To)
  3. Click the "Convert" button or view the real-time result
  4. Click "Related Conversions" to see other unit combinations

Precision Notes

  • Keep enough decimal places when converting between very small and very large units; early rounding can change the final value.
  • For drawings, manufacturing, or construction, record the source unit and required tolerance with the converted result.

Use Cases

Switching between metric and imperial units in design and constructionEngineers regularly read drawings that mix millimeters and inches, especially on imported parts or retrofit jobs. The converter keeps a single source value while letting you flip between mm, cm, m, km, in, ft, yd, and mi. Use it to sanity-check a labeled dimension against the drawing's stated tolerance before placing a stock order, and to confirm that a 1/4-20 tapped hole sits where the model says it should.
Cross-checking nautical and statute mile values on charts and signsMarine charts use nautical miles and knots, while road signs use statute miles or kilometers and a hiking app may report kilometers while the trail guide lists feet of elevation gain. The nautical mile is exactly 1852 m while the statute mile is 1609.344 m, a roughly 15 percent gap that matters for waypoint timing, fuel planning, and ETA calculations on longer routes.
Pairing traditional Chinese and historical length units with modern SI valuesProperty deeds, martial arts manuals, and older engineering references describe lengths in li, zhang, chi, and cun, where one chi is roughly one third of a meter. Pairing those values with modern SI units avoids guesswork. The surveyor's chain at 66 ft and the rod at 16.5 ft also still appear on older US plats, so converting them to meters is the cleanest way to overlay a classic survey on a current map.
Working with astronomical and microscopic scales in a single toolAstronomers use light-years and parsecs interchangeably, with one parsec equaling about 3.26 light-years, and both dwarf every terrestrial unit. At the other extreme, semiconductor and biology work crosses nanometer and micrometer boundaries throughout the day. The converter handles both ranges without manual scientific notation, so the same workflow used to read a wafer spec also reads a stellar distance catalog.
Standardizing mixed-unit columns for spreadsheets and reportsBefore pasting a column of mixed-unit values into a sheet, run each entry through the converter with the same target unit so downstream formulas do not silently mix inches and millimeters. This also keeps the sheet portable: a colleague working in feet gets the same numbers as one working in meters. Keep an eye on rounding when the column mixes a light-year with a parsec, because the unit choice can change which decimal place is meaningful.

Technical Principle

Every length conversion in the tool collapses to a single multiplication by an exact rational factor relative to the SI metre. Since 2019 the metre has been defined by fixing the speed of light at c = 299,792,458 m/s, so 1 m is the distance light travels in vacuum during 1/299,792,458 of a second. Every other supported unit is then anchored to the metre by an exact conversion: 1 in = 0.0254 m (international yard and pound agreement, 1959), 1 ft = 12 in = 0.3048 m, 1 yd = 3 ft = 0.9144 m, 1 mi = 1,609.344 m, and 1 nmi = 1,852 m exactly (International Hydrographic Organization). Metric prefixes are decimal powers of ten over the metre: km = 10^3, dm = 10^-1, cm = 10^-2, mm = 10^-3, μm = 10^-6, nm = 10^-9. Chinese 市制 units follow GB 3102.1-1993: 1 里 = 500 m, 1 丈 = 10/3 m, 1 尺 = 1/3 m, 1 寸 = 1/30 m. Astronomical scales tie back to the same SI base: 1 AU = 149,597,870,700 m exactly (IAU 2012 redefinition), 1 light-year ≈ 9.4607 × 10^15 m, and 1 parsec ≈ 3.0857 × 10^16 m. The arithmetic is trivial; the trap is floating-point precision. IEEE 754 doubles carry roughly 15-17 significant decimal digits, so multiplying by 1/0.3048 introduces a sub-femtometre rounding error that does not matter for plumbing but starts to matter when crossing nanometres to light-years in the same calculation. For engineering output the result should be rounded to the tolerance the source drawing actually carries, not to the full double-precision string.

  • SI base: 1 m is defined by fixing c = 299,792,458 m/s; every other supported unit is anchored to the metre by an exact conversion factor.
  • Imperial exact factors (1959 agreement): 1 in = 0.0254 m, 1 ft = 0.3048 m, 1 yd = 0.9144 m, 1 mi = 1,609.344 m.
  • Nautical mile: 1 nmi = 1,852 m exactly (IHO), about 15% longer than a statute mile; matters for waypoint timing and fuel planning.
  • Chinese 市制 (GB 3102): 1 里 = 500 m, 1 丈 = 10/3 m, 1 尺 = 1/3 m, 1 寸 = 1/30 m, so 3 chi exactly equal 1 metre by definition.
  • Astronomical anchors: 1 AU = 149,597,870,700 m exactly (IAU 2012), 1 ly ≈ 9.4607 × 10^15 m, 1 pc ≈ 3.0857 × 10^16 m ≈ 3.26 ly.
  • Precision: IEEE 754 doubles hold 15-17 significant digits, so crossing nm and ly in one chain can drop the last decimal places; round to the source tolerance, not the full double.

Examples

Kilometers to meters

Input:  1 km
Output: 1,000 m = 100,000 cm = 1,000,000 mm
Use:    quick metric scaling, mapping distances

Feet and inches to metric (imperial bridge)

1 ft = 30.48 cm; 1 in = 2.54 cm = 25.4 mm
Example: 6 ft = 1.8288 m (average human height)
Use: product spec sheets, international collaboration

Kilometers to miles and yards

1 km = 0.6214 mile = 1,093.6 yd
Example: 5 km ≈ 3.107 mi (typical 5K run)
Use: converting between metric odometers and imperial dashboards

Marathon distance (running reference)

42.195 km = 26.219 mi = 138,435 ft
Reference: a 400 m track ≈ 1,312.3 ft; a marathon is about 105.5 laps

Sports court and room sizes

Basketball court (FIBA): 28 m x 15 m = 91.86 ft x 49.21 ft
Standard doorway: 80 cm wide ≈ 31.5 in
Use: shipping container dimensions, gym layout planning

Nautical vs. statute mile

1 nmi = 1,852 m exactly (used for air and sea navigation)
1 statute mile = 1,609.344 m (used on roads in the US/UK)
1 nmi ≈ 1.151 mi

FAQ

Which length units are supported?

Metric: mm, cm, m, km. Imperial/US: inch, foot, yard, mile. Nautical: nautical mile (1.852 km). Special: ångström (10^-10 m), light-year, parsec, astronomical unit. Chinese traditional: 寸/尺/丈/里 (with the modern conversion: 1 尺 = 1/3 m).

How accurate are imperial conversions?

1 inch = 25.4 mm exactly (since the international yard and pound agreement of 1959). 1 foot = 0.3048 m exactly. 1 mile = 1.609344 km exactly. The 'survey foot' used in some US land records is slightly different (1200/3937 m); the page uses the international foot unless explicitly noted.

Why does my measurement differ from another converter by a tiny amount?

Most likely you are seeing a different number of significant digits or a different definition. The page carries 10+ significant digits internally. Differences greater than ~1 part in 10^9 usually mean different unit definitions (international vs survey foot, statute vs nautical mile).

What's the difference between a statute mile and a nautical mile?

Statute mile = 5280 ft = 1.609 km, used on land. Nautical mile = 1852 m exactly, used in maritime and aviation contexts because it equals one minute of latitude. Speed in knots = nautical miles per hour.

How big is one Chinese 里 (li)?

Modern 里 = 500 m exactly. Historical 里 varied widely by dynasty (300-600 m); a Han-dynasty 里 was about 416 m, a Tang 里 about 530 m. The page uses the modern PRC value.

What is a parsec?

1 parsec ≈ 3.0857 × 10^16 m ≈ 3.262 light-years. It is the distance at which 1 AU subtends a parallax angle of 1 arcsecond. The nearest star, Proxima Centauri, is about 1.30 parsec away. Used in astronomy to avoid scientific-notation distances.

Is the conversion done locally?

Yes. Math runs in your browser. No values are uploaded.