Calculators

Unit Converter

Runs in your browser

What is the Unit Converter?

A unit converter changes a measurement from one unit to another across length, weight, and temperature. It is used for recipes, travel, DIY, schoolwork, and anytime you need to switch between metric and imperial.

All conversions run in your browser. For CSS-specific units, see the CSS Unit Converter.

How to use the Unit Converter

Pick a category Length, Weight, or Temperature. Enter a value, choose the unit you are converting from and the unit to convert to, and the result appears instantly.

Switch the dropdowns at any time to convert in either direction.

Note: temperature uses formulas rather than simple ratios, so converting Celsius, Fahrenheit, and Kelvin is handled correctly (not just multiplied).

When to use the Unit Converter

Use the Unit Converter when you need Length, weight, temp without extra setup.

  • checking everyday math without a spreadsheet
  • comparing values with different units, dates, or percentages
  • getting a quick estimate before doing a more formal calculation

Unit Converter examples

Example input: Convert 5 kilometers to miles.

Example result: The result is approximately 3.10686 miles.

Formula, method, or logic

The Unit Converter calculates results directly from the values you enter. The exact formula depends on the task, but the method always relies on the selected units, dates, rates, percentages, or measurement settings.

Rounding may be applied for display, so very small differences can appear when comparing with spreadsheets or other calculators.

Common mistakes to avoid

  • mixing units
  • using the wrong date format
  • entering a percentage as the wrong decimal value
  • ignoring rounding and precision limits

Privacy, accuracy, and limits

The Unit Converter is intended for quick reference. It may use rounded values for display and should not replace medical, financial, legal, tax, or professional advice where those areas apply.

Frequently asked questions

Length (mm, cm, m, km, inch, foot, yard, mile), weight (mg, g, kg, tonne, ounce, pound, stone), and temperature (Celsius, Fahrenheit, Kelvin).
Temperature uses conversion formulas. For example, °F = °C × 9/5 + 32. The tool converts through Celsius internally so any pair works.
Conversions use standard factors and are rounded to five decimal places, which is more than enough for everyday use.
No. All conversions happen locally in your browser.

Display preferences

Font size