Length Converter
Free length converter: miles to km, feet to metres, inches to cm and more. Exact factors, an all-units table and a visible rounding note, in your browser.
How to use Length Converter
- 1Type or paste a length, for example 5 or 1,250.5.
- 2Pick the From unit and the To unit, or press Swap to reverse them.
- 3Read the result and the factor line, or switch to All units to see the value in every unit.
What makes it better
- Nanometres to light-years, including miles, yards, feet, inches and nautical miles
- Exact factors: 1 in = 25.4 mm, 1 mi = 1,609.344 m, 1 ft = 0.3048 m
- Convert mode for one pair, All units mode for the whole table
- Shows the factor used and says when a value is rounded
About Length Converter
Length Converter turns one length into another and shows the same value in every unit at once, from nanometres to light-years. Imperial and metric units use the international definitions (1 inch = 25.4 mm exactly), so common answers such as 5 miles = 8.04672 km come out exact rather than as long floating-point tails. It is the quick answer to "how many feet in a mile" or "inches to cm".
Common uses
- Check how far a 10 km run is in miles before signing up for a race.
- Convert a room measured in feet and inches into centimetres for a furniture order.
- Work out how many feet are in a mile, or miles in a nautical mile, for a school or sailing question.
- Translate a screen size from inches to centimetres when comparing products.
Example
Input
5
Result
5 mi = 8.04672 km
Good to know
- Inches, feet, yards and miles use the international definitions. US survey units (survey foot and survey mile) differ by about 2 parts per million and are not included.
- The default precision is 10 significant digits. When a result has more digits than that, the line shows ≈ and says how many digits it was rounded to.
- Very large or small results use scientific notation, for example 9.4607e+15 m for a light-year.
Length Converter FAQ
How many feet are in a mile?
There are exactly 5,280 feet in a statute mile, because a mile is 1,609.344 m and a foot is 0.3048 m. Choose mi as the From unit and ft as the To unit to see it, or use All units to see yards, kilometres and metres at the same time.
How do I convert inches to cm?
Multiply the inches by 2.54, because an inch is defined as exactly 25.4 mm. So 10 in is 25.4 cm. Enter the number, set From to inches and To to centimetres, and the result is exact with no rounding.
What is the difference between a mile and a nautical mile?
A statute mile is 1,609.344 m and a nautical mile is 1,852 m, about 15% longer. The nautical mile was tied to one minute of latitude, which is why ships and aircraft use it together with knots.
Why does the result show a ≈ sign?
The tilde-equals sign means the true answer has more digits than the precision you chose, so the shown value is rounded. For example, 1 m is 3.280839895013123… feet. Raise the precision to see more digits.
Can I paste a number with commas or e-notation?
Yes. Thousands separators such as 1,250.5 and e-notation such as 1e3 are understood. A comma used as a decimal mark (1,5) is not, and you will get a friendly message asking for a dot.