Developer tool

Unit Converter

This unit converter instantly converts between more than 100 units across 10 categories — length, weight, temperature, area, volume, speed, time, data storage, energy and pressure — for free, privately and offline.

100% free No upload — runs on your device Works offline

All length units for

UnitValueCopy

How to convert units

  1. Choose a category such as Length, Weight or Temperature.
  2. Pick the From and To units and type a value in either box.
  3. Read the instant result, or scan the table showing the value in every unit, and copy what you need.

What is Unit Converter?

A unit converter translates a quantity from one unit of measurement to another, such as meters to feet or kilograms to pounds. This tool covers 10 categories: length, weight/mass, temperature, area, volume, speed, time, data storage, energy and pressure.

Each unit is stored as an exact factor relative to an SI base unit (meter, kilogram, square meter, liter, meter per second, second, byte, joule and pascal). A value is multiplied into the base unit and divided out into the target unit. Temperature uses offset formulas instead of factors, because 0 °C is not 0 °F. US customary volumes (cup, pint, gallon) differ from UK imperial gallons, and both are listed separately.

Everything runs in JavaScript in your browser. Nothing is uploaded, there are no ads in the converter, and the page works offline once loaded or installed as an app.

Frequently asked questions

How accurate is this unit converter?

Conversions use exact definitions where they exist, such as 1 inch = 2.54 cm and 1 pound = 0.45359237 kg, and results are shown to 12 significant digits.

What is the difference between MB and MiB?

A megabyte (MB) is 1,000,000 bytes in the decimal SI system, while a mebibyte (MiB) is 1,048,576 bytes (2^20). Storage makers use MB and GB; many operating systems report MiB and GiB.

How do I convert Celsius to Fahrenheit?

Multiply the Celsius value by 9/5 and add 32. For example, 100 °C × 9/5 + 32 = 212 °F. The converter applies this formula and its inverse automatically.

Can I convert in both directions?

Yes. Type in either the From or the To box and the other box updates instantly. The swap button reverses the two units.

Does the unit converter work offline?

Yes. All conversion factors are built into the page, so once it has loaded it works with no internet connection and sends nothing to a server.

Related tools