Unit Converter
Convert length, weight, temperature, volume, area, speed, time, data, energy, pressure and power. Exact factors, formulas shown, US and imperial units.
Pick a category, choose the units and type a value. The answer updates as you type, every other unit in the category is listed underneath, and the formula used is shown with the result, so you can repeat the conversion by hand. Factors are exact wherever an exact definition exists. Below are everyday conversions, each with its formula and a quick-reference table.
Centimeters to inches (and inches to cm)
The inch is defined as exactly 2.54 centimeters, so this conversion involves no rounding at all:
cm = inches × 2.54
For example, 30 cm ÷ 2.54 = 11.811 inches, and a 15.6-inch laptop screen measures 15.6 × 2.54 = 39.624 cm diagonally.
| cm | in | in | cm |
|---|---|---|---|
| 1 cm | 0.39 in | 1 in | 2.54 cm |
| 2 cm | 0.79 in | 2 in | 5.08 cm |
| 5 cm | 1.97 in | 3 in | 7.62 cm |
| 10 cm | 3.94 in | 4 in | 10.16 cm |
| 15 cm | 5.91 in | 6 in | 15.24 cm |
| 20 cm | 7.87 in | 8 in | 20.32 cm |
| 25 cm | 9.84 in | 10 in | 25.4 cm |
| 30 cm | 11.81 in | 12 in | 30.48 cm |
| 50 cm | 19.69 in | 24 in | 60.96 cm |
| 100 cm | 39.37 in | 36 in | 91.44 cm |
Meters to feet, and kilometers to miles
A foot is exactly 0.3048 m and a mile is exactly 1,609.344 m (5,280 feet). So feet = meters ÷ 0.3048 (about × 3.28084), and miles = km ÷ 1.609344 (about × 0.621371).
| m | ft | ft | m |
|---|---|---|---|
| 1 m | 3.28 ft | 1 ft | 0.3 m |
| 2 m | 6.56 ft | 3 ft | 0.91 m |
| 5 m | 16.4 ft | 5 ft | 1.52 m |
| 10 m | 32.81 ft | 6 ft | 1.83 m |
| 20 m | 65.62 ft | 10 ft | 3.05 m |
| 50 m | 164.04 ft | 50 ft | 15.24 m |
| 100 m | 328.08 ft | 100 ft | 30.48 m |
| km | mi | mi | km |
|---|---|---|---|
| 1 km | 0.62 mi | 1 mi | 1.61 km |
| 5 km | 3.11 mi | 3.1 mi | 4.99 km |
| 10 km | 6.21 mi | 5 mi | 8.05 km |
| 21.0975 km | 13.11 mi | 10 mi | 16.09 km |
| 42.195 km | 26.22 mi | 26.2 mi | 42.16 km |
| 100 km | 62.14 mi | 100 mi | 160.93 km |
A 5K is 3.11 miles and a marathon (42.195 km) is 26.22 miles. To turn a race distance and time into a pace, use the pace calculator.
Kilograms to pounds (and lbs to kg)
The international pound is defined as exactly 0.45359237 kg. One kilogram is therefore 1 ÷ 0.45359237 = 2.20462262 pounds.
kg = lb × 0.45359237
| kg | lb | lb | kg |
|---|---|---|---|
| 1 kg | 2.2 lb | 1 lb | 0.45 kg |
| 2 kg | 4.41 lb | 5 lb | 2.27 kg |
| 5 kg | 11.02 lb | 10 lb | 4.54 kg |
| 10 kg | 22.05 lb | 50 lb | 22.68 kg |
| 20 kg | 44.09 lb | 100 lb | 45.36 kg |
| 50 kg | 110.23 lb | 120 lb | 54.43 kg |
| 70 kg | 154.32 lb | 150 lb | 68.04 kg |
| 80 kg | 176.37 lb | 180 lb | 81.65 kg |
| 100 kg | 220.46 lb | 200 lb | 90.72 kg |
Grams to ounces
An avoirdupois ounce is 1/16 of a pound, exactly 28.349523125 g, so ounces = grams ÷ 28.349523125. Troy ounces, used for precious metals, are a different unit and are not included here.
| g | oz | oz | g |
|---|---|---|---|
| 10 g | 0.35 oz | 1 oz | 28.35 g |
| 50 g | 1.76 oz | 2 oz | 56.7 g |
| 100 g | 3.53 oz | 4 oz | 113.4 g |
| 250 g | 8.82 oz | 8 oz | 226.8 g |
| 454 g | 16.01 oz | 12 oz | 340.19 g |
| 500 g | 17.64 oz | 16 oz | 453.59 g |
| 1,000 g | 35.27 oz | 32 oz | 907.18 g |
Fahrenheit to Celsius (and °C to °F)
Temperature scales have different zero points, so you cannot just multiply. Subtract 32 first, then scale by 5/9:
°F = °C × 9/5 + 32
K = °C + 273.15
Worked example: 98.6 − 32 = 66.6, and 66.6 × 5/9 = 37 °C. An oven at 350 °F is (350 − 32) × 5/9 = 176.7 °C. The two scales meet at −40: −40 °F = −40 °C.
| °F | °C | °C | °F |
|---|---|---|---|
| −40 °F | −40 °C | −40 °C | −40 °F |
| 0 °F | −17.8 °C | −20 °C | −4 °F |
| 32 °F | 0 °C | −10 °C | 14 °F |
| 50 °F | 10 °C | 0 °C | 32 °F |
| 68 °F | 20 °C | 10 °C | 50 °F |
| 72 °F | 22.2 °C | 20 °C | 68 °F |
| 86 °F | 30 °C | 25 °C | 77 °F |
| 98.6 °F | 37 °C | 30 °C | 86 °F |
| 212 °F | 100 °C | 37 °C | 98.6 °F |
| 350 °F | 176.7 °C | 100 °C | 212 °F |
| 400 °F | 204.4 °C | 180 °C | 356 °F |
| 450 °F | 232.2 °C | 200 °C | 392 °F |
A common mental shortcut for °C to °F is "double it and add 30". It is exact at 10 °C and drifts the further you go:
| °C | Exact °F | Double + 30 | Off by |
|---|---|---|---|
| −10 °C | 14 °F | 10 °F | 4 °F |
| 0 °C | 32 °F | 30 °F | 2 °F |
| 10 °C | 50 °F | 50 °F | 0 °F |
| 20 °C | 68 °F | 70 °F | 2 °F |
| 30 °C | 86 °F | 90 °F | 4 °F |
| 40 °C | 104 °F | 110 °F | 6 °F |
Liters to gallons: US and imperial
Two different gallons are in common use. The US gallon is defined as 231 cubic inches, exactly 3.785411784 L. The imperial (UK) gallon is exactly 4.54609 L, about 1.201 US gallons. Fluid ounces, pints and quarts differ too, so the converter lists the two systems separately.
liters = US gallons × 3.785411784
| L | US gal | US gal | L |
|---|---|---|---|
| 1 L | 0.264 US gal | 1 US gal | 3.785 L |
| 2 L | 0.528 US gal | 2 US gal | 7.571 L |
| 4 L | 1.057 US gal | 5 US gal | 18.927 L |
| 5 L | 1.321 US gal | 10 US gal | 37.854 L |
| 10 L | 2.642 US gal | 15 US gal | 56.781 L |
| 20 L | 5.283 US gal | 20 US gal | 75.708 L |
| 50 L | 13.209 US gal | 55 US gal | 208.198 L |
| Unit | US (mL) | Imperial (mL) |
|---|---|---|
| Fluid ounce | 29.5735 | 28.4131 |
| Pint | 473.1765 | 568.2613 |
| Quart | 946.3529 | 1,136.5225 |
| Gallon | 3,785.4118 | 4,546.09 |
mph to km/h
One mile per hour is exactly 1.609344 km/h, so km/h = mph × 1.609344 and mph = km/h ÷ 1.609344. A 60 mph limit is 96.56 km/h. For travel time from a distance and speed, use the speed, distance and time calculator.
| mph | km/h | km/h | mph |
|---|---|---|---|
| 10 mph | 16.1 km/h | 10 km/h | 6.2 mph |
| 20 mph | 32.2 km/h | 20 km/h | 12.4 mph |
| 25 mph | 40.2 km/h | 30 km/h | 18.6 mph |
| 30 mph | 48.3 km/h | 40 km/h | 24.9 mph |
| 40 mph | 64.4 km/h | 50 km/h | 31.1 mph |
| 50 mph | 80.5 km/h | 60 km/h | 37.3 mph |
| 55 mph | 88.5 km/h | 80 km/h | 49.7 mph |
| 60 mph | 96.6 km/h | 90 km/h | 55.9 mph |
| 65 mph | 104.6 km/h | 100 km/h | 62.1 mph |
| 70 mph | 112.7 km/h | 110 km/h | 68.4 mph |
| 75 mph | 120.7 km/h | 120 km/h | 74.6 mph |
| 80 mph | 128.7 km/h | 130 km/h | 80.8 mph |
How to convert any unit by hand
Every conversion in a category goes through one base unit: meters for length, kilograms for weight, liters for volume. Multiply your value by the size of the unit you have (in base units), then divide by the size of the unit you want. To turn 3 yards into centimeters: 3 × 0.9144 = 2.7432 m, and 2.7432 ÷ 0.01 = 274.32 cm. The converter does exactly this, then shows the single combined factor so you can reuse it.
Watch for units that share a name. A US (short) ton is 2,000 lb, or 907.18 kg; a UK (long) ton is 2,240 lb, or 1,016.05 kg; and a metric ton (tonne) is 1,000 kg, or 2,204.62 lb. The same trap applies to gallons, pints and fluid ounces, covered above.
Metric prefixes
Every metric unit uses the same prefixes, so once you know them you can read any metric quantity. Each prefix multiplies the unit by a fixed power of ten.
| Prefix | Symbol | Factor | Decimal | Example |
|---|---|---|---|---|
| tera | T | 10¹² | 1,000,000,000,000 | 1 TB = 10¹² bytes |
| giga | G | 10⁹ | 1,000,000,000 | 1 GW = 10⁹ watts |
| mega | M | 10⁶ | 1,000,000 | 1 MJ = 1,000,000 joules |
| kilo | k | 10³ | 1,000 | 1 km = 1,000 meters |
| hecto | h | 10² | 100 | 1 hectare = 100 m × 100 m |
| deci | d | 10⁻¹ | 0.1 | 1 dL = 0.1 liter |
| centi | c | 10⁻² | 0.01 | 1 cm = 0.01 meter |
| milli | m | 10⁻³ | 0.001 | 1 mL = 0.001 liter |
| micro | µ | 10⁻⁶ | 0.000001 | 1 µm = 0.000001 meter |
| nano | n | 10⁻⁹ | 0.000000001 | 1 nm = 0.000000001 meter |
Computer storage is the exception. Drive makers use the decimal meaning (1 TB = 10¹² bytes), while some operating systems count in powers of 1,024 and still write "GB". The converter keeps both: 1 TB = 931.32 GiB = 0.9095 TiB, which is why a new drive can look smaller than its label.
Exact factors vs rounded factors
Many US customary units are defined in terms of metric ones, so their factors are exact numbers rather than measurements:
- Length: 1 inch = 2.54 cm, 1 foot = 0.3048 m, 1 mile = 1,609.344 m.
- Mass: 1 pound = 0.45359237 kg; 1 ounce = 1/16 lb.
- Volume: 1 US gallon = 3.785411784 L; 1 imperial gallon = 4.54609 L.
- Temperature: 0 °C = 273.15 K, and a change of 1 °C equals a change of 1.8 °F.
Factors in the other direction, such as 1 kg = 2.20462262 lb, are exact ratios too, but their decimals never end, so any printed version is rounded. Rounding matters more than it looks: 100 kg × 2.2 gives 220 lb, while the exact answer is 220.46 lb, a difference of 0.46 lb. The converter carries full precision internally and lets you choose how many significant digits to display. The one approximate unit is Mach, because the speed of sound changes with air temperature; it uses the sea-level value at 15 °C.
Converting CSS sizes such as px, rem and em? Use the CSS unit converter. For binary, octal and hex there is the number system converter, and for other arithmetic the scientific calculator. Every tool on the site is listed on the all tools page.