All calculators
Other

Length Converter

Convert between metric, imperial and scientific length units.

Choose the right conversion tool

The converters share a common interface, but each uses different units and data.

The length converter changes a value between 14 supported distance and length units, ranging from nanometers to parsecs. Every unit is represented internally by a fixed factor relative to the meter, allowing the same conversion method to work for metric, imperial, nautical and astronomical units.

How it works

Enter a numeric value, choose the source unit and destination unit, then select Convert. The calculator first expresses the entered quantity using the source unit's meter factor and then divides by the destination unit's meter factor. The swap control reverses the selected units without changing the entered value.

The formula

Converted value = entered value × source-unit meter factor ÷ target-unit meter factor

Supported units are nanometer, micrometer, millimeter, centimeter, meter, kilometer, inch, foot, yard, mile, nautical mile, astronomical unit, light year and parsec. Examples of stored factors are 1 cm = 0.01 m, 1 in = 0.0254 m, 1 mi = 1609.344 m and 1 nmi = 1852 m.

Worked example

For 100 centimeters to inches, the calculation is 100 × 0.01 ÷ 0.0254 = 39.37007874 inches. Similarly, 1 nautical mile equals exactly 1.852 kilometers using the factors implemented by the calculator.

The conversion is mathematical and uses the fixed factors implemented by the calculator. When a measurement comes from a physical instrument, its real-world accuracy also depends on the precision and calibration of that measurement.

Frequently asked questions

How many length units are available?

The converter currently exposes 14 units, including small metric units, common imperial units, nautical miles and astronomical distance units.

Why can a result contain many decimal places?

Some unit ratios are not whole numbers. The interface keeps useful precision and may use scientific notation for extremely large or extremely small results.

Can I convert astronomical distances?

Yes. Astronomical units, light years and parsecs are included alongside everyday length units.

Last content reviewAugust 8, 2026
Editorial reviewHe-Sab Editorial Review

Sources and references

These sources are used to verify terminology, formulas, and information related to this calculator.