Unit Converter — Convert length, weight, volume, temperature, speed, data and more.

Choose a category, type a value and get the answer instantly, along with the same value in every other unit of that kind. Twelve categories cover everyday and technical needs, from miles and kilograms to kilowatt-hours, psi, gibibytes and miles per gallon. Everything is calculated in your browser.

Convert a unit Calculated in your browser
Unit converter tool with categories for length, weight, volume and temperature

Convert a measurement

Enter a number to convert.
Result
—

All units

Tap a row to copy that value.

The guide

Unit Converter Guide: Categories, Formulas, and Common Mix-Ups

See what each category covers, how special cases like temperature work, and which units are easy to confuse.

A simple explanation

What is a unit converter?

A unit converter changes a measurement from one unit to another, such as miles to kilometres, litres to gallons or Fahrenheit to Celsius. Each pair of units is related by a fixed factor, or in the case of temperature, a formula.

This one covers eleven kinds of measurement: length, weight, area, volume, speed, temperature, time, data storage, pressure, energy, power and fuel economy. Choose a category, type a value, and see the answer plus the value in every other unit of that kind. For weights with stone and pounds, there is also a dedicated Weight Converter.

Common reasons to convert

Why People Convert Units

Travel and daily life

Convert miles and kilometres, miles per hour and km/h, gallons and litres, or Fahrenheit and Celsius when you are abroad.

Study and work

Check homework, engineering specs, lab figures and spreadsheets that mix metric and imperial or SI units.

Cooking, cars and computers

Switch cups and millilitres, mpg and L/100 km, or gigabytes and gibibytes without a calculator.

What is covered

Units in Each Category

CategoryUnits include
Lengthnanometres to kilometres, inches, feet, yards, miles, nautical miles
Weight and massmicrograms to tonnes, ounces, pounds, stone, tons, carats
Areasquare millimetres to square kilometres, hectares, acres, square feet and miles
Volumemillilitres, litres, cubic metres, US and UK cups, pints, quarts and gallons
Speedm/s, km/h, mph, knots, ft/s
TemperatureCelsius, Fahrenheit, Kelvin, Rankine
Timemicroseconds to years
Data storagebits, bytes, KB, MB, GB, TB, PB and KiB, MiB, GiB, TiB
PressurePa, kPa, bar, atm, psi, mmHg, inHg, Torr
Energy and powerJ, kJ, kcal, Wh, kWh, BTU, W, kW, horsepower
Fuel economykm/L, L/100 km, mpg (US), mpg (UK)
Convert in a few steps

How to Use the Unit Converter

  1. Pick a category with the buttons at the top.
  2. Type the value. Commas for thousands and decimal commas both work.
  3. Choose the From and To units, or press the arrows button to swap them.
  4. Read the answer and the table of every unit in that category. Tap Copy result or any row to copy it.
The maths

Temperature, Fuel Economy and Other Special Cases

°F = °C × 9/5 + 32 °C = (°F − 32) × 5/9 K = °C + 273.15 L/100 km = 235.215 ÷ mpg (US) L/100 km = 282.481 ÷ mpg (UK) 1 mile = 1.609344 km (exact) 1 inch = 25.4 mm (exact) 1 US gallon = 3.785411784 L 1 UK gallon = 4.54609 L

Temperature units do not convert by a single factor because their zero points differ, so the tool uses formulas. Fuel economy is also special: L/100 km goes down when efficiency goes up, so it is converted as the inverse of km/L.

Easy mistakes

Units That Are Easy to Confuse

US and UK gallons

A UK (imperial) gallon is about 20% larger than a US gallon, so mpg figures differ between the two systems. Cups, pints and fluid ounces differ too.

KB and KiB

A kilobyte is 1,000 bytes, but a kibibyte is 1,024. Operating systems and drives often disagree because they use different ones, so a 1 TB drive shows as about 931 GiB.

Calories

Food labels use kilocalories, written Calories or kcal. One kcal is 4,184 joules, and a small calorie (cal) is a thousandth of that.

Months and years

Months and years vary in length. This tool uses the average Gregorian year of 365.2425 days and a month of one twelfth of that.

Better results

Simple Tips for Accurate Conversions

  • Check the unit label twice. Mixing up pints, gallons or tons between US and UK systems is the most common error.
  • Do not round until the last step when you chain several conversions.
  • Use the same number of decimals for results you plan to compare.
  • For safety-critical work such as medication, aviation or engineering, confirm important numbers with an official source.
Good to know

Limitations and Privacy

Privacy

All conversions are calculated in your browser. Your numbers are never sent to our server. Only your last category, units and rounding choice are saved on your device.

Limitations

Results are shown to about 10 significant digits, and very large or small numbers use scientific notation. Currency is not included because exchange rates change daily. Use the Currency Converter for that.

Common questions

Unit Converter FAQ

How do I convert miles to kilometres?

Multiply miles by 1.609344. For example, 26.2 miles × 1.609344 = 42.16 km. Choose Length, then mi in From and km in To.

How do I convert Fahrenheit to Celsius?

Subtract 32 and multiply by 5/9. For example, 98.6 °F gives (98.6 − 32) × 5/9 = 37 °C. The tool does this automatically in the Temperature category.

Why does mpg convert to L/100 km the way it does?

Miles per gallon measures distance per fuel, while L/100 km measures fuel per distance, so they are inverses. 30 mpg (US) is about 7.84 L/100 km, and higher mpg means a lower L/100 km.

What is the difference between a US and a UK gallon?

A US gallon is 3.785 litres and a UK (imperial) gallon is 4.546 litres. The same difference applies to pints, quarts and fluid ounces, so the tool lists both.

Why does my 1 TB drive show less than 1 TB?

Drive makers use 1 TB = 1,000,000,000,000 bytes, while many operating systems report in tebibytes, where 1 TiB = 1,099,511,627,776 bytes. A 1 TB drive is about 0.909 TiB, or 931 GiB.

How accurate are the conversions?

Most factors are exact by international definition, and the rest are accurate to many more digits than are shown. Results display about 10 significant digits, or the decimal places you choose.

Can I convert currency here?

No. Exchange rates change every day, so currency has its own tool. Use the Currency Converter for that.

Is my data stored or sent anywhere?

No. All conversions happen in your browser. Your last category, units and decimal places are remembered on your device.

Can I link to a specific conversion?

Yes. Add ?cat=length&from=mi&to=km&value=26.2 to the page address. Categories are length, mass, area, volume, speed, temp, time, data, pressure, energy, power and fuel.

From people using this tool

Reviews

Loading reviews…
Keep going

More tools in the box

The homepage features dozens more free tools that don't require an API key.

Suggest a tool