ConvertXHub

About ConvertXHub

ConvertXHub is a free unit converter for everyday and technical measurements: length, weight, temperature, volume, area, time, data storage and speed. We built it to be fast, to work without sign-ups, and above all to give the same answer a careful engineer would get with a calculator and the official definition in front of them.

How conversions are calculated

Every category has one base unit — the meter for length, the kilogram for mass, the cubic meter for volume, the kelvin for temperature. Each unit knows how to turn a value into that base unit and back, so any conversion is two steps rather than a chain of rounded factors. Where a unit has a legal definition we use it as written: an inch is exactly 0.0254 meters, a pound is exactly 0.45359237 kilograms and a US gallon is exactly 231 cubic inches. Temperature scales, which have offsets as well as different degree sizes, are converted with their defining formulas.

Results are shown to eight significant digits, which is more precision than almost any real measurement carries. The full-precision value is used internally, so swapping a conversion back and forth does not drift.

Where the values come from

Definitions follow the published standards: the BIPM SI Brochure for SI units and prefixes, NIST Special Publication 811 and NIST Handbook 44 for US customary units, the CODATA 2018 recommended values for physical constants, the International Astronomical Union for astronomical units, and the International Standard Atmosphere (ISA) for speed-of-sound values. Historical and regional units, such as biblical or Spanish colonial measures, never had a single exact value; for those we use commonly cited reference values, and results should be read as approximate.

How we check accuracy

Automated tests pin the exact definitions — for example that a US gallon is exactly 3.785411784 liters and that 100 °C is 212 °F — so a change that breaks a definition makes the tests fail instead of slipping through. When someone reports a mistake, the value is checked against its source and corrected.

Choices worth knowing about

  • Kilobyte, megabyte, kilobit and megabit are binary (multiples of 1,024), as Windows displays them. Decimal versions (multiples of 1,000, as used by drive makers and internet providers) are listed separately with "(10^n bytes)" or "(10^n bits)" in their names.
  • A year is the Julian year of 365.25 days, the convention used in astronomy; leap, tropical and sidereal years are listed as separate units.
  • Mach is the speed of sound at sea level in the International Standard Atmosphere, 340.294 m/s. The real speed of sound falls with altitude, so Mach numbers for aircraft at cruising height use a lower value.

Learn more

Our conversion guides explain the conversions people most often get wrong, from cooking cups to internet speeds.

Found an error?

We take accuracy reports seriously. If a value looks wrong, a unit is missing or a page is unclear, please contact us with the page address and what you expected to see.