How do I convert between units?
A unit converter turns a value from one unit to another. This unit converter covers length, mass, temperature, volume, area, speed, time, digital storage, energy, pressure, power and angle, and shows every unit at once, in your browser.
Metric and imperial units, and the many units inside each family, make everyday conversions error-prone. Enter a value in one unit and the tool shows it in every other unit of the same kind at once, so you can read off the one you need.
Categories include length, mass, temperature, volume, area, speed, time, digital storage, energy, pressure, power and angle. Conversions use exact definitions, such as the international yard and pound, US customary volumes, and both SI (1000) and IEC (1024) prefixes for data.
Temperature is converted with offsets rather than a simple multiplier, and the US and UK gallons differ, so check which one you mean. Large and small numbers are shown with enough precision, and the calculation runs in your browser.
Page updated .
How to use the Unit Converter
- Choose the category, such as length or temperature.
- Enter a value and pick its unit.
- Read the other units, and copy the one you need.
Examples
5 miles
8.04672 kilometres
100 °C
212 °F
1 GiB
1,073,741,824 bytes
Tips
- For data, check whether you need MB (1,000,000 bytes) or MiB (1,048,576 bytes).
- Check US versus UK gallons and pints before converting volumes.
- Round only at the end of a multi-step calculation.
Specs & limits
- Categories
- Length, mass, temperature, volume, area, speed, time, digital storage, energy, pressure, power, angle
- Factors
- Exact definitions
- Data prefixes
- SI and IEC
- Display
- All units at once
- Processing
- In your browser
Troubleshooting
›Result looks off for volume
Cause: US and UK units differ.
Fix: Pick the right system.
›Very small number shows as 0
Cause: Display rounding.
Fix: Use scientific notation where available.
›Temperature wrong
Cause: Treated as a multiplier.
Fix: Use the temperature category.
Frequently asked questions
›How do I convert Celsius to Fahrenheit?
Multiply by 9/5 and add 32. So 20 °C is 68 °F.
›What is the difference between MB and MiB?
MB is 1,000,000 bytes (SI); MiB is 1,048,576 bytes (IEC).
›How many centimetres are in an inch?
Exactly 2.54.
›Are US and UK gallons the same?
No. A US gallon is about 3.785 litres; a UK gallon is about 4.546 litres.
›How accurate are the conversions?
They use exact defined factors, limited only by floating-point precision.
›Is anything uploaded?
No. It runs in your browser.