Skip to main content
Calnex LogoCalnex
Conversion

Length Converter

Convert one length or distance value between millimeters, centimeters, meters, kilometers, inches, feet, yards and miles, showing the equivalent in all eight units at once.

M1.00 mView results

Real-time Results

Mm
1,000.00mm
Cm
100.00cm
M
1.00m
Km
0.001km
Inches
39.370079in
Feet
3.28084ft
Yards
1.093613yd
Miles
0.000621mi

How it works

This converter takes one numeric value and a source unit, converts it to meters internally, then reports the equivalent in all eight supported units. Displayed figures are rounded, so very small or very large conversions lose precision in the shown text.

Why do the displayed results not multiply back exactly?

Results are rounded for display: at least two decimal places and at most six. Small values can therefore show as 0.00 or lose trailing digits. The underlying conversion uses the defined factors, but the card text is not a full-precision value.

What happens if the source unit is missing or unrecognized?

The dropdown offers only the eight supported unit keys. If a missing or unrecognized key were supplied programmatically, the engine would fall back to a factor of 1 (treating the input as meters) and no card would be highlighted as the source. Only the eight listed unit keys are supported, so select from the dropdown rather than typing a unit name.

Examples and interpretation(2)

How do I convert 2.5 feet to meters and inches?

Value
2.5
From Unit
Feet (ft)
  1. Enter 2.5 and select Feet (ft).
  2. The engine computes 2.5 × 0.3048 = 0.762 m, then 0.762 / 0.0254 = 30 in.
M
0.762
Inches
30.00

The Meters card shows 0.762 and the Inches card shows 30.00. The meter card keeps three decimals here, so it is not truncated to 0.76.

How do I express 5000 centimeters in kilometers and miles?

Value
5000
From Unit
Centimeters (cm)
  1. Enter 5000 and select Centimeters (cm).
  2. The engine computes 5000 × 0.01 = 50 m, then 50 / 1000 = 0.05 km and 50 / 1609.344 = 0.031069 mi.
Km
0.05
Miles
0.031069

The Kilometers card shows 0.05 and the Miles card shows 0.031069. The mile figure is rounded to six decimals, so it is a display approximation rather than a survey-grade distance.

Inputs

ParameterDefinition & Valid Bounds
From Unit

Millimeters (mm) · Centimeters (cm) · Meters (m) · Kilometers (km) · Inches (in) · Feet (ft) · Yards (yd) · Miles (mi)

Formula

value in meters = value × factor(From Unit); converted = value in meters / factor(Target unit), with factors mm 0.001, cm 0.01, m 1, km 1000, in 0.0254, ft 0.3048, yd 0.9144, mi 1609.344.

How to use

  1. Enter the numeric length in the Value field; the default is 1.
  2. Choose the source unit in From Unit; the default is Meters (m).
  3. Read the eight result cards, which list mm, cm, m, km, in, ft, yd and mi.
  4. The card for your selected source unit is highlighted so you can confirm the input was read as expected.

Frequently asked questions

Does the converter show the result in every unit or only the one I choose?

Every run returns all eight cards: mm, cm, m, km, in, ft, yd and mi. The From Unit selection only sets which input is converted and which card is highlighted.

Can I enter a negative or zero length?

Yes. Zero and negative numbers pass validation and are converted with the same factors, so a negative input produces negative results in every card. Empty or non-numeric input is treated as 0 and converted with the same factors; validation only flags a value that is non-finite after parsing, such as Infinity.

Are US and imperial units treated differently?

No. The converter uses a single set of factors: 1 in = 0.0254 m, 1 ft = 0.3048 m, 1 yd = 0.9144 m and 1 mi = 1609.344 m. There is no separate US survey mile or other variant option.

Definitions and limits

The international inch is exactly 25.4 mm; the international foot is 0.3048 m. These definitions differ from the former US survey foot.

Displayed values are rounded. Calculations use the full stored factors.

Related Conversions

More calculators selected by category and topic.

Back to ConversionAll Calculators