inyourbrowser.com

Unit converter

Unit converter is a calculator tool that converts measurements across more than 200 units. It covers length, weight, temperature, speed, area, volume, digital storage, pressure, energy, and time, with exact SI-defined conversion factors. The tool runs in your browser.

1 Centimeter (cm) equals 10 Millimeter (mm), 0.01 Meter (m), 1.0000e-5 Kilometer (km), 0.393701 Inch (in), 0.0328084 Foot (ft), 0.0109361 Yard (yd), 6.2137e-6 Mile (mi).
Millimeter (mm)10
Meter (m)0.01
Kilometer (km)1.0000e-5
Inch (in)0.393701
Foot (ft)0.0328084
Yard (yd)0.0109361
Mile (mi)6.2137e-6
Converting from: Centimeter (cm)

How to convert units

  1. Select the measurement category, length, weight, temperature, speed, area, and more.
  2. Enter the value you want to convert in the input field.
  3. Choose the input unit and the target unit from the dropdowns.
  4. The converted value appears instantly, click to copy it.

Common uses

  • Converting metric measurements to imperial (or vice versa) for international documents or recipes
  • Checking unit conversions for engineering or scientific calculations, use percentage calculator when you need to find proportional changes
  • Converting temperatures between Celsius, Fahrenheit, and Kelvin, for digital storage sizes use byte converter instead

Technical specification

  • Algorithm or formula: Linear multiplication against a per-category SI conversion factor (e.g., 1 kg = 2.20462262 lb, 1 km = 0.621371192 mi). Temperature uses offset formulas (°F = °C * 9/5 + 32, K = °C + 273.15) rather than ratios.
  • Browser API or library: Pure JavaScript arithmetic; no external library.
  • Input limits: Any IEEE 754 double-precision value. 10+ categories, 200+ individual units.
  • Output: Converted value displayed to up to 10 significant figures. Copy-to-clipboard for each result.
  • Known limitations: Currency conversion is not included (rates change in real time). Temperature differences (delta) and absolute temperatures both use absolute conversion; for delta-only conversions, multiply directly by the ratio.

Frequently asked questions

What unit categories does the tool support?
The tool covers length, weight, temperature, speed, area, volume, digital storage, pressure, energy, and time, over 200 individual units.
Is my data sent to a server?
All conversions are pure JavaScript calculations in your browser. No data is sent to our servers.
How precise are the conversions?
Conversions use the exact SI-defined conversion factors. Results are displayed to up to 10 significant figures.
Can I convert temperatures?
Yes. Temperature conversions use the correct offset formulas. Not just multiplication, so Celsius to Fahrenheit results are always accurate.

Reviewed and tested May 26, 2026.