Supported units
mm, cm, m, km, in, ft, yd, mi, nmi · mg, g, kg, t, oz, lb, st · ml, cl, dl, l, m3, tsp, tbsp, floz, cup, pt, qt, gal · mm2, cm2, m2, ha, km2, in2, ft2, yd2, acre, mi2 · m/s, km/h, mph, kn · C, F, K · B, KB, MB, GB, TB, KiB, MiB, GiB, TiB. Common spellings also work: miles, feet, inches, pounds, kilograms, liters or litres, gallons, Celsius and Fahrenheit.
Exact factors
Imperial units use their legal definitions: 1 inch is exactly 2.54 cm, 1 pound is exactly 0.45359237 kg, 1 mile is 1609.344 m. Volume units such as cup, pint, quart, gallon and fluid ounce are US customary units (1 US gallon = 3.785411784 litres); the UK gallon is about 20% larger. Results are rounded to 10 significant digits.
Temperature and data sizes
Temperatures are converted with offsets, not just factors: 0 °C is 32 °F and 273.15 K. For data, KB, MB and GB are decimal (1 MB = 1,000,000 bytes, as used by disk makers), while KiB, MiB and GiB are binary (1 MiB = 1,048,576 bytes, as shown by many operating systems). That difference is why a "1 TB" drive shows about 931 GiB.
Example
Four conversions pasted at once: distance, temperature, a cooking measure and a disk size.
Input
10 km to mi 72 F to C 2 cups to ml 1 TB to GiB
Output
10 km = 6.213711922 mi 72 F = 22.22222222 C 2 cups = 473.176473 ml 1 TB = 931.3225746 GiB
