piapia123
en

Unit Converter (Length, Weight, Temperature, Energy, Pressure, Flow and 23 Categories)

Convert

Everything runs locally in your browser — nothing is uploaded

–
ALL UNITSClick a row to set the target
How each unit is defined

Enter one value and see it in every unit of its category at once, instead of switching dropdowns back and forth, with a swap button for turning the conversion around. Temperature is an affine scale rather than a ratio — 0 °C is 32 °F, not 0 — so it is handled separately instead of being multiplied by a factor. Data storage keeps the 1000-based KB apart from the 1024-based KiB and labels each row, because mixing those two is exactly where “a 1 TB drive shows up as 931 GB” comes from. Conversions use defined values, not approximate factors: an inch is exactly 0.0254 m and a pound exactly 453.59237 g. Some converters pull in a library that uses 3.28084 ft/m — six significant digits — and lose the tail on cross-system conversions: 1 mile shows as 1.60934 km where the exact value is 1.609344 km. Expand “How each unit is defined” below to see the exact factor behind every unit, and which ones are easy to mix up. When a quantity has two definitions, both are listed. That is the point of the categories added in this version — energy, force, torque, frequency, flow, illuminance, voltage, current, charge, concentration, acceleration, density and astronomical distance: BTU comes in IT and thermochemical flavours, a “calorie” is two different things depending on which table you read, gallons are US and UK, and ppm has three readings. These are not rounding differences — the two gallons are 20% apart, and using the wrong one is a whole shipment off. Each row says below it which definition it used and how far the other one is.

Features

  • 26 categories: length, weight, area, volume, temperature, speed, power, pressure, angle and data storage, plus energy, torque, force, frequency, volumetric flow, illuminance, voltage, current, charge, concentration, acceleration, density and astronomical distance, and apparent power, reactive power and reactive energy
  • ⚠️ When a quantity has more than one definition, both are listed: BTU (IT and thermochemical), the calorie (IT and thermochemical — and the one on a food label is a third thing), gallons and gpm (US and UK, 20% apart), pounds per gallon (US and UK)
  • Power keeps mechanical horsepower (hp) apart from metric horsepower (PS) — they differ by about 1.4% and get confused constantly
  • Pressure lists atmospheres, bar, millimetres of mercury, psi and kgf/cm² side by side, each against the pascal
  • Every unit in the category shown at once; click any row to make it the target unit
  • Temperature converted as an affine scale, so sign and offset both stay right (-40 °C = -40 °F included)
  • Data storage separates 1000-based (KB/MB/GB) from 1024-based (KiB/MiB/GiB) units and labels them
  • Includes knots, nautical miles, ounces, stones, US and UK gallons, and other everyday units
  • US survey feet (ft-us) and degrees Rankine (°R) are included, not just their international namesakes
  • Length also gets a combined feet-and-inches row (5′ 11″), handling the carry when inches round up to 12
  • Light-years use the Julian year (365.25 days) — exactly 9,460,730,472,580,800 m; a tropical year would be 0.002% off
  • ppm, ppb and ppt convert as pure fractions, with a note that ppm can be a mass, volume or molar ratio — the three are not equivalent
  • A swap button turns the conversion around without touching either dropdown
  • An expandable “How each unit is defined” table gives the exact factor behind every unit, and flags the ones that are easy to mix up (mechanical vs metric horsepower differ by 1.4%; Mbps is bits, not bytes)
  • Output is trimmed of floating-point noise (0.1 + 0.2 reads as 0.3, not 0.30000000000000004)
  • Temperatures below absolute zero still convert, with a note that they are not physically meaningful

How to use

  1. Pick a category such as length, weight or temperature
  2. Enter a number and choose the source and target units
  3. The table below shows the value in every unit of that category
  4. Click a row to make it the target, or click Copy to take the result

FAQ

Why does a 1 TB drive show up as 931 GB?
Drive makers use powers of 1000 (1 TB = 10^12 bytes) while operating systems report powers of 1024 (1 TiB = 2^40 bytes). The same capacity reads about 7% smaller under the other convention — nothing is missing, two unit systems are being mixed.
Which one is 1024 — KB or KiB?
KiB is 1024 bytes; KB strictly means 1000 bytes. In everyday speech “1K” almost always means 1024, but storage and networking specifications use 1000, so both are listed and labelled rather than guessed at.
Why can’t temperature be converted by multiplying?
Because the scales do not share a zero: 0 °C is 32 °F. Multiplication only works for units with the same zero point, such as length and weight. Temperature needs the zero shifted first and a factor applied after — an affine transform, which is why it is implemented separately here.
Why do some units appear twice — two BTUs, two “calories”?
Because they are two parallel definitions, not two spellings of one thing. The International Table BTU is exactly 1055.0559 J; the thermochemical BTU is 1054.35 J. The calorie splits the same way (4.1868 J and 4.184 J), and the “calorie” on a food label is a third thing again — a kilocalorie, 4184 J. The US and UK gallons differ by 20%, which is where this gets expensive. Where a quantity has two definitions both are listed side by side, each labelled with the one it used, rather than one of them being chosen for you in silence.
Are US and UK gallons the same?
No. A US gallon is about 3.785 litres and a UK gallon about 4.546 litres, a gap of roughly 20%. US and UK fluid ounces, pints and quarts differ too, so both sets are included and the country is named next to each unit.

Related tools