How to use it: 1) Tap a category such as Length or Temperature. 2) Choose the From unit and the To unit. 3) Type an amount in either box and the other box fills in at once. 4) Press the swap button to reverse the units, and Copy result to copy the sentence. The quick reference table under the converter lists common conversions for the chosen category.
This is the general converter. Choose a category, type an amount, and pick the unit you have and the unit you want. Only units of that category appear in the selects, and the result also lists the amount in every other unit of the category.
Inside a category, each unit is stored as an exact number of one base unit (metres for length, grams for mass, litres for volume, pascals for pressure, joules for energy, watts for power, and so on). The amount is turned into the base unit and then into the one you asked for. Imperial and US units are defined from metric ones: the inch is 25.4 mm, the pound is 453.59237 g and the US gallon is 3.785411784 litres (NIST SP 811).
Temperature is the one category that is not a simple multiplication, so the tool passes through kelvin: °C = K − 273.15 and °F = (K − 273.15) × 9/5 + 32. Data sizes include both the decimal units (1 GB = 1000 MB) and the binary units (1 GiB = 1024 MiB). The table under the result lists the common imperial to metric steps.
For a single pair with its own tips and tables, use the specific pages: the length converter, the grams to ounces converter, the liters to gallons converter, the speed converter, the MB to GB converter and the PSI to bar converter.
Check it by hand: one mile is exactly 1.609344 km, so a marathon of 26.2 miles is 26.2 × 1.609344 = 42.1648 km. Check it the other way: 42.1648 ÷ 1.609344 = 26.2. In feet, 26.2 × 5,280 = 138,336 ft, and in yards 26.2 × 1,760 = 46,112 yd, as the table shows.