Unit Converter

→

About this tool

Convert between units of length, weight, temperature, volume and speed. Every conversion is arithmetic in the page, using the fixed factors listed below; nothing is looked up remotely.

How to use

  1. Choose a category.
  2. Enter a value and pick the From and To units.
  3. Use Swap to reverse the two units, or Copy to keep the result.

Units available

  • Length — km, m, cm, mm, mi, yd, ft, in
  • Weight — t, kg, g, mg, lb, oz
  • Temperature — °C, °F, K
  • Volume — L, mL, m³, gal, qt, cup
  • Speed — m/s, km/h, mph, knot

Example

1 mi      = 1.609344 km
1 gal     = 3.785411784 L
1 cup     = 236.5882365 mL
1 lb      = 453.59237 g
100 °F    = 37.7777777778 °C
0 °C      = 32 °F

Precision and conventions

  • Results are computed in double precision and printed with up to 12 significant digits, with trailing zeros removed.
  • Volume units are US customary: gal is the US liquid gallon (3.785411784 L), not the imperial gallon.
  • t is the metric tonne (1000 kg), not the US short ton, and oz is the avoirdupois ounce.
  • Temperature is converted through Celsius, so °C, °F and K can be mixed freely.
  • A few factors are stored in rounded form. One knot is held as 0.514444 m/s, while the exact value is 1852 m per 3600 s, so results involving knots carry that rounding.

FAQ

Which gallon is used?

US liquid gallon, 3.785411784 litres. The imperial gallon is 4.54609 L.

Why is 1 knot not exactly 0.5144444 m/s?

The factor is stored to six decimal places, so the result is rounded at that point rather than at the display step.

Are square or cubic units supported?

No. Only the linear and liquid units listed above, plus m³ as a volume unit.