How to Convert Units Online

· 5 min read

Metric to imperial, Celsius to Fahrenheit, gigabytes to megabytes: unit conversions are one of those things you need to do often enough that memorizing every ratio is impractical, but not often enough that you remember them all. A browser-based converter handles the math instantly across dozens of units and runs entirely on your device.

Supported unit categories

Category Example conversions
Length meters ↔ feet, km ↔ miles, inches ↔ cm
Weight kg ↔ pounds, grams ↔ ounces
Temperature Celsius ↔ Fahrenheit ↔ Kelvin
Volume liters ↔ gallons, ml ↔ fluid ounces
Speed km/h ↔ mph, m/s ↔ knots
Area m² ↔ ft², acres ↔ hectares
Digital storage GB ↔ MB, TB ↔ GB, bits ↔ bytes
Time hours ↔ minutes, days ↔ seconds
Energy joules ↔ calories, kWh ↔ BTU
Pressure Pa ↔ psi, bar ↔ atmospheres
Angle degrees ↔ radians ↔ gradians
Fuel economy mpg ↔ L/100km ↔ km/L

How to convert units

  1. Select the category: choose length, weight, temperature, or another unit type.
  2. Pick your units: select the source unit and the target unit from the dropdowns.
  3. Enter a value: type a number in either field. The conversion is bidirectional and updates in real time.

A brief history of measurement standardization

Humans have measured things for at least 5,000 years, but the units were a mess until very recently. Ancient Egypt used the cubit (the length of the pharaoh's forearm). Medieval England used the foot (length of a king's foot) and the inch (three barleycorns end-to-end). Different villages, different trades, different countries all had their own units.

The metric system was created during the French Revolution (1795) as a rational, decimal alternative. The meter was originally defined as 1/10,000,000 of the distance from the equator to the North Pole through Paris. The kilogram was the mass of a liter of water. Both definitions have since been refined: the meter is now defined by the speed of light (the distance light travels in 1/299,792,458 of a second), and the kilogram by Planck's constant (since 2019, replacing the platinum-iridium reference cylinder in Sèvres, France).

Most of the world adopted metric in the 19th and 20th centuries. Notable holdouts: the United States (still uses imperial for most consumer-facing measurements), Liberia, and Myanmar (officially metric but with mixed daily use). The UK is a hybrid: metric for science and most commerce, imperial for road distances (miles), beer (pints), and human weight (stones).

Even within metric there are subtleties: the SI (International System of Units) standardizes seven base units (meter, kilogram, second, ampere, kelvin, mole, candela), but informal units like the liter, hectare, and tonne are widely used alongside.

Common conversions to know

Some conversions come up so often they are worth having a rough sense of:

Where unit conversion matters

SI vs binary prefixes (the GB vs GiB problem)

The most confusing unit area is digital storage:

Hard drive manufacturers use SI (1 TB = 10^12 bytes), so a "1 TB" drive shows as ~931 GiB in your OS (which uses binary). The IEC standard names these binary units KiB, MiB, GiB, TiB explicitly, but most people still say "GB" for both.

For RAM and operating systems, "GB" almost always means GiB. For storage and network speeds, "GB" usually means SI gigabytes. Always check context.

Conversion formulas worth memorizing

For when you do not have a converter handy:

Common pitfalls

Tips

Privacy

The unit converter runs entirely in your browser. The numbers you enter, your category choices, and any custom inputs all stay on your device. Unit conversion is rarely sensitive on its own, but the values you convert can reveal context (engineering specifications, recipe quantities, financial figures with units, health measurements). A browser-only converter has zero exposure to any of that, and works offline once the page is loaded.

Frequently Asked Questions

What is the difference between metric and imperial units?

Metric uses meters, kilograms, liters, and Celsius. Imperial (and US customary) uses feet, pounds, gallons, and Fahrenheit. Most of the world uses metric; the US primarily uses imperial for everyday measurements.

How do you convert Celsius to Fahrenheit?

Multiply by 9/5 and add 32. For example, 25 C = (25 x 9/5) + 32 = 77 F. Going the other way, subtract 32 and multiply by 5/9.

Are the conversions exact?

Most conversions use exact mathematical ratios (1 inch = 25.4 mm exactly). Temperature conversions and a few others use formulas. Results are accurate to about 15 significant digits, which is more than enough for any practical purpose.

Does the converter work offline?

Yes. Once the page loads, all calculations run locally in your browser with no internet connection needed.