Unit Converter

Convert one value to every unit in a category at once: length, temperature, area, volume, weight and time, using exact factors such as 1 in = 2.54 cm.

The interactive tool loads here when JavaScript runs.

About this tool

What is the Unit Converter?

Type a value, pick its unit and every other unit in the category is converted at once, so there is no "to" menu to set. Six categories are covered: length (nanometres to light years), temperature (Celsius, Fahrenheit, Kelvin, Rankine), area (square millimetres to square kilometres, acres and hectares), volume (millilitres, litres, US and UK gallons, quarts, pints, cups, fluid ounces), weight (milligrams to metric and US tons, pounds, ounces, stone) and time (nanoseconds to years).

Click any row to highlight it and see a "Result: 12 μm = 0.000472441 in" line, and use the copy icon on a row to take just the number. Precision can be set to 2, 4, 6, 8 or 10 digits, and Share copies a link with your category, unit and value.

The maths runs in your browser. Currency is not included: exchange rates change every minute and need a live data source.

  • Six categories and 54 units, all shown at once, including the UK pint, quart, fluid ounce and long ton
  • Exact international definitions for inch, foot, mile, pound and gallon
  • Correct offsets for Celsius, Fahrenheit, Kelvin and Rankine
  • Adjustable precision from 2 to 10 digits
  • Copy any result and share a link to the conversion
Read the guide: Unit Conversion Factors: Exact Definitions, Gallons and Temperature Offsets

Updated

How to use the Unit Converter

  1. Choose a category tab: Length, Temperature, Area, Volume, Weight or Time.
  2. Type a value in From, or click Test: 1, Test: 10 or Test: 100.
  3. Pick the unit you are converting from. The To list shows every unit at once.
  4. Click a row to show the full Result line, or click its copy icon to copy the number.
  5. Change Precision for more or fewer digits, and click Share to copy a link to this conversion.

Worked examples

Area in exact factors

Input

1 Acre

Output

Square Meter: 4,046.856422 (precision 6)

The exact value is 4,046.8564224 m², from 43,560 square feet of exactly 0.09290304 m² each.

Temperature with offsets

Input

100 Celsius

Output

Fahrenheit 212, Kelvin 373.15, Rankine 671.67

The offsets matter: doubling a Celsius temperature does not double it in Fahrenheit or Kelvin.

Tiny lengths

Input

12 Micrometer

Output

Inch: 0.000472441

Values under 1 are shown to the chosen number of significant digits, and values under 0.000001 switch to scientific notation.

Background and insight

Since the international yard and pound agreement of 1959, US customary and imperial units have been defined from metric ones, exactly. One inch is 2.54 cm, one foot 0.3048 m and one mile 1,609.344 m. One avoirdupois pound is 0.45359237 kg, so one ounce is 28.349523125 g and one stone (14 lb) is 6.35029318 kg. This converter uses those exact figures, and the derived ones: an acre is 4,046.8564224 m² and a square foot 0.09290304 m².

Volume is where US and UK units part ways. The US gallon is defined as 231 cubic inches, 3.785411784 litres. The imperial gallon is 4.54609 litres, about 20% larger, and a UK pint holds 20 fluid ounces against 16 for a US pint. The converter lists US units plus the UK gallon, labelled explicitly.

Temperature is the one category that is not a simple multiplication, because the scales have different zero points. Fahrenheit is C × 9/5 + 32, Kelvin is C + 273.15, and Rankine is the Fahrenheit-sized degree measured from absolute zero, so 0 °C is 491.67 °R. Every conversion goes through Celsius to keep the offsets right.

Common use cases

  • Recipes and cooking

    Turn US cups and fluid ounces into millilitres, or Fahrenheit oven temperatures into Celsius.

  • Engineering and 3D printing

    Move between inches, millimetres and micrometres for tolerances and layer heights.

  • Travel and shipping

    Convert miles to kilometres, pounds to kilograms and gallons to litres.

  • Science homework

    Check Kelvin and Rankine conversions or seconds-to-years scale questions.

Tips and limitations

  • Results of 1 or more include thousands separators for your locale, such as 4,046.86. Remove them before pasting into code or a spreadsheet that expects plain digits.
  • Year means the Julian year of 365.25 days (31,557,600 seconds), the convention in astronomy. A calendar year is 365 or 366 days.
  • Gallon (US) and Gallon (UK) differ by about 20%. Check which one a recipe or fuel figure uses.
  • The converter does not stop you entering temperatures below absolute zero (below 0 K). Treat such results as invalid.
  • US Ton is the short ton of 2,000 lb. A metric ton (tonne) is 1,000 kg and a UK long ton, not listed, is 2,240 lb.

Sources and further reading

  1. Guide for the Use of the International System of Units (SI), NIST Special Publication 811, National Institute of Standards and Technology. Exact conversion factors for US customary units
  2. Weights and Measures Act 1985, Schedule 1, UK Parliament. Legal definitions of the yard, pound and imperial gallon
  3. The International System of Units (SI Brochure), Bureau International des Poids et Mesures. The kelvin and the other SI base units

Frequently asked questions

How many centimetres are in an inch exactly?

Exactly 2.54 centimetres. The figure has been a definition, not a measurement, since the international yard and pound agreement of 1959, so every inch, foot, yard and mile converts to metric without rounding error.

How many kilograms are in a pound?

One pound is exactly 0.45359237 kg, by the same 1959 agreement. That makes one kilogram about 2.20462 lb. The converter uses the exact definition, so 1 Pound shows 0.453592 Kilogram at the default precision of 6.

What is the formula from Fahrenheit to Celsius?

Subtract 32, then multiply by 5/9: C = (F - 32) × 5 ÷ 9. So 212 °F is 100 °C and 98.6 °F is 37 °C. The reverse is F = C × 9 ÷ 5 + 32. -40 is the one temperature that reads the same on both scales.

Is a US gallon the same as a UK gallon?

No. A US gallon is 3.785411784 litres and an imperial (UK) gallon is 4.54609 litres, about 20% more. Fuel economy in miles per gallon is not comparable between the two countries for the same reason.

Why does the unit converter show commas in results?

Results of 1 or more are formatted with your browser's locale, which adds thousands separators such as 4,046.856422. That makes large numbers easier to read. If you paste into code, remove the separators first.

Can this tool convert currencies?

No. Currency rates change continuously and need a live feed, which this tool does not call. All six categories here (length, temperature, area, volume, weight and time) use fixed definitions and work offline once the page has loaded.

Is there an in-depth guide to the Unit Converter?

Yes. “Unit Conversion Factors: Exact Definitions, Gallons and Temperature Offsets” covers the background, how it works, common pitfalls and worked examples. Read the full guide.