Unit converter
Length and mass use exact factors. Temperature uses the Celsius, Fahrenheit, and kelvin formulas, not a single scale factor.
Length
Example: 1 inch is 2.54 centimetres. Negative length is rejected.
Mass
Example: 1 pound is 0.45359237 kilograms. Negative mass is rejected.
Temperature
Example: 98.6 fahrenheit is 37 celsius. Values below absolute zero are rejected.
Length factors
Factors to the metre: 1 millimetre = 0.001 m, 1 centimetre = 0.01 m, 1 kilometre = 1000 m, 1 inch = 0.0254 m, 1 foot = 0.3048 m, 1 yard = 0.9144 m, 1 mile = 1609.344 m. The inch is the international inch, 25.4 millimetres exactly, so 1 inch = 2.54 centimetres. The foot, yard, and mile here are built from that inch (a foot is 12 inches). They are not the old US survey foot. Zero length is allowed.
Mass factors
Factors to the kilogram: 1 milligram = 0.000001 kg, 1 gram = 0.001 kg, 1 avoirdupois pound = 0.45359237 kg exactly, and 1 ounce is 1/16 of that pound. Zero mass is allowed.
Temperature
kelvin = celsius + 273.15. fahrenheit = celsius × 9/5 + 32. Absolute zero is 0 K, −273.15 °C, and −459.67 °F. A temperature below that is rejected. 0 °C is 32 °F. 100 °C is 212 °F. 98.6 °F is 37 °C when 98.6 is the exact input. Celsius and Fahrenheit may be negative. Kelvin below zero is not a temperature on this page. “Metre” and “meter” are the same unit; the labels use the international spelling.
Limits
Results use binary floating-point and are shown to 8 decimal places. The factors themselves are exact; a displayed tail of zeros may still be rounding. This does not estimate measurement uncertainty, and it is not a conversion for cooking volumes or historical survey measures.
Length and mass factors follow the international inch (25.4 mm) and the avoirdupois pound (0.45359237 kg) as used in NIST Special Publication 811. Why this foot is not the US survey foot is explained by NIST. The kelvin and the Celsius offset are the SI definitions published by the BIPM SI Brochure.