Converting units is one of those small tasks that shows up everywhere: a recipe written in cups when your kitchen scale reads grams, a road sign in kilometers when your car shows miles, a file size quoted in megabytes when your plan is sold in gigabytes. This unit converter handles all of those in one place. Choose a category, enter the value you have, pick the unit you want, and the answer is worked out for you using the exact, internationally defined conversion factors — the same definitions used by scientists, engineers and standards bodies, not rough approximations.
Most of the world measures in the metric system, where units grow and shrink by powers of ten: a kilometer is 1,000 meters, a kilogram is 1,000 grams, a liter is 1,000 milliliters. The United States still uses customary units for everyday life — inches, feet, miles, pounds and gallons — and the UK mixes both systems, measuring roads in miles but milk in liters. Because both systems are firmly established, converting between them is a permanent everyday need for travellers, students, cooks, tradespeople and anyone buying products specified in another country’s units.
How unit conversion works
Every unit in a category can be expressed through one shared base unit. Length, for example, uses the meter as its base: a foot is 0.3048 meters and a mile is 1,609.344 meters. To convert, the tool first turns your value into the base unit, then turns that into the target unit. In a single formula:
Result = Value × (factor of the from-unit ÷ factor of the to-unit)
Temperature is the one exception in this tool, because Celsius, Fahrenheit and Kelvin do not share a zero point. Converting temperature needs an offset as well as a scale factor — for example, Fahrenheit = Celsius × 9/5 + 32. The converter handles that automatically, and our dedicated temperature converter shows those formulas in full.
Worked example: converting 5 miles to kilometers
Suppose you are planning a run and want to know how far 5 miles is in kilometers. The factor for miles is 1.609344 (one mile is exactly 1.609344 km), and the factor for kilometers is 1,000 meters. Step one: 5 × 1,609.344 = 8,046.72 meters. Step two: 8,046.72 ÷ 1,000 = 8.04672 kilometers. So 5 miles is about 8.05 km — a distance runners will recognise as the classic 5-mile race length, a little over an 8K.
Common conversions at a glance
| Conversion | Factor | Example |
|---|---|---|
| 1 inch → centimeters | × 2.54 | 10 in = 25.4 cm |
| 1 foot → meters | × 0.3048 | 6 ft = 1.8288 m |
| 1 mile → kilometers | × 1.609344 | 26.2 mi = 42.16 km (a marathon) |
| 1 pound → kilograms | × 0.45359237 | 150 lb = 68.04 kg |
| 1 US gallon → liters | × 3.785411784 | 10 gal = 37.85 L |
| 1 acre → square meters | × 4,046.8564224 | 2 acres = 8,093.71 m² |
| 1 gigabyte → gibibytes | × 0.931322575 | 500 GB = 465.66 GiB |
Watch out for these traps
A few conversions regularly catch people out. The first is the gallon: the US gallon (3.785 liters) is noticeably smaller than the UK imperial gallon (4.546 liters), so fuel economy figures and recipes do not transfer directly across the Atlantic. The second is data size: drive makers count a gigabyte as 1,000 megabytes, while your operating system counts a gibibyte as 1,024 mebibytes, which is why a brand-new drive always looks smaller than the box promised. The third is weight versus mass: in everyday language they are used interchangeably, and this converter follows everyday usage — kilograms and pounds both describe how heavy something is on Earth. Finally, remember that rounding compounds: if you convert a converted value several times, tiny rounding differences can creep in, so keep the full-precision result where it matters.
Whether you are converting a parcel’s weight for a courier form, checking your speed on a foreign motorway, sizing a room for flooring, or working out how much storage a backup really needs, the routine is the same: pick the category, enter the number, and let the exact factors do the work. If you only need temperatures, the temperature converter goes deeper, and the percentage calculator and discount calculator cover the number problems that come up alongside unit questions when shopping and travelling.
Frequently asked questions
How do I convert units with this tool?
Pick a category such as length or weight, type your value, choose the unit you have and the unit you want, and the result appears instantly. Use the swap button to reverse the conversion.
How many kilometers are in a mile?
One mile is exactly 1.609344 kilometers. To convert miles to kilometers multiply by 1.609344; to go the other way, divide by 1.609344.
What is the difference between metric and imperial units?
Metric units (meters, kilograms, liters) scale by powers of ten and are used almost everywhere. Imperial and US customary units (inches, pounds, gallons) come from older British measures and are still common in the United States.
Why does temperature convert differently from other units?
Most units convert by simple multiplication because they share the same zero point. Temperature scales do not: 0 °C is 32 °F, so temperature conversions need an offset as well as a scaling factor.
Is a US gallon the same as a UK gallon?
No. A US gallon is 3.785411784 liters, while a UK (imperial) gallon is 4.54609 liters — about 20% larger. This converter lists them separately so you always get the right one.
What is the difference between KB and KiB?
A kilobyte (KB) is 1,000 bytes in the decimal system used by storage manufacturers. A kibibyte (KiB) is 1,024 bytes in the binary system used by operating systems. This is why a 500 GB drive shows as about 465 GiB on a computer.
Can I convert between categories, like length to weight?
No, and no converter can: length and weight measure different physical quantities, so there is no fixed relationship between them. You can only convert units that measure the same thing.
How accurate are the results?
The converter uses the exact defined conversion factors (for example 1 inch = 2.54 cm exactly) and shows results to up to 12 significant digits, which is more than enough for everyday, school and professional use.
Is this unit converter free, and is my data private?
Yes. The converter is completely free with no sign-up, and it runs entirely in your browser — the values you enter are never uploaded to a server.