Skip to content
DEVELOGCALC

Length Converter

Convert between inches, feet, yards, miles, millimeters, centimeters, meters, kilometers, and nautical miles.

Try:

Result

Result: 30 cm = 11.811024 in

Result

Formula
in = cm ÷ 2.54

Calculations run in your browser. Your inputs are not sent to our server.

Formula

  • 1 inch = 2.54 cm (exact)
  • 1 foot = 12 in = 0.3048 m
  • 1 yard = 3 ft = 0.9144 m
  • 1 mile = 5,280 ft = 1.609344 km

How it works

Every unit is defined by its exact length in meters. The converter multiplies your value into meters and then divides by the target unit, using decimal arithmetic so results such as 12 in = 30.48 cm come out exact.

Since the 1959 international agreement, the inch has been defined as exactly 25.4 mm. The older US survey foot was retired at the end of 2022, so all US conversions here use the international foot.

Worked examples

Height in centimeters

5 ft 10 in is 70 inches.

Value
70
From
Inches (in)
To
Centimeters (cm)
Result
70 in = 177.8 cm

Race distance

A marathon is 26.2 miles.

Value
26.2
From
Miles (mi)
To
Kilometers (km)
Result
26.2 mi = 42.164813 km

Feet and inches

To convert a height like 5′ 10″, multiply the feet by 12 and add the inches (5 × 12 + 10 = 70 in), then convert inches to centimeters.

Nautical miles

A nautical mile is exactly 1,852 m, based on one minute of latitude. It is used in aviation and shipping along with knots (nautical miles per hour).

Metric prefixes

Metric length units differ by powers of ten: 10 mm = 1 cm, 100 cm = 1 m, and 1,000 m = 1 km. Converting between them only moves the decimal point, which is why engineering drawings usually stay in millimeters.

Quick reference

1 in2.54 cm
2 in5.08 cm
3 in7.62 cm
4 in10.16 cm
5 in12.7 cm
6 in15.24 cm
8 in20.32 cm
10 in25.4 cm
12 in30.48 cm
24 in60.96 cm
36 in91.44 cm
1 ft0.3048 m
2 ft0.6096 m
3 ft0.9144 m
5 ft1.524 m
6 ft1.8288 m
10 ft3.048 m
20 ft6.096 m
50 ft15.24 m
100 ft30.48 m
1 mi1.609344 km
3.1 mi4.988966 km
5 mi8.04672 km
6.2 mi9.977933 km
10 mi16.09344 km
13.1 mi21.082406 km
26.2 mi42.164813 km
50 mi80.4672 km
100 mi160.9344 km

Last reviewed: