Unit Converter

Convert length, weight, temperature & more.

Free online unit converter

Convert between units of length, weight, temperature, volume, area, speed, digital storage, and time in one place. Choose a category, set your From and To units, and type a value into either box — the result appears instantly and updates as you type. Because both boxes are two-way, you can convert in whichever direction you need without switching modes. It's handy for cooking, travel, engineering, schoolwork, fitness, and any moment a measurement is written in the "wrong" units.

How to convert units

  1. Pick a Category such as Length, Weight, or Digital storage.
  2. Choose the unit you're converting From and the unit you want in To.
  3. Type a number into either box; the opposite box recalculates live.
  4. Use the swap button to flip the units, or Copy result to grab the answer.

How the conversions are calculated

Every category except temperature stores each unit as a factor relative to a base unit, so a conversion is just value × from-factor ÷ to-factor. The factors use exact international definitions — for example 1 mile = 1609.344 metres and 1 pound = 0.45359237 kilograms. Temperature is different because the scales don't share a zero point, so Celsius, Fahrenheit, and Kelvin use explicit formulas instead. If you only need degrees, the dedicated temperature converter is a focused alternative.

Decimal vs binary storage units

Digital storage includes both decimal units (KB, MB, GB — powers of 1000) and binary units (KiB, MiB, GiB — powers of 1024), so you can reconcile the size a drive advertises with what your operating system reports. Working with raw bits and bytes? Pair this with the number base converter to move between binary, decimal, and hexadecimal. Everything runs privately in your browser with no sign-up and no limits.

Frequently asked questions

How does the unit converter work?

Pick a category, choose the unit you are converting from and the unit you want, then type a number into either the From or To box. The other box updates instantly. For most categories each unit is stored as a factor relative to a base unit, so the conversion is simply value × from-factor ÷ to-factor. Temperature is handled with dedicated Celsius, Fahrenheit, and Kelvin formulas. Everything runs in your browser.

Is my data sent to a server?

No. This unit converter is 100% client-side JavaScript. Nothing you type is uploaded, logged, or stored, so it is completely private and works offline once the page has loaded.

What is the difference between KB and KiB, MB and MiB?

They use different bases. Decimal units (KB, MB, GB, TB) are powers of 1000: 1 KB = 1000 bytes. Binary units (KiB, MiB, GiB) are powers of 1024: 1 KiB = 1024 bytes. Storage makers usually advertise in decimal units while operating systems often report binary units, which is why a "1 TB" drive can look smaller once formatted. Both are available here so you can convert between them.

Why does temperature not use a simple multiplication factor?

Length, weight, and most other units share a zero point, so a single ratio converts them. Temperature scales do not: 0 °C is not 0 °F. Converting requires both a scale and an offset — for example °F = °C × 9/5 + 32 — so the tool uses explicit formulas for Celsius, Fahrenheit, and Kelvin instead of a factor.

How precise are the results?

Conversions are shown to twelve significant figures with trailing zeros trimmed, which is far more precision than everyday use requires. The underlying factors use exact international definitions, such as 1 mile = 1609.344 metres and 1 pound = 0.45359237 kilograms.

Can I convert in both directions?

Yes. The From and To boxes are fully two-way — edit either one and the other recalculates live. You can also press the swap button to flip the units and values around.