CalcHub

Unit Converter

This converts between units across length, weight, volume, temperature, area, speed and data size, updating as you type. Most conversions are a single multiplication by a fixed factor, which is why a converter can cover so many units without much complexity. Temperature is the exception and the interesting case: Celsius and Fahrenheit have different zero points as well as different degree sizes, so converting between them needs both a multiplication and an offset. Get the order wrong and the answer is confidently incorrect. The other place errors hide is in units that share a name but not a size — a US gallon is about 17% smaller than an imperial one, and a US pint is smaller still relative to its British counterpart. Where that ambiguity exists, this converter names the variant explicitly.

How this is calculated

Each category defines a base unit and a factor for every other unit against it. Converting from A to B multiplies by A's factor to reach the base, then divides by B's factor. One inch is 0.0254 metres and one foot is 0.3048, so 12 inches is 0.3048 metres, which is exactly one foot.

Temperature works differently because the scales have different origins. Celsius to Fahrenheit is (°C × 9/5) + 32; Fahrenheit to Celsius is (°F − 32) × 5/9. The subtraction has to come first going one way and the addition last going the other — reversing the order is the classic mistake.

Kelvin shares Celsius's degree size but starts at absolute zero, so K = °C + 273.15 with no multiplication at all.

Units that share a name but not a size

A US liquid gallon is 3.785 litres; an imperial gallon is 4.546 — about 17% larger. This propagates down through quarts, pints and fluid ounces, so a US pint is 473 ml against an imperial 568 ml. Recipes and fuel economy figures crossing the Atlantic are both routinely misread because of it.

The US fluid ounce and the imperial fluid ounce differ too, though only by about 4%, which makes the error small enough to survive undetected in a recipe. Tons are worse: a US short ton is 907 kg, an imperial long ton is 1,016 kg, and a metric tonne is 1,000 kg — three different masses sharing one word.

Data sizes: 1,000 or 1,024?

Storage manufacturers use decimal units, where a gigabyte is 1,000³ bytes. Operating systems have historically used binary units, where the same word meant 1,024³ — about 7.4% more. This is why a 1 TB drive shows as roughly 931 GB once formatted, and why nothing is actually missing.

The IEC introduced separate names to resolve this: kibibyte, mebibyte and gibibyte for the binary powers, leaving kilobyte and megabyte to the decimal ones. Adoption has been partial, so the ambiguity persists in practice and it remains worth checking which convention a figure uses before drawing conclusions from it.

How to use the unit converter

  1. Pick a category. Length, weight, volume, temperature, area, speed or data. The available units change with the category.
  2. Choose your source and target units. Where US and imperial variants both exist, they are listed separately — check you have the right one.
  3. Type the value. The conversion updates as you type, so you can adjust the input and watch the result move.

Last updated: 2026-08-01

Frequently asked questions

Which units are supported?

Length: mm cm m km in ft yd mi. Weight: g kg t oz lb st. Volume: ml L gal qt pt cup fl oz. Area: cm² m² ha km² ft² yd² acre. Speed: km/h m/s mph knot. Temperature: C, F, K.

How do I convert Celsius to Fahrenheit?

Multiply by 9/5 and add 32. Going the other way, subtract 32 first and then multiply by 5/9. The order matters — doing the addition and multiplication in the wrong sequence gives a confidently wrong answer.

Is a US gallon the same as an imperial gallon?

No. A US gallon is 3.785 litres and an imperial gallon is 4.546 — about 17% larger. The difference carries down through quarts, pints and fluid ounces, which is why recipes and fuel economy figures crossing the Atlantic are so often misread.

Why does my 1 TB drive show as 931 GB?

Storage manufacturers count a gigabyte as 1,000³ bytes; operating systems have historically used 1,024³, which is about 7.4% more per unit. Nothing is missing — the two are measuring in different bases. The IEC names gibibyte and tebibyte exist to disambiguate, but adoption is partial.

Related calculators

Advertisement