Unit converter

Convert between more than 140 units in 14 categories as you type, from cm and inches to psi, kWh and cups to grams.

What you type stays in your browser

10 cm = 3.93701 in

1 cm = 0.393701 in

10 cm in other units

Results show up to six significant figures; the calculation uses exact unit definitions.

In short

Choose what you want to convert, pick the two units and type a value. The result appears at once in large type, both fields are editable, and the same value is listed in every other unit of that category. Factors use exact definitions, such as 1 inch = 2.54 cm.

How to convert units

  1. Pick the category under What to convert, for example Length or Temperature.
  2. Choose the unit you have under From and the unit you want under To.
  3. Type the number. The result updates with every keystroke; type into the To field instead to convert the other way.
  4. Press Swap units to reverse the conversion, or pick any unit in the list below the result to make it the target.
  5. Press Copy result to copy the whole line, for example 5 ft 7 in = 170.18 cm.

Why the results are exact

Every unit in this converter is stored as an exact multiple of its SI base unit: the inch is 0.0254 m, the pound 0.45359237 kg, the US gallon 3.785411784 liters, the psi 6,894.757 pascals. Those are the legal definitions, so converting between imperial and metric units introduces no error of its own. The only rounding happens when the result is shown, at six significant figures.

Temperatures are the exception to simple factors, because Celsius, Fahrenheit and Kelvin start at different zero points. The converter applies the full formula, such as °F = °C × 9/5 + 32, instead of a single multiplication, and refuses values below absolute zero.

A few conversions depend on something other than the units. Cups to grams depends on the ingredient, so cooking conversions ask for one and use typical densities for spooned and levelled measures. Mach depends on air temperature, so Mach 1 is taken as 340.29 m/s, the sea-level standard.

Frequently asked questions

Which units can I convert?

Length, weight, temperature, volume (US and UK), area, speed, data size, time, pressure, energy, power, torque, angle and cooking measures: more than 140 units in total, including feet and inches, stone and pounds, and binary units such as GiB.

How precise are the results?

The calculation uses exact unit definitions and full floating-point precision. Results are shown with up to six significant figures, which is more precise than any everyday measuring tool. Copy result copies the same rounded figures you see.

Can I enter height in feet and inches?

Yes. Choose Feet and inches as the unit and two fields appear, one for feet and one for inches, so 5 ft 7 in is typed as 5 and 7. Choosing it as the target shows results such as 5 ft 6.9 in.

Why does cups to grams ask for an ingredient?

A cup measures volume and a gram measures weight, so the answer depends on how dense the ingredient is. A cup of water weighs about 237 g, a cup of flour about 120 g and a cup of sugar about 200 g.

Does it use 1000 or 1024 for MB and GB?

KB, MB, GB and TB follow the SI standard of 1,000, as storage makers and mobile plans do. The binary units KiB, MiB, GiB and TiB use 1,024 and are listed separately, so you can see why a 1 TB drive shows as 931 GB in Windows.

Is anything I type sent or saved?

No. The converter runs entirely in your browser and works offline once the page has loaded. Nothing you type is stored or sent to a server.

Can I use a comma as the decimal mark?

Yes. Both 1.5 and 1,5 are read as one and a half, and spaces between thousands are ignored. Results use the number format of the page's language.

Popular conversions

Each popular conversion also has its own page with the formula, a worked example, a conversion chart and the converter already set up, such as cm to inches, kg to lbs, Celsius to Fahrenheit, feet and inches to cm, ml to oz, mph to km/h and GB to MB. Every category has an overview too, for example the length converter and the cooking converter.

How your files stay private

This tool runs with JavaScript inside your browser tab. What you type, the settings you choose and the results stay in the page's memory and disappear when you close it. Nothing is sent to a server; a few display settings may be remembered in your own browser.

Last updated Nov 20, 2026