Unit Converter

Most unit conversions are one multiplication: a value times a fixed ratio. Temperature is the exception, and data storage has both decimal and binary units. Pick a category and the converter uses the right factors.

Unit ConverterRuns in your browser
—
Pick units and enter a value.

How to Use

  1. Choose a Category. The From and To dropdowns fill with that category's units.
  2. Enter a Value and select the source and target units, or use Swap units to reverse them.
  3. Read the result and working line, then Copy working if you need the expression.
  4. Switch categories to load a different set of units. Non-temperature categories reject negative values.

Practical Examples

  • 1 inch = 2.54 cm; 5 miles = 8046.72 metres.
  • 0 °C = 32 °F, 100 °C = 212 °F and −40 °C = −40 °F — offset-and-scale, not a ratio.
  • 1 MiB = 1,048,576 bytes while 1 GB = 1,000,000,000 bytes; decimal and binary units are listed separately.
  • 1 US gallon = 3.78541 litres.

Understanding the Result

For length, mass, speed, area, volume and storage, each unit has a factor relative to a base unit. The conversion is value × factor(from) / factor(to). Storage includes decimal units (KB, MB, GB, TB at powers of 1000) and binary units (KiB, MiB, GiB, TiB at powers of 1024).

Temperature uses a different path: convert the input to Celsius, then to the target. Celsius to Fahrenheit is C × 9/5 + 32, Fahrenheit to Celsius is (F − 32) × 5/9, and Kelvin is Celsius + 273.15.

Results use a practical number of decimals. Negative values are accepted only for temperature, where they are meaningful.

Limitations and Useful Notes

  • Volume units are US customary (cups, fluid ounces and gallons), not imperial measures that share some names.
  • Mass and weight are treated as interchangeable for everyday use; gravity is not modelled.
  • Decimal and binary storage units are distinct: 1 GiB is not 1 GB. Check which one a device or service means before comparing figures.
  • One value converts at a time. Compound units such as feet-and-inches or miles per gallon cannot be entered as one expression.
  • A conversion is only as precise as the number entered; significant figures are not tracked.
Privacy: Conversions run in your browser. No value is uploaded or stored.

Common Questions

Why is temperature handled differently?

Celsius and Fahrenheit have different zero points, so a ratio alone would give 0 °C = 0 °F. The tool normalises to Celsius first, then applies the target offset and scale.

What is the difference between MB and MiB?

MB is decimal (1,000,000 bytes) and MiB is binary (1,048,576 bytes). Both appear in the Data storage category so you can compare them directly.

Can I convert feet and inches together?

Not here. Convert one value at a time, or use the BMI Calculator, which accepts feet and inches together for height.