What this calculates
Enter a length in millimetres, centimetres, metres, kilometres, inches, feet, yards or miles, and this shows it in all eight at once, with each conversion worked through. It also places the length on a scale running from a tenth of a millimetre to ten thousand kilometres, so an inch and a mile can be read against each other.
Every figure comes from exact definitions — nothing is converted with a rounded shortcut factor.
The formula
Every conversion goes through metres: into metres with one unit's size, then out again with another's.
Into metres
metres = length × metres in one unitOut of metres
length = metres ÷ metres in one unitThe metric units are powers of ten: a kilometre is 1,000 m, a metre is 100 cm or 1,000 mm. The imperial units are exact too, and each one builds on the last.
The inch
1 in = 2.54 cm = 0.0254 mThe foot
1 ft = 12 in = 12 × 0.0254 = 0.3048 mThe yard
1 yd = 3 ft = 3 × 0.3048 = 0.9144 mThe mile
1 mi = 1,760 yd = 1,760 × 0.9144 = 1,609.344 mBecause every factor is exact, a conversion is exact until it is rounded for display — and the calculator rounds each result once, from the exact figure.
Worked example
Not every conversion comes out exact. 100 m is 100 ÷ 0.3048 = 328.084 ft and 109.3613 yd, each shown to seven significant figures, because a metre is not a whole number of feet.
Going the other way is exact again. 6 ft is 6 × 0.3048 = 1.8288 m, which is also 72 in and 2 yd — multiplying by an exact factor gives an exact answer.
When to use it, and the mistakes to avoid
Use it when a plan, a product listing or a set of instructions gives a length in a unit you do not think in, when checking a height or a room size, and when a distance is quoted in kilometres and you think in miles, or the other way round.
The mistakes that cost the most:
- Using the 2.54 the wrong way round. An inch is 2.54 cm, so inches to centimetres multiplies and centimetres to inches divides. 10 in is 25.4 cm; dividing by 2.54 instead gives 3.937008 — which is 10 centimetres in inches, the conversion run backwards.
- Reading feet and inches as a decimal. 5′8″ means 5 feet and 8 inches, which is 68 in or 172.72 cm. It is not 5.8 ft: 5.8 ft is 69.6 in, or 176.784 cm. Convert the feet to inches and add the inches before doing anything else.
- Treating kilometres and miles as the same. A mile is about 1.6 km — exactly 1.609344 — so they are far apart. A 10 km route is 6.213712 mi, and 10 miles is 16.09344 km. The quick "times 1.6" rule gives 16 km for 10 miles: close for a rough sense of distance, but not an answer.
- Expecting every digit of every result. Results are shown to seven significant figures — 1 km is 0.6213712 mi — which is more precision than any tape measure gives. A length far too small for a unit, such as 0.0000000001 mm in miles, reads as 0, and a note under the result says so rather than leaving a silent zero.
- Entering a negative length. A length cannot be less than zero, so the calculator refuses one with a message instead of converting it.
FAQ
How do I convert centimetres to inches?
Divide by 2.54, because an inch is exactly 2.54 cm. So 30 cm is 11.81102 in, and going the other way 12 in is 30.48 cm. Choose centimetres above and every other unit comes back at once, with the working shown.
How do I convert feet to metres?
Multiply by 0.3048, the exact length of a foot in metres. So 6 ft is 6 × 0.3048 = 1.8288 m. To go from metres to feet, divide by 0.3048 instead: 100 m is 328.084 ft.
How do I convert kilometres to miles?
Divide by 1.609344, the exact number of kilometres in a mile. So 5 km is 3.106856 mi and 10 km is 6.213712 mi. From miles to kilometres, multiply instead: 1 mi is 1.609344 km.
How do I convert a height in feet and inches to centimetres?
Turn it into inches first: 5 ft 8 in is 5 × 12 + 8 = 68 in, which is 172.72 cm. Do not enter it as 5.8 ft — that is 69.6 in, a different height. Enter 68 with inches selected and the calculator does the rest.
How many feet are in a mile?
Exactly 5,280. A mile is 1,760 yards, a yard is 3 feet and a foot is 12 inches, so a mile is also 1,760 yd and 63,360 in. All of it follows from the inch being exactly 2.54 cm, which makes a mile exactly 1,609.344 m.
Why does a result show so many decimals, or 0?
Every figure is shown to seven significant figures, so a very small length in a large unit needs a long run of zeros: 1 mm is 0.0000006213712 mi. Past fifteen decimals nothing is left to show, and the figure reads 0 — when that happens, a note under the result says which units it affects.