Unit Converter

Convert between units of length, weight, temperature, speed, volume, area, time, digital storage, and energy. All calculations run in your browser. Nothing is sent to a server.

Last updated: March 19, 2026
Formula
Common Conversions
From To Result

What Is Unit Conversion

Unit conversion is the process of expressing the same physical quantity using a different measurement unit. A distance of 1 kilometer is exactly the same distance as 1,000 meters or approximately 0.621 miles. The physical reality does not change; only the number and its label change. Every unit conversion relies on a known ratio between two units, called a conversion factor.

Conversion factors are either exact or approximate. The relationship between meters and kilometers is exact by definition: 1 km = 1,000 m. The relationship between miles and kilometers is also exact by modern definition: 1 international mile = 1.609344 km. Temperature conversions, on the other hand, involve both multiplication and addition because the scales have different zero points and different step sizes. The converter above handles all of these cases, including the offset math for temperature.

When converting manually, you multiply by a fraction that equals one. To convert 5 miles to kilometers, multiply 5 by (1.609344 km / 1 mile). The "miles" cancel, leaving kilometers. This dimensional analysis approach works for any unit conversion and prevents the most common mistake: multiplying when you should divide, or the reverse.

The Metric System vs Imperial

The metric system (SI) organizes units around powers of ten. A kilometer is 1,000 meters. A kilogram is 1,000 grams. A milliliter is one-thousandth of a liter. Prefixes like kilo-, centi-, milli-, and micro- apply uniformly across all measurement types, making conversions within the metric system straightforward arithmetic: move the decimal point.

The imperial and US customary systems evolved from older English measurement traditions. They rely on relationships that vary by measurement type: 12 inches per foot, 3 feet per yard, 5,280 feet per mile, 16 ounces per pound, 2,000 pounds per US ton. These ratios are not based on any single organizing principle, which makes mental conversion harder.

Most countries use the metric system for scientific, commercial, and everyday purposes. The United States, Liberia, and Myanmar are the three countries that have not officially adopted metric as their primary system, though the US uses metric in science, medicine, and military contexts. The United Kingdom uses a mix: speed limits in miles per hour, distances in miles on road signs, but liters at the fuel pump and kilograms in medical settings.

Cross-system conversion is where most people need a tool. Converting 72 kilograms to pounds, or 350 degrees Fahrenheit to Celsius, requires memorizing or looking up a conversion factor. This converter stores all the factors so you do not need to.

How Temperature Conversion Works

Temperature conversions are different from every other type in this tool because the scales do not share a common zero point. Length, weight, volume, and all other categories use proportional scales where zero means "none." Temperature scales have arbitrary zero points, so converting between them requires both multiplication and addition.

The Celsius scale sets 0 at the freezing point of water and 100 at its boiling point (at standard atmospheric pressure). The Fahrenheit scale sets 32 at the freezing point and 212 at the boiling point. Kelvin uses the same step size as Celsius but starts at absolute zero, the lowest theoretically possible temperature: 0 K = -273.15 C.

Fahrenheit = (Celsius x 9/5) + 32 Celsius = (Fahrenheit - 32) x 5/9 Kelvin = Celsius + 273.15

The 9/5 factor accounts for the different step sizes: a one-degree step in Celsius equals a 1.8-degree step in Fahrenheit. The +32 offset accounts for the different zero points. These two adjustments are why you cannot simply multiply by a single conversion factor the way you can with kilometers and miles.

A useful reference: -40 is the same in both Fahrenheit and Celsius. Room temperature is about 20-22 C or 68-72 F. Normal body temperature is 37 C or 98.6 F. Water boils at 100 C or 212 F.

Digital Storage Units Explained

Digital storage units follow a hierarchy based on the bit, the smallest unit of information. A bit stores a single binary value: 0 or 1. Eight bits make one byte. From there, the standard SI prefixes apply: 1 kilobyte (KB) = 1,000 bytes, 1 megabyte (MB) = 1,000 KB, 1 gigabyte (GB) = 1,000 MB, 1 terabyte (TB) = 1,000 GB, 1 petabyte (PB) = 1,000 TB.

