Skip to content
CornerTools

Unit Converter

Convert length, weight, temperature, volume, pressure, torque, force, flow and more, with every unit at once.

1 cm =

0.3937007874 in

Formula: in = cm ÷ 2.54

In every unit of length

UnitValue
Millimetre10 mm
Centimetre1 cm
Metre0.01 m
Kilometre0.00001 km
Inch0.3937007874 in
Foot0.03280839895 ft
Mile0.000006213711922 mi

Converts a value between 214 units across 21 quantities, from millimetres and pounds to newton metres, cusecs and foot-candles. Alongside the result it shows the formula it used and the same value in every other unit of the quantity, so one entry answers every pair.

How to use it

Choose a quantity, type a value, and pick the units to convert from and to. The unit pickers search names, symbols and everyday spellings — lbs, sq ft, celsius, Mbps — and list the common units first. The swap button reverses the pair.

Values may be grouped the international way (1,234,567) or the Indian way (12,34,567), and written with an exponent (1e6). A comma is always digit grouping, never a decimal point. Only temperature and angle accept negative values.

In feet, inches, pounds and stones the value can also be typed the way it is measured: 5' 10" or 5 ft 10 in in feet, 5 3/4 in inches, 7 lb 4 oz in pounds and 11 st 4 lb in stones. The line above the result shows the value as it was read: 7 lb 20 oz shows as 8 lb 4 oz.

Some pairs have a page of their own that gives more for them: Kg to Lbs adds pounds and ounces and stone to every result, and Cm to Inches and Feet to Meters add the nearest fraction of an inch. The Speed, Power, Pressure and Fuel Economy converters open on the conversions people look up most, with tables of tyre pressures, speed limits and engine ratings.

Values show in full: up to 10 significant figures, and every whole-number digit, with trailing zeros trimmed and thousands separated by commas. The table under the result lists the everyday units of the quantity first; Show more lists the rest.

Values of 10¹⁵ and above, or below 10⁻⁶, are written in scientific notation, such as 1.23 × 10⁻⁷. The copy buttons copy that as 1.23e-7, which spreadsheets and calculators read. Share gives a link that opens the same conversion, and the tool remembers the quantity, value and units on this device. Everything runs in your browser.

How the conversions work

Each unit is stored as an exact factor to a base unit of its quantity, written as a decimal: the inch is 0.0254 m and the pound 0.45359237 kg by definition. The factor between two units is worked out exactly from those decimals before any arithmetic, so 1 inch shows as 2.54 cm, never 2.5399999999999996.

The formula multiplies or divides by a factor of 1 or more: inches from centimetres divide by 2.54. Where only the factor below 1 is an exact decimal, it uses that one instead, so kilograms from pounds multiply by 0.45359237. A factor with no short exact decimal is rounded to 10 significant figures and marked with ≈. The same mark appears whenever a unit has no exact definition: the radian, the average month and year, and the US therm.

Temperature scales have different zero points, so they convert with an offset as well as a factor. Fuel consumption in litres per 100 km is the reciprocal of fuel economy, so 0 km/L has no equivalent in it. A month is 30.436875 days and a year 365.2425 days, the averages of the Gregorian calendar.

Torque and energy share a dimension: in SI base units a newton metre is a joule. They measure different things, though, so they are separate quantities here and never convert into each other; “foot pound” finds the pound-force foot of torque. Rotation converts through the revolution: 1 rpm is 1/60 Hz exactly, while a radian per second is 1 ÷ 2π revolutions per second, so its formulas are marked ≈ and a hertz is never taken as a radian per second.

The kilogram-force, gram-force, standard gravity (g₀) and the water columns all use the standard acceleration of gravity, 9.80665 m/s², exactly; the water columns take water of 1,000 kg/m³. The cusec is one cubic foot per second, 0.028316846592 m³/s exactly, and a megalitre per day (MLD) is 1,000 m³ spread over the 86,400 seconds of a day.

cm = in × 2.54
in = cm ÷ 2.54
°F = °C × 9/5 + 32
°C = (°F − 32) × 5/9
L/100 km ≈ 235.2145833 ÷ US mpg
Hz = rpm ÷ 60
Hz ≈ rad/s ÷ 6.283185307

Examples

A height in feet

6 ft is 1.8288 m. Formula: m = ft × 0.3048.

Body temperature

98.6 °F is 37 °C. Formula: °C = (°F − 32) × 5/9.

A car's fuel economy

40 UK mpg is 7.062023408 L/100 km. Formula: L/100 km ≈ 282.4809363 ÷ UK mpg.

Higher is better in miles per gallon and lower is better in litres per 100 km, since one is the inverse of the other.

