Length units, metric and imperial
Length measures the distance between two points — a table edge, a road, a running route. This converter switches between eleven units: the metric ladder (mm, cm, dm, m, km), the imperial family (inch, foot, yard, mile), plus two specialists: the nautical mile (1,852 m, used at sea and in aviation) and the Swedish mil (exactly 10 km).
The two systems work differently. Metric units jump by tens: 10 mm = 1 cm, 100 cm = 1 m, 1,000 m = 1 km. Imperial units use older numbers: 12 inches = 1 foot, 3 feet = 1 yard, 1,760 yards = 1 mile. The exact bridge between the systems: 1 inch = 2.54 cm.
How to use the length converter
- Pick the From unit and the To unit in the dropdown lists.
- Type the value you want to convert.
- The result appears instantly — no Convert button needed.
- Press the swap arrow to flip the direction, for example km → cm becomes cm → km.
Convert by hand with exact factors
The converter multiplies by a fixed factor for you, but the same math is easy to do manually. Multiply when going to a smaller unit, divide when going to a larger one.
cm = feet × 30.48 + inches × 2.54 miles = km ÷ 1.609344Example 1: height in feet and inches to centimeters
A height of 5 feet 8 inches mixes two units, so convert each part. Feet: 5 × 30.48 = 152.4 cm. Inches: 8 × 2.54 = 20.32 cm. Add them: 152.4 + 20.32 = 172.72 cm.
5 ft 8 in = 172.72 cm
Example 2: a 5 km race in miles
One mile is exactly 1.609344 km, so divide by that factor: 5 ÷ 1.609344 = 3.107 miles. Race round it to 3.1 miles, which is why a 5K is often called a 3.1-miler.
5 km ≈ 3.11 miles
Quick reference table
| Unit | Equals |
|---|---|
| 1 inch | 2.54 cm (exact) |
| 1 foot | 12 inches = 30.48 cm |
| 1 yard | 3 feet = 0.9144 m |
| 1 mile | 1,760 yards = 1.609344 km |
| 1 nautical mile | 1,852 m |
| 1 Swedish mil | 10 km |
| 1 kilometer | 1,000 m = 100,000 cm |