Unit converters
Convert units, colors, time and data formats.
- Merge Two Excel FilesFill missing columns in one spreadsheet from another, matched on a shared key.
- Age CalculatorWork out an exact age, or the gap between any two dates.
- Color ConverterConvert between HEX, RGB, HSL, HSV, CMYK and CSS named colors.
- Percentage CalculatorWork out percentages, increases, decreases, discounts and tips.
- Number Base ConverterConvert numbers between binary, octal, decimal, hexadecimal and any base.
- Roman Numeral ConverterConvert numbers to Roman numerals and Roman numerals to numbers.
More detailsConverters that show their working · What is covered · Where conversions get subtle · The factors worth knowing by heart · Doing it in your head
Converters that show their working
A conversion result on its own is easy to mistrust. Every converter here shows the exact factor it used, the formula in both directions, and a table of nearby values — so you can check the answer rather than take it on faith.
What is covered
- Units — length, weight, temperature, volume, area, speed, data, time, pressure, energy, power, angle and frequency, with every pair of units in each category.
- Time zones — conversions between fixed-offset abbreviations, each with a 24-hour table and the working-hours overlap between the two zones.
- CSS units — px, rem, em, pt and the rest, with a root font size you can set to match your project.
- Cooking — cups to grams per ingredient, because a cup of flour is 125 g and a cup of honey is 340 g.
- Colors — HEX, RGB, HSL and CMYK with WCAG contrast ratios.
- Paper sizes — A4, Letter and the rest in millimetres, inches and pixels at any DPI.
- Screen resolutions — 1080p to 8K with aspect ratios, megapixels and pixel density at any screen size.
- Screen sizes — how wide a 55-inch television actually is, in inches and centimetres, at every aspect ratio.
Where conversions get subtle
Most unit conversions are a single fixed factor and cannot go wrong. A few genuinely can:
- Temperature needs an offset as well as a factor, because the scales have different zero points.
- Digital storage has two competing definitions — a manufacturer's "1 TB" is 10¹² bytes, while your operating system displays 2⁴⁰, which is why a new drive shows as 931 GB.
- US and imperial volumes differ. A US gallon is 3.785 L; an imperial gallon is 4.546 L. Recipes and fuel figures cross this boundary constantly.
- Cooking measures are not a unit conversion at all — they depend on the density of the ingredient, which is why those live on their own pages.
The factors worth knowing by heart
Most day-to-day conversions come down to a dozen numbers. These are exact unless marked otherwise — an inch has been defined as exactly 25.4 mm since 1959, and a pound as exactly 0.45359237 kg, so those are definitions rather than measurements.
| From | To | Multiply by | |
|---|---|---|---|
| Inches | Centimetres | 2.54 | exact |
| Feet | Metres | 0.3048 | exact |
| Miles | Kilometres | 1.609344 | exact |
| Pounds | Kilograms | 0.45359237 | exact |
| Ounces | Grams | 28.349523125 | exact |
| US gallons | Litres | 3.785411784 | exact |
| Imperial gallons | Litres | 4.54609 | exact |
| Acres | Hectares | 0.40468564224 | exact |
| psi | Bar | 0.0689475729 | approx. |
| Kilocalories | Kilojoules | 4.184 | exact, thermochemical |
| Nautical miles | Kilometres | 1.852 | exact |
| Degrees | Radians | π/180 | exact |
Two of these are worth a second look. The calorie has several competing definitions; the 4.184 above is the thermochemical calorie, which is the one food labelling uses. And the gallon entry is the single most common source of wrong answers on this list — a US gallon is about 17% smaller than an imperial one, so a fuel-economy figure quoted in mpg means two different things either side of the Atlantic.
Doing it in your head
Approximations that are close enough to be useful and easy to remember:
- Kilometres to miles: multiply by 0.6 — a slight underestimate, about 3% low. More precisely, consecutive Fibonacci numbers are near-perfect km/mile pairs — 5 km ≈ 3 miles, 8 km ≈ 5 miles, 13 km ≈ 8 miles. The ratio converges on the golden ratio, 1.618, which happens to sit within 0.6% of the true factor 1.609.
- Celsius to Fahrenheit: double it and add 30. Exact at 10°C and within 4° anywhere between −10°C and 30°C, which covers most weather. It drifts further at the extremes — at 100°C it is out by 18°.
- Kilograms to pounds: double it and add 10%. 80 kg → 160 + 16 = 176 lb, against a true 176.4.
- Litres to US gallons: divide by 4, then add 5%. 40 L → 10 + 0.5 = 10.5, against a true 10.57.
Unit converters
282 conversions across 15 categories. Each page has a live two-way converter, the exact formula and a printable conversion table.
- Length46 conversions
- Weight26 conversions
- Digital Storage31 conversions
- Area36 conversions
- Volume48 conversions
- Speed12 conversions
- Time22 conversions
- Pressure13 conversions
- Energy20 conversions
- Power6 conversions
- Angle4 conversions
- Frequency12 conversions
- Temperature6 conversions
- CSS Units55 conversions
- Time Zones94 conversions
Popular conversions
- Meters To Feet
- Feet To Meters
- Kilometers To Miles
- Miles To Kilometers
- Celsius To Fahrenheit
- Fahrenheit To Celsius
- Kilograms To Pounds
- Pounds To Kilograms
- Inches To Centimeters
- Centimeters To Inches
- Liters To Gallons
- Gallons To Liters
- Megabytes To Gigabytes
- Kilobytes To Megabytes
- Grams To Ounces
- Ounces To Grams
- Square Feet To Square Meters
- Acres To Hectares
- Kilometers Per Hour To Miles Per Hour
- Minutes To Hours
- Hours To Days
- Psi To Bars
- Kilocalories To Kilojoules
- Radians To Degrees
More pages in this section
- 1 month to Days — 30.43,688 d
- 10 megabits to Megabytes — 1.25 MB
- 10 years to Days — 3,652.43 d
- 120 months to Days — 3,652.43 d
- 15 nautical miles to Kilometers — 27.78 km
- 150 US gallons to US Quarts — 600 qt
- 150 yards to Meters — 137.16 m
- 16 yards to Meters — 14.6,304 m
- 2 US quarts to US Cups — 8 cup
- 20 yards to Meters — 18.288 m
- 200 gigabytes to Gibibytes — 186.26,451 GiB
- 200 nautical miles to Kilometers — 370.4 km
- 200 yards to Meters — 182.88 m
- 25 US quarts to US Cups — 100 cup
- 30 US quarts to US Cups — 120 cup
- 36 years to Days — 13,148.7 d
- 360 months to Days — 10,957.3 d
- 40 yards to Meters — 36.576 m
- 6 yards to Meters — 5.4,864 m
- 75 US quarts to US Cups — 300 cup
- 80 nautical miles to Kilometers — 148.16 km