Unit converter

Length, weight, temperature and data storage — enter one value and instantly see the result in every unit.

Conversion result

Why unit conversion is not just multiplication

Most conversions are a single factor, but the ones that matter in practice are not:

ConversionWhy it is special
TemperatureScales are offset, not just scaled: °F = °C × 9/5 + 32 and K = °C + 273.15
Fuel economyMiles per gallon and litres per 100 km are inversely related, so the relationship is a curve, not a factor
Data storageTwo competing systems — 1024-based and 1000-based — give different answers for "GB"
Pressure and energyMultiple historical units with overlapping names in different industries

The two meanings of "gigabyte"

A gibibyte (GiB) is 1024³ bytes and a gigabyte (GB) is 1000³ bytes — about 7% smaller. Operating systems have historically displayed powers of 1024 while labelling them "GB", and drive manufacturers use powers of 1000, which is a substantial part of the difference you see between a drive's advertised capacity and the figure the OS reports. When precision matters, state which convention you mean.

Floating-point precision

Conversions chain multiplications and divisions on decimal factors, and binary floating point cannot represent most decimals exactly. Rounding at the end of a chain is essential; rounding at every step accumulates error. A further trap is that comparing two converted values for equality is unreliable — compare within a tolerance instead.

Metric is decimal, imperial is not

Related tools

Base converter BMI calculator Unix timestamp

FAQ

Why is temperature conversion special?

Celsius, Fahrenheit and Kelvin are not simple multiples of each other: °F = °C × 9/5 + 32, K = °C + 273.15. The tool applies the formulas automatically.

What radix is used for data storage?

The 1024-based (binary) system is used: 1 KiB = 1024 B, 1 MiB = 1024 KiB, 1 GiB = 1024 MiB and 1 TiB = 1024 GiB — which is why this page labels the units KiB / MiB / GiB / TiB rather than the SI KB / MB / GB / TB. Drive manufacturers usually label capacity in powers of 1000, so their GB figures are smaller than the values computed here.

Is my data uploaded?

No. All conversions run entirely in your browser and nothing is sent anywhere.