Everyday

Unit converter

A unit converter changes a measurement from one unit to another, such as kilometres to miles or Celsius to Fahrenheit. This converter covers length, weight, temperature, volume, area, speed, time and digital data, and shows every unit in the category at once, using exact conversion factors.

Runs in your browser. Nothing you type is sent to us.

Result

…

Key facts

  • 1 inch = 2.54 cm exactly, 1 mile = 1.609344 km and 1 pound = 0.45359237 kg.
  • °F = °C × 9/5 + 32, and K = °C + 273.15.
  • 1 US gallon = 3.785 L, but 1 UK gallon = 4.546 L.
  • 1 KB = 1,000 bytes, while 1 KiB = 1,024 bytes.

How to use the unit converter

  1. Choose a quantity: length, weight, temperature, volume, area, speed, time or data.
  2. Pick the unit you are converting from and the unit you want.
  3. Type a value. The result updates instantly, and the table below shows the value in every unit of that quantity.
  4. Use the swap button to reverse the conversion.

How conversions work

Every unit in a category is converted to a base SI unit (metre, kilogram, litre, square metre, metre per second, second or byte) and then to the target unit. Temperature is the exception: Celsius, Fahrenheit and Kelvin have different zero points, so they need offset formulas rather than a single multiplier.

Length

FromToMultiply by
InchesCentimetres2.54 (exact)
FeetMetres0.3048 (exact)
YardsMetres0.9144 (exact)
MilesKilometres1.609344 (exact)
KilometresMiles0.621371
Nautical milesKilometres1.852 (exact)

Weight (mass)

FromToMultiply by
PoundsKilograms0.45359237 (exact)
KilogramsPounds2.20462
OuncesGrams28.3495
StonesKilograms6.35029 (14 lb)
Metric tonnesKilograms1,000

Temperature

°F = °C × 9/5 + 32°C = (°F − 32) × 5/9K = °C + 273.15
CelsiusFahrenheitKelvinReference point
−40−40233.15The scales meet
032273.15Water freezes
2068293.15Room temperature
3798.6310.15Body temperature
100212373.15Water boils at sea level

Volume

FromToMultiply by
US gallonsLitres3.78541
UK gallonsLitres4.54609
US fluid ouncesMillilitres29.5735
US cupsMillilitres236.588
Tablespoons (US)Millilitres14.7868
Teaspoons (US)Millilitres4.92892
Cubic metresLitres1,000

Speed, area and data

FromToMultiply by
km/hmph0.621371
m/skm/h3.6
Knotskm/h1.852
Square feetSquare metres0.092903
AcresHectares0.404686
Megabytes (MB)Kilobytes (KB)1,000
Mebibytes (MiB)Kibibytes (KiB)1,024

Step-by-step examples: unit conversions

  • Height: 5 ft 10 in = 70 in × 2.54 = 177.8 cm.
  • Weather: 25 °C = 25 × 9/5 + 32 = 77 °F.
  • Fuel: 50 litres = 50 ÷ 3.78541 = 13.2 US gallons.
  • Running: 10 km = 10 × 0.621371 = 6.21 miles.
  • Cooking: 2 cups = 2 × 236.588 = 473 mL.

Metric prefixes

PrefixSymbolFactor
gigaG10⁹
megaM10⁶
kilok10³
centic10⁻²
millim10⁻³
microµ10⁻⁶
nanon10⁻⁹

Rounding and precision

Many conversion factors are exact by definition: 1 inch is exactly 2.54 cm, 1 pound is exactly 0.45359237 kg and 1 US gallon is exactly 231 cubic inches. Others, such as miles per hour to knots, are usually quoted rounded. Keep full precision while you work and round only the final answer to the precision of your original measurement; converting 12 ft to 3.6576 m does not make a tape-measure reading accurate to a tenth of a millimetre.

Common mistakes with unit conversions

  • Mixing US and UK units. Gallons, pints and fluid ounces differ between the two systems.
  • Converting area or volume with a length factor. 1 m = 3.281 ft, but 1 m² = 10.764 ft² and 1 m³ = 35.315 ft³.
  • Treating KB and KiB as the same. Storage makers use decimal units (1 GB = 10⁹ bytes); operating systems often report binary units, so a "1 TB" drive shows about 931 GiB.

The standards behind every unit

All conversions here go back to the International System of Units (SI), maintained by the International Bureau of Weights and Measures (BIPM) near Paris. Since the 2019 revision, all seven SI base units are defined by fixed constants of nature, such as the speed of light for the metre and the Planck constant for the kilogram. US customary units are defined from metric ones: under the International Yard and Pound Agreement of 1959, the yard is exactly 0.9144 m and the pound exactly 0.45359237 kg, so an inch is exactly 2.54 cm.

The US remains one of very few countries that mainly use non-metric units in daily life, alongside Liberia and Myanmar, although the Metric Conversion Act of 1975, as amended in 1988, makes metric the preferred system for US trade and commerce. Unit mistakes have real costs: NASA lost the Mars Climate Orbiter in 1999 because one team used pound-force seconds while another expected newton-seconds, and the 1983 Gimli Glider incident saw an Air Canada Boeing 767 run out of fuel after a pounds-for-kilograms mix-up. In the US, NIST publishes the official conversion factors in Special Publication 811. For temperature-dependent gas volumes, use the ideal gas law calculator; for area in property, the square footage calculator; and for fuel economy units, the fuel cost calculator.

How this calculator works

  • Converts by first changing the value to the SI base unit for that quantity, then to the target unit.
  • Factors follow exact definitions where they exist (1 in = 2.54 cm, 1 lb = 0.45359237 kg, 1 US gal = 3.785411784 L).
  • Temperature uses offsets as well as scale factors: °F = °C × 9/5 + 32; K = °C + 273.15.
  • Results are shown with up to about 10 significant figures; round to suit your use.

Frequently asked questions

How do I convert cm to inches?

Divide centimetres by 2.54. 30 cm ÷ 2.54 = 11.81 inches.

How do I convert kg to pounds?

Multiply kilograms by 2.20462. 70 kg = 154.3 lb.

How do I convert Celsius to Fahrenheit?

Multiply by 9/5 and add 32. 30 °C = 86 °F.

How many litres are in a gallon?

A US gallon is 3.785 litres; a UK (imperial) gallon is 4.546 litres.

How many feet are in a metre?

One metre is about 3.281 feet.

How do I convert km to miles?

Multiply kilometres by 0.621371. 5 km = 3.11 miles.

What is the difference between MB and MiB?

A megabyte (MB) is 1,000,000 bytes; a mebibyte (MiB) is 1,048,576 bytes (2²⁰).

Why is an inch exactly 2.54 cm?

The international yard and pound agreement of 1959 defined the yard as exactly 0.9144 m, which makes the inch exactly 2.54 cm.

Sources

  1. NIST, Unit Conversion
  2. BIPM, The International System of Units (SI Brochure)

Updated November 25, 2026. Formulas checked against published sources and worked examples.

Cite this page: CalcRoster. "Unit converter." calcroster.com/unit-converter/. Updated November 25, 2026.

Results are estimates for general information. They are not financial, medical or legal advice. Check important decisions with a qualified professional.