Skip to content
PrivBay

Unit converter for metric, imperial and US measurements

Convert between metric, imperial and US units as you type. Results use exact conversion factors and appear instantly.

What to convert

1 cm = 0.3937007874 in

1 Centimeter = 0.3937007874 Inch

All length units

Select a row to convert to that unit.

10,000,000nm
10,000µm
10mm
1cm
0.01m
0.00001km
0.3937007874in
0.032808399ft
0.010936133yd
0.0000062137mi
0.0000053996nmi

How to convert units

  1. Choose what to convert, such as Length, Weight or Temperature.
  2. Pick the units in the From and To lists. Use Swap units to reverse them.
  3. Type a number in either box. The other box updates as you type.
  4. Check the table below for the same value in every other unit, and select a row to convert to that unit.

Units you can convert

Category Units
Length Nanometer to nautical mile, including inch, foot, yard and mile
Weight Milligram to metric ton, carat, ounce, pound, stone, and US and imperial tons
Temperature Celsius, Fahrenheit and Kelvin
Volume Milliliter, liter and cubic meter; US teaspoons to gallons; UK fluid ounces, pints and gallons; cubic inches and feet
Area Square millimeter to square mile, including hectare and acre
Speed Meters per second, km/h, mph, knots and feet per second
Time Millisecond to year (average month and year)
Data size Bits and bytes, decimal (kB, MB, GB, TB) and binary (KiB, MiB, GiB, TiB)
Pressure Pascal, kilopascal, bar, psi, atmosphere, mmHg, inHg and torr
Energy Joule, kilojoule, calorie, food calorie (kcal), watt-hour, kilowatt-hour, BTU, foot-pound and electronvolt
Power Watt, kilowatt, megawatt, mechanical and metric horsepower, and BTU per hour
Fuel economy Kilometers per liter, liters per 100 km and US and UK mpg
Angle Degree, radian, gradian, arcminute, arcsecond and turn

Common conversions

From To
1 inch 2.54 centimeters
1 foot 30.48 centimeters
1 mile 1.609344 kilometers
1 kilogram about 2.2046 pounds
1 US gallon about 3.7854 liters
100 °F about 37.78 °C
0 °C 32 °F
1 kWh 3.6 megajoules

Converting temperatures

Temperature scales don’t just differ by a factor, they also start at different points, so the converter uses formulas rather than a single number. To go from Celsius to Fahrenheit, multiply by 9/5 and add 32; from Fahrenheit to Celsius, subtract 32 and multiply by 5/9. Kelvin is Celsius plus 273.15. For formulas with powers, roots or trigonometry, use the scientific calculator, and for markup or change calculations, use the percentage calculator.

Use the BMI calculator to calculate adult body mass index from height and weight. For a job measured by surface area, the construction calculator estimates paint, tile and concrete in metric or imperial units.

Convert kg to lb for mass, cm to inches for length or miles to km for distance. To see how the result of a conversion formula changes across input values, plot the formula in the graphing calculator.

Frequently asked questions

How accurate are the conversions?

The tool uses the exact definitions of each unit, such as 1 inch = 2.54 cm and 1 pound = 0.45359237 kg. Results are shown to 10 significant digits, and very large or very small numbers switch to scientific notation.

Why are there US and UK versions of gallons and pints?

They are different sizes. A US gallon is about 3.785 liters and a UK (imperial) gallon is about 4.546 liters. Fluid ounces and pints differ too, so check which one a recipe or label uses.

What's the difference between MB and MiB?

A megabyte (MB) is 1,000,000 bytes and a mebibyte (MiB) is 1,048,576 bytes. Drive makers use MB and GB, while some operating systems show sizes in MiB and GiB, which is why a new drive can look smaller than advertised.

How do I convert miles per gallon to liters per 100 km?

Choose Fuel economy, then pick Miles per gallon (US) and Liters per 100 km. For example, 30 mpg is about 7.84 L/100 km. Higher mpg means lower fuel use, so the numbers move in opposite directions.

Can I share a conversion?

Yes. The page address updates with your units and value, so you can bookmark it or send the link.

Does it work offline?

Yes. Every conversion is calculated in your browser, so it keeps working without an internet connection once the page has loaded.

Last updated November 11, 2026