Skip to content
DeviceCheckHub

Unit Converter

Convert between metric, US and UK units of length, weight, temperature, volume, area, speed, time, data, pressure, energy, power, fuel economy, angles and frequency. Results update as you type.

Result

–

30 cm = 11.81102362 in

In every unit

Nanometers (nm)300,000,000
Micrometers (µm)300,000
Millimeters (mm)300
Centimeters (cm)30
Meters (m)0.3
Kilometers (km)0.0003
Inches (in)11.81102362
Feet (ft)0.9842519685
Yards (yd)0.3280839895
Miles (mi)0.0001864114
Nautical miles0.000161987
Light-years (ly)3.171003e-17

Conversion chart: cm to in

1 cm0.3937007874 in
2 cm0.7874015748 in
3 cm1.181102362 in
4 cm1.57480315 in
5 cm1.968503937 in
10 cm3.937007874 in
20 cm7.874015748 in
25 cm9.842519685 in
50 cm19.68503937 in
100 cm39.37007874 in

How to use the unit converter

  1. Choose what you are converting, from length and weight to data, pressure, energy or fuel economy.
  2. Type the value and pick the units to convert from and to. The result updates as you type.
  3. Press ⇄ to swap the two units.
  4. Check the In every unit table to see the same value in all the other units at once, and the conversion chart for common values of the pair you chose, such as 1 to 100 pounds in kilograms.

Common conversions

FromToMultiply by
inchescentimeters2.54 (exact)
feetmeters0.3048 (exact)
mileskilometers1.609344 (exact)
poundskilograms0.45359237 (exact)
ouncesgrams28.349523125 (exact)
US gallonsliters3.785411784 (exact)
US cupsmilliliters236.5882365 (exact)
square feetsquare meters0.09290304 (exact)
acreshectares0.40468564224 (exact)
miles per hourkilometers per hour1.609344 (exact)

To go the other way, divide by the same number. For example, 100 kilometers is 100 ÷ 1.609344 = 62.14 miles.

Metric and US units

Most of the world uses the metric system, where units grow in steps of ten: 10 millimeters make a centimeter, 100 centimeters make a meter and 1,000 meters make a kilometer. The same prefixes work for grams and liters, so conversions inside the metric system are just a matter of moving the decimal point.

The United States uses US customary units for most everyday measurements, such as inches, feet, pounds and gallons. Since 1959 these have been defined in terms of metric units, so every conversion has an exact factor: an inch is exactly 2.54 centimeters and a pound exactly 0.45359237 kilograms. That is why this converter can give precise answers instead of approximations.

Converting temperature

Temperature is different from other units because the scales don’t start at the same zero, so you can’t simply multiply. Use these formulas:

Useful reference points: water freezes at 0 °C (32 °F) and boils at 100 °C (212 °F) at sea level, a comfortable room is around 20 to 22 °C (68 to 72 °F), and −40 is the same in both Celsius and Fahrenheit. For a quick mental estimate from Celsius to Fahrenheit, double the number and add 30: 15 °C is roughly 60 °F (exactly 59 °F).

Data sizes: KB or KiB?

In the SI system, kilo means 1,000, so a kilobyte (kB) is 1,000 bytes, a megabyte 1,000,000 bytes and a gigabyte 1,000,000,000 bytes. Computers count memory in powers of two, so the International Electrotechnical Commission defined separate binary units: a kibibyte (KiB) is 1,024 bytes, a mebibyte (MiB) 1,048,576 bytes and a gibibyte (GiB) 1,073,741,824 bytes. Drive makers use the decimal units, while some operating systems show binary units with the decimal names, which is why a “1 TB” drive appears as about 931 GB: 1012 bytes ÷ 1,0243 = 931.3 GiB. Internet speeds are in bits, not bytes: a 100 Mbit/s connection moves 12.5 megabytes a second at most, because a byte is 8 bits.

Fuel economy

Miles per gallon and kilometers per liter measure distance per amount of fuel, so a higher number is better. Liters per 100 kilometers, used in Europe, Canada and Australia, measures fuel per distance, so a lower number is better, and converting between the two is not a simple multiplication: L/100 km = 235.215 ÷ mpg (US). A car that does 30 mpg (US) uses about 7.84 L/100 km. UK gallons are about 20% bigger than US gallons, so the same car does about 36 mpg in UK units.

Energy, power and pressure

The conversion factors follow the US National Institute of Standards and Technology’s guide to the SI (NIST Special Publication 811). The calorie is the thermochemical calorie (4.184 J), the BTU is the International Table BTU, and the average month and year use the Gregorian calendar’s 365.2425-day year.

Kitchen measurements

US recipes measure by volume with cups and spoons. One US cup is 16 tablespoons or 48 teaspoons, a tablespoon is 3 teaspoons, and a cup is about 237 milliliters. Many countries use a metric cup of 250 mL instead, and UK recipes often give weights in grams, so check where a recipe comes from before converting.

Volume can’t be turned into weight without knowing the ingredient: a cup of flour weighs much less than a cup of sugar or water. For water, 1 milliliter weighs about 1 gram, so 1 cup of water weighs about 237 grams. For baking, where accuracy matters, a kitchen scale and a recipe in grams give the most consistent results.