There is a historical complication. Early computer scientists used powers of 2 (1,024) instead of powers of 10 (1,000) for these prefixes because binary arithmetic made 1,024 a natural grouping. This means that in some contexts, 1 KB = 1,024 bytes, while in others, 1 KB = 1,000 bytes. The IEC introduced unambiguous binary prefixes (kibibyte, mebibyte, gibibyte) to resolve this, but they have not been widely adopted outside technical standards documents.

This converter uses SI (base-1000) prefixes, which is the standard used by storage manufacturers, networking equipment, and the SI system itself. If your operating system reports a 500 GB drive as 465 GB, it is using binary (base-1024) interpretation of the same prefix.

Data transfer speeds are measured in bits per second, not bytes. A 100 Mbit/s internet connection transfers 100 megabits per second, which equals 12.5 megabytes per second (divide by 8). This distinction between bits and bytes is a frequent source of confusion when comparing advertised speeds to actual download rates.

Common Conversion Mistakes

The most frequent conversion error is multiplying when you should divide, or vice versa. If 1 mile equals 1.609 km, then converting miles to kilometers requires multiplication, but converting kilometers to miles requires division. A quick sanity check: if the target unit is smaller (like converting meters to centimeters), the number should get larger. If the target unit is larger (centimeters to meters), the number should get smaller.

With temperature, people sometimes apply the formula in the wrong order. The Fahrenheit-to-Celsius conversion requires subtracting 32 first, then multiplying by 5/9. Reversing that order gives the wrong answer. Similarly, the Celsius-to-Fahrenheit conversion multiplies by 9/5 first, then adds 32.

Confusing US and UK measurements is another trap. A US gallon is 3.785 liters, while a UK (imperial) gallon is 4.546 liters. A US ton (short ton) is 2,000 pounds, while a metric ton (tonne) is 2,204.6 pounds. A stone is 14 pounds, used primarily in the UK and Ireland for body weight. This converter labels each unit clearly to prevent mix-ups.

Precision matters in scientific and engineering contexts. The converter displays up to six significant figures, which is sufficient for most practical purposes. For applications requiring higher precision (geodetic surveying, pharmaceutical dosing, aerospace engineering), consult the primary standards documents from NIST or BIPM.

Frequently Asked Questions

How do I convert kilometers to miles?

Multiply the number of kilometers by 0.621371 to get miles. For example, 10 km x 0.621371 = 6.21 miles. For a rough estimate, multiply by 0.6. The converter above handles this automatically: select Length, set "From" to Kilometers and "To" to Miles, and type your value.

What is the formula for Celsius to Fahrenheit?

Multiply the Celsius temperature by 9/5 (or 1.8), then add 32. The formula is F = (C x 9/5) + 32. For example, 25 C = (25 x 1.8) + 32 = 77 F. To go the other direction, subtract 32 first, then multiply by 5/9.

Why does my hard drive show less space than advertised?

Storage manufacturers use SI prefixes where 1 GB = 1,000,000,000 bytes. Operating systems like Windows use binary interpretation where 1 GB = 1,073,741,824 bytes. A drive advertised as 500 GB (500 billion bytes) shows as roughly 465 GB in Windows because 500,000,000,000 / 1,073,741,824 = 465.66.

What is the difference between a US gallon and a UK gallon?

A US gallon equals 3.785 liters, while a UK (imperial) gallon equals 4.546 liters. The UK gallon is about 20% larger. This difference also cascades to quarts and pints: a UK pint is 568 mL versus the US pint of 473 mL. When reading fuel economy figures, always check which gallon is being used.

How many bytes are in a megabyte?

Using the SI (base-1000) standard, 1 megabyte (MB) = 1,000,000 bytes. Using the binary (base-1024) standard, 1 mebibyte (MiB) = 1,048,576 bytes. This converter uses SI prefixes. Network speeds, storage manufacturers, and the International System of Units all use base-1000.

Is my data safe when using this converter?

Yes. All conversions run entirely in your web browser using JavaScript. No data is transmitted to any server, no information is stored, and no cookies are set. You can verify this by opening your browser's developer tools and monitoring the Network tab while using the converter.

ML

Michael Lip

Michael builds free tools and writes guides at zovo.one. He focuses on practical utilities that run client-side, load fast, and respect user privacy.