Unit Converter

Pick a category, type a number in either box and every unit updates instantly. You can also type a phrase such as "5 kg to lb".

How this unit converter works

Every category has one base unit (the metre for length, the kilogram for mass, the pascal for pressure and so on), and every other unit is stored as an exact multiple of that base. To convert, the value is multiplied by the factor of the unit you start from and divided by the factor of the unit you want:

result = value × factor(from) ÷ factor(to)

Two categories need more than a single factor. Temperature scales have different zero points, so they are converted through kelvin with an offset (°F → K is (°F + 459.67) × 5/9). Fuel economy mixes distance-per-volume units (mpg, km/L) with volume-per-distance units (L/100 km), which are reciprocals of each other, so the converter divides instead of multiplying when you cross between the two families.

Results are shown to 10 significant digits and cleaned of binary floating-point noise, so 1 inch shows as exactly 2.54 cm rather than 2.5399999999999996.

Exact definitions behind the numbers

Most customary units are now defined exactly in terms of SI units, so their conversion factors are not measurements but definitions:

UnitExact value
1 inch2.54 cm
1 foot0.3048 m
1 mile1.609344 km
1 pound0.45359237 kg
1 US gallon3.785411784 L (231 in³)
1 imperial gallon4.54609 L
1 acre4,046.8564224 m²
1 standard atmosphere101,325 Pa
1 市斤 (jin)0.5 kg
1 亩 (mu)2,000/3 m² ≈ 666.67 m²

The international yard and pound date from the 1959 agreement between the US, UK and Commonwealth countries. Chinese market units (市制) were fixed to metric values in 1959 as well: 1 市尺 = 1/3 m, 1 里 = 500 m, 1 两 = 50 g. A handful of units are conventions rather than definitions — the average Gregorian month and year, Mach 1 at sea level — and the converter labels them as such.

Worked example: 10 km to miles

The calculator opens on 10 kilometres to miles. Because 1 mile is exactly 1.609344 km, you divide:

10 km ÷ 1.609344 = 6.213711922 mi

Going the other way, multiply: 6.2 mi × 1.609344 = 9.978 km. A useful mental shortcut is that 5 miles is almost exactly 8 km (8.047 km), so 10 km is a little over 6 miles — which is why a "10K" race is about 6.2 miles.

The table under the converter shows the same 10 km in every length unit, from millimetres to light-years, and the two conversion tables list the most searched values in both directions.

Tips and common pitfalls

  • US vs imperial volumes differ. A US gallon is 3.785 L but an imperial (UK) gallon is 4.546 L, about 20 % larger; US and UK fluid ounces and pints differ too.
  • Ounce has two meanings. A weight ounce (28.35 g) is not a fluid ounce (29.57 mL). Converting between them needs a density — use the cooking converter for ingredients.
  • GB vs GiB. Drive makers use decimal gigabytes (109 bytes) while many operating systems report binary gibibytes (230 bytes), which is why a "1 TB" drive shows about 931 GiB.
  • Calories. Food labels use the kilocalorie (1 Cal = 1 kcal = 4.184 kJ).

For dedicated pages with more tables, see the length, weight, temperature, area and volume converters.

Frequently asked questions

How accurate are the conversions?

Factors are exact by definition wherever a definition exists, and results are displayed to 10 significant digits — far more precision than everyday measurements need.

Can I type a whole conversion as text?

Yes. The quick-convert box understands phrases such as "5 kg to lb", "72 F in C", "3 acres to hectares" or Chinese phrases like "3 亩等于多少平方米".

Why does L/100 km go down when mpg goes up?

mpg measures distance per fuel while L/100 km measures fuel per distance, so they are reciprocals: L/100 km = 235.215 ÷ mpg (US).

Is a ton the same everywhere?

No. A metric tonne is 1,000 kg, a US short ton is 2,000 lb (907.18 kg) and a UK long ton is 2,240 lb (1,016.05 kg). A "ton" of air conditioning is a power unit of 12,000 BTU/h.

Sources & references

Last reviewed: