📏 Length Converter

Convert between metric and imperial units — millimeters, centimeters, meters, kilometers, inches, feet, yards, miles, and feet+inches. Type in any field and every other one updates instantly.

Try:
170 cm 6 ft marathon (42.195 km) 1 mile 12 in
Metric
Imperial & US
Other
Copied

About the Length Converter

The Length Converter turns any length into every other common unit in one glance. Type in centimeters and see feet, meters, yards, kilometers, and miles update at the same time. There is no "convert" button — every field is both an input and an output, so any change ripples through the rest instantly.

Nothing you type is sent anywhere. All arithmetic runs in your browser, so the page keeps working offline once it loads.

Common uses

  • Height — enter 170 cm to see 5′ 6.9″ (feet + inches).
  • Furniture & TV sizing — a 55″ TV is 139.7 cm on the diagonal.
  • Travel distances — a marathon is 42.195 km / 26.219 miles.
  • Print & design — DIN A4 is 21 cm × 29.7 cm / 8.27″ × 11.69″.
  • Rulers & DIY — quickly go between mm precision and inches with fractions.

Which units are supported?

Metric: millimeter (mm), centimeter (cm), meter (m), kilometer (km).

Imperial & US: inch (in), foot (ft), yard (yd), mile (mi).

Combined: feet + inches (for human height and everyday measurements), plus nautical mile (for aviation, sailing, and maritime distances). One nautical mile is defined as 1852 meters exactly.

Precision

Every unit is rounded to 6 significant digits with trailing zeros stripped — enough for engineering use, without the false precision of ten-decimal floating-point noise. The feet+inches row shows inches to 2 decimals, since anything past that is meaningless when you're using a physical ruler.

Privacy

All conversion runs client-side in JavaScript. Your inputs never leave the browser.

Frequently asked questions

The Feet + inches row has two separate boxes — type the whole feet in the first box and the remaining inches (with decimals) in the second. Either box on its own is fine too (leave inches empty for whole feet, or feet empty for inch-only heights).
All conversion uses the exact SI-defined ratios (1 inch = 25.4 mm exactly, 1 mile = 5280 ft exactly, 1 nautical mile = 1852 m exactly). What you see is rounded to your chosen precision.
Yes — after the first load, the page runs entirely in your browser.
No. Length conversion is arithmetic — no server round-trip is needed and none is made.