📏 Unit Converter

A unit converter across 12 categories and 90+ units that shows the factor used — and whether it is exact by definition or merely conventional.

Free No Signup Required Browser-Based

Common conversions

1 cm =
0.39370079 in

1 cm = 0.3937007874 in — exact by definition.

  • Defined as exactly 2.54 cm since 1959

What Unit Converter Does

Most unit conversions are just multiplication, and the interesting question is which number to multiply by. A surprising share of the common ones are exact by definition rather than measured: an inch is precisely 2.54 centimeters, a pound is precisely 0.45359237 kilograms, a US gallon is precisely 231 cubic inches. Those are not approximations that got very good — they are definitions, agreed in 1959, carrying no uncertainty whatsoever.

Others are not exact and never can be. Degrees to radians runs through π, which is irrational. Inches of mercury depend on a conventional fluid density and a conventional value for gravity. The distinction matters when you are chaining conversions or reporting significant figures, and no other converter tells you which kind you are looking at. This one says so on every result.

The other thing worth knowing is where the same word means two different quantities. A US gallon and an imperial gallon differ by about 20%. A "gigabyte" from a drive manufacturer and a "GB" from your operating system differ by about 7%, which is why a 1 TB disk shows up as 931 GB and nothing is actually missing. Mechanical and metric horsepower differ by 1.4%.

And temperature is not multiplication at all. Celsius and Fahrenheit disagree about where zero sits, so converting between them needs an offset as well as a scale factor — which is why they cross at exactly −40, and why this converter routes every temperature through kelvin rather than pattern-matching pairs.

How to Use Unit Converter

  1. Pick a category — or tap one of the common conversions to jump straight there
  2. Type the value; the result updates as you type, with no button to press
  3. Use the swap arrows to reverse the direction without re-picking both units
  4. Read the conversion factor under the result, including whether it is exact by definition

Formula Used by Unit Converter

The general conversion

result = value × (factor of source unit) ÷ (factor of target unit)

factor
How many base units one of this unit is worth — meters, kilograms, liters and so on
Why a base
Routing through one base unit per category means n units need n factors, not n² pairs

Worked example

Converting 5 miles to kilometers

  1. Mile factor: 1609.344 m exactly
  2. Kilometer factor: 1000 m
  3. 5 × 1609.344 ÷ 1000

Result: 8.04672 km — exact, because both factors are definitions

Temperature needs an offset too

°F = °C × 9/5 + 32 · K = °C + 273.15 · °R = K × 9/5

Offset
The scales disagree about zero, so a scale factor alone is not enough
Absolute scales
Kelvin and Rankine start at absolute zero, so between those two it IS pure multiplication

Worked example

The point where Celsius and Fahrenheit agree

  1. Set x = x × 9/5 + 32
  2. x − 1.8x = 32
  3. −0.8x = 32

Result: x = −40. The two scales read the same only at −40°

The exact definitions everything else follows from

1 in = 0.0254 m · 1 lb = 0.45359237 kg · 1 US gal = 231 in³

1959
The international yard and pound agreement, adopted by the US, UK and Commonwealth
Derived
Foot, yard, mile, ounce, ton, quart, cup and fluid ounce all follow exactly from these

Worked example

Deriving the mile from the inch

  1. 1 ft = 12 in = 0.3048 m
  2. 1 yd = 3 ft = 0.9144 m
  3. 1 mi = 5280 ft

Result: 1,609.344 m exactly — no rounding anywhere in the chain

Decimal against binary prefixes

1 GB = 10⁹ bytes but 1 GiB = 2³⁰ = 1,073,741,824 bytes

GB
Decimal, as used by drive manufacturers and networking
GiB
Binary, and what most operating systems mean when they print "GB"

Worked example

A 1 TB drive as your computer reports it

  1. 1 TB = 10¹² bytes
  2. 1 GiB = 1,073,741,824 bytes
  3. 10¹² ÷ 1,073,741,824

Result: 931.32 — the drive is not short, the two are counting differently

Exact by definition — no uncertainty at all

These are agreed definitions, not measurements. Any converter disagreeing with these in the eighth decimal place is using a rounded factor.

UnitExactly equalsSince
1 inch0.0254 m1959 international agreement
1 foot0.3048 mDerived: 12 inches
1 yard0.9144 mDerived: 3 feet
1 mile1,609.344 mDerived: 5,280 feet
1 nautical mile1,852 mDefined directly
1 pound0.45359237 kg1959 international agreement
1 ounce0.028349523125 kgDerived: 1/16 pound
1 US gallon3.785411784 LDefined as 231 cubic inches
1 acre4,046.8564224 m²Derived: 4,840 square yards
1 atmosphere101,325 PaDefined directly
1 calorie (thermochemical)4.184 JDefined directly
speed of light299,792,458 m/sIt defines the meter

Source: NIST Special Publication 811, Appendix B — Conversion Factors

Same name, different quantity

Each of these pairs shares a word and does not share a value. Getting the wrong one is the most common real-world conversion error.

PairDifferenceWhere it bites
US gallon vs imperial gallon3.785 L vs 4.546 L — 20.1% apartRecipes, fuel economy, UK vs US measures
GB (10⁹) vs GiB (2³⁰)7.4% apartA 1 TB drive reports as 931 GB
Mechanical hp vs metric PS745.70 W vs 735.50 W — 1.4% apartCar specs quoted in different markets
Short ton vs long ton vs tonne907.18 vs 1,016.05 vs 1,000 kgFreight and commodity weights
Julian year vs calendar year365.25 vs 365.2425 daysAstronomy against civil timekeeping
International vs US survey acrediffer in the 6th significant figureLand surveying and legal descriptions

The conversions people actually search for

