Skip to main content

Unit Converter

Convert between common units across length, weight, area, volume, time, data, and temperature.

Convert to all units in this category
Value Unit

About this tool

Unit Converter converts between common units across 7 categories: length, weight, area, volume, time, data, and temperature. Type a value, pick from / to units, and read the result.

How conversion works

Each unit is anchored to a canonical base value (e.g. meter for length, gram for weight). The math behind the scene is just value × scale-to-base × scale-from-base. Temperature is the only category that’s non-linear (Fahrenheit and Celsius are offset scales), so we model it with explicit affine formulas.

Categories

  • Length: mm, cm, m, km, in, ft, yd, mi, nmi, light-year.
  • Weight: mg, g, kg, t (metric), oz, lb, stone.
  • Area: m², cm², km², ha, in², ft², acre.
  • Volume: ml, l, m³ + US teaspoon / tablespoon / cup / pint / gallon.
  • Time: ms through light-year, plus month (30.4 d) and year (365.25 d).
  • Data size: byte, KB, MB, GB, TB, PB — all in 1024-base, not 1000, to match what every operating system shows you.
  • Temperature: °C, °F, K.

All-units view

Below the input form, the same value is shown in every unit in the active category. Quick for double-checking “is this 16 feet or 4.88 m?”.

Limits and gotchas

  • Data units use 1024-binary (KiB / MiB / GiB in the SI sense), which matches what every OS file manager shows. Marketing MB uses 1000.
  • Year / month averages: 365.25 d / 30.4 d, ignoring leap years and calendar months.
  • Light-year is included for fun (9.46 petameters). Don’t actually need it? Convert to m first.

Privacy

Pure arithmetic, runs in your browser.