Converter

Unit Converter

Convert length, weight, temperature, and data size units with clear results, entirely in your browser.

Category

Enter a plain number like 42, -3.5, or 0.25. Use a period for decimals; commas and letters are not accepted.

From
To

How to convert units

  1. Choose a category.
  2. Enter Value.
  3. Choose From and To.
  4. Press Convert.

Swap reverses the units. Typing alone does not convert; with a non-empty value, category or unit changes and Swap recompute. Category changes reset that category's default From/To pair.

Length conversion examples

2 m = 6.56168 ft and 1 mi = 1.609344 km help compare everyday distances.

Weight conversion example

1 kg = 2.204623 lb compares metric and customary weight.

Temperature conversion example

100 °C = 212 °F shows the same temperature in two scales.

Data size conversion examples

500 GB = 465.661287 GiB, 1 GiB = 1073.741824 MB, and 1 B = 1e-9 GB show decimal and binary sizes.

Supported units and conversion rules

Length units and factors

cm, m, km, in, ft, mi. 1 in = 2.54 cm, 1 ft = 0.3048 m, 1 mi = 1.609344 km; default m→ft.

Weight units and factors

mg, g, kg, oz, lb. 1 lb = 453.59237 g and 1 oz = 28.349523125 g; default kg→lb.

Temperature formulas

°C, °F, K. °F = °C × 9/5 + 32; °C = (°F − 32) × 5/9; K = °C + 273.15. Celsius is the pivot; default °C→°F.

Decimal and binary data sizes

B, kB, MB, GB, MiB, GiB. kB = 10³ B, MB = 10⁶ B, GB = 10⁹ B, MiB = 2²⁰ B, and GiB = 2³⁰ B. KiB is absent; default GB→GiB.

Inputs, rounding, and limits

Accepted number formats

Whitespace is trimmed. The plain-decimal shape /^[+-]?(\d+(\.\d+)?|\.\d+)$/ accepts +3, -3.5, and .5; commas, letters, scientific notation, internal spaces, and trailing decimal points fail. A finite-number guard applies.

How results are rounded

Results use at most six decimal places and trim trailing zeros. Nonzero values that would display as zero use six significant digits; very large or tiny finite results may use exponent notation.

Supported scope and limits

Same-unit conversion is valid, and negatives are accepted in every category. Temperature acceptance does not establish physical possibility because absolute zero is not enforced. The converter reports an error when an input or result is non-finite or too large. Volume, area, speed, time, pressure, energy, yards, stone, liters and gallons, TB, and KiB are unsupported. The tool is convenient for everyday conversions; it is not a substitute for scientific, legal, or professional measurement.

Private, browser-based conversion

Your value and selected units are processed in this browser. They are not uploaded or sent to a 247 Tools server, and the converter does not save a conversion history. Clear removes the current input and result from the page.