Unit Converter

Pick a category, enter a value, get the result instantly.

=

Quick reference

FAQ

How precise are the results?

Conversions use standard exact or internationally agreed factors and are rounded to 8 significant digits.

Converting a value

  1. Choose a category: length, weight, volume, area, speed, data or temperature. The two unit menus refill with the units for that category.
  2. Type a number in the left box. Decimals and negative numbers are accepted, and the right box shows the answer as you type.
  3. Pick the starting unit in the left menu and the target unit in the right one. Press Swap to reverse the direction without retyping.

Length opens on miles to kilometres, since that is a very common request. Other categories start with their first two units. The output box is read-only, so select its text to copy it.

How the maths works

For every category except temperature, each unit is stored as a factor relative to one base unit: metres for length, kilograms for weight, litres for volume, square metres for area, metres per second for speed and bytes for data. The converter multiplies your value by the starting unit's factor to reach the base, then divides by the target unit's factor. So 5 miles becomes 5 × 1609.344 = 8046.72 metres, and dividing by 1000 gives 8.04672 km.

Temperature cannot use a single multiplier because Celsius, Fahrenheit and Kelvin have different zero points. The page converts to Celsius first (Fahrenheit minus 32, times 5/9; Kelvin minus 273.15) and then to the target (Celsius times 9/5 plus 32; or plus 273.15). For example 100 °F becomes 37.777778 °C and 0 °C becomes 273.15 K.

Results are rounded to 8 significant digits, with trailing zeros dropped. Very large or very small answers may appear in exponent form, such as 1e-7.

Worked examples

Decimal versus binary data units

The data category lists both families. KB, MB, GB and TB use powers of 1000, matching how drive makers and network speeds are quoted. KiB, MiB, GiB and TiB use powers of 1024, matching how memory is addressed and how some operating systems show file sizes. 1 GB is 1,000,000,000 bytes while 1 GiB is 1,073,741,824 bytes, a gap of about 7 percent that widens at the terabyte scale: 1 TB is only about 0.909 TiB. If two tools disagree about a file size, check which family each one uses.

Common uses

Tips and limits

More questions

Why does my answer show fewer digits than I expected?

The tool keeps eight significant digits and removes trailing zeros. 8.0467200 is shown as 8.04672, and it is the same number with no information lost.

Why does converting a value there and back not return exactly the original?

Computers store decimals in binary, so tiny rounding differences can occur. Rounding to eight significant digits hides almost all of them, but a last digit may occasionally differ.

Is a US gallon the same as a UK gallon?

No. The US gallon is 3.785411784 litres and the UK (imperial) gallon is 4.54609 litres. Select the one named in your source.