Skip to content
MewixMewix

Unit converter

Swap length values between metric and imperial units. Enter a number, pick from and to, and hit Calculate.

Updated by the Mewix team

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.

UnitCodeMetres per unit
Kilometrekm1000
Centimetrecm0.01
Inchin0.0254
Footft0.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.