Which length units you can convert
This calculator converts length only. Type a value in field A, set From and To with unit codes, then press Calculate. Supported codes are metres (m), kilometres (km), centimetres (cm), millimetres (mm), miles (mi), yards (yd), feet (ft) and inches (in).
Every conversion goes through metres as the base unit. For example, one mile is treated as 1609.344 metres and one inch as 0.0254 metres, matching the factors in our conversion library.
| Unit | Code | Metres per unit |
|---|---|---|
| Kilometre | km | 1000 |
| Centimetre | cm | 0.01 |
| Inch | in | 0.0254 |
| Foot | ft | 0.3048 |
What this page does not convert
Weight (kg, lb) and volume (litres, gallons) live in the same maths library but are not wired to this UI. For temperature, use the temperature converter. For file sizes, use data size converter.
Questions
Why does my result have many decimal places?
The tool prints the raw numeric conversion. Round for display if you are quoting a measurement on a form.
Can I convert kg to pounds here?
No. Only the length codes listed above work in the From and To fields on this page.