# Length converter > How long is that in other units? Convert between metric and imperial lengths, exactly. Free length converter: millimetres, centimetres, metres, kilometres, inches, feet, yards, miles and nautical miles using exact definitions. - Page: https://how.box/length/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/length/?v={v}&from={from}&to={to} - `v` (number -1e15 to 1e15): The length to convert, in the from unit. Example: `1`. Also read as `value`. - `from` (mm, cm, m, km, in, ft, yd, mi or nmi): Unit of v (unit id, e.g. m, km, mi, ft, in). Example: `mi`. - `to` (mm, cm, m, km, in, ft, yd, mi or nmi): Unit to convert to (unit id). Example: `km`. Example answer: https://how.box/length/?v=1&from=mi&to=km A complete link carries the primary answer in the page HTML; a missing or invalid value shows the default page. ## Agent tools - `length_convert`: Converts a length between units using exact definitions (1 in = 0.0254 m, 1 ft = 0.3048 m, 1 yd = 0.9144 m, 1 mi = 1609.344 m, 1 nmi = 1852 m). - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"length_convert","arguments":{"value":1,"from_unit":"mi","to_unit":"km"}}}` - GET: https://how.box/mcp/run/length_convert?value=1&from_unit=mi&to_unit=km ## How it works Every unit is converted through metres using exact definitions: 1 inch is exactly 2.54 cm, 1 foot is 0.3048 m, 1 mile is 1,609.344 m and 1 nautical mile is 1,852 m. For example, 5 ft 10 in is 70 inches, and 70 × 2.54 = 177.8 cm. These definitions come from the International Yard and Pound Agreement of 1959 and the international definition of the nautical mile. Because the factors are exact, the only rounding is in the display: the result keeps two more significant digits than you typed, between four and six, and is marked when it is rounded. So 1 km shows as 0.6214 miles, while the exact value is 0.621371… miles. ## FAQ **Why is an inch exactly 2.54 cm?** Since 1959 the inch has been defined as exactly 25.4 millimetres by international agreement, so conversions between metric and imperial lengths are exact. **What is the difference between a mile and a nautical mile?** A statute mile is 1,609.344 m. A nautical mile, used at sea and in aviation, is 1,852 m — about 1.15 statute miles. **Is the US survey foot supported?** No. The US survey foot (1200/3937 m) was retired at the end of 2022; the international foot (0.3048 m) is used. The two differ by about 3.2 mm per mile, which matters only for old land surveys. **Can I type 5.10 for 5 feet 10 inches?** No, and it is the most common slip: 5.10 ft means 5.1 feet, which is 5 ft 1.2 in or 155.4 cm, not 177.8 cm. Convert the height to inches first (5 × 12 + 10 = 70 in) and convert those. **How do I convert feet and inches to centimetres?** Turn the height into inches first, then multiply by 2.54: 5 ft 10 in is 5 × 12 + 10 = 70 in, and 70 × 2.54 = 177.8 cm. **How many miles is a kilometre?** About 0.621 miles. A 10 km run is 6.2 miles, and a marathon (42.195 km) is 26.2 miles. **How many feet are in a metre?** 3.28084 feet, or 3 ft 3.37 in. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)