Cups to grams for baking

The Cooking tab converts cups, spoons and milliliters to grams and ounces, and back, for 28 common ingredients. The weights of dry ingredients are from King Arthur Baking’s ingredient weight chart, which assumes flour is spooned lightly into the cup and leveled. Milk, oil and honey use the household measures in USDA FoodData Central. Where a chart gives a weight for half a cup or a spoon, it is scaled up to a cup here, so small amounts can differ by a gram.

Grams in each measure
IngredientUS cups1 tbsp
1½⅓¼
All-purpose flour1206040307.5
Bread flour1206040307.5
Cake flour1206040307.5
Whole wheat flour11356.537.728.37.06
Almond flour964832246
White rice flour1427147.335.58.88
Semolina16381.554.340.810.2
Cornmeal (whole grain)138694634.58.63
Cornstarch1125637.3287
Granulated sugar198996649.512.4
Brown sugar (packed)2131077153.313.3
Powdered sugar (unsifted)11356.537.728.37.06
Cocoa powder (unsweetened)844228215.25
Butter22611375.356.514.1
Rolled oats11356.537.728.37.06
Long-grain rice (dry)198996649.512.4
Chocolate chips1708556.742.510.6
Walnuts (chopped)11356.537.728.37.06
Raisins (loose)14974.549.737.39.31
Peanut butter2701359067.516.9
Corn syrup3121561047819.5
Molasses3401701138521.3
Table salt288144967218
Baking powder19296644812
Baking soda288144967218
Milk (whole)24412281.36115.2
Vegetable oil (canola)21810972.754.513.6
Honey33917011384.821.2

How you fill the cup matters more than any chart. Scooping flour straight from the bag presses it down and makes each cup heavier, brown sugar is meant to be packed firmly, and powdered sugar is measured before sifting. If a recipe gives grams, weigh instead: it is quicker and the result is the same every time.

Quick mental conversions

For percentages and discounts, use the percentage calculator, and for body measurements, the BMI calculator accepts both US and metric units.

Metric prefixes

Every metric unit can take a prefix that multiplies it by a power of ten. Once you know the prefixes, you can read any metric unit:

US and UK units are not always the same

The United Kingdom kept some older imperial units that share names with US units but have different sizes. A UK gallon is exactly 4.54609 liters, about 20% more than a US gallon of 3.785411784 liters, which matters when comparing fuel economy in miles per gallon. A UK pint is 20 UK fluid ounces, about 568 mL, while a US pint is 16 US fluid ounces, about 473 mL. This converter lists both US and UK gallons; its pints, quarts, cups and fluid ounces are US measures.

Weight has a similar trap. A US ton is 2,000 pounds, a metric ton (tonne) is 1,000 kilograms, about 2,205 pounds, and the old UK long ton is 2,240 pounds. People in the UK and Ireland often give body weight in stone, where one stone is 14 pounds, so 11 stone 6 pounds is 160 pounds.

Area and speed units

A hectare is 10,000 square meters, the area of a square 100 meters on each side, and is about 2.47 acres. An acre is 43,560 square feet, and a square mile holds 640 acres. Remember that area units scale with the square of length: a square meter is not 3.28 square feet but about 10.76, because a meter is 3.28 feet in both directions.

For speed, a nautical mile is exactly 1,852 meters, and a knot is one nautical mile per hour, which is why ships and aircraft use knots. One meter per second is 3.6 kilometers per hour, so a sprinter running 10 meters per second is moving at 36 km/h, about 22 miles per hour.

Frequently asked questions

How many centimeters are in an inch?

Exactly 2.54. The inch has been defined as 2.54 centimeters since 1959, when the United States, the United Kingdom and other countries agreed on common definitions of the yard and the pound. So 12 inches, one foot, is exactly 30.48 cm.

How do I convert Fahrenheit to Celsius?

Subtract 32, then multiply by 5 and divide by 9. For 72 °F: 72 − 32 = 40, and 40 × 5 ÷ 9 = 22.2 °C. To go the other way, multiply Celsius by 9, divide by 5 and add 32.

How many pounds are in a kilogram?

About 2.2046. The pound is defined as exactly 0.45359237 kilograms, so one kilogram is 1 ÷ 0.45359237 = 2.20462262 pounds.

Is a US gallon the same as a UK gallon?

No. A US gallon is 3.785 liters, while a UK (imperial) gallon is 4.546 liters, about 20% more. US and UK fluid ounces, pints and quarts differ too, so recipes and fuel figures from the two countries aren’t directly comparable.

How many grams are in a cup of flour?

About 120 grams for all-purpose flour spooned into the cup and leveled, the figure King Arthur Baking uses. Flour scooped straight from the bag packs down and weighs noticeably more. A cup of granulated sugar is about 198 g and a cup of butter about 226 g. Choose Cooking above and pick the ingredient to convert any amount.

How accurate are the results?

The conversion factors are the exact values set by international definition, and results are shown to 10 significant digits, far more than everyday use needs. Round the result to suit what you are measuring.

Last updated · About DeviceCheckHub