Length is the most-converted physical quantity, and the units span an enormous range — from nanometres in chip design to astronomical units in space science. This reference lets you enter a value in any one unit and instantly read it in every other, using exact conversion factors rather than rounded constants.
How it works
Every unit is stored as an exact number of metres per unit, so the metre acts as a common base. Converting from one unit to another is two steps:
metres = value × metresPerUnit[from]
result = metres ÷ metresPerUnit[to]
Because all units route through the same metre base, there is no error from chaining conversions. The imperial units use their exact legal definitions — 1 inch = 0.0254 m, 1 foot = 0.3048 m, 1 mile = 1609.344 m — and the nautical mile is exactly 1852 m. The astronomical unit is the IAU-defined 149,597,870,700 m.
Tips and example
- To convert 5 miles to kilometres:
5 × 1609.344 = 8046.72 m = 8.04672 km. - The inch-to-centimetre factor is exact and worth memorizing:
1 in = 2.54 cm, so1 ft = 30.48 cm. - Use nautical miles, not statute miles, for marine and aviation distances — one nautical mile equals one minute of latitude.
Values far above or below the metre scale appear in scientific notation (for example a nanometre as 1e-9 m) so the numbers remain easy to read.