Utilities

Free Online Unit Converter

Convert length, weight, temperature, area, volume, speed, storage, time and pressure. Instant, no sign-up.

100

All results (from Metro (m))

Nanómetro (nm)
1,000,000,000
Micrómetro (μm)
1,000,000
Milímetro (mm)
1,000
Centímetro (cm)
100
Metro (m)
1
Kilómetro (km)
0.001
Pulgada (in)
39.37008
Pie (ft)
3.28084
Yarda (yd)
1.093613
Milla (mi)
0.0006213712
Milla náutica
0.0005399568
Año luz
1.057001e-16

Built by

Miguel Ángel Colorado Marin (MACM)

Full-Stack Developer · Guadalajara, España

I develop web apps, digital tools and full projects — from design to deployment.

Contact me

How to use the unit converter

  1. 1

    Select the category

    Click the category you need: Length, Weight, Temperature, Area, Volume, Speed, Digital Storage, Time or Pressure.

  2. 2

    Choose units and value

    Select the source unit in the left dropdown, enter the number, and choose the target unit on the right.

  3. 3

    Get all results

    The table below shows the conversion to all units in the category at once, with copy buttons for each result.

  4. 4

    Swap with one click

    Press the swap button to invert source and target without having to reconfigure anything.

All available categories

The converter includes 89 units in 9 categories: length (12), mass (10), temperature (4), area (10), volume (13), speed (7), digital storage (13), time (12) and pressure (8). Length runs from nanometres to light years and includes inches, feet, yards, miles and nautical miles. Mass runs from micrograms to metric tonnes, with ounces, pounds, stones and US short and UK long tons.

Temperature converts between Celsius, Fahrenheit, Kelvin and Rankine. Area covers square millimetres to square miles, with hectares and acres. Volume includes litres, cubic metres and cubic centimetres, the US teaspoon, tablespoon, cup, pint, quart and gallon, the US fluid ounce, and the UK pint and gallon. Speed runs from m/s to Mach (340.29 m/s, the sea-level value in standard atmosphere) and to the speed of light, 299,792,458 m/s.

Digital storage separates bits and bytes (1 byte = 8 bits) and decimal units (1 KB = 1,000 bytes) from binary ones (1 KiB = 1,024 bytes). Time runs from nanoseconds to centuries; a month is counted as 30 days and a year as 365. Pressure includes pascal, kPa, MPa, bar, mbar, PSI, atmosphere and mmHg (torr).

Precision and rounding

Each linear unit has a factor relative to a base unit (metre, kilogram, litre, second, pascal or bit). The result is the value times the source factor divided by the target factor. Factors use the exact definition wherever one exists: 1 inch = 2.54 cm, 1 pound = 0.45359237 kg, 1 US gallon = 3.785411784 L and 1 UK gallon = 4.54609 L. Mach is the exception, because the speed of sound depends on air temperature.

Temperature is not linear and uses offset formulas: °F = °C × 9/5 + 32, K = °C + 273.15 and °R = K × 9/5. Results show 7 significant digits below 1,000; between 1,000 and 10^15, up to 6 decimals with thousands separators; and outside 10^-6 to 10^15, scientific notation, such as 9.460730e+15 for one light year. The copy button uses the same format as the screen. Rounding only affects the display: the calculation keeps the full precision of the number. Switching category resets the value to 1 and the units to a default pair.

Frequently asked questions

How many units does the converter include?

89 units in 9 categories: length (12), mass (10), temperature (4), area (10), volume (13), speed (7), digital storage (13), time (12) and pressure (8).

How accurate is the temperature conversion?

It uses exact formulas: °F = °C × 9/5 + 32, K = °C + 273.15 and °R = K × 9/5. Results show up to 7 significant digits.

Can I convert from kilometres to miles directly?

Yes. Select 'Length', choose 'Kilometre' as source and 'Mile' as target. 1 km equals 0.621371192 miles.

What is the difference between GB and GiB?

A gigabyte (GB) is 1,000,000,000 bytes (powers of 10) and a gibibyte (GiB) is 1,073,741,824 bytes (powers of 2). Windows shows sizes in GiB but labels them GB.

Is any data sent to a server?

No. The calculation runs in your browser with JavaScript. The converter makes no network requests and does not store the values you enter.

Related tools

Embed Unit Converter on your site

Add Unit Converter to any web page with a simple iframe. Free, with attribution to miguelacm.es.

<iframe
  src="https://miguelacm.es/embed/unit-converter?locale=en"
  width="100%"
  height="700"
  frameborder="0"
  allow="clipboard-write"
  title="Unit Converter — miguelacm.es"
></iframe>
View embed in new tab →