Length Converter
MeasurementFree online length converter. Instantly convert between millimetres, centimetres, metres, kilometres, inches, feet, yards, miles, and nautical miles.
Reviewed by the thecalcu.com team · Last updated June 19, 2026
| Millimetres (mm) | 1000000 |
| Centimetres (cm) | 100000 |
| Metres (m) | 1000 |
| Kilometres (km) | 1 |
| Inches (in) | 39370.079 |
| Feet (ft) | 3280.8399 |
| Yards (yd) | 1093.6133 |
| Miles (mi) | 0.62137119 |
| Nautical Miles | 0.5399568 |
What is a Length?
A length converter translates a measurement from one unit of distance into its exact equivalent in another. Length is the one measurement almost everyone has to convert at some point, road distances in kilometres versus miles, a person's height in centimetres versus feet-and-inches, fabric or lumber measured in metres versus yards, because the metric and imperial systems coexist globally rather than one having fully replaced the other.
This converter covers the full range most people need: millimetres, centimetres, metres, and kilometres on the metric side; inches, feet, yards, and miles on the imperial/US side; plus nautical miles for maritime and aviation use. Every conversion is bidirectional and updates as you type, with no button to press.
All length conversions share one property that makes them simpler than most unit families: they're linear. There's a single multiplication by a fixed factor relative to a common base (the metre), no offsets, no branching formula like temperature requires. If your project also involves mass or weight, the Weight & Mass Converter uses the same straightforward approach.
Why Use a Length Converter?
Length conversions look trivial until you're doing several of them under time pressure, and that's exactly when a wrong multiply-versus-divide slip happens. The kilometre-to-mile factor (0.621371) is easy to invert by accident, and getting it backwards doesn't give you a slightly-off answer, it gives you a number that's off by roughly a factor of 2.6, which is obvious in hindsight but not always obvious mid-calculation.
A few places this comes up regularly: reading a speed limit or distance sign in an unfamiliar country, checking a height or body measurement recorded in the "wrong" system for a form, comparing a race distance (a 10K versus a 10-mile route) when planning training, or cross-checking a construction or shipping spec written in a different unit than your own drawings use. In each case, the cost of a manual error is higher than the ten seconds it takes to let the converter do it.
Formula & Methodology
Every length conversion runs through a shared base unit, the metre, using a two-step formula: Result = (Input × F_from) ÷ F_to Where F_from and F_to are each unit's conversion factor to metres (its "toBase" value): - mm = 0.001 - cm = 0.01 - m = 1 (base) - km = 1,000 - in = 0.0254 - ft = 0.3048 - yd = 0.9144 - mi = 1,609.344 - nmi = 1,852 Worked example, the marathon distance, 42.195 km, converted to miles: Result = (42.195 × 1,000) ÷ 1,609.344 = 42,195 ÷ 1,609.344 ≈ 26.219 miles That matches the IAAF-defined marathon distance exactly, which is a good sanity check that the formula is doing what it should. All the factors above are exact by international definition, the inch has been fixed at precisely 25.4 mm since 1959, and the nautical mile at exactly 1,852 m by the International Hydrographic Organization. Nothing here is rounded or approximated.
What Insights Does the Length Converter Give You?
The converted value is shown to up to eight significant figures, which matters more than it sounds, a rough mental conversion of "1 km ≈ 0.62 miles" is fine for a quick estimate, but the actual figure (0.621371) is what you want feeding into anything downstream, like fuel calculations or pace splits.
The reference table shows all nine supported units at once for your current input, which beats converting one pair at a time when you need to cross-check a measurement against several systems simultaneously, a 25 mm bolt is also 2.5 cm, 0.9843 in, and 0.0820 ft, all visible together.
The swap control flips the From and To units instantly without re-entering the value, useful when you receive a number in an unfamiliar unit and want to see it in the one you actually think in.
How to use this Length calculator
Choose your From unit from the left dropdown, units are grouped as Metric, Imperial/US, and Nautical, and the default opens on Kilometres.
Type your value into the left input. Decimals and large numbers both work fine, and the To field updates as you type.
Choose your To unit on the right, Miles is the default, but any of the nine units is selectable.
Enter a number in the To field instead, if that's easier, the conversion runs both directions, so typing 100 miles fills in the kilometre equivalent automatically.
Use the swap button between the two panels to reverse the direction in one click while keeping your current value.
Check the reference table underneath for the full breakdown across all nine units, with the active unit highlighted and numbers shown in monospace for easy comparison.
Quick Reference
Common conversions at a glance:
| From | To | Multiply by |
|---|---|---|
| km | mi | × 0.621371 |
| mi | km | × 1.609344 |
| cm | in | ÷ 2.54 |
| ft | m | × 0.3048 |
| in | cm | × 2.54 |
Related conversions you might also need: the Feet & Inches to Centimetres Converter for height specifically, or the Speed Converter if you're working with distance-per-time units rather than distance alone.
Frequently Asked Questions