In short
Each conversion goes through the quantity’s SI unit using factors that are exact by definition: an inch is exactly 2.54 cm, a pound exactly 0.45359237 kg and a US gallon exactly 231 cubic inches. Temperature scales have different zero points, so they use formulas, not a single factor. Fuel economy in litres per 100 km is the reciprocal of distance per volume.
How it works
Every unit is defined by how many of the quantity’s SI unit it contains. The calculator converts your value into that SI unit, then into the target unit:
result = value × f_from ÷ f_to
- f_from
- SI units in one source unit
- f_to
- SI units in one target unit
The factors are exact by international agreement. The 1959 yard and pound agreement fixed 1 yard = 0.9144 m and 1 pound = 0.45359237 kg. From those, 1 inch = 2.54 cm, 1 mile = 1.609344 km, and a US gallon, defined as 231 cubic inches, is 3.785411784 L. The imperial gallon is defined directly as 4.54609 L. These are the values in NIST Handbook 44 and NIST Special Publication 811.
Temperature
Celsius and Fahrenheit have different zero points, so converting them needs an offset as well as a scale factor:
°F = °C × 9/5 + 32 °C = (°F − 32) × 5/9 K = °C + 273.15
Data: kilobytes and kibibytes
SI prefixes are powers of 10, so a gigabyte (GB) is 10⁹ bytes. Binary prefixes, standardised by the IEC, are powers of 2: a gibibyte (GiB) is 2³⁰ = 1,073,741,824 bytes. Drive makers use GB. Many operating systems count in GiB but label it “GB”, which is why a new drive looks smaller than advertised.
Fuel economy
Miles per gallon and kilometres per litre measure distance per fuel. Litres per 100 km measures fuel per distance, so it is a reciprocal: L/100 km = 100 ÷ (km/L). A car that doubles its mpg halves its L/100 km. US and imperial mpg differ because the gallons differ by about 20%.
Worked examples
An oven set to 350 °F, in Celsius
Subtract 32, then multiply by 5/9: (350 − 32) × 5/9 = 318 × 5/9 = 176.667 °C. Recipes usually round this to 175 or 180 °C. For a fan (convection) oven, recipes typically suggest a further reduction, so check the recipe.
Why a 1 TB drive shows about 931 GB
The drive holds 1 TB = 10¹² bytes. An operating system that counts in binary units divides by 2³⁰ = 1,073,741,824 bytes per GiB: 10¹² ÷ 2³⁰ = 931.323 GiB. Nothing is missing. The same capacity is measured with a larger unit and then labelled “GB”.
30 miles per US gallon in litres per 100 km
First convert to kilometres per litre: 30 × 1.609344 km ÷ 3.785411784 L = 12.754 km/L. Then take the reciprocal per 100 km: 100 ÷ 12.754 = 7.84 L/100 km. The same 30 mpg on a UK (imperial) figure would be about 9.4 L/100 km, because an imperial gallon is larger.
Using this calculator well
- Check which gallon, pint or ton you mean. A US pint is 473 mL and an imperial pint 568 mL. A US short ton is 2,000 lb and a UK long ton 2,240 lb. Recipes, fuel figures and shipping weights from the UK and the US are not interchangeable.
- Kilocalories are food calories. A food label’s “Calories” or “kcal” are kilocalories (4,184 J each). Choose kilocalories, not calories, when converting nutrition figures to kilojoules.
- Network speeds are in bits, file sizes in bytes. A 100 Mbit/s connection moves at most 12.5 MB of data per second (100 ÷ 8), and less after protocol overhead.
- Keep the precision of your input. The converter shows up to 10 significant digits, but if your measurement was “about 6 ft”, report about 1.8 m, not 1.8288 m.
Frequently asked questions
How many centimetres are in an inch?
Exactly 2.54. Since the 1959 international agreement on the yard and pound, the inch has been defined as 25.4 mm. To convert inches to centimetres, multiply by 2.54. To go from centimetres to inches, divide by 2.54.
How do I convert Fahrenheit to Celsius in my head?
Subtract 30 and halve the result for a rough answer: 70 °F becomes about 20 °C (the exact answer is 21.1 °C). The exact formula is °C = (°F − 32) × 5/9. The two scales meet at −40, where −40 °F equals −40 °C.
Why does my 1 TB hard drive show less space than advertised?
Manufacturers use decimal units: 1 TB is 10¹² bytes. Many operating systems divide by binary units (1 GiB = 2³⁰ bytes) but still write “GB”, so the drive appears as about 931 GB. The storage is all there. Only the unit of measurement differs.
What is the difference between a US gallon and an imperial gallon?
A US gallon is 231 cubic inches, exactly 3.785411784 litres. An imperial gallon, used in the UK, is defined as exactly 4.54609 litres, about 20% larger. This is why UK fuel economy figures in mpg look better than US ones for the same car.
How many pounds are in a kilogram?
About 2.20462. The pound is defined as exactly 0.45359237 kg, so one kilogram is 1 ÷ 0.45359237 = 2.2046226 lb. For quick estimates, multiply kilograms by 2.2. In the UK, body weight is often given in stone, which is 14 pounds.
Sources and methodology
- NIST Guide to the SI (Special Publication 811), Appendix B.8: Factors for Units Listed Alphabetically, National Institute of Standards and Technology, conversion factors used as test references (accessed November 24, 2026)
- The International System of Units (SI Brochure), 9th edition, Bureau International des Poids et Mesures (BIPM), SI base units and decimal prefixes (accessed November 24, 2026)
- Specifications, Tolerances, and Other Technical Requirements for Weighing and Measuring Devices (Handbook 44), Appendix C, National Institute of Standards and Technology, US customary units: 1 yd = 0.9144 m, 1 lb = 0.453 592 37 kg, 1 gal = 231 in³ (accessed November 24, 2026)
- Prefixes for binary multiples, National Institute of Standards and Technology, kibi (2¹⁰), mebi (2²⁰), gibi (2³⁰), tebi (2⁴⁰); IEC 80000-13 (accessed November 24, 2026)
Rounding: Factors are exact definitions, so results are exact apart from binary floating-point rounding. Values are kept to 12 significant digits and shown to 10, switching to scientific notation below 0.000001 or above 10¹⁵.
Review status: formulas verified against the cited sources by automated tests; editorial review pending. Version 1.0.0, content updated November 24, 2026.
Changelog
- 1.0.0 · November 24, 2026: First published.
How we build and test calculators
Embed this calculator on your site
Paste this code into your page. The calculator runs in a frame, with no tracking and no cookies, and links back here for the formula and sources.
<iframe src="https://northcalculator.com/embed/en/unit-converter" title="Unit Converter" width="100%" height="760" style="border:0" loading="lazy"></iframe>