Unit Converter

Guide & FAQ

Guide: Unit Converter

How conversion works

Every unit in a category is defined relative to one base unit: meters for length, kilograms for mass, litres for volume, seconds for time, bytes for data, pascals for pressure and joules for energy. To convert, the value is turned into the base unit and then into the unit you want.

The formulas

  • Linear units: result = value × (source factor ÷ target factor)
  • Temperature: base = value × factor + offset (kelvin as the base), then the reverse for the target. So °F = °C × 9/5 + 32.

Examples: 1 mile = 1,609.344 m, so 5 miles = 8.047 km. 100 °C = 212 °F. 1 GiB = 1,073,741,824 bytes while 1 GB = 1,000,000,000 bytes.

Things that trip people up

  • US and imperial gallons, pints and fluid ounces differ; both versions are listed.
  • Decimal prefixes (kB, MB, GB) use powers of 1000; binary prefixes (KiB, MiB, GiB) use powers of 1024.
  • A "ton" can be metric (1,000 kg), US short (907 kg) or UK long (1,016 kg).
  • Months and years in the time category are averages (30.44 and 365.25 days).

Using the tool

Pick a category, type a value, choose the units and read the answer. The table lists the same value in every unit of the category, and the chips jump to popular pairs. Type decimals with a dot or a comma. The copy button gives a one-line result.

FAQ

How does the converter work?

Each unit has a factor to a base unit of its category (meters, kilograms, joules, ...). It multiplies by the source factor, then divides by the target factor.

How do I convert Celsius to Fahrenheit?

°F = °C × 9/5 + 32. To go back, °C = (°F − 32) × 5/9. Temperature has an offset, so it cannot be done with a single multiplier.

What is the difference between MB and MiB?

A megabyte (MB) is 1,000,000 bytes. A mebibyte (MiB) is 1,048,576 bytes (1024²). Operating systems often show MiB or GiB but label them MB or GB.

Are US and imperial gallons different?

Yes. A US gallon is 3.785 litres and an imperial (UK) gallon is 4.546 litres. Both are listed separately.

Are the results exact?

Factors are the exact definitions where they exist (for example 1 inch = 25.4 mm). Results are shown with up to 10 significant digits.