Every dayUnit Conversions

Unit
converter.

This unit converter handles length, weight, volume, temperature and twelve more.

How it's worked out

Every unit has a size measured against one base unit for its kind of quantity. Length is measured against the meter, weight against the kilogram, energy against the joule. To convert, the tool turns your amount into the base unit, then divides by the size of the unit you want:

b\displaystyle b=(x+ofrom)×ffrom\displaystyle {}= (x + o_{\text{from}}) \times f_{\text{from}}y\displaystyle y=bfto−oto\displaystyle {}= \frac{b}{f_{\text{to}}} - o_{\text{to}}
  • xx is the amount you type, bb is the same amount in the base unit, and yy is the answer.
  • ffromf_{\text{from}} is the size of one starting unit in base units. A mile is 1,609.344 meters, so its ff is 1,609.344.
  • ftof_{\text{to}} is the size of one target unit. A kilometer is 1,000 meters.
  • oo is an offset. It is zero for everything except temperature.

So 1 mile is 1,609.344 m, and 1,609.344 ÷ 1,000 gives 1.609344 km. The Working card in the tool shows these two steps for your own numbers, then converts the answer back as a check.

Temperature needs the offset because the scales start in different places. Kelvin starts at absolute zero, the coldest anything can be. Celsius starts 273.15 degrees higher, at the freezing point of water. Fahrenheit degrees are smaller: each one is 59\tfrac{5}{9} of a kelvin, and absolute zero sits at −459.67 °F. So you add 459.67, then multiply by 59\tfrac{5}{9}. Take 68 °F:

(68+459.67)×59\displaystyle (68 + 459.67) \times \frac{5}{9}=293.15 K\displaystyle {}= 293.15\ \text{K}

Subtract 273.15 and you get 20 °C. The factors themselves come from NIST Special Publication 811. Most are exact by definition. Since 1959 the inch has been exactly 2.54 cm and the pound exactly 0.45359237 kg.

Worked examples

Dana's first marathon: 26.2 miles

Dana is training from a US plan, but her watch shows kilometers. 26.2 × 1.609344 gives 42.16481 km. The official distance is 42.195 km, which is 26.219 mi, so the 26.2 on her plan is already rounded. If her plan has a 20 mile long run, the batch grid can turn the whole week into kilometers at once.

Open this example in the tool

A US cookie recipe in a European oven: 350 °F

The recipe says 350 °F. Subtract 32, then multiply by 59\tfrac{5}{9}, and you get 176.67 °C. Recipes written in Celsius usually round it to 180 °C. That is 356 °F, a few degrees hotter than the recipe asks, so keep an eye on the first tray.

Open this example in the tool

Sam's new 2 TB drive shows less space

Sam bought a 2 TB drive, and the computer reports about 1.8. Nothing is missing. The box counts terabytes of 1,000⁴ bytes. Many computers count in tebibytes of 1,024⁴ bytes but still print "TB". 2 TB is 1.819 TiB, or 1,863 GiB.

Open this example in the tool

Reading your result

The big number is your amount in the target unit. Under it you see what one starting unit is worth, so you can do the next one in your head. The tool covers 16 kinds of quantity and 116 units.

The answer is rounded to the significant figures you pick. Eight is the default, enough to show the exact mile factor, 1.609344. Choose 3 when you only need a figure to say out loud. Choose 12 for a lab notebook. More digits do not make a measurement more precise, though. A height measured to the nearest inch, like 70 in, is 1,778 mm give or take 12.7 mm. Writing 1,778 mm claims more than you know.

Here are 10 pairs people convert all the time, from kitchen cups to highway miles, with the factor the converter uses for each:

One of theseEqualsQuantity
1 in (inches)2.54 cmLength
1 mi (miles)1.609344 kmLength
1 lb (pounds)0.4535924 kgWeight
1 st (stone)6.350293 kgWeight
1 cup (US cups)236.5882 mLVolume
1 gal (US gallons)3.785412 LVolume
1 ac (acres)0.4046856 haArea
1 mph (miles per hour)1.609344 km/hSpeed
1 psi (pounds per square inch)6.894757 kPaPressure
1 kWh (kilowatt-hours)3,412.142 BTUEnergy

Exact values follow NIST Handbook 44, Appendix C. Data sizes follow the IEC prefixes described by NIST: kB, MB, GB and TB step by 1,000, and KiB, MiB, GiB and TiB by 1,024. A year here is 365.25 days, and a calorie is the 4.184 J thermochemical calorie. Density, flow rate and torque units are built from the same exact inch, foot, pound and gallon, and from standard gravity for pound-force and kilogram-force, so they match the factors in NIST SP 811 Appendix B.

Common mistakes

  • Mixing up US and imperial gallons. A US gallon is 3.785412 L and an imperial gallon is 4.54609 L. A UK fuel economy figure in miles per gallon looks better than the same car's US figure for that reason alone.
  • Reading "ton" as one size. The US short ton is 907.18474 kg. The metric ton is 1,000 kg, which is 1.102 short tons. On a shipping quote, that is a gap of about 10%.
  • Forgetting that areas square the factor. One meter is 3.281 ft, but one square meter is 10.76 ft². Pick Area, not Length, when you convert a floor plan.
  • Converting a change in temperature as if it were a reading. A reading of 10 °C is 50 °F. A rise of 10 °C is a rise of only 18 °F, because the offset cancels out. Weather forecasts and recipes that say "10 degrees hotter" mean the rise.
  • Treating GB and GiB as the same. A 1 TB drive holds about 931 GiB, and one GiB is 1.074 GB. If a file size and a drive size disagree by about 7%, check which one each uses.

Questions people ask

Exactly 1.609344 km, because the 1959 international agreement fixed the yard at 0.9144 m. Going the other way, 1 km is about 0.621 miles, so a 5 km race is about 3.11 miles and a 10 km race about 6.21 miles.

Sources