What the converter supports
The converter handles 4 categories and 28 units in total. Length, weight and volume each convert between every pair of units in the same category. Temperature converts between the three scales listed below. The counts in this table are taken straight from the data the tool runs on, so they cannot drift out of date.
| Category | Base unit | Units | Symbols |
|---|---|---|---|
| Length | m | 9 | mm, cm, m, km, in, ft, yd, mi, nmi |
| Weight | kg | 6 | mg, g, kg, t, oz, lb |
| Volume | L | 10 | mL, L, tsp, tbsp, floz, cup, pt, qt, gal, ukgal |
| Temperature | °C | 3 | °C, °F, K |
| Total | 28 | ||
How the calculation works
For length, weight and volume, every value is routed through one base unit (meters, kilograms or liters). The formula is: input x (base-unit value of the input unit) / (base-unit value of the target unit). Converting 5 feet to meters is 5 x 0.3048 / 1 = 1.524 m. Using a base unit means each unit needs only one stored factor, rather than a separate factor for every pair, which removes a whole class of typing mistakes. The line under the result, such as "1 ft = 0.3048 m", shows the ratio used. All units in the same category are also shown at once so you can pick whichever reads most naturally.
The factors are exact definitions, not rounded approximations. The international inch is exactly 25.4 mm, and the international pound is exactly 0.45359237 kg (fixed by the 1959 international yard and pound agreement). From those: 1 foot = 12 inches = 0.3048 m, 1 yard = 3 feet = 0.9144 m, 1 mile = 5,280 feet = 1,609.344 m, and 1 avoirdupois ounce = 1/16 pound = 28.349523125 g. The US liquid gallon is defined as 231 cubic inches, which is exactly 3.785411784 liters. The nautical mile is exactly 1,852 m. Results are displayed to 10 significant digits, which hides floating-point noise such as 0.30000000000000004.
Reference table: every unit and its definition
This table lists each unit's size in its category's base unit, generated from the same data the converter uses.
| Symbol | Unit | Equals (in base unit) |
|---|---|---|
| mm | millimeter (mm) | 0.001 m |
| cm | centimeter (cm) | 0.01 m |
| m | meter (m) | 1 m |
| km | kilometer (km) | 1,000 m |
| in | inch (in) | 0.0254 m |
| ft | foot (ft) | 0.3048 m |
| yd | yard (yd) | 0.9144 m |
| mi | mile (mi) | 1,609.344 m |
| nmi | nautical mile (nmi) | 1,852 m |
| mg | milligram (mg) | 0.000001 kg |
| g | gram (g) | 0.001 kg |
| kg | kilogram (kg) | 1 kg |
| t | tonne (t) | 1,000 kg |
| oz | ounce (oz) | 0.0283495231 kg |
| lb | pound (lb) | 0.45359237 kg |
| mL | milliliter (mL) | 0.001 L |
| L | liter (L) | 1 L |
| tsp | teaspoon (US tsp) | 0.0049289216 L |
| tbsp | tablespoon (US tbsp) | 0.0147867648 L |
| floz | fluid ounce (US fl oz) | 0.0295735296 L |
| cup | cup (US cup) | 0.2365882365 L |
| pt | pint (US pt) | 0.473176473 L |
| qt | quart (US qt) | 0.946352946 L |
| gal | gallon (US gal) | 3.785411784 L |
| ukgal | gallon (UK gal) | 4.54609 L |
Length conversion table
| 1 of | equals | of |
|---|---|---|
| in | 2.54 | cm |
| ft | 30.48 | cm |
| yd | 0.9144 | m |
| mi | 1.609344 | km |
| nmi | 1.852 | km |
| km | 0.6213711922 | mi |
| m | 3.280839895 | ft |
| cm | 0.3937007874 | in |
Inches and feet turn up in screen sizes, tire sizes and body height in the United States and a few other countries. Miles appear on road signs in the US and the UK, and nautical miles (1,852 m) measure distance at sea and in the air. A monitor is sold by its diagonal: a 27-inch monitor has a diagonal of 27 x 2.54 = 68.58 cm. Its width and height depend on the aspect ratio and have to be worked out separately.
Weight conversion table
| 1 of | equals | of |
|---|---|---|
| oz | 28.34952313 | g |
| lb | 0.45359237 | kg |
| lb | 453.59237 | g |
| kg | 2.204622622 | lb |
| kg | 35.27396195 | oz |
| t | 2,204.622622 | lb |
The ounce here is the ordinary avoirdupois ounce, a unit of weight. The troy ounce used for precious metals (about 31.1035 g) is a different unit and is not in this tool. The "fluid ounce" in the volume list is a unit of volume, not weight. The shared word "ounce" makes this the most common mix-up in cooking conversions. Here, t is the metric tonne of 1,000 kg.
Volume conversion table
| 1 of | equals | of |
|---|---|---|
| tsp | 4.928921594 | mL |
| tbsp | 14.78676478 | mL |
| floz | 29.57352956 | mL |
| cup | 236.5882365 | mL |
| pt | 473.176473 | mL |
| qt | 0.946352946 | L |
| gal | 3.785411784 | L |
| ukgal | 4.54609 | L |
Same name, different size. The US gallon is 3.785 L and the imperial (UK) gallon is 4.546 L, about 20% larger. A car rated at 40 miles per imperial gallon gets 40 x 3.785411784 / 4.54609 = about 33.3 miles per US gallon, so fuel-economy figures from the two systems cannot be compared directly. The cup is also not universal. The cup in this tool is the US customary cup, 236.588 mL. The cup printed on US nutrition labels is rounded to 240 mL, and recipes from Australia, New Zealand and Canada often assume a 250 mL cup. For baking, where proportions matter, look for gram weights rather than cup measures.
Temperature: why multiplication alone is not enough
Length, weight and volume have a true zero that means "none", so a single multiplication converts them. Celsius and Fahrenheit place zero at different points, so converting needs an offset as well as a scale factor:
- Fahrenheit = Celsius x 9/5 + 32
- Celsius = (Fahrenheit - 32) x 5/9
- Kelvin = Celsius + 273.15
A one-degree Celsius step equals a 1.8-degree Fahrenheit step, since water's freezing and boiling points are 100 degrees apart on one scale and 180 on the other. So a temperature difference of 10 degrees C is 18 degrees F, but a temperature reading of 20 degrees C is 68 degrees F, not 36. Forgetting the 32 is the most common temperature error. Kelvin has the same step size as Celsius but starts at absolute zero, so the tool warns you if you enter something colder than that.
| Reference point | Celsius (°C) | Fahrenheit (°F) | Kelvin (K) |
|---|---|---|---|
| Absolute zero | -273.15 | -459.67 | 0 |
| Both scales agree | -40 | -40 | 233.15 |
| Water freezes (1 atm) | 0 | 32 | 273.15 |
| Typical body temperature | 36.5 | 97.7 | 309.65 |
| Comfortable room | 22 | 71.6 | 295.15 |
| Water boils (1 atm) | 100 | 212 | 373.15 |
| Moderate oven | 180 | 356 | 453.15 |
| Hot oven | 220 | 428 | 493.15 |
Worked examples
- A US oven temperature. 350 degrees F gives (350 - 32) x 5/9 = 176.67 degrees C. Most ovens are set in 5 or 10 degree steps, so 175 or 180 degrees C is the practical setting. Going the other way, 180 degrees C is 180 x 9/5 + 32 = 356 degrees F.
- Height and weight in US units. 5 ft 9 in is 69 inches, so 69 x 2.54 = 175.26 cm. 180 lb is 180 x 0.45359237 = 81.65 kg. In the other direction, 70 kg is 70 / 0.45359237 = 154.32 lb.
- A running distance. A marathon of 42.195 km is 42.195 / 1.609344 = 26.22 miles, and 10 km is 6.21 miles.
- Gallons. Two US gallons are 2 x 3.785411784 = 7.5708 L, while two imperial gallons are 9.0922 L.
Common mistakes and limits
- Temperature value versus temperature difference. Apply the offset to readings and only the 1.8 ratio to differences.
- US versus imperial volumes. Gallon, quart, pint and fluid ounce differ between the two systems. Everything in this tool is US customary except the item labeled as the imperial gallon.
- Weight ounce versus fluid ounce. 28.35 g and 29.57 mL are different kinds of quantity. Water happens to make them look similar, but flour, honey and oil do not.
- Volume to weight. You cannot convert milliliters to grams without knowing the density of the ingredient. Only water is close to 1 g per mL.
- Safety-critical work. The tool applies the defined factors correctly, but for medication doses, structural calculations or fuel loads, write the unit next to every number and have the result checked by a second method.
Unit confusion has caused real accidents. In 1983 an Air Canada jet ran out of fuel in flight after fuel was calculated in pounds when kilograms were required, and in 1999 NASA lost the Mars Climate Orbiter because thrust data in one unit system was read as another. The lesson is simply to carry the unit with the number.
Getting the most out of the results
- For items bought abroad, convert inches and pounds to centimeters and kilograms to judge the real size and shipping weight, and round up when estimating postage.
- For recipes, convert cups and spoons to milliliters first, then look for a version of the recipe written in grams if you can.
- Use Copy result to paste the converted value into a spreadsheet or message. The text includes both units.
- Swap units with the swap button to check a result by converting it back. You should land on the number you started with, to the displayed precision.
Related tools
- Cooking Measurement Converter for cups, spoons, milliliters and grams by country
- Cooking Temperature Converter for Fahrenheit, Celsius, gas mark and fan-oven adjustments
- Fuel Economy Unit Converter for mpg, km/L and L/100 km
Frequently Asked Questions
Does temperature conversion work differently from the other units?
Yes. Length, weight and volume are proportional, so one multiplication does the job. Celsius and Fahrenheit have different zero points, so the formula includes an addition: °F = °C x 9/5 + 32. The difference between two temperatures, though, only needs the 1.8 ratio.
Which units come up most often in recipes?
US recipes usually use cups, teaspoons, tablespoons, fluid ounces, ounces, pounds and degrees Fahrenheit. Most other countries use milliliters, grams, kilograms and degrees Celsius. Because the size of a cup varies by country, check which country a recipe comes from.
How many centimeters are in an inch exactly?
Exactly 2.54 cm, or 25.4 mm. This was fixed by an international agreement in 1959 and is a definition, not a measurement. A foot is 12 inches, which is exactly 30.48 cm.
How different are the US and imperial gallons?
The US gallon is about 3.785 L and the imperial gallon is 4.546 L, so the imperial gallon is roughly 20% larger. This matters most when comparing fuel economy in miles per gallon.
What happens if I enter a temperature below absolute zero?
Absolute zero (-273.15 °C, 0 K, -459.67 °F) is the lowest possible temperature, so a lower input shows a warning. The arithmetic is still carried out so that you can see the result.
How do I read a result like 1.23000e-7?
Values smaller than 0.000001 or larger than 10^15 are shown in scientific notation. The part after the e is the power of ten, so 1.23000e-7 means 1.23 x 10^-7, or 0.000000123.
This tool is for reference. For medicine, engineering or legal metrology, confirm the original unit and the official standard.