Conversion

Length conversion

m, ft, in, mi, km.

01Inputs
02Results
03How it works

Why this calculation

Length conversion is the most basic and the most quietly important arithmetic on the planet. It sits behind the moment a recipe says 30 cm and you need to know how many feet that is. It sits behind the moment a U.S. customer reads a European shoe size or a furniture description in millimeters. It sits behind every mistake the Mars Climate Orbiter made when one team computed in newtons and another in pound-force — that same mismatch happens daily, just on smaller stakes. Most of the world (96 % of countries) uses the metric system. Three holdouts — the United States, Liberia, and Myanmar — still rely on the imperial or U.S. customary system for everyday measurements. Even within metric or imperial systems, conversions between meters and millimeters or between yards and inches are routine. This calculator does in one click what otherwise requires opening a search tab or trusting your memory for a conversion factor that you'll forget within a week.

The formula

Length conversion is multiplication by a fixed ratio. The standard ratios all reduce to relationships against the meter, defined since 1983 as the distance light travels in vacuum during 1 / 299,792,458 of a second:

  • 1 inch = 0.0254 m exactly
  • 1 foot = 0.3048 m exactly (12 inches)
  • 1 yard = 0.9144 m exactly (3 feet)
  • 1 mile = 1,609.344 m exactly (5,280 feet)
  • 1 nautical mile = 1,852 m exactly
  • 1 cm = 0.01 m
  • 1 mm = 0.001 m
  • 1 km = 1,000 m

These are exact ratios — the international yard-and-pound agreement of 1959 fixed the inch at 0.0254 m by definition. The formula is therefore:

value in target unit = value in source unit × (source-to-meter ratio) / (target-to-meter ratio)

To convert 5 ft to cm: 5 × 0.3048 / 0.01 = 152.4 cm.

How to use it

The panel offers a source unit dropdown, a value field, and a target unit dropdown. Enter the value, pick the units, and the conversion appears instantly. The supported units are: millimeters, centimeters, meters, kilometers, inches, feet, yards, miles, and nautical miles. The results panel also shows the inverse conversion (so you don't get lost on which direction multiplied versus divided) and the conversion factor used. For multi-step conversions (e.g. inches to kilometers), the calculator chains through meters internally and only displays the final result.

Worked example

A European bookshelf is listed as 180 cm tall, 80 cm wide, and 30 cm deep. Will it fit in a 6-foot-tall American closet that is 32 inches wide? Convert 180 cm → feet: 180 × 0.01 / 0.3048 ≈ 5.91 ft. The shelf is 5 feet 11 inches tall, fitting under the 6 ft (72 in) closet height with about 1 inch of clearance. Convert 80 cm → inches: 80 × 0.01 / 0.0254 ≈ 31.5 in. The shelf is roughly 31½ inches wide; the closet is 32 inches. Tight but workable. The 30 cm depth, at about 11.8 inches, gives no constraint here. Without the conversion, the choice between buying or skipping that shelf comes down to a guess; with it, the question is settled in seconds.

Common pitfalls

First, mixing up area and length conversions. One square meter is 10.76 square feet, not 3.28 (which is the linear meter-to-foot factor). Squaring the linear ratio gives the area ratio. Second, forgetting that the U.S. statute mile and the U.K. statute mile are the same since 1959, but the U.S. survey mile still used in some land surveying differs by about 3 mm per mile — usually irrelevant, occasionally decisive in legal land descriptions. Third, conflating the nautical mile (used at sea and in aviation) with the statute mile. The nautical mile is 1,852 m, the statute mile 1,609.344 m — about 15 % longer. Fourth, mishandling the foot-and-inch hybrid. "5 ft 11 in" is not 5.11 ft; it is 5 + 11/12 ≈ 5.917 ft. Fifth, dropping or adding a zero on metric conversions. 1 km = 1,000 m, not 100; 1 m = 100 cm, not 10. The metric system is decimal, but the powers of ten still need to be tracked.

Variations & context

Outside the meter-based and foot-based systems, several niche units survive in specific industries. The fathom (6 feet) is still used in maritime depth charts. The furlong (220 yards) survives in horse racing. The rod (5.5 yards) appears in some U.S. land deeds. The chain (66 feet) and link are used by surveyors. The smoot (a Massachusetts Institute of Technology joke unit, 5 feet 7 inches) is officially marked on the Harvard Bridge in Boston. In space, the astronomical unit (about 150 million km, the Earth-Sun distance), the light-year (the distance light travels in a vacuum in one Julian year, about 9.46 trillion km), and the parsec (about 3.26 light-years) take over as more practical scales. None of these are in the everyday calculator because for almost any practical task — cooking, construction, travel, shopping — meters, feet, and miles in their decimal multiples cover everything you need.

Related calculators