Unit Converter
Result
Same value in every unit
| Unit | Value |
|---|
Common conversions
Tap any conversion to load it into the form above.
| Convert | Equals |
|---|
Last reviewed: 20 November 2026. Reviewed every 180 days; next review due 19 May 2027.
How to use the Unit Converter
This unit converter changes a measurement from one unit to another: inches to centimeters, pounds to kilograms, gallons to liters, Fahrenheit to Celsius, square feet to square meters, miles per hour to kilometers per hour, and gigabytes to gibibytes. It covers seven categories in one tool, uses exact published conversion factors from the National Institute of Standards and Technology (NIST), and shows the same value in every unit in the category.
- Pick a category. Tap Length, Weight, Volume, Temperature, Area, Speed, or Data at the top of the tool. Each category opens with a common conversion already loaded, so you can see the result before you type anything.
- Enter your value. Type the number you want to convert. Decimals work, and so do large numbers: 0.5, 12, 2500, and 1000000 are all fine, typed as plain digits without commas. For temperature, negative numbers work too, down to absolute zero. For every other category the value must be zero or more, because a negative length or a negative weight has no meaning.
- Pick your units. Choose the unit you are converting from and the unit you are converting to. The Swap button exchanges the two, so a conversion you just ran can be reversed in one tap.
- Set the precision. The decimal places control how the result is rounded: 4 decimals is the default, and 0 to 10 are available. Whole-number answers need 0 decimals, a recipe needs 1 or 2, and engineering work may need 6 or more. When rounding changes the number, the tool shows the exact unrounded value underneath, so you always know what was trimmed.
- Read the result. The big number is your answer, the line under it says it in words, and the formula line shows the arithmetic, so you can check the conversion by hand. Below that, the same value appears in every unit in the category: convert 1 mile and you see kilometers, meters, feet, yards, and nautical miles at once.
- Use the common conversions table. Every category has a quick table of the conversions people ask for most, such as 1 inch to centimeters or 1 US gallon to liters. Tap any row to load it into the form. The Copy result button copies the answer as plain text, ready to paste into a message, a document, or a spreadsheet.
Everything runs in your browser. Nothing you type is sent anywhere, there is no signup, and the tool works the same on a phone as on a desktop.
How it works
Every conversion in this tool follows the same two-step method. First the value is converted into the category's base unit, then the base unit is converted into the target unit. Length works through the meter, weight through the kilogram, volume through the liter, area through the square meter, speed through meters per second, and data through the byte. Temperature is the exception: it works through Celsius, because Fahrenheit and Rankine need an offset as well as a scale, and the temperature section below explains why that matters.
The formula for a straight conversion is simple: result equals the value times the from-unit factor divided by the to-unit factor. A factor is how many base units one unit holds. An inch holds 0.0254 meters and a centimeter holds 0.01 meters, so 12 inches becomes 12 times 0.0254 divided by 0.01, which is 30.48 centimeters. The tool shows this arithmetic under every result, with the combined multiplier, so nothing is hidden: 12 in × 2.54 = 30.48 cm.
The factors are exact published definitions, not rounded rules of thumb. Since the international yard and pound agreement of 1959, the inch has been defined as exactly 2.54 centimeters and the pound as exactly 0.45359237 kilograms, and NIST prints these factors in boldface in its conversion tables, which means exact. Every other factor is one of these definitions or arithmetic built on them: a foot is 12 inches, so exactly 0.3048 meters; a mile is 5,280 feet, so exactly 1.609344 kilometers; a US gallon is 231 cubic inches, so exactly 3.785411784 liters. When a conversion is exact by definition, the only rounding in the result is the rounding you choose.
Worked examples
Length. A 5-mile run in kilometers: 5 × 1.609344 = 8.04672 km, shown as 8.0467 km at 4 decimals. The exact value, 8.04672, appears underneath.
Weight. A 70-kilogram person in pounds: 70 ÷ 0.45359237 = 154.3236 lb at 4 decimals. The exact value is 154.323583529 lb. The rough rule of doubling the kilograms and adding 10 percent gives 154 lb, which is close but not exact.
Volume. Two US gallons in liters: 2 × 3.785411784 = 7.5708 L at 4 decimals. The exact value is 7.570823568 L.
Temperature. A 68-degree Fahrenheit room in Celsius: (68 − 32) × 5/9 = 20 °C. The tool goes through Celsius as the pivot and shows both steps whenever the conversion crosses between Fahrenheit, Celsius, Kelvin, and Rankine.
Area. One acre in square meters: 43,560 × 0.09290304 = 4,046.8564 m² at 4 decimals. The exact value is 4,046.8564224 m².
Speed. A 60 mile-per-hour speed limit in kilometers per hour: 60 × 1.609344 = 96.5606 km/h at 4 decimals. The exact value is 96.56064 km/h.
Data. A 500-gigabyte drive in gibibytes: 500,000,000,000 ÷ 1,073,741,824 = 465.6613 GiB at 4 decimals. That gap between the decimal and binary count is the reason a drive always looks smaller on your computer than on its box, and the data section explains it in full.
What your result means
The result is the same quantity expressed in a different unit, nothing more and nothing less. Twelve inches and 30.48 centimeters are the same length. Seventy kilograms and 154.3236 pounds are the same mass. The number changes because the unit changes, and the tool's job is to make that change exact and visible.
Three parts of the result deserve a second look. The formula line shows the multiplier, so you can check the conversion with a pocket calculator. The exact value line appears whenever rounding changed the number, and it matters most when you are chaining conversions: round once at the end, not at every step, or the small trims add up. The all-units table answers the follow-up question before you ask it: a floor measured in square feet shows square meters, square yards, and acres in the same view, so you can compare a quote in one unit against a listing in another without running the conversion again.
Precision is a choice, not a virtue. Four decimals is a sensible default, but a carpenter cutting a board needs a fraction of an inch, not four decimal places of a centimeter, and a cook measuring flour needs grams to the nearest whole number. Set the decimals to match the job, and remember that extra digits past the accuracy of your measurement are noise: a bathroom scale that reads to the nearest half pound cannot support a kilogram figure to four decimals.
Length conversions
Length is the most converted quantity there is, and the one where two systems collide every day: the metric system used by almost the whole world, and the US customary system used in American homes, hardware stores, and road signs. The tool covers millimeters, centimeters, meters, and kilometers on the metric side, and inches, feet, yards, miles, and nautical miles on the US and nautical side.
The anchors are exact. One inch is exactly 2.54 centimeters, one foot exactly 0.3048 meters, one yard exactly 0.9144 meters, and one mile exactly 1.609344 kilometers. One nautical mile is exactly 1,852 meters, the unit of sea and air navigation, which is why speeds at sea are measured in knots, one nautical mile per hour. A meter is about 3.28084 feet and a kilometer about 0.62137 miles, but those two are repeating decimals, not definitions, so the tool always converts through the exact anchors instead.
Length conversions show up in practical jobs more than any other kind. A television measured diagonally in inches becomes centimeters for a wall mount, a room measured in feet becomes meters for flooring sold by the square meter, and a cable run measured in feet becomes meters for a spool sold in metric lengths. If the job is a purchase rather than a single conversion, the specialist tools on this site carry the length math further: the cable length estimator works out how long an HDMI cable should be, the monitor size finder turns a diagonal screen size into width and height, and the Tools Elite homepage lists every tool on the site.
Length conversions people ask for most
| Convert | Equals | Exact or rounded |
|---|---|---|
| 1 inch | 2.54 centimeters | Exact, by definition |
| 1 foot | 30.48 centimeters | Exact, by definition |
| 1 yard | 0.9144 meters | Exact, by definition |
| 1 mile | 1.609344 kilometers | Exact, by definition |
| 1 meter | 3.2808 feet | Rounded, repeating decimal |
| 1 kilometer | 0.6214 miles | Rounded, repeating decimal |
| 1 nautical mile | 1,852 meters | Exact, by definition |
The pattern in that table is worth noticing: conversions that start from the US unit and land on the metric unit are exact, because the US units are defined in metric terms. Conversions that run the other way, from a round metric number to a US unit, are repeating decimals and must be rounded. That is why the tool shows the exact value under a rounded result: the definition is exact, and only the display is trimmed.
Weight and mass conversions
Weight and mass are different things in physics, mass being the amount of matter and weight being the force gravity exerts on it, but in everyday language they share the same units, and this tool converts the units people actually use: milligrams, grams, kilograms, and metric tons on the metric side, and ounces, pounds, stones, short tons, and long tons on the US and UK side. On Earth the distinction never changes a conversion, because the same gravity acts on both sides of the scale.
The anchor is the pound. One avoirdupois pound, the ordinary pound used for body weight, groceries, and shipping, is exactly 0.45359237 kilograms. One ounce is a sixteenth of a pound, exactly 28.349523125 grams. One stone, still used for body weight in the UK and Ireland, is 14 pounds, exactly 6.35029318 kilograms. The three tons are three different units and the most common source of weight-conversion error: a US short ton is 2,000 pounds, exactly 907.18474 kilograms; a UK long ton is 2,240 pounds, exactly 1,016.0469088 kilograms; and a metric ton, also called a tonne, is 1,000 kilograms, about 2,204.62 pounds. A shipment quoted in tons without saying which ton can be off by more than 10 percent, so the tool lists all three separately and never lets one stand in for another.
Two conversions dominate everyday use. Body weight runs between pounds and kilograms: 150 pounds is 68.0389 kilograms, and 80 kilograms is 176.3698 pounds. Cooking runs between ounces and grams: 8 ounces is 226.7962 grams, and 500 grams is 17.6370 ounces. The rough rules are good enough for conversation: dividing pounds by 2.2 gives kilograms within half a percent. But a dose, a postage charge, or a luggage limit deserves the exact factor, and that is what the tool uses.
Volume conversions
Volume is where the US and UK systems diverge most dangerously, because the units share names and hold different amounts. A US gallon and a UK gallon are both called a gallon, and the UK gallon is about 20 percent larger. A US fluid ounce and a UK fluid ounce are both called a fluid ounce, and they differ by about 4 percent. The tool labels every volume unit with its system, US or UK, and converts each from its own exact definition.
The US gallon is defined as exactly 231 cubic inches, which works out to exactly 3.785411784 liters. Everything in the US liquid system follows from that one definition by simple division: a quart is a quarter of a gallon, 0.946352946 liters; a pint is an eighth, 0.473176473 liters; a cup is a sixteenth, 236.5882365 milliliters; a fluid ounce is a hundred and twenty-eighth, 29.5735295625 milliliters; a tablespoon is half a fluid ounce, 14.78676478125 milliliters; and a teaspoon is a third of a tablespoon, 4.92892159375 milliliters. The UK gallon is defined separately as exactly 4.54609 liters, and it divides into 8 pints, 20 fluid ounces per pint, so a UK pint is 568.26125 milliliters and a UK fluid ounce is 28.4130625 milliliters. A recipe that says a pint without saying which pint can be off by about a tenth of a liter.
Volume also covers the cubic units used for space rather than liquid: cubic centimeters, cubic meters, cubic inches, cubic feet, and cubic yards. A cubic meter is exactly 1,000 liters, a cubic foot is 28.316846592 liters and holds 7.4805 US gallons, and a cubic yard is 27 cubic feet. Those are the numbers behind moving, storage, and concrete. If the job is working out how many boxes a move needs, the moving box estimator turns a home inventory into a box count and a volume.
US gallon vs UK gallon
| Unit | Liters, exact | Fluid ounces in the unit |
|---|---|---|
| US gallon | 3.785411784 | 128 US fl oz |
| UK gallon | 4.54609 | 160 UK fl oz |
| US quart | 0.946352946 | 32 US fl oz |
| UK quart | 1.1365225 | 40 UK fl oz |
| US pint | 0.473176473 | 16 US fl oz |
| UK pint | 0.56826125 | 20 UK fl oz |
| US fluid ounce | 0.0295735295625 | 1 US fl oz |
| UK fluid ounce | 0.0284130625 | 1 UK fl oz |
The table shows the trap plainly: the UK gallon is bigger, but the UK fluid ounce is smaller, because the UK gallon divides into more ounces. A US cup and a UK cup are not in the tool as separate units because the UK does not use the cup as a standard measure the way US recipes do; a US cup is 8 US fluid ounces, 236.5882365 milliliters, and a metric cup, used in Australian recipes, is 250 milliliters, a different value again. When a recipe crosses borders, convert the volume, not the cup count.
Temperature conversions
Temperature is the one category where conversion is not a multiplication. Every other unit in this tool converts by multiplying by a fixed factor, because every other unit measures from zero: zero meters, zero kilograms, zero liters. Temperature scales do not share a zero. Zero degrees Fahrenheit is not the absence of temperature, it is a cold winter day, and zero degrees Celsius is the freezing point of water. Converting between them needs an offset as well as a scale, and forgetting the offset is the most common temperature mistake there is.
The tool converts every temperature through Celsius as the pivot. To reach Celsius: from Fahrenheit, subtract 32 and multiply by 5/9; from Kelvin, subtract 273.15; from Rankine, divide by 1.8 and subtract 273.15. To leave Celsius: to Fahrenheit, multiply by 9/5 and add 32; to Kelvin, add 273.15; to Rankine, multiply by 1.8 and add 491.67. The formula line shows both steps: 72 °F becomes 22.2222 °C, and 22.2222 °C becomes 295.3722 K.
The four scales each have their place. Celsius is the everyday scale for almost the whole world and the scale of weather, cooking, and medicine outside the United States. Fahrenheit is the everyday scale in the United States, with water freezing at 32 and boiling at 212. Kelvin is the scientific scale, starting at absolute zero, the lowest temperature possible, and used wherever a temperature ratio matters, because only Kelvin and Rankine measure from true zero. Rankine is the Fahrenheit-sized version of Kelvin, used in some American engineering, with absolute zero at 0 and water freezing at 491.67. Absolute zero itself is −273.15 °C, −459.67 °F, 0 K, and 0 °R, and the tool refuses any temperature below it, because no such temperature exists.
Three landmarks anchor the Celsius-Fahrenheit relationship. Water freezes at 0 °C and 32 °F. The human body runs at about 37 °C and 98.6 °F. Water boils at 100 °C and 212 °F at standard atmospheric pressure. And the two scales meet exactly once, at −40: minus 40 degrees Celsius is minus 40 degrees Fahrenheit, the same temperature on both scales, which is why −40 is the favorite check that a converter is doing the offset properly. The quick table for temperature includes it, along with the freezing and boiling points, so you can verify the tool against numbers you already know.
Area conversions
Area conversions trip people up because area scales with the square of length. A foot is 0.3048 meters, but a square foot is not 0.3048 square meters: it is 0.3048 times 0.3048, which is 0.09290304 square meters. A room 10 feet by 12 feet is 120 square feet, and converting it means multiplying 120 by 0.09290304, not by 0.3048. Forgetting to square the factor is the single most common area mistake, and it makes the answer wrong by a factor of more than three.
The tool covers square centimeters, square meters, hectares, and square kilometers on the metric side, and square inches, square feet, square yards, acres, and square miles on the US side. The anchors are exact: a square inch is exactly 6.4516 square centimeters, a square foot exactly 0.09290304 square meters, a square yard exactly 0.83612736 square meters, and a hectare exactly 10,000 square meters. An acre is exactly 43,560 square feet, which is 4,046.8564224 square meters, or about 0.4047 hectares. A square mile is 640 acres, exactly 2.589988110336 square kilometers.
Area is the unit of homes, land, and materials. Flooring, tile, paint, and wallpaper are all sold by area, and the measurements that feed them are lengths, so the conversion chain runs from feet to square feet to square meters, and a mistake at any step compounds. The specialist tools on this site handle the full chain: the tile calculator turns a room's measurements into a tile count, the paint coverage calculator turns wall area into gallons of paint, and the rug size finder matches a rug to a room.
Speed conversions
Speed is a length divided by a time, so its conversions inherit the exactness of the length factors. The tool covers meters per second, kilometers per hour, miles per hour, knots, and feet per second. One mile per hour is exactly 0.44704 meters per second and exactly 1.609344 kilometers per hour, because a mile is exactly 1.609344 kilometers and an hour is 3,600 seconds. One kilometer per hour is one kilometer divided by 3,600 seconds, which is 1/3.6 meters per second, a repeating decimal, so the tool carries it at full precision and rounds only the display. One knot is one nautical mile per hour, exactly 1.852 kilometers per hour, or about 1.15078 miles per hour.
The everyday conversions are the road speeds. Sixty miles per hour is 96.56064 kilometers per hour, which is why a 60 mph limit feels like roughly 100 km/h and a 100 km/h limit feels like roughly 60 mph: 100 km/h is 62.1371 mph, close to 60 but not equal, and the gap matters at the top of the range, where 70 mph is 112.6541 km/h and 120 km/h is 74.5645 mph. Wind speeds cross the same boundary: a 100-kilometer-per-hour wind is a 62-mile-per-hour wind, and a hurricane threshold quoted in one unit needs the exact conversion before it is compared with a threshold quoted in the other.
Knots deserve a word because they are the one speed unit people meet without ever being taught. A knot is one nautical mile per hour, and it is the standard speed at sea and in the air because a nautical mile is one minute of latitude, so a ship's speed in knots reads directly off a chart. Twenty knots is 37.04 kilometers per hour and 23.0156 miles per hour. Feet per second shows up in ballistics and ventilation, where a flow is easier to picture per second than per hour: 10 feet per second is 6.8182 miles per hour.
Data storage conversions: kilobytes vs kibibytes
Data is the category where the units themselves are confused. A kilobyte is 1,000 bytes. A kibibyte is 1,024 bytes. They differ by 2.4 percent, and the gap compounds at every step: a mebibyte is 4.86 percent larger than a megabyte, a gibibyte 7.37 percent larger than a gigabyte, and a tebibyte 9.95 percent larger than a terabyte. By the terabyte step, the two scales disagree by a tenth, which is why a drive that says 1 TB on the box shows about 931 gigabytes on the computer, and why nobody is lying.
The history explains the mess. Early computer engineers worked in powers of two, and 1,024 is close to 1,000, so they borrowed the metric prefix kilo and used it to mean 1,024. That worked while computers were small and their users were engineers. Then storage grew, manufacturers labeled drives in decimal thousands because the SI prefix kilo means exactly 1,000, and operating systems kept counting in powers of 1,024 while still calling the result kilobytes and gigabytes. In December 1998 the International Electrotechnical Commission approved separate names for the binary multiples, now part of IEC 80000-13: kibi for 2 to the power of 10, mebi for 2 to the power of 20, gibi for 2 to the power of 30, tebi for 2 to the power of 40, pebi for 2 to the power of 50, and exbi for 2 to the power of 60. NIST's reference page lists the same table and notes that the binary prefixes are not part of the SI, even though they were derived from it.
The practical rule is simple: storage manufacturers, cloud plans, and data allowances count in decimal, powers of 1,000, while operating systems, memory, and file systems count in binary, powers of 1,024. A 1 TB drive holds 1,000,000,000,000 bytes, and an operating system that divides by 1,024 at every step reports it as 931.32 gibibytes, which it usually labels GB. A 16 GB memory stick holds 16,000,000,000 bytes decimal, or 14.9012 gibibytes binary. A 100-megabit internet connection moves 100,000,000 bits per second, which is 12.5 megabytes per second, so a file of 1,000 megabytes takes 80 seconds to download. This tool keeps the two scales in separate units with separate labels, so the conversion you run is the one you meant.
Decimal vs binary data units
| Decimal unit (SI) | Bytes | Binary unit (IEC) | Bytes | Binary is larger by |
|---|---|---|---|---|
| Kilobyte (KB) | 1,000 | Kibibyte (KiB) | 1,024 | 2.4 percent |
| Megabyte (MB) | 1,000,000 | Mebibyte (MiB) | 1,048,576 | 4.86 percent |
| Gigabyte (GB) | 1,000,000,000 | Gibibyte (GiB) | 1,073,741,824 | 7.37 percent |
| Terabyte (TB) | 1,000,000,000,000 | Tebibyte (TiB) | 1,099,511,627,776 | 9.95 percent |
| Petabyte (PB) | 1,000,000,000,000,000 | Pebibyte (PiB) | 1,125,899,906,842,624 | 12.59 percent |
One more distinction matters: bits and bytes. A byte is 8 bits, exactly, and internet speeds are quoted in bits per second while file sizes are quoted in bytes, so a 100-megabit connection downloads at 12.5 megabytes per second, not 100. The tool includes bits alongside bytes, so a speed and a file size can be put on the same scale before the time is worked out. For storage planning rather than single conversions, the specialist tools on this site go further: the laptop storage size calculator works out how much drive space a laptop needs, the SD card photo capacity calculator turns a card size into a photo count, and the game console storage calculator does the same for games.
Why some conversions are exact and others are rounded
Two kinds of numbers appear in this tool, and telling them apart is the key to trusting a result. The first kind is a definition: a number fixed by agreement, with no measurement and no uncertainty behind it. The inch is defined as exactly 2.54 centimeters. The pound is defined as exactly 0.45359237 kilograms. The US gallon is defined as exactly 231 cubic inches. The nautical mile is defined as exactly 1,852 meters. These are not measurements that a better instrument might refine; they are the definitions themselves, and NIST marks them in boldface in its conversion tables to say exactly that.
The second kind is a rounded display of an exact definition. One meter is 3.280839895013123 feet, a decimal that never ends, because the foot is defined from the meter and not the other way around. No display can show all of it, so the tool rounds to the decimal places you choose and shows the exact value underneath when the rounding changed the number. The conversion is exact; the display is trimmed. That is also why the tool converts through the exact anchors rather than through a rounded intermediate: converting miles to kilometers through a rounded 1.61 would put a small error into every result, and chaining two rounded conversions would put in two.
Old sources can disagree with new ones by a hair, and the survey foot is the reason. Until the end of 2022 the United States kept two feet: the international foot of exactly 0.3048 meters, and the US survey foot of 1,200/3,937 meters, about 0.30480061 meters, used for land surveying. They differ by two parts per million, which is nothing on a room, but it is enough to change the printed acre: an acre measured in survey feet is 4,046.873 square meters, while an acre measured in international feet is 4,046.8564224 square meters. NIST and NOAA retired the survey foot on 31 December 2022, and from 1 January 2023 the international foot is the foot. This tool uses the international foot throughout, so if an old deed gives an acre of 4,046.873 square meters, that is the survey foot showing, not an error in either number.
The same care applies to the factors NIST prints to seven digits. Its conversion table lists the pound as 0.4535924 kilograms and the US gallon as 3.785412 liters, rounded for print, while the exact definitions are 0.45359237 kilograms and 3.785411784 liters. The tool uses the exact definitions, and its results agree with the printed table to all seven digits. If another converter differs in the seventh digit, it is using the printed rounding rather than the definition, and the difference is less than one part in ten million: real, but far below anything a kitchen or a workshop can measure.
Common mistakes to avoid
Mixing up the US gallon and the UK gallon. Both are called a gallon, and the UK gallon is about 20 percent larger. Fuel economy, tank sizes, and recipes all go wrong when the gallon is not named. Check the label on the unit before you convert, and convert the volume, not the name.
Converting temperature by multiplication alone. Doubling a Celsius temperature does not double the Fahrenheit temperature, because the scales start at different zeros. Twenty degrees Celsius is 68 Fahrenheit, and 40 degrees Celsius is 104 Fahrenheit, not 136. Always subtract 32 before scaling from Fahrenheit, and always add 32 after scaling to Fahrenheit. The tool does this through its Celsius pivot and shows both steps.
Forgetting to square the factor for area, or to cube it for volume. A square foot is 0.3048 squared, not 0.3048, and a cubic foot is 0.3048 cubed. The same error in reverse makes a square meter look like 3.28 square feet instead of 10.7639. If an area conversion looks wrong by a factor of about three, or a volume conversion by a factor of about eleven, the factor was not raised to the right power.
Treating KB and KiB as the same unit. They differ by 2.4 percent at the kilo step and by nearly 10 percent at the tera step, which is the whole gap between a drive's labeled size and its reported size. Check whether the number you are converting came from a manufacturer, who counts in thousands, or an operating system, which counts in powers of 1,024, and pick the unit that matches the source.
Confusing bits and bytes. Internet speeds are quoted in bits per second and file sizes in bytes, and a byte is 8 bits. A 100-megabit connection downloads at 12.5 megabytes per second, so a download that looks eight times too slow is usually just quoted in the other unit.
Rounding in the middle of a chain. Converting miles to kilometers, rounding, and then converting to meters carries the first rounding into the second result. Convert once from the original value, at the precision the job needs, and let the tool's exact value line show what the rounding cost.
Using a rough rule where the exact factor matters. Dividing pounds by 2.2, multiplying kilometers by 0.6, and calling a cup 240 milliliters are fine for conversation. They are not fine for a dose, a postage charge, a luggage limit, or a materials order, where the error, small as a percentage, is large as a quantity. The exact factors are printed above and built into the tool: use them when the number has consequences.
Frequently asked questions
Is 1 inch exactly 2.54 cm?
Yes, exactly, by definition, not by measurement. Since the international yard and pound agreement of 1959, the inch has been defined as 2.54 centimeters, and NIST prints the factor in boldface in its conversion tables, which means exact. A foot is 12 inches, so exactly 30.48 centimeters, and a mile is 5,280 feet, so exactly 1.609344 kilometers. The only rounding in an inch conversion is the rounding you choose for the display.
How do you convert Celsius to Fahrenheit?
Multiply the Celsius temperature by 9, divide by 5, then add 32. So 20 degrees Celsius is 20 times 9 divided by 5, which is 36, plus 32, which is 68 degrees Fahrenheit. To go the other way, subtract 32 from the Fahrenheit temperature, then multiply by 5 and divide by 9. Temperature needs the offset because the two scales start at different zeros: 0 degrees Celsius is 32 degrees Fahrenheit, not 0. This tool converts every temperature through Celsius as the pivot and shows both steps in the formula line.
What is the difference between KB and KiB?
A kilobyte, KB, is 1,000 bytes, counting in decimal powers of 1,000 under the SI system. A kibibyte, KiB, is 1,024 bytes, counting in binary powers of 1,024 under the IEC system. The gap grows at every step: a megabyte is 1,000,000 bytes while a mebibyte is 1,048,576 bytes, and a gigabyte is 1,000,000,000 bytes while a gibibyte is 1,073,741,824 bytes. Storage makers label drives in decimal units and operating systems report sizes in binary units, which is why the same drive shows two different numbers. This tool keeps the two scales in separate units with separate labels.
How many liters are in a US gallon?
Exactly 3.785411784 liters. A US gallon is defined as 231 cubic inches, and with the inch defined as exactly 2.54 centimeters, the liter value follows exactly. Do not confuse it with the UK gallon, which is exactly 4.54609 liters, about 20 percent larger. A US quart is a quarter of a US gallon, 0.946352946 liters, and a US pint is an eighth, 0.473176473 liters.
Why does my 1 TB drive show less than 1 TB on my computer?
Because the drive maker and your computer count in different units. The maker labels the drive in decimal terabytes: 1 TB is 1,000,000,000,000 bytes. Your computer divides by 1,024 at every step and reports the size in binary units, so the same drive reads as 931.32 gibibytes, or 0.9095 tebibytes, which the computer usually labels GB or TB anyway. Nothing is missing and nothing is broken: the bytes are all there, counted on a different scale. Converting 1 TB to TiB in this tool shows the same 0.9095 figure.
What temperature is -40 in both Celsius and Fahrenheit?
Minus 40 degrees is the one temperature where the Celsius and Fahrenheit scales meet: -40 degrees Celsius equals -40 degrees Fahrenheit exactly. It is the standard check that a temperature converter handles the offset correctly, because a converter that only multiplies can never produce it. The temperature quick table in this tool includes the -40 conversion alongside the freezing point of water at 0 degrees Celsius and 32 degrees Fahrenheit and the boiling point at 100 degrees Celsius and 212 degrees Fahrenheit.
Is a pound the same as 0.45 kg?
Approximately, but not exactly. One pound is exactly 0.45359237 kilograms, so 0.45 kilograms is a rounded shortcut that is about 0.8 percent low. On 150 pounds the shortcut gives 67.5 kilograms against the exact 68.0389 kilograms, an error of more than half a kilogram. For a rough sense of a body weight the shortcut is fine; for a dose, a postage charge, or a luggage limit, use the exact factor, which is what this tool uses.
Sources
Every figure on this page comes from one of the sources below, each accessed 20 November 2026, or from arithmetic shown in full on the page. The worked examples are real conversions from this tool and can be checked by entering the same values.
- nist.gov — NIST Guide to the SI, Appendix B.8: Factors for Units Listed Alphabetically, National Institute of Standards and Technology. Factors in boldface are exact. Inch to centimeter 2.54 exact, foot to meter 0.3048 exact, yard to meter 0.9144 exact, mile to kilometer 1.609344 exact, nautical mile to meter 1,852 exact, square foot to square meter 0.09290304 exact, square inch to square centimeter 6.4516 exact, hectare to square meter 10,000 exact, liter to cubic meter 0.001 exact, imperial gallon to liter 4.54609 exact, metric ton to kilogram 1,000 exact, mile per hour to meter per second 0.44704 exact, knot to meter per second 0.5144444, kilometer per hour to meter per second 0.2777778. Seven-digit factors for the pound, ounce, US gallon, US fluid ounce, cup, pint, quart, tablespoon, teaspoon, cubic foot, cubic inch, square mile, square yard, short ton, and long ton. Temperature relations: T/K equals t/°C plus 273.15, t/°C equals (t/°F minus 32) divided by 1.8, T/K equals (t/°F plus 459.67) divided by 1.8, T/K equals T/°R divided by 1.8. Accessed 20 November 2026.
- nist.gov — NIST Handbook 44, 2026, Appendix C: General Tables of Units of Measurement, National Institute of Standards and Technology. One US gallon equals 231 cubic inches exactly and 128 fluid ounces; one acre equals 43,560 square feet exactly; one avoirdupois pound equals 0.45359237 kilograms; one mile equals 5,280 feet; one international nautical mile equals 1,852 meters; one square mile equals 640 acres; the US survey foot was retired with a deprecation date of 31 December 2022, and from 1 January 2023 it should be avoided except for historic and legacy applications; SI prefixes from quetta at 10 to the power of 30 to quecto at 10 to the power of minus 30. Accessed 20 November 2026.
- physics.nist.gov — NIST Reference on Constants, Units, and Uncertainty: Prefixes for binary multiples, National Institute of Standards and Technology. The IEC approved names and symbols for binary multiples in December 1998: kibi 2 to the power of 10, mebi 2 to the power of 20, gibi 2 to the power of 30, tebi 2 to the power of 40, pebi 2 to the power of 50, exbi 2 to the power of 60. One byte is 8 bits; one mebibyte is 1,048,576 bytes; one megabyte is 1,000,000 bytes; one gibibyte is 1,073,741,824 bytes; one gigabyte is 1,000,000,000 bytes. The binary prefixes are not part of the SI. Memory makers use megabyte to mean 2 to the power of 20 bytes, storage makers use it to mean 1,000,000 bytes, telecommunications engineers use megabit per second to mean 10 to the power of 6 bits per second, and the 90 mm 1.44 MB diskette used a 1,024,000-byte megabyte. Accessed 20 November 2026.
- en.wikipedia.org — Cup (unit): Australia, Canada, New Zealand, and some other members of the Commonwealth of Nations employ a metric cup of 250 milliliters; the US customary cup is 236.5882365 milliliters exactly; the US legal cup used for nutrition labeling is defined in United States law as 240 milliliters. Accessed 20 November 2026.