Broadband speed

100 Mbit/s is 12.5 MB/s. Formula: MB/s = Mbit/s ÷ 8.

Connections are sold in bits per second and downloads are shown in bytes, eight bits each. The Download Time Calculator works out how long a file takes at that speed.

What it converts

Each quantity and its units
QuantityUnits
Lengthnm, µm, mm, cm, m, km, mil, in, ft, ft + in, yd, mi, nmi, pt, pc, px, pt (TeX)
Weight (mass)µg, mg, g, kg, t, gr, ct, oz, oz t, lb, st, lb + oz, st + lb, US ton, UK ton, tola
Temperature°C, °F, K, °R
VolumemL, L, m³, cm³, in³, ft³, US tsp, US tbsp, US fl oz, US cup, legal cup, US pt, US qt, US gal, imp fl oz, imp pt, imp qt, imp gal, metric tsp, metric tbsp, metric cup, imp cup, AU tbsp, bbl
Areamm², cm², m², ha, km², in², ft², yd², ac, mi²
Speedm/s, km/h, mph, kn, ft/s
Timens, µs, ms, s, min, h, d, wk, mo, yr
Data storagebit, kbit, Mbit, Gbit, B, kB, MB, GB, TB, PB, KiB, MiB, GiB, TiB, PiB
Data ratebit/s, kbit/s, Mbit/s, Gbit/s, B/s, kB/s, MB/s, GB/s, KiB/s, MiB/s
PressurePa, kPa, MPa, bar, mbar, psi, atm, mmHg, Torr, inHg, kgf/cm², mmH₂O, inH₂O
EnergyJ, kJ, MJ, cal, kcal, cal (IT), Wh, kWh, MWh, GWh, BTU, eV, ft·lbf, thm
PowerW, kW, MW, hp, hp (E), PS, BTU/h, TR
Fuel economykm/L, L/100 km, US mpg, UK mpg, US gal/100 mi
Angle°, rad, gon, turn, ′, ″
TorqueN·m, kN·m, N·cm, N·mm, kgf·m, kgf·cm, lbf·ft, lbf·in, ozf·in, dyn·cm
ForceN, kN, MN, dyn, gf, kgf, tf, lbf, ozf, kip, pdl
Frequency and rotationHz, kHz, MHz, GHz, rpm, rev/s, rad/s, °/s
Densitykg/m³, g/cm³, lb/ft³, lb/in³, lb/US gal, lb/imp gal, oz/in³
Flow ratem³/s, m³/h, L/s, L/min, L/h, US gpm, imp gpm, ft³/min, ft³/s, ML/day, US MGD
Accelerationm/s², Gal, ft/s², g₀, km/h/s, mph/s
Illuminancelx, klx, fc, ph

Definitions and sources

The inch (0.0254 m) and the pound (0.45359237 kg) are exact by the 1959 international yard and pound agreement; feet, yards, miles, ounces, stones and tons follow from them. The US gallon is 231 cubic inches (3.785411784 L) and the imperial gallon 4.54609 L. Factors follow NIST Special Publication 811, Appendix B, and NIST Handbook 44, Appendix C.

The US survey foot, which differs from the international foot by two parts in a million, has been deprecated since 1 January 2023 and is not offered.

Decimal prefixes count in thousands (1 kB = 1000 bytes) and binary prefixes in powers of two (1 KiB = 1024 bytes), as the IEC standardised. The US legal cup of 240 mL is the one used on nutrition labels; the customary cup is 236.5882365 mL. The electronvolt is exact since the 2019 redefinition of the SI.

Torque, force, flow, density, acceleration and illuminance follow the same Appendix B, as do the ton of refrigeration (12,000 BTU per hour) and the conventional water columns, which NIST bases on ISO 80000-4. Points, picas and CSS pixels are the absolute lengths of CSS Values and Units Level 4: 1 in = 72 pt = 6 pc = 96 px. The TeX point is the printer's point, 1/72.27 in.

Sources

Reviewed

Frequently asked questions

The US and imperial systems kept the same names for different sizes: a US gallon is 3.785411784 L and an imperial gallon 4.54609 L. Cups add a third and fourth size — US customary, US legal and metric — so each one is labelled with its system and size.
Both are in use, so between bytes, KB, MB, GB and TB the converter gives both answers: 1 KB = 1,000 bytes, as drive makers and macOS count, and 1,024 bytes, as Windows, RAM and most textbooks count. KiB is the official name for 1024 bytes; choose it for a single answer. Drive makers use decimal units and Windows reports binary ones, which is why a drive looks smaller once installed.

See also