← All blog posts

Length Converter formula — how it actually works

WhiteUI · A plain-English guide to the Length Converter

The Length Converter uses one simple method. It turns your value into metres first, then turns those metres into the unit you asked for. Metres sit in the middle because every unit has a fixed, exact relationship with the metre.

The method, in two steps

First, multiply your value by the number of metres in one of your starting units. Then divide by the number of metres in one of your target units. Written as one line, it looks like this:

Answer = value × (metres in one “from” unit) ÷ (metres in one “to” unit)

The factors the converter uses are exact: 1 kilometre is 1,000 metres, 1 metre is 100 centimetres or 1,000 millimetres, 1 mile is 1,609.344 metres, 1 yard is 0.9144 metres, 1 foot is 0.3048 metres, and 1 inch is 2.54 centimetres exactly. Because the inch is defined as exactly 2.54 centimetres, every conversion between metric and imperial units is exact too — any rounding happens only when the answer is displayed.

Worked example

Convert 10 miles to kilometres. First turn the miles into metres: 10 × 1,609.344 = 16,093.44 metres. Then turn those metres into kilometres: 16,093.44 ÷ 1,000 = 16.09344 kilometres.

10 miles × 1,609.344 = 16,093.44 m
16,093.44 m ÷ 1,000 = 16.09344 km

The same method works the other way. To turn 3 miles into kilometres: 3 × 1,609.344 = 4,828.032 metres, which is 4.82803 kilometres.

At a glance

10 miles → 16.09344 km10 miles→16,093.44 m→16.09 kmStep 1: × 1,609.344 (miles to metres)Step 2: ÷ 1,000 (metres to kilometres)Metres are the middle step
Ten miles becomes 16,093.44 metres first, and those metres become 16.09344 kilometres. Metres are the middle step for every conversion.

The mistake to avoid

Using a rounded factor in the middle of the working. If you use 1 mile ≈ 1.6 kilometres, 10 miles comes out as 16 kilometres — 93.44 metres short of the true 16.09344 kilometres. Keep the full factor while you work, and round only the final answer.

Frequently asked questions

What is the formula the converter uses?

Answer = value × (metres in one “from” unit) ÷ (metres in one “to” unit). Every conversion goes through metres as the middle step.

How many metres is one mile?

1,609.344 metres, exactly. So 10 miles is 16,093.44 metres, or 16.09344 kilometres.

Is one inch exactly 2.54 centimetres?

Yes. The inch is defined as exactly 2.54 centimetres, which is why metric-to-imperial conversions are exact, not approximate.

Why does the converter go through metres?

Because every unit has one fixed factor to metres, so the converter needs only eight factors instead of a separate factor for every pair of units — and every answer stays consistent.

More guides on the Length Converter

Try it yourself

See the formula in action — convert any length between the eight units.

Open the Length Converter