How it works
Every length unit is converted through a common base unit, the meter. First the value is converted to meters, then to the target unit:
result = value × (factorfrom ÷ factorto)
where each unit's factor is its size in meters. The key exact definitions are:
- 1 inch = 0.0254 m (exact)
- 1 foot = 12 inches = 0.3048 m
- 1 yard = 3 feet = 0.9144 m
- 1 mile = 5,280 feet = 1,609.344 m
- 1 nautical mile = 1,852 m (exact)
Worked example
Convert 5 kilometers to miles:
- 5 km in meters = 5 × 1,000 = 5,000 m
- miles = 5,000 ÷ 1,609.344 ≈ 3.1069 mi
And 6 feet to centimeters: 6 × 0.3048 = 1.8288 m = 182.88 cm.