MateenLabs No ads · Runs in your browser
Free Calculator

Unit Converter

Convert between metric, imperial and US customary units in ten categories: length, mass, temperature, volume, area, speed, time, digital data, pressure and energy. Type a value, pick the two units and the answer appears as you type, together with the factor or formula used.

Data sizes list decimal units (kB, MB, GB, which use powers of 1000) separately from binary units (KiB, MiB, GiB, which use powers of 1024), so you can see why a "1 TB" drive shows about 931 GiB on a computer. US and UK gallons, pints and fluid ounces are also kept apart.

Free Forever No Login No File Uploads Browser Processing

Convert

Category
Type a value to convert.

Common conversions

FromTo

How the conversions work

Every category has one base unit, such as the metre for length or the byte for data. Each unit stores how many base units it is worth, so a conversion is value × factor of the first unit ÷ factor of the second unit. The factors use the official definitions where they exist: 1 inch is exactly 2.54 cm, 1 pound is exactly 0.45359237 kg and 1 US gallon is exactly 231 cubic inches.

Temperature cannot be converted with a single factor because the scales start at different points. The calculator uses the offset formulas instead, for example °F = °C × 9/5 + 32 and K = °C + 273.15, and shows the formula for the pair you chose.

Results are shown with the number of decimal places you choose. Very large and very small values switch to scientific notation so no digits are lost. A month is taken as the average Gregorian month (30.436875 days) and a year as 365.2425 days, which is stated next to those units.

  • Ten categories: length, mass, temperature, volume, area, speed, time, data, pressure and energy.
  • Live result as you type, with a swap button.
  • Choose 0 to 10 decimal places.
  • The exact factor or temperature formula is shown for every conversion.
  • Decimal (kB, MB) and binary (KiB, MiB) data units listed separately.
  • A table of common conversions for each category, and a copy button.

How to use the Unit Converter

  1. Pick a category, such as Length or Temperature.
  2. Type the value and choose the From and To units.
  3. Read the result, or press Swap to convert the other way.
  4. Change the decimal places if you need more or fewer digits, then press Copy result.

Is it private?

Yes. Every conversion is calculated in your browser. The values you type are not uploaded and not saved.

Read our tools privacy policy →

Frequently asked questions

What is the difference between MB and MiB?

A megabyte (MB) is 1,000,000 bytes, while a mebibyte (MiB) is 1,048,576 bytes (1024 × 1024). Storage makers use MB and GB; many operating systems count in MiB and GiB, which is why a drive looks smaller on your computer.

How do I convert Celsius to Fahrenheit?

Multiply by 9/5 and add 32. For example, 25 °C × 9/5 + 32 = 77 °F. To go back, subtract 32 and multiply by 5/9.

Are US and UK gallons the same?

No. A US gallon is 3.785411784 litres and a UK (imperial) gallon is 4.54609 litres. US and UK pints and fluid ounces also differ, so both are listed.

How accurate are the results?

Conversions use exact definitions where they exist and double-precision arithmetic. Converting a value to another unit and back gives the original number to at least nine significant digits. What you see is rounded to the decimal places you choose.

Why is a month 30.44 days?

Months have 28 to 31 days, so the converter uses the average Gregorian month of 30.436875 days. For exact calendar differences between two dates, use the Date Difference Calculator.

Related tools