Length Converter

Convert a length into every metric, US customary and nautical unit at once.

Result (— equals) —

Values are shown with 7 significant digits (rounded). Very small values (below 0.000001) and very large values (1015 or more) use scientific notation such as 6.213712e-7. The values copied are shown below the buttons, without commas. When a value is rounded, it is labeled "rounded value".

Length units and definitions

The size of each unit is listed below. The metric units are defined by SI prefixes. The inch, foot, yard and mile are the international units (exactly 0.0254 m per inch). The nautical mile is exactly 1,852 m.

UnitSize of one unitDefinition and source
Metric (SI)
km (kilometer)1,000 mMetric (SI) unit
m (meter)1 mMetric (SI) unit
cm (centimeter)0.01 mMetric (SI) unit
mm (millimeter)0.001 mMetric (SI) unit
μm (micrometer)0.000001 mMetric (SI) unit
US customary, imperial and nautical
inch (in)0.0254 m1/36 of a yard. NIST SP 811
foot (ft)0.3048 m1/3 of a yard (the international foot, not the U.S. survey foot). NIST SP 811
yard (yd)0.9144 m3 feet. NIST SP 811
mile (mi)1,609.344 m1,760 yards (the international mile). NIST SP 811
nautical mile (nmi)1,852 mExactly 1,852 m. NIST SP 811

The calculator first converts your length to meters, then divides by the size of each unit. Calculations use exact fractions, and the only rounding is the one applied when a value is displayed.

Examples

Notes

Sources

The definitions on this page come from the sources below. Some values are the exact values this tool uses (for example, the pound as exactly 0.45359237 kg), and the sources may list them rounded; the notes in the table say which values are used by this tool.

Frequently asked questions

How many kilometers are in a mile?

1 mile is 1.609344 km. It is also 1,609.344 m, 5,280 feet and 1,760 yards.

How many centimeters are in an inch?

2.54 cm (25.4 mm). This is a defined value, so there is no rounding error.

What is the difference between a nautical mile and a mile?

A nautical mile is exactly 1,852 m and a mile is 1,609.344 m. They are different units. Nautical miles are used for sea and air navigation.

How do I convert feet to meters?

Multiply the number of feet by 0.3048 to get meters, or divide meters by 0.3048 to get feet. In this tool, just pick the units.