How this unit converter works
A unit converter turns a measurement in one unit into the same quantity in another: centimetres to inches, kilograms to pounds, Celsius to Fahrenheit, litres to gallons. This free metric-to-imperial converter covers ten kinds of measurement — length, weight and mass, temperature, volume, area, speed, time, data size, pressure, and energy. Pick a category, type a number, and the result updates as you type. Nothing leaves your browser until you choose to save a result locally.
Every conversion except temperature goes through a single base unit, so centimetres to miles and miles to centimetres use the same exact factors. Temperature is the exception because Celsius, Fahrenheit, and kelvin are offset scales, not just different sizes of the same degree. Currency is not on this page: money needs a live exchange rate, which is a different calculator.
How to use the unit converter
- Choose what you are converting — length, weight, temperature, and so on. The from and to units reset to that category’s most common pair, such as cm to in or kg to lb.
- Enter the value and pick the two units. The converted amount updates as you type, with the rate in both directions underneath.
- Use the swap control to flip the two units. If a result is already showing, the converted number is written into the input so you can keep going.
- Open Advanced only if you want more or fewer decimal places, or a table of the same value in every unit of that category. Closing it returns the display to 4 decimal places and hides the table; your numbers stay.
What you can convert
Length, area, and speed
Length covers millimetres through nautical miles, including the usual metric–imperial pairs (cm to inches, metres to feet, kilometres to miles). Area is the square of those lengths, plus acres and hectares. Speed is metres per second, km/h, mph, feet per second, and knots.
Weight and mass
Mass runs from milligrams to tonnes, with ounces, pounds, stone, and the US short ton. Cooking and body-weight questions almost always want kg to lb or g to oz.
Temperature
Celsius, Fahrenheit, and kelvin. These are not scaled from a shared zero, so the converter uses the offset formulas below rather than a simple multiply. 0 °C is 32 °F and 273.15 K.
Volume and cooking measures
Litres and millilitres sit next to cubic metres, US cooking spoons and cups, the US gallon, and the UK gallon. Spoons, cups, pints, and quarts on this page are the US customary sizes. The two gallons are different — see below.
Time, data size, pressure, and energy
Time is milliseconds through years. Data size lists both SI units (kB, MB, GB) and binary units (KiB, MiB, GiB). Pressure includes pascals, bar, psi, atmospheres, and mmHg. Energy includes joules, calories, kilocalories, watt-hours, and BTU.
Unit conversion formulas
Non-temperature units convert through one base unit. Temperature uses an offset.
kB vs KiB — SI and binary data units
A kilobyte (kB) on this page is 1,000 bytes, the SI decimal multiple an ISP quotes for a download. A kibibyte (KiB) is 1,024 bytes, the binary multiple operating systems often use for disk size. The same split applies to MB/MiB, GB/GiB, and TB/TiB. Pick the label that matches the number you were given, or the two answers will disagree by about 5% at the kilo- prefix and more at larger prefixes.
US gallon vs UK gallon
The US liquid gallon is 3.785411784 litres. The UK (imperial) gallon is 4.54609 litres — about 20% larger. Cooking cups, pints, and fluid ounces on this converter are US sizes. If a recipe or fuel figure is British, pick the UK gallon explicitly.
Months and years in the time category
A day is 86,400 seconds and a week is 7 days. A month here is the mean Gregorian month (2,629,746 seconds) and a year is the mean Gregorian year (31,556,952 seconds, or 365.2425 days). They are average lengths, not a specific calendar month, so converting 1 month to days will not match February or July. For an exact calendar span, use the date duration calculator.
Worked examples
Example: 10 cm to inches
Length converts through the metre. 10 cm is 0.10 m; an inch is 0.0254 m; so 10 ÷ 2.54 = 3.9370 in at the default 4 decimal places. Swap the units to go the other way: 3.9370 in is 10 cm.
Example: 20 °C to Fahrenheit
20 × 9/5 + 32 = 68 °F. The same temperature in kelvin is 20 + 273.15 = 293.15 K. Room temperature questions almost always want this pair.
Example: 1 GB vs 1 GiB
1 GB is 1,000,000,000 bytes. 1 GiB is 1,073,741,824 bytes. Converting 1 GiB to GB gives about 1.0737 GB. That gap is why a “500 GB” drive can look smaller in an operating system that reports GiB under a GB label.
Things to keep in mind
This converter does not fetch live data and does not convert currency — use the currency converter for money. Cooking volumes are US customary unless you pick the UK gallon. Closing Advanced does not clear the value you typed; it only stops extra precision and the full-unit table from affecting the result. Factors are exact SI and international-yard definitions, not rounded pocket-calculator shortcuts.
Unit converter FAQ
How do I convert metric to imperial, or imperial to metric?
Choose the category (length, weight, volume, and so on), enter the value, and pick a metric unit on one side and an imperial unit on the other. The result and the rate in both directions appear as you type. Swap the units to reverse the conversion.
How do I convert Celsius to Fahrenheit?
Choose Temperature, enter the Celsius value, and set the units to °C and °F. The calculator uses F = C × 9/5 + 32. 20 °C is 68 °F; 0 °C is 32 °F; 100 °C is 212 °F.
What is the difference between kB and KiB, or GB and GiB?
kB, MB, GB, and TB are SI decimal units (1 kB = 1,000 bytes). KiB, MiB, GiB, and TiB are binary units (1 KiB = 1,024 bytes). Use SI for network and download sizes; use binary when an operating system is reporting disk space.
Which gallon does this converter use?
Both. “gal” is the US liquid gallon (3.785411784 L). “gal (UK)” is the imperial gallon (4.54609 L). Cups, pints, and fluid ounces are US sizes.
Why is a month not 30 days?
In the time category, a month is the mean Gregorian month and a year is 365.2425 days, so conversions are average lengths rather than a named calendar month. For the exact number of days between two dates, use the date duration calculator.
Does this unit converter store my numbers?
Completed results can be saved in this browser’s local history so you can reopen them later. They stay on your device and are not sent to our servers or to analytics.