Unit Converter - Metric, Imperial, Cooking & Fuel

Conversion Details

Free unit converter that shows a value in every unit at once, with answers in feet and inches or pounds and ounces. Length, weight, cooking and data. No ads.

Select category

Enter value

Choose units

View conversion

Formulas and sources

Each formula this calculator uses, where it comes from, and what it leaves out. "How it works" shows the same formula with your own numbers.

Conversion by a factor

Every category except temperature; in fuel economy, only between two distance-per-fuel units

Result = Value × (From ÷ To)
Result
the converted value
Value
the number you typed
From
the size of one From unit in the category’s base unit (meter, kilogram, liter…)
To
the size of one To unit in the same base unit

Each unit holds one factor to its category’s base unit, so a pair’s factor is the ratio of two. "How it works" prints that factor for your pair to 12 significant digits. The arithmetic runs at full double precision; the Decimals setting rounds only what is shown.

Source: Uses the method in NIST SP 811, Appendix B [1]: multiply by the factor, divide to go back, and build a derived unit’s factor from its parts.

Where the factors come from

Length, area, volume, weight, speed, flow, pressure, energy, power and force

Each factor is a definition from the sources below: the inch is 0.0254 m, the pound 0.45359237 kg and the US gallon 231 cubic inches. 72 of the units match a row of NIST SP 811’s table at its printed digits. Metric sizes use the SI prefixes. The mile, acre and furlong use the international foot of exactly 0.3048 m; the US survey foot was retired at the end of 2022.

Source: NIST SP 811, Appendix B.8 [2] and Chapter 5 [3]; NIST Handbook 44, Appendix C [4]; the SI prefixes as NIST lists them [5].

Energy units

Energy

The small calorie and the food Calorie are the thermochemical calorie, 4.184 J, and a thousand of it; the International Table calorie is 4.1868 J. The BTU is the International Table BTU, and the therm the US therm. The electron volt is 1.602176634 × 10⁻¹⁹ J, exact since 2019.

Source: NIST SP 811, Chapter 5 [3], Appendix B.8 [2] and its footnotes 9 and 24 [12]; the electron volt: [6].

Data and data rates

Data and data transfer rate

A byte is 8 bits. KB, MB, GB and the rest are powers of ten (1 MB is 1,000,000 bytes), as the SI prefixes always are. KiB, MiB, GiB, TiB and PiB are powers of two (1 MiB is 1,048,576 bytes), the binary names that BIPM points to IEC 80000-13 for.

Source: The byte as NIST’s glossary defines it [7]; the SI prefixes and the binary names: BIPM [8] and NIST [9].

Year and month

Time

Year (365.25 days) is the Julian year, 31,557,600 s, a hundredth of the Julian century NIST uses for the light-year; a calendar year of 365 days is 0.07% shorter. Decade, century and millennium are multiples of it. Month (avg., 30.4375 days) is a twelfth of that year.

Source: The Julian century: NIST SP 811, footnote 18 [12]. The average month is CalcTrail’s own; no publisher.

Cooking measures

Volume

The US cup is 8 US fluid ounces, about 236.6 ml, and the US tablespoon and teaspoon are exact fractions of it. The metric tablespoon (15 ml) and teaspoon (5 ml) are the sizes the FDA uses for nutrition labels, which also use a 240 ml cup. The metric cup (250 ml) and the stick of butter (half a US cup) follow a widely used convention.

Source: NIST Handbook 44 [4]; the FDA’s labeling rule [10]. The metric cup and the stick of butter: widely used; no primary source found.

Temperature scales

Temperature

°C = (°F − 32) ÷ 1.8 °F = °C × 1.8 + 32 K = °C + 273.15 °C = (°R − 491.67) ÷ 1.8

A reading is converted through degrees Celsius. A value below absolute zero is refused. A change converts by the size of a degree alone: 1 °C is 1 K; 1 °F or 1 °R is 5/9 K.

Source: Uses the formulas in NIST SP 811, Appendix B.8 [2]; changes follow its section 8.5 [11].

Gas Mark

Temperature

°F = 250 + 25 × Mark °F = 275 + 25 × log2(Mark)
Mark
the Gas Mark, above 0

The first line holds from Mark 1 up, the second below it (½ is 250 °F, ¼ is 225 °F). Marks below ¼ carry the same halving rule on, CalcTrail’s own extension. Mark 4 is 350 °F, about 176.7 °C; printed charts round the Celsius figure.

Source: Widely used; no primary source found. Searched for a Gas Council, British Standards or government definition of the marks.

Fuel economy

Fuel economy, between L/100 km and a distance per fuel

Result = K ÷ Value
Result
the converted value
Value
the number you typed
K
235.214583333 for US mpg, 282.480936332 for UK mpg, 100 for km/L

More miles per gallon is fewer liters per 100 km, so the relation is inverse. K is 100 × liters per gallon ÷ kilometers per mile (US gallon 3.785411784 L, UK gallon 4.54609 L, mile 1.609344 km). NIST rounds the US figure to 235.215. Between two distance-per-fuel units the factor rule above applies.

