Skip to main content

Unit Converter

Convert length, weight, temperature, volume, area, speed, time and data size. Exact definitions, a table of every unit, free and private.

Result

  • Result2.54
  • In words1 inch (in) = 2.54 centimetre (cm)
The value in every length unit
millimetre (mm)25.4
centimetre (cm)2.54
metre (m)0.0254
kilometre (km)0.000025
inch (in)1
foot (ft)0.083333
yard (yd)0.027778
mile (mi)0.000016
nautical mile (nmi)0.000014

Shortcuts: Ctrl+Enter run · Ctrl+Shift+C copy result · / search (use ⌘ on Mac)

Next steps

Done here? Use the Send to… menu on the result to carry it on to Percentage Calculator or Number Byte Formatter.

Free Online Unit Converter

Change a measurement from one unit to another: centimetres to inches, pounds to kilograms, Celsius to Fahrenheit and more. Pick a type, type a number and see it in every unit at once. Convert between units of length, weight, temperature, volume, area, speed, time and data size. It uses the exact legal definitions and shows the answer in every unit of the group.

How to convert a unit

Choose a type (such as length), type your number, then pick the unit you have and the unit you want. Use the swap button to turn the conversion around. The table underneath shows the same value in every unit of that type.

What it can convert

Length, mass (weight), temperature, volume, area, speed, time and data size. The decimals box sets how many digits are shown after the point.

Common mistakes

  • Mixing up US and UK gallons or cups: they are different sizes.
  • Using 1,000 where a computer uses 1,024 for memory: KB and KiB are not the same.

Frequently asked questions

How exact are the conversions?
The factors come from exact definitions: 1 inch is 25.4 mm, 1 pound is 0.45359237 kg, 1 US gallon is 3.785411784 litres and 1 mile is 1,609.344 metres. Results are shown to the number of decimals you choose, so raise it if you need more digits.
Why are there two kinds of gigabyte?
A gigabyte (GB) is 1,000 megabytes, the way disks and phone plans are sold. A gibibyte (GiB) is 1,024 mebibytes, the way many operating systems count memory. Both are listed so you can see the difference.
How is temperature converted?
Temperature uses formulas, not a single multiplier. Fahrenheit to Celsius is (F minus 32) times 5/9, and Kelvin is Celsius plus 273.15. Values below absolute zero are refused with a message.
Is a US gallon the same as a UK gallon?
No. A US gallon is 3.785 litres and a UK (imperial) gallon is 4.546 litres. Both are in the volume list and the US ones are marked "US".
How accurate is the conversion?
It uses exact definitions, such as 1 inch = 25.4 mm and 1 pound = 0.45359237 kg, so results are as exact as the numbers shown allow.

Related tools

More Data Generation & Utilities

View all Data Generation & Utilities tools →