Unit Converter for Length, Weight, Temperature, Volume and Data Size

Pick a category, type a value, choose the units. The conversion uses the exact factors the units are defined by, and it tells you whether a volume is US or Imperial and whether a data size is decimal or binary.

Unit converter

Calculated in this tab — nothing sent anywhere

Category Seven categories

1 cm =

0.393701 in

Every unit in this category From the value above
All units in the selected category, converted from the value you entered
UnitValue

US and Imperial are different systems, not different labels. A US gallon is about 3.79 L; an Imperial gallon is about 4.55 L — roughly 20% more.

GB and GiB are both here on purpose. Storage is sold in decimal (1 GB = 1,000 MB) and often reported by software in binary (1 GiB = 1,024 MiB), which is why a 1 TB drive shows around 931 GiB.

Temperature is converted as an offset scale, not a ratio. That is why -40 is the same in Celsius and Fahrenheit and nothing else is.

Why unit conversions go wrong

Two things break conversions, and neither is arithmetic. The first is rounding: a factor copied as 0.45 instead of 0.45359237 is wrong by about 0.8%, which is enough to be off by a kilogram on a 120 kg total. The second is a hidden choice — two units with the same name that are not the same size, or one set of numbers used for two different counting bases.

This converter avoids the first by using the factors the units are actually defined by, and the second by making the choice visible in the label instead of hiding it in a default.

The factors are definitions, not approximations

Most of the conversion factors people need are not measured values that drift; they are fixed by agreement or by the definition of the SI unit. A few that are exact, and that this page uses unchanged:

  • 1 inch = 25.4 mm exactly, and therefore 1 foot = 0.3048 m, 1 mile = 1,609.344 m.
  • 1 pound = 0.45359237 kg exactly.
  • 1 acre = 4,046.8564224 m² exactly.
  • 1 stone = 14 pounds exactly, and 1 pound = 16 ounces.

Because these are definitions, there is no precision to lose in the conversion itself. The only rounding that matters is the one applied when the result is displayed — which is why this page shows a fixed number of significant figures rather than chopping the number into a rounded shape partway through the calculation.

Advertisement

US and Imperial are not the same system

This is where most day-to-day conversions go wrong, and the error is large. Both systems use the words gallon, quart, pint and fluid ounce; the amounts are different.

UnitUSImperial
Gallon3.785411784 L4.54609 L
Quart0.946352946 L1.1365225 L
Fluid ounce29.5735295625 mL28.4130625 mL
Ton907.18474 kg (short)1,016.0469088 kg (long)

The practical consequence: a British recipe calling for a pint is about 568 mL, while a US pint is about 473 mL. Convert a UK recipe with US assumptions and a cake is roughly 20% short of liquid. The same trap runs the other way for fuel economy, paint coverage and any product sold in both markets.

So the selector here always names the system. There is no bare "gallon" option, because a bare "gallon" is an invitation to get it wrong.

Decimal and binary data sizes

Storage manufacturers count in decimal: 1 KB = 1,000 bytes, 1 MB = 1,000,000, 1 GB = 1,000,000,000, 1 TB = 1,000,000,000,000. Operating systems have historically counted in binary: 1 KiB = 1,024 bytes, 1 MiB = 1,048,576, 1 GiB = 1,073,741,824.

That is the entire explanation for the missing capacity. A 1 TB drive contains 1,000,000,000,000 bytes. Divide by 1,073,741,824 and you get about 931.3 GiB — which older interfaces display as "931 GB", because they were printing binary values with decimal names.

Both readings are shown here, separately, so the number you get is the number you meant. If a form or a tool asks for GB explicitly in the binary sense, use the GiB row.

Advertisement

Temperature is an offset scale, not a ratio

Everything else on this page multiplies. Temperature adds. Celsius and Fahrenheit have different zero points and different step sizes, so the conversion is a line, not a proportion: C × 9/5 + 32 = F, and Kelvin is simply Celsius shifted by 273.15.

Two consequences worth knowing. Because the lines cross, -40 is the same number in both scales — the only point where that happens. And because zero means different things, "twice as hot" is not a meaningful statement in either absolute scale; it only works in Kelvin.

Rounding at the end, not in the middle

A chain of conversions should be computed with full precision and rounded once, at display. Rounding after each step compounds error: convert feet to inches to centimetres with two decimal digits at each stage and the final value can drift by a visible fraction of a millimetre.

This page keeps full precision internally and applies a significant-figure rule only when printing. If you are pasting a value into another system, copy the full string rather than retyping a shortened version.

Nothing leaves the page

The conversion tables are part of the page and the arithmetic runs in JavaScript. There is no upload, no account, and no request carrying the values you enter — a converted measurement can reveal what a document is about, which is reason enough to keep it local. Verify in the network panel: typing a value produces no outbound request.

Check before you rely on a number

Three checks that catch almost every bad conversion: confirm the system (US or Imperial, decimal or binary), confirm you are reading the result in the same unit the other tool expects, and sanity-check the magnitude — a gallon should be around four litres, a mile around one and a half kilometres. If the result is off by roughly 20%, you almost certainly crossed US and Imperial.

Back to all SizeGlide tools.

Frequently asked questions

Why does my 1 TB drive show about 931 GB?

The drive holds 1,000,000,000,000 bytes, which is 1 TB in decimal. Software that counts in binary divides by 1,073,741,824 and prints the result as GB even though the unit is GiB — about 931.3. Both readings are shown separately on this page.

Is a US gallon the same as an imperial gallon?

No. A US gallon is 3.785411784 L and an imperial gallon is 4.54609 L, about 20% larger. The selector always names the system so the two cannot be confused.

Why is -40 the same in Celsius and Fahrenheit?

Because the two scales are related by a line rather than a proportion, and that line crosses itself at -40. It is the only temperature where both scales read the same number.

Are the conversion factors rounded?

No. Factors fixed by definition are used unchanged — an inch is exactly 25.4 mm and a pound is exactly 0.45359237 kg. Only the displayed result is rounded, and rounding is applied once at the end rather than at each step.

Is anything uploaded or saved?

No. The conversion tables ship with the page and the arithmetic runs in your browser. No value is sent anywhere, and nothing is stored between visits.

Advertisement