Everyday

Unit converter

Convert length, mass, U.S. liquid volume, and temperature.

Free to useNo sign-upCalculated in your browser

Quantity

Length, mass, U.S. liquid volume, or temperature. At most 12 digits on each side of the decimal point.

Signed decimals are allowed. Temperatures below absolute zero are not.

Swap keeps the exact quantity. A rounded value may appear in the box; Convert uses the exact quantity until you edit it.

The value and units stay in this browser.

Converted value

One inch is 2.54 centimeters. Gallons and cups are U.S. liquid units.

Four families, one converter

Choose length, mass, liquid volume, or temperature, then choose a source unit and a destination unit. Units from different families are not offered together. An inch does not convert to a kilogram.

Length uses the exact international definitions: 1 inch = 2.54 cm, 1 foot = 0.3048 m, and 1 mile = 1.609344 km. Mass uses the avoirdupois pound of 0.45359237 kg, and the ounce is one-sixteenth of that pound. NIST Special Publication 811 is the guide for these SI relationships, and the revised NIST conversion factors are the source for the international foot and mile used here.

U.S. liquid volume

The gallon, quart, pint, cup, fluid ounce, tablespoon, and teaspoon on this page are U.S. customary liquid units. They are not imperial units, and they are not dry cups or dry pints.

One U.S. liquid gallon is 3.785411784 L. The smaller units divide that gallon exactly: 4 quarts, 8 pints, 16 cups, 128 fluid ounces, 256 tablespoons, and 768 teaspoons. One U.S. customary cup is therefore 236.5882365 mL.

Temperature is not a multiplier

Celsius, Fahrenheit, and kelvin meet at exact points. 32°F is 0°C. 212°F is 100°C. −40°F is −40°C. 0 K is −273.15°C, and 0°C is 273.15 K. The conversion adds or subtracts before it multiplies, so it is not the same kind of factor as inches to centimeters.

Absolute zero is the lower bound. 0 K, −273.15°C, and −459.67°F are accepted. A negative kelvin value, and any colder Celsius or Fahrenheit value, is rejected.

Exact factors and rounded readings

Each length, mass, and liquid conversion multiplies by one exact rational factor. The page does not chain binary floating-point conversions. When the result is a terminating decimal of at most 12 places, the display is labeled exact. One inch is exactly 2.54 cm. One pound is exactly 0.45359237 kg.

A repeating result, such as 1°F converted to Celsius, is rounded half up to 12 decimal places and the exact fraction is shown beside it. Swap exchanges the units and keeps that exact quantity. The value box may show the rounded reading; Convert uses the exact quantity until you edit the value. A nonzero result that would round to 0.000000000000 is shown in scientific notation instead of 0.

A value you type may have at most 12 digits on each side of the decimal point, and its absolute value must be below 1,000,000,000,000. A 13th digit, a comma, a leading plus, and scientific notation are rejected. Swap can show a larger exact quantity, such as 999,999,999,999 feet converted to inches. Convert keeps that exact quantity until you edit the value.

What this page does not calculate

This converter changes the unit of a quantity you already know. The area calculator finds the area of a plane shape from its dimensions. The volume calculator finds the volume of a prism, cylinder, sphere, or cone. Flooring, paint, and concrete quantities are separate construction estimates.

Frequently asked questions

Is a cup on this page a dry cup? No. The cup, pint, quart, gallon, and fluid ounce are U.S. customary liquid units. A dry cup is a different measure.

Why does swapping a temperature not show the same digits? Some temperature conversions do not terminate. Swap keeps the exact fraction and may show a rounded decimal in the value box. Editing that box starts from the digits you see.

Sources & review

Last reviewed: . The formula is reproduced above so you can check the math independently.

How we check calculations and describe their limits

Exact unit conversion for a quantity you already know. Not a geometric area, a geometric volume, or a construction-material estimate.