How to use Unit converter
- Choose a category at the top of the unit converter, such as length, mass, temperature, volume, area, speed, data, time, pressure, energy or power.
- Select the "from" unit and the "to" unit. Only units from the same category are listed, for example kilometers and miles under length.
- Type your value in the input box. Decimals and negative numbers are accepted where they make sense, such as -5 for temperature.
- Read the converted value below it; it refreshes with every keystroke.
- Press the swap button to reverse the two units, or copy the result to paste it elsewhere.
Features
- Eleven categories in one page - length, mass, temperature, volume, area, speed, data, time, pressure, energy and power
- Exact factors where a legal definition exists, such as 1 in = 2.54 cm and 1 lb = 0.45359237 kg
- Temperature in Celsius, Fahrenheit and kelvin with a proper offset formula, not a simple multiplier
- Data units in both decimal (KB, MB, GB) and binary (KiB, MiB, GiB) form
- Speed in km/h, mph, m/s, knots and ft/s; pressure in Pa, kPa, bar, psi, atm and mmHg
- Runs entirely in your browser with no daily limit
Examples
| Input | Result |
|---|---|
| 5 km (length) | 3.107 mi |
| 70 kg (mass) | 154.324 lb |
| 100 °C (temperature) | 212 °F |
| 3 US gallons (volume) | 11.356 L — 1 US gal = 3.785411784 L exactly |
Limitations
- Units can only be converted within one category; length to mass or volume to area is not meaningful and is not offered.
- Temperature inputs below absolute zero (0 K) are rejected with an error message.
- Results are rounded for display to 8 significant digits, so very long decimal expansions are shortened.
Learn more
A general unit converter saves time whenever you work across measurement systems: reading a US recipe with metric scales, comparing a car's consumption in liters per 100 km with miles per gallon, or checking a product spec sheet that lists pressure in psi while your gauge reads bar.
For most categories the method is the same. The value is multiplied by the factor of the source unit to reach a base unit (meter, kilogram, liter, square meter, meter per second, byte, second, pascal, joule or watt) and then divided by the factor of the target unit. That is why adding a new unit only needs one number.
Temperature is the exception. Celsius and kelvin share a step size but differ by 273.15, while Fahrenheit has a different step and a different zero. The tool therefore converts through kelvin using addition and a scale factor.
Frequently asked questions
How accurate is this unit converter?
Length and mass use the exact definitions fixed by the 1959 international yard and pound agreement. Other units use the standard factors published in NIST SP 811, and the display is rounded to 8 significant digits.
How do I convert weight units like kg to pounds or ounces?
Choose the mass category, pick kilograms as the "from" unit and pounds or ounces as the "to" unit, then type the value. For kg to pounds the tool multiplies by 1 / 0.45359237, about 2.2046.
Can I use this unit converter for cooking measurements?
Yes. The volume category has US cups, tablespoons, teaspoons, fluid ounces, pints, quarts and gallons next to milliliters and liters. Note that these are US sizes, not metric cups.
Why is temperature converted differently from length or weight?
Celsius, Fahrenheit and kelvin have different zero points, so you need an offset as well as a scale factor. For example, °F = °C × 9/5 + 32.
What is the difference between MB and MiB?
MB is a decimal megabyte (1,000,000 bytes), while MiB is a binary mebibyte (1,048,576 bytes). Both are available so you can match the unit your operating system or vendor uses.
Sources
- NIST Special Publication 811, Guide for the Use of the International System of Units
- NIST Handbook 44, Appendix C - General tables of units of measurement
Last reviewed: September 29, 2026