SpunkArt
Data, text and encoding

Converting units with exact factors

Many everyday units are defined in terms of metric ones, exactly. An inch is 2.54 centimetres, not roughly 2.54. Once you know the handful of exact factors and one simple chaining method, you can convert almost anything by hand and check any converter’s answer.

Convert a value

The exact factors worth knowing

Since the international yard and pound agreement of 1959, the inch, foot, yard, mile and pound have been defined from metric units. These values are exact, so any rounding is your choice, not the definition’s.

UnitExact valueDerived from
1 inch2.54 cmDefinition
1 foot30.48 cm12 inches
1 yard0.9144 m3 feet
1 mile1,609.344 m5,280 feet
1 pound0.45359237 kgDefinition
1 ounce (avoirdupois)28.349523125 g1/16 pound
1 US gallon3.785411784 L231 cubic inches
1 US fluid ounce29.5735295625 mL1/128 US gallon
1 imperial gallon4.54609 LDefinition

Rough versions such as “a kilogram is 2.2 pounds” are fine in a shop. For engineering, recipes scaled up many times, or anything that gets multiplied again, use the exact factor and round only at the end.

The factor-chain method

Write the value, then multiply by fractions that each equal 1, arranged so the unwanted units cancel. This is called dimensional analysis, and it stops you from multiplying when you should divide.

Example: 60 miles per hour in kilometres per hour.

60 mi/h × (1,609.344 m ÷ 1 mi) × (1 km ÷ 1,000 m) = 96.56064 km/h exactly.

Example: 150 pounds in kilograms. 150 × 0.45359237 = 68.0388555 kg, or 68.04 kg rounded to two decimals.

Example: 10 km in miles. 10,000 m ÷ 1,609.344 m = 6.2137 miles (rounded to four decimals). This direction never ends neatly, because the factor is exact only one way round.

For area and volume, the factor is raised to the same power. One square foot is 0.3048² = 0.09290304 m², not 0.3048 m².

Temperature is different

Celsius and Fahrenheit have different zero points, so a single multiplier does not work. You must add or subtract as well:

°F = °C × 9/5 + 32
°C = (°F − 32) × 5/9
K = °C + 273.15
  • 100 °C = 100 × 1.8 + 32 = 212 °F
  • 350 °F = (350 − 32) × 5/9 = 176.67 °C (rounded to two decimals)
  • −40 is the one temperature where both scales agree.

A temperature difference converts without the offset: a rise of 10 °C is a rise of 18 °F.

Volume traps: US and imperial

The US gallon (3.785411784 L) and the imperial gallon (4.54609 L) differ by about 20%, and the US and imperial fluid ounces differ too. Recipes and fuel figures from different countries are not interchangeable. In US kitchen measures, 1 cup = 8 fl oz = 16 tablespoons = 48 teaspoons. Note that a mass ounce and a fluid ounce measure different things.

Data sizes: GB versus GiB

Storage makers use decimal prefixes: 1 GB = 1,000,000,000 bytes. Many operating systems count in binary units, where 1 GiB = 1,073,741,824 bytes (230). That is why a “1 TB” drive appears as about 931 GiB: 1012 ÷ 230 = 931.32. Nothing is missing; the units differ.

Questions

How precise is the converter?

It uses the exact factors above and shows 10 significant figures, which hides the tiny binary rounding every computer makes. Round further to suit your task.

Why is there no US cup in metric as 250 mL?

Some countries use a metric cup of 250 mL. The US customary cup is 236.5882365 mL. The tool uses the US customary cup, so check which one a recipe means.