Skip to content
thecalculatorstudio

Unit Converter: Length, Weight, Volume, Temperature and More

Pick what you are converting, enter a value, choose the two units, and read the answer. Every factor is held exactly, and the working is a single division at the end.

Last reviewed

To

0.62137119

0.62137119 mi, and 1 km = 0.62137119 mi

One converter for fifteen kinds of unit

Choose what you are converting, type a value, pick the unit you have and the unit you want, and the answer appears at once. The converter covers:

  • Length: millimetres, centimetres, metres, kilometres, inches, feet, yards, miles and nautical miles.
  • Mass (weight): micrograms to tonnes, ounces, pounds, stones, and the tola and maund used in South Asia.
  • Volume: millilitres, litres, cubic metres, cubic inches, feet and yards, cups, pints, quarts and gallons, US and UK.
  • Area: square centimetres to square kilometres, hectares, square inches, feet and yards, and acres.
  • Speed: metres per second, kilometres per hour, miles per hour, feet per second and knots.
  • Time, pressure, power, energy and fuel economy: seconds to years, pascals to psi, watts to horsepower, joules to kilocalories, and miles per gallon to litres per 100 km.
  • Data transfer rate, data size, acceleration and torque.
  • Temperature: Celsius, Fahrenheit, Kelvin and Rankine.

The swap button reverses the two units, and the link button saves your conversion in the address.

How a conversion works

Every unit is stored as an exact number of a base unit: metres for length, kilograms for mass, litres or cubic metres for volume. To convert, the value is multiplied by the factor of the unit you start from and divided by the factor of the unit you end in. The division is done last, so no rounding creeps in on the way.

5 miles to kilometres: 5 × 1.609344 = 8.04672 km.

The factors are not rounded approximations. They are the exact definitions published by NIST in Special Publication 811, Appendix B.8:

Unit Exact value
1 inch 2.54 centimetres
1 foot 0.3048 metres
1 mile 1.609344 kilometres
1 pound 0.45359237 kilograms
1 ounce 28.349523125 grams (one sixteenth of a pound)
1 US gallon 3.785411784 litres
1 mile per hour 0.44704 metres per second
1 square foot 0.09290304 square metres

Because the factors are exact, converting there and back returns the number you started with. 8.04672 km is 8.04672 ÷ 1.609344 = 5 miles again, and 100 °C to Fahrenheit and back is 100 °C. A converter that rounds its factors, for example 1.61 instead of 1.609344, drifts a little each time, and the error grows when you convert a long distance or chain several conversions together.

Common conversions

Working from those exact definitions, the figures people look up most are:

Convert Result
1 mile to kilometres 1.609344
1 kilometre to miles 0.621371192237334
1 kilogram to pounds 2.20462262184878
1 litre to US gallons 0.264172052358148
1 square metre to square feet 10.7639104167097
100 km/h to mph 62.1371192237334
1 mph to km/h 1.609344

The long decimals are shown to 15 significant figures. The converter itself shows up to 8 and drops trailing zeros.

Temperature is different

Length, mass and volume convert by multiplying. Temperature scales also have different zero points, so they need an offset as well.

  • Celsius to Fahrenheit: °F = °C × 9/5 + 32. So 100 °C is 212 °F, and 0 °C is 32 °F.
  • Fahrenheit to Celsius: °C = (°F − 32) × 5/9. So 50 °F is 10 °C, and 98.6 °F is exactly 37 °C.
  • Celsius to Kelvin: K = °C + 273.15, so 0 °C is 273.15 K.
  • −40 is the same on both the Celsius and Fahrenheit scales.

The converter flags a temperature below absolute zero, −273.15 °C, because no such temperature exists, though the arithmetic still works.

Pairs that look alike but are not

  • US and UK gallons. The US gallon is 3.785411784 litres. The imperial gallon is 4.54609 litres, about 20% larger. The same applies to pints, quarts and cups, so choose the system you mean.
  • Short and long tons. A US ton is 2,000 pounds, a UK ton 2,240 pounds, and a tonne is 1,000 kilograms.
  • Decimal and binary data. A gigabyte is 1,000 megabytes, and a gibibyte is 1,024 mebibytes. They are close but not equal.
  • Weight and mass. Everyday “weight” in kilograms or pounds is really mass. The converter treats it that way.

Estimating in your head

Exact answers are best, but a few anchors help you sanity-check:

  • 1 inch is 2.54 cm, so 10 cm is a bit under 4 inches.
  • 1 mile is about 1.6 km, and 100 km/h is about 62 mph.
  • 1 kg is about 2.2 lb, and 1 litre is a little over a quarter of a US gallon.
  • For Celsius to Fahrenheit, double and add 30 for a rough answer. 20 °C gives 70 °F, against the exact 68.

More detailed pages

If you want one kind of unit with more explanation and a table of common values, use the length converter, the weight converter, the temperature converter, the volume converter, the area converter or the speed converter.

How it is calculated

Each unit holds an exact factor to the base unit as a decimal or a fraction such as 1000/3600. A conversion multiplies the value by the source factor and the target denominator, then divides once by the source denominator and the target factor, all in exact decimal arithmetic to 40 digits. Temperature goes through Kelvin, using the exact offsets 273.15 and 459.67 and the ratio 5/9. The answer is shown to 8 significant figures with trailing zeros removed. A unit chosen from the wrong list, or a value that is not a number, gives an error.

Frequently asked questions

How are units converted?

Every unit is defined as an exact number of a base unit, such as metres for length. The value is multiplied by the factor of the unit you start from and divided by the factor of the unit you end in. 5 miles to kilometres is 5 × 1.609344 = 8.04672 km.

How exact are the factors?

The inch is defined as exactly 2.54 centimetres, the pound as exactly 0.45359237 kilograms, the US gallon as exactly 3.785411784 litres and the mile as exactly 1.609344 kilometres. The calculator uses those definitions, with no rounding until the last step.

How do I convert temperatures?

Temperatures are not a simple multiplication. Fahrenheit is Celsius × 9/5 + 32, so 100 °C is 212 °F, and Kelvin is Celsius + 273.15, so 0 °C is 273.15 K. The two scales meet at −40, where −40 °C = −40 °F.

Why do US and UK gallons differ?

They are different units. A US gallon is exactly 3.785411784 litres and an imperial (UK) gallon is 4.54609 litres. The converter lists both in the volume category, so pick the one you mean.

What is the quickest way to estimate a conversion?

Remember a few anchors: 1 inch is 2.54 cm, 1 mile is about 1.6 km, 1 kg is about 2.2 lb, 1 litre is a bit over a quarter of a US gallon, and 100 km/h is about 62 mph. The converter gives them exactly.

Why is there a separate converter for length, weight and others?

Those pages show common conversions for one kind of unit and explain them in more detail. This page puts all fifteen kinds in one place when you just want a number.

Related calculators

Sources