Skip to content

Unit Converter

Convert between metric and imperial units using conversion factors, and check that the units are compatible (dimensional analysis).

How to use the unit converter

  1. Enter a value and the units (e.g. km, mi, ft, kg, lb, °F, °C, L, gallon).
  2. The conversion factor and a round-trip check are shown.

Examples

5 km to miles

Answer: 3.10686 mi

100 °F to °C

Answer: 37.78 °C

What the unit converter does

Convert between units of length, mass, volume, area, temperature, time, speed and more, between metric and imperial (US customary) units. Every conversion shows the factor used, so you can do the same thing by hand.

The method: multiply by a conversion factor

Write the conversion as a fraction equal to 1, with the unit you want on top and the unit you're cancelling on the bottom:

This is called dimensional analysis. The units cancel like numbers, which tells you that you set it up correctly.

Chain conversions

How many seconds are in 3 days?

Common conversion factors

From To Multiply by
inches centimetres 2.54 (exact)
feet metres 0.3048 (exact)
miles kilometres 1.609
pounds kilograms 0.4536
US gallons litres 3.785
km/h m/s

Temperature is different

Temperature scales have different zero points, so you can't just multiply:

For example, .

Area and volume: square and cube the factor

Since 1 m = 100 cm, 1 m² = 100² = 10,000 cm² and 1 m³ = 100³ = 1,000,000 cm³. Also, 1 litre = 1,000 cm³.

Metric prefixes

kilo (k) = 1,000, centi (c) = , milli (m) = , micro (μ) = . For example, 3.5 km = 3,500 m = 350,000 cm.

Common mistakes

  • Converting area or volume with the length factor (1 m² is not 100 cm²).
  • Flipping the conversion factor so the units don't cancel.
  • Mixing US and UK units. A UK (imperial) gallon is 4.546 L, not 3.785 L.

In real life: a road trip

A rental car in Europe uses 6.5 litres of fuel per 100 km. How many miles per US gallon is that?

  1. Distance per litre: km per litre.
  2. Per US gallon: km per gallon.
  3. In miles: miles per gallon.

So 6.5 L/100 km is about 36 mpg (US). Notice that the two systems run in opposite directions: lower L/100 km is better, but higher mpg is better.

Cooking is another everyday case. A recipe needing 350°F converts to , so set a metric oven to about 180°C.

Practice problems

Try each one first, then open the answer to check your work.

  1. 1.Convert 5 feet to centimetres.

    Show answer

    152.4 cm. .

  2. 2.Convert 68°F to Celsius.

    Show answer

    20°C. .

  3. 3.Convert 90 km/h to m/s.

    Show answer

    25 m/s. .

  4. 4.Convert 3 m² to cm².

    Show answer

    30,000 cm². .

  5. 5.Convert 2.5 kg to pounds.

    Show answer

    About 5.51 lb. .

Key terms

Conversion factor
A ratio equal to 1 that changes units, such as .
Dimensional analysis
Tracking units through a calculation so they cancel correctly.
SI units
The international metric system: metre, kilogram, second, kelvin.
Metric prefix
A word like kilo- or milli- that scales a unit by a power of 10.
Imperial units
Traditional units such as inches, pounds and gallons.

Frequently asked questions

Why do temperatures convert differently?

Celsius and Fahrenheit have different zero points, so the conversion adds an offset as well as scaling.

How do I convert square feet to square metres?

Multiply by 0.0929, because 1 ft = 0.3048 m and . A 1,500 ft² apartment is about 139 m².

Why are some conversion factors exact?

Some are defined: an inch is exactly 2.54 cm, so a foot is exactly 0.3048 m. Others, like miles to km, are rounded from a longer exact value.

What's the difference between mass and weight?

Mass (kg, lb) is the amount of matter. Weight is the force of gravity on it, measured in newtons. Everyday converters treat pounds and kilograms as mass.

How do I convert between litres and cubic metres?

1 m³ = 1000 L, and 1 L = 1000 cm³ = 1000 mL.

Are US and UK units the same?

Lengths and weights are the same, but volumes aren't. A US gallon is 3.785 L, a UK gallon is 4.546 L, and US and UK pints and fluid ounces differ too.