Unit Converter
Convert metric, US and imperial units across 28 quantities, from inches and pounds to kPa and joules, with every unit in the group side by side.
Calculator
1 m = 100 cm
| Unit | Value |
|---|---|
| nm | 1 × 10⁹ |
| µm | 1 × 10⁶ |
| mm | 1000 |
| cm | 100 |
| m | 1 |
| km | 0.001 |
| in | 39.37008 |
| ft | 3.28084 |
| yd | 1.093613 |
| mi | 0.0006213712 |
| nmi | 0.0005399568 |
Cite this tool
Citing this tool
Last updated . Add the date you accessed it as well, which a citation of a page that can change asks for. If a specific result matters, cite the permalink from the tool’s share row instead of this page: it reproduces the exact parameters.
The equation
BIPM SI Brochure (9th edition) and NIST SP 811, Appendix B
The equation as an image to reuse
How do conversion factors convert measurement units?
Unit conversion multiplies a value by a conversion factor, a ratio of two equal amounts such as 1 m / 100 cm. The old unit cancels, and since the ratio equals 1 the physical quantity is unchanged: Valuetarget = Valuesource × conversion factor, where the factor is the number of target units in one source unit.
This tool defines every unit in a group as a multiple of one base unit. Length is based on the meter, so a centimeter is 0.01 of it and a nanometer is 0.000000001 of it. To convert between two units of one quantity, it multiplies by the source unit’s factor to reach the base, then divides by the target unit’s factor. Routing every conversion through the base means each unit carries one number, its factor, rather than one for every pairing, and a temperature scale carries an offset as well.
Some factors are exact by definition and some rest on a convention. One inch is exactly 25.4 mm, fixed by international agreement in 1959. One standard atmosphere is exactly 101,325 Pa. One thermochemical calorie is exactly 4.184 J. The pressure of a real column of mercury depends on the mercury’s density and the local gravity, so the conventional millimeter of mercury fixes both, at a density of 13.5951 g/cm³ and standard gravity, 9.80665 m/s², which gives exactly 133.322387415 Pa.
Worked example
A datasheet gives a burst pressure of 2500 psi and you need it in bar.
- To the base:
2500 × 6894.7573 = 17,236,893 Pa - Out of the base:
17,236,893 ÷ 100,000 = 172.4 bar
The table beneath the fields lists the same pressure in every unit of the group: pascals, kilopascals, bar, atmospheres, millimeters of mercury, psi and torr.
Temperature is the exception
Every other quantity here scales through the origin, so zero in one unit is
zero in all of them. Temperature scales carry an offset as well as a
factor, and the conversion is base = value × factor + offset.
Zero degrees Celsius is 273.15 K, and zero degrees Fahrenheit is 255.372 K.
The quantity list therefore carries temperature twice, as Temperature and Temperature difference. A thermometer reading needs the offset. A rise, a fall or a ΔT does not, because the offsets cancel when you subtract two readings: a rise of 10 °C is a rise of exactly 10 K. Converting a difference as if it were a reading is a common error in calorimetry, and it turns a 10 °C rise into 283.15 K, out by 273.15.
Common mistakes
- Forgetting that area and volume scale as powers. There are 100 centimeters in a meter but 10,000 square centimeters in a square meter and a million cubic centimeters in a cubic meter. Applying the length factor of 100 to an area in square centimeters leaves the answer out by a factor of 100.
- Treating a gauge reading as absolute. Converting 32 psi to kilopascals gives 220.6 kPa, but a tire gauge reads the excess over atmospheric, so adding 101.325 kPa puts the absolute pressure near 322 kPa.
- Mixing mass and weight. Kilograms are mass and newtons are force. They appear in different groups here for that reason, and no conversion between them exists without a value for gravitational acceleration.
- Rounding early. Converting through a rounded intermediate value compounds the error. This tool goes through the base unit at full double precision and rounds only for display.
Conversion tables for each quantity
Each of these 28 quantities has a page of its own, with a table of its units and a worked example.
Sources
- BIPM, The International System of Units (SI Brochure), 9th edition, for the standard atmosphere of 101 325 Pa (10th CGPM, 1954), t/°C = T/K − 273.15, the liter as a cubic decimeter and 1 eV = 1.602 176 634 × 10⁻¹⁹ J.
- NIST Special Publication 811, Appendix B.8, Factors for Units Listed Alphabetically, for the exact inch (2.54 × 10⁻² m) and thermochemical calorie (4.184 J), psi, the Btu, the pint and the gallon, and T/K = (t/°F + 459.67)/1.8.
- NIST Special Publication 811, Appendix B, section B.6, for the 1959 change that made the yard exactly 0.9144 m and the foot exactly 0.3048 m.
- NIST Special Publication 1038, The International System of Units (SI): Conversion Factors for General Use, for the US gallon of 231 cubic inches, and mercury pressure units as conventional values adopted by ISO.
- IUPAC, Quantities, Units and Symbols in Physical Chemistry (Green Book), 3rd edition, section 7.2, for the conventional millimeter of mercury, 13.5951 × 980.665 × 10⁻² Pa.
- NIST CODATA, standard acceleration of gravity, for standard gravity, 9.806 65 m/s², exact.
Constants used: Elementary charge (e).
Common questions
Why is temperature listed twice?
Because a reading and a change are different quantities. A temperature of 10 °C is 283.15 K, while a rise of 10 °C is a rise of 10 K. Temperature carries the 273.15 offset and Temperature difference does not, so picking the wrong one is out by 273.15. Use the first for a thermometer reading and the second for anything described as a rise, a fall or a ΔT.
Does it convert US and UK units?
Yes. It has inches, feet, yards, miles, ounces, pounds, stone, US fluid ounces, cups, pints, quarts and gallons, acres, pound-force, Btu and Btu per hour, and the UK pint and gallon. Units that share a name are marked US or UK, because a UK pint is about 1.2 US pints and a UK gallon about 1.2 US gallons.
Are the conversion factors exact?
Where the definition is exact, yes. One inch is exactly 25.4 mm, one standard atmosphere is exactly 101,325 Pa, one thermochemical calorie is exactly 4.184 J, and the electronvolt is exact under the 2019 SI. The millimeter of mercury uses its conventional definition, mercury of density 13.5951 g/cm³ under standard gravity, which makes it exactly 133.322387415 Pa.
Why does the table show so many decimal places?
It shows seven significant figures in fixed notation and switches to scientific notation outside the range where fixed digits stay readable. A conversion table spans many orders of magnitude by design: one meter is a billion nanometers. Showing the whole group at once also makes an error of a thousand obvious at a glance.