Unit converters for everyday and technical work
Recipes in cups, room sizes in square feet, file sizes in mebibytes, CSS in rem: units get in the way constantly. These unit converters handle the common physical quantities as well as the units developers and designers use daily, with exact conversion factors and clear results.
Physical quantities
- Distance and size – the length converter covers metric, imperial and nautical units; the area converter and volume converter handle square and cubic units, liters and US and imperial gallons.
- Mass – the weight converter switches between kilograms, pounds, ounces and stones.
- Temperature – the temperature converter handles Celsius, Fahrenheit and Kelvin, which need formulas rather than simple factors.
- Motion and time – the speed converter and time converter.
- Science and engineering – energy, power, pressure, force, density, frequency, angle, electric current, fuel economy and astronomical distances.
Units for developers and designers
- Data sizes – the bytes converter distinguishes decimal units (1 KB = 1,000 bytes) from binary units (1 KiB = 1,024 bytes).
- CSS units – px to rem, rem to px, px to em and em to px, based on the root or parent font size.
- Print – inches to pixels and pixels to inches at the DPI you choose.
Common pitfalls
- US vs imperial – a US gallon is about 3.785 liters, an imperial gallon about 4.546 liters; US and UK fluid ounces and pints differ too.
- Weight vs mass – kilograms and pounds are units of mass; in everyday use "weight" means the same thing.
- Storage sizes – a "500 GB" drive shows as about 465 GiB in operating systems that count in binary units.
- Temperature differences – a change of 10 °C is a change of 18 °F, but 10 °C is 50 °F.
- CSS rem – rem depends on the root font size, usually 16px, but users can change it for accessibility, which is exactly why rem is preferred for text.
Metric and imperial at a glance
Most of the world uses the metric system, while the United States uses customary units for everyday measures, and the UK mixes both (miles on road signs, liters at the pump). Science, medicine and engineering use SI units almost everywhere. When sharing measurements internationally, giving both values avoids misunderstandings.
Precision
Conversion factors are exact where definitions are exact (an inch is exactly 2.54 cm, a pound exactly 0.45359237 kg). Results are rounded for display; copy more decimals when you need them for engineering work. All conversions happen in your browser.