Source: Uses the relation in NIST SP 811, Appendix B.5 [1].

Display rounding

Auto shows up to four decimals from 1 to 999, two from 1,000, none from a million, about four significant figures below 1, and exponential form from 10^15 up and below 10^-9. The Decimals setting caps the places at 2, 4, 6 or 8. It rounds by decimals, not by the significant digits of the value you typed.

Source: CalcTrail’s own display rule; no publisher. NIST SP 811 rounds by significant digits instead (Appendix B.7.2) [1].

Sources

  1. National Institute of Standards and Technology. NIST Guide to the SI, Appendix B: Conversion Factors, B.2, B.3, B.5 and B.7.2. Special Publication 811 (2008), web page updated August 18, 2025.Our automated tests check this calculator against 3 cases from it.
  2. National Institute of Standards and Technology. NIST Guide to the SI, Appendix B.8: Factors for Units Listed Alphabetically, the conversion factors, the temperature rows and the gon. Special Publication 811 (2008), web page updated August 18, 2025.Our automated tests check this calculator against 1 case from it.
  3. National Institute of Standards and Technology. NIST Guide to the SI, Chapter 5: Units Outside the SI, §5.2 and §5.3: the degree, nautical mile, knot, bar, torr, atmosphere and calorie. Special Publication 811 (2008), web page updated December 8, 2025.
  4. National Institute of Standards and Technology. NIST Handbook 44, Appendix C: General Tables of Units of Measurement. 2026 edition.
  5. National Institute of Standards and Technology, Office of Weights and Measures. Metric (SI) Prefixes. Web page updated August 13, 2025.
  6. National Institute of Standards and Technology. The NIST Reference on Constants, Units, and Uncertainty: CODATA recommended values, electron volt. 2022 CODATA recommended values, read October 5, 2026.
  7. National Institute of Standards and Technology, Computer Security Resource Center. Glossary: byte. Web page, read October 5, 2026.
  8. Bureau International des Poids et Mesures (BIPM). The International System of Units (SI), section 3.2, p. 139: SI prefixes and binary multiples. 9th edition (2019), version 4.01, June 2026.
  9. National Institute of Standards and Technology. Prefixes for binary multiples. Web page, no date shown; read October 5, 2026.
  10. US Food and Drug Administration. Code of Federal Regulations, Title 21, §101.9: Nutrition labeling of food, §101.9(b)(5)(viii), household measures. eCFR, current as of October 1, 2026.
  11. National Institute of Standards and Technology. NIST Guide to the SI, Chapter 8: Comments on Some Quantities and Their Units, §8.5, Temperature interval and temperature difference. Special Publication 811 (2008), web page updated August 18, 2025.
  12. National Institute of Standards and Technology. NIST Guide to the SI, Footnotes, footnote 9 (the Btu and the calorie), footnote 18 (the Julian century) and footnote 24 (the therm). Special Publication 811 (2008), web page updated August 18, 2025.

What this calculator does not cover

  • It changes units, not what is measured. It does not turn a volume into a weight, which needs the density of the ingredient.
  • It has no currency, density, torque, acceleration or Mach units.
  • A value converted and converted back returns to the digits shown, not always to the last binary digit: 12 in to cm and back is 11.999999999999998 before rounding.

Sources checked on

How we choose sources and test the calculators: How CalcTrail calculates

Help

Quick Start Guide

  1. Select category: Choose a category from the Category list, or type in its search box to find one by name.
  2. Enter value: Type the number you want to convert.
  3. Choose units: Select the From and To units.
  4. View conversion: The result updates as you type, with your value in every unit of the category listed alongside it.
  5. Swap units: Press S or click the swap button to reverse the conversion.
  6. Or type the whole conversion: Type a line such as "12 in to cm" into Quick Parse and press Enter. To pick a unit from a list instead, type / or press Units.

Frequently Asked Questions

Yes. The Quick Parse box takes a whole conversion on one line and sets the category and both units for you. Write it the way you would say it, such as "12 in to cm", "5 km -> mi", "68 f to c" or "1 stick of butter to ml", with to, in, into, -> or = between the units. Unit names, symbols and spelled-out aliases work ("100 Mbps to MB", "20 °C to °F", "1,000 sq ft to m²"), and so do fractions ("1/2 cup to ml"). So do values written in two units: "5 ft 11 in to cm", "5 lb 3 oz to kg", "11 st 4 lb to kg". To get the answer in two units, ask for them: "170 cm to feet and inches", "3.5 kg to lb oz", "25 mm to inch fraction", "135 min to hours and minutes", "45.7625 deg to dms" or "200 ml to cups and spoons". If you are not sure how a unit is written, type / or press Units and pick it from a list. The box stays in step with the dropdowns, so changing either one updates the other.

Related Calculators

Last updated