Length Converter

Convert between metric and imperial length units with exact factors.

What does this calculator do?

This converter handles all common length units — millimetres, centimetres, metres, kilometres, inches, feet, yards and miles — in any combination, using the exact international definitions.

Formula

Every unit is first normalised to metres, then converted to the target unit:

result = value × factor(from → m) ÷ factor(to → m)

How to use it

Enter a length, pick the unit you have and the unit you want. Use the swap button to reverse the direction instantly.

Worked example

100 cm to inches: 100 × 0.01 = 1 m, and 1 ÷ 0.0254 ≈ 39.37 in.

Formula version1.0.0
Formularesult = value × factor(from → m) ÷ factor(to → m)
Precision4 decimals

Frequently asked questions

Are the factors exact?

Yes — the inch is defined as exactly 25.4 mm, the foot as 0.3048 m and the mile as 1,609.344 m. Only the final rounding (4 decimals) is approximate.

How do I convert feet and inches together (e.g. 5 ft 8 in)?

Convert the feet part and the inches part separately and add them, or use 1 ft = 12 in to express everything in inches first.

Which units are metric and which are imperial?

mm, cm, m and km are metric; inches, feet, yards and miles are imperial/US customary.

Sources

Related calculators

Last updated: 2026-07-28 · v1.0.0 · Report an error