Each value here is exact, because both units in every pair are defined rather than measured. These are one tap on the converter above.

ConversionFactorReverse
cm → inches0.3937007874021 in = 2.54 cm
kg → pounds2.2046226218491 lb = 0.45359237 kg
km → miles0.6213711922371 mi = 1.609344 km
meters → feet3.2808398950131 ft = 0.3048 m
liters → US gallons0.2641720523581 gal = 3.785411784 L
mph → km/h1.6093441 km/h = 0.621371192237 mph
knots → km/h1.8521 km/h = 0.539956803456 kn
°C → °Fnot a factor — × 9/5 then + 32°C = (°F − 32) × 5/9

How to Read Your Result

Exact and approximate are genuinely different

When both units are defined, the conversion carries no uncertainty and you can keep as many digits as you like — 1 mile is 1,609.344 meters, full stop. When one is conventional or irrational, extra digits are false precision. This matters most when chaining: converting inches to centimeters to meters loses nothing, but running a measurement through degrees and radians and back does. A converter that hands you eight decimal places without saying which kind you have is inviting you to over-report.

Your hard drive is not lying to you

Manufacturers sell in decimal units, where a terabyte is 10¹² bytes. Windows and most operating systems display in binary units but label them with decimal prefixes, so what they call "931 GB" is really 931 gibibytes. Both numbers describe the same disk. The IEC introduced KiB, MiB and GiB in 1998 precisely to end this ambiguity, and the industry has adopted them unevenly ever since. macOS switched to decimal reporting in 2009; Windows did not.

Why temperature is the odd one out

Every other category in this converter is a ratio scale: zero means none of the quantity, so conversion is pure multiplication. Celsius and Fahrenheit are interval scales — their zeros are arbitrary points, one the freezing point of water and the other a brine mixture — so they need an offset as well. This is also why it is meaningful to say 20 kg is twice 10 kg but wrong to say 20 °C is twice as hot as 10 °C. In kelvin, where zero is absolute, that ratio statement becomes valid again.

The 1959 agreement quietly fixed a real problem

Before it, the US and UK inches differed slightly, and precision engineering across the Atlantic had to account for it. The agreement defined the inch as exactly 2.54 cm — pinning the imperial system to the metric one rather than the other way round. Every imperial length unit in use today is therefore formally a metric derivative. The one exception is the US survey foot, retained for legacy land records and differing by about two parts per million, which is why the international and US survey acre are not quite the same.

Where the top results put their effort

The most popular converters are not winning on interface — two of them still use unstyled multi-select list boxes, and the best-looking of them is not the most popular. They win on coverage and structure: dozens of categories, hundreds of units, and a separate indexed page for each common conversion. Coverage is the real bar to clear, which is why this tool went from 4 categories to 12 and from 23 units to 95.

Significant figures, not decimal places

Fixing the number of decimal places makes small results useless and large results unreadable — a meter in kilometers becomes "0.001000" while a light year in meters overflows into noise. Formatting to significant figures instead keeps the same amount of real information at every magnitude, and falls back to scientific notation only when a plain decimal genuinely cannot be read. Your input, not the arithmetic, is almost always what limits how many of those digits mean anything.

Limitations & Accuracy Notes

  • Currency is not included. Exchange rates change continuously and belong to a live data source, not a static factor table.
  • US customary and imperial units share names but not always values. Volume units here are US unless labeled imperial; dry measures differ again from liquid measures.
  • The international acre and foot are used, not the US survey versions retained for some land records. The two differ by roughly two parts per million.
  • Results are computed in double precision, so a very long chain of conversions can accumulate error in the final digits even where every individual factor is exact.
  • Fuel economy is not a straight conversion: miles per gallon and liters per 100 km are reciprocals of one another, so they cannot be handled by the same multiply-and-divide as everything else.
  • Displayed digits are not a claim about your measurement. A conversion cannot add precision that the input never had.

Frequently Asked Questions

Is 1 inch exactly 2.54 cm?
Yes, exactly. The 1959 international yard and pound agreement defined the inch as precisely 0.0254 meters, which makes the foot exactly 0.3048 m and the mile exactly 1,609.344 m. These are definitions, not measurements, so they carry no uncertainty at all — this converter marks which conversions have that status.
Why does my 1 TB drive show as 931 GB?
Because two different definitions are in play. Drive manufacturers use decimal prefixes, where 1 TB is 10¹² bytes. Most operating systems report in binary units, where what they label "GB" is really a gibibyte of 2³⁰ bytes. 10¹² bytes is 931.32 GiB, so nothing is missing — the two are just counting differently. Use the Digital storage category to see it.
Why can't temperature be converted by multiplying?
Because the scales have different zero points, not just different step sizes. Celsius and Fahrenheit disagree about where zero is, so a conversion needs both a scale factor and an offset: °F = °C × 9/5 + 32. Kelvin and Rankine are absolute scales that share zero with physical reality, which is why this converter routes everything through kelvin.
At what temperature do Celsius and Fahrenheit read the same?
At −40. It is the one point where the two scales cross, which follows from solving °C = °C × 9/5 + 32. It is a useful sanity check on any temperature converter.
Is a US gallon the same as an imperial gallon?
No, and the gap is large. A US gallon is exactly 231 cubic inches, or 3.785 liters. An imperial gallon is 4.546 liters — about 20% bigger. The same split runs through quarts, pints and fluid ounces, which is why a recipe measured in one system goes wrong in the other.
Which conversions are not exact?
Anything defined by measurement or convention rather than by definition. Degrees to radians involves π, which is irrational and can only ever be approximated. Inches of mercury depend on a conventional density and gravity. This converter says which of the two you are looking at on every result.

References & Further Reading

By OnlineToolHubs Team • September 2026