The Complete Unit Conversion Reference
Everything about converting between metric and imperial — length, weight, volume, temperature, and digital storage.
A Brief History: Metric vs Imperial
The metric system was born during the French Revolution in the 1790s, designed to replace the chaotic patchwork of local measurement systems across Europe. Its genius lies in simplicity: units scale by powers of 10, and base units are derived from natural constants. A meter was originally defined as one ten-millionth of the distance from the equator to the North Pole.
The imperial system evolved organically from English units over centuries. A foot was literally a foot length, a yard was the distance from King Henry I's nose to his outstretched thumb, and an acre was the amount of land one man could plow in a day. While charming in origin, these units have no systematic relationship to each other — there are 12 inches in a foot, 3 feet in a yard, 1,760 yards in a mile.
Today, only the United States, Myanmar, and Liberia haven't officially adopted the metric system, though metric is used in US science, medicine, and military. In practice, developers and engineers worldwide must handle both systems regularly.
Length Conversions
Length is perhaps the most commonly converted unit type. The key relationships to know:
- 1 inch = 2.54 centimeters (exact, by definition since 1959)
- 1 foot = 30.48 centimeters = 0.3048 meters
- 1 yard = 0.9144 meters
- 1 mile = 1.60934 kilometers
- 1 kilometer = 0.621371 miles
- 1 meter = 3.28084 feet
Handy approximations: a meter is roughly 3 feet 3 inches, a kilometer is about 0.6 miles (multiply km by 0.6 for a quick estimate), and 5 miles is approximately 8 kilometers. For those who remember the Fibonacci sequence, consecutive numbers approximate the mile-to-km conversion: 3 miles ≈ 5 km, 5 miles ≈ 8 km, 8 miles ≈ 13 km.
Weight and Mass Conversions
Technically, weight (force of gravity) and mass (amount of matter) are different physical quantities, but in everyday use they're treated interchangeably:
- 1 ounce (oz) = 28.3495 grams
- 1 pound (lb) = 453.592 grams = 0.453592 kilograms
- 1 kilogram = 2.20462 pounds
- 1 stone = 14 pounds = 6.35 kilograms
- 1 metric ton = 1,000 kilograms = 2,204.62 pounds
Quick mental math: to convert kg to pounds, double the number and add 10%. So 70 kg → 140 + 14 = 154 lbs (actual: 154.3). To go from pounds to kg, halve it and subtract 10%: 180 lbs → 90 - 9 = 81 kg (actual: 81.6).
Volume Conversions
Volume measurements are particularly confusing because the US and UK imperial systems diverge here. A US gallon is smaller than a UK (imperial) gallon:
- 1 US gallon = 3.78541 liters
- 1 UK gallon = 4.54609 liters
- 1 US cup = 236.588 milliliters
- 1 liter = 33.814 US fluid ounces
- 1 US quart = 0.946353 liters
- 1 tablespoon = 14.787 milliliters
A useful anchor: 1 liter is slightly more than 1 US quart. Four liters is a tiny bit more than 1 US gallon. In metric, volume and length connect beautifully: 1 liter = 1,000 cubic centimeters = a cube 10cm on each side.
Temperature Formulas
Temperature conversion can't be done with simple multiplication because the scales have different zero points:
- Celsius to Fahrenheit:
°F = (°C × 9/5) + 32 - Fahrenheit to Celsius:
°C = (°F - 32) × 5/9 - Celsius to Kelvin:
K = °C + 273.15
Key reference points: water freezes at 0°C/32°F, boils at 100°C/212°F. Normal body temperature is 37°C/98.6°F. A comfortable room is about 20–22°C/68–72°F. The two scales cross at -40° (both Celsius and Fahrenheit read -40 at the same temperature).
Area Conversions
Area units are squared length units, so conversion factors are the square of their linear counterparts:
- 1 square foot = 0.0929 square meters
- 1 square meter = 10.7639 square feet
- 1 acre = 4,046.86 square meters = 0.404686 hectares
- 1 hectare = 2.47105 acres = 10,000 square meters
- 1 square mile = 2.59 square kilometers = 640 acres
Speed Conversions
- 1 mph = 1.60934 km/h
- 1 km/h = 0.621371 mph
- 1 knot = 1.852 km/h = 1.15078 mph
- 1 m/s = 3.6 km/h = 2.237 mph
Quick approximation: multiply mph by 1.6 to get km/h, or multiply km/h by 0.6 to get mph. So a 60 mph speed limit is roughly 100 km/h (actual: 96.6).
Digital Storage: Binary vs Decimal
Digital storage has a uniquely confusing situation: the same prefixes (kilo, mega, giga) mean different things depending on context. Historically, computer scientists used "kilobyte" to mean 1,024 bytes (2^10) because binary powers were more natural for hardware. But the SI prefix "kilo" properly means 1,000.
- Decimal (SI): 1 KB = 1,000 bytes, 1 MB = 1,000,000 bytes, 1 GB = 1,000,000,000 bytes
- Binary (IEC): 1 KiB = 1,024 bytes, 1 MiB = 1,048,576 bytes, 1 GiB = 1,073,741,824 bytes
Hard drive manufacturers use decimal (making drives appear larger), while operating systems often display binary (making your "1 TB" drive show as ~931 GB). RAM is always measured in binary. The IEC introduced unambiguous prefixes (kibi, mebi, gibi) in 1998, but adoption remains inconsistent across the industry.
Bits vs bytes: network speeds are measured in bits per second (Mbps), while file sizes use bytes. There are 8 bits in 1 byte, so a 100 Mbps connection downloads at roughly 12.5 MB/s in ideal conditions.
Tips for Memorizing Common Conversions
Rather than memorizing dozens of conversion factors, learn a few anchor points and approximate from there. Remember that 1 inch = 2.54 cm exactly, and derive other length conversions from it. Know that 1 kg ≈ 2.2 lbs and work from there. For temperature, memorize a few reference points (0°C, 20°C, 37°C, 100°C) and interpolate.
Create physical intuitions: a liter bottle of water weighs 1 kilogram. A meter is one large step. A centimeter is roughly the width of a pencil. These embodied references make estimation natural and reduce your dependence on exact calculation for everyday purposes.
