Length Converter
Convert between millimeters, centimeters, meters, kilometers, inches, feet, yards, and miles - enter a value and choose your From and To units.
Last updated August 25, 2026
Examples
1 meter to centimeters
- Value:
- 1
- From Unit:
- Meters (m)
- To Unit:
- Centimeters (cm)
1 meter equals 100 centimeters.
1 kilometer to miles
- Value:
- 1
- From Unit:
- Kilometers (km)
- To Unit:
- Miles (mi)
1 kilometer equals approximately 0.6214 miles.
12 inches to feet
- Value:
- 12
- From Unit:
- Inches (in)
- To Unit:
- Feet (ft)
12 inches equals 1 foot.
5 meters to meters (same unit)
- Value:
- 5
- From Unit:
- Meters (m)
- To Unit:
- Meters (m)
Converting a value to its own unit returns the original value unchanged: 5 meters.
FAQ
How does this length converter work?
It converts your value through meters as a single canonical base unit: your value is first converted to meters using the From unit's exact conversion factor, then that meters value is converted into the To unit using its own exact factor. This two-step approach avoids the accumulated rounding error a direct unit-to-unit table can introduce as more units are added.
What is the difference between metric and imperial length units?
Metric units (millimeters, centimeters, meters, kilometers) scale by powers of ten and are the standard in science and most countries. Imperial units (inches, feet, yards, miles) use traditional, non-decimal ratios (12 inches per foot, 3 feet per yard, 5,280 feet per mile) and remain in everyday use in the United States. This calculator converts freely between both systems.
Why does this calculator use meters as the base unit?
The meter is the SI (International System of Units) base unit of length, and every unit this calculator supports - metric or imperial - has an exact, internationally defined conversion factor to meters. Routing every conversion through one common base unit keeps the calculation simple and exact, rather than needing a separate formula for every possible pair of units.
Does this calculator support decimal values?
Yes. Enter any decimal value (e.g. 2.5) and it converts normally. Results are shown to 4 decimal places by default; a very small result that would otherwise round to 0 is shown with additional decimal places instead, so a genuinely nonzero result is never displayed misleadingly as zero.
Does this calculator accept negative values?
No. A length cannot be negative, so the calculator rejects a negative value rather than returning a meaningless negative result. Zero is accepted, since a length of zero is valid.
Related Calculators
Long Multiplication Calculator
Numbers & ArithmeticMultiply two numbers with the standard long multiplication method - see every partial product, carry, and place-value shift for whole numbers and decimals.
System of Equations Solver
Algebra & EquationsEnter six coefficients to solve two linear equations for x and y using Cramer's Rule - see the determinant, Dx, Dy, and a verified answer at every step.
Fraction Calculator
FractionsAdd, subtract, multiply, divide, and simplify fractions, or convert between a fraction and a decimal - every result reduced to lowest terms, steps shown.