Unit Converter
Convert units instantly: length, mass, temperature, volume, area, speed, time, data, energy and pressure. Exact definitions, live results and every-unit tables.
About this tool
A unit converter turns a measurement in one unit into the same measurement in another: 100 centimeters is 39.37 inches, 2 kilograms is 4.41 pounds, and 100 degrees Fahrenheit is 37.78 degrees Celsius. This free unit converter covers 10 categories — length, mass, temperature, volume, area, speed, time, digital storage, energy, and pressure — using exact international definitions wherever they exist.
Type a value, pick the category and the two units, and the result appears instantly — along with the value in every other unit in the category. Everything runs in your browser, so your numbers are never sent anywhere.
By Azhar Hussain · Last updated: 12 November 2026
How to use
Choose a category first — Length, Mass / Weight, Temperature, Volume, Area, Speed, Time, Digital storage, Energy, or Pressure. Then type your value, pick the unit you have and the unit you want. Results update as you type, and the Convert button works too.
You can also type directly in the Result box to convert back the other way, use Swap units to flip the pair without retyping, Copy result to grab a one-line answer like "100 cm = 39.37007874 in", and Reset to start over. Below the main result, a table shows your value in every unit in the category, plus the formula behind the conversion.
Volume units are always labelled US or UK, because a US gallon (3.785 liters) and an imperial gallon (4.546 liters) differ by about 20%. Data units are labelled decimal (KB, MB) or binary (KiB, MiB) for the same reason. Temperature converts with offset formulas, not multiplication — see the sections below.
The math behind it
Every conversion except temperature goes through the category's base unit: meters for length, kilograms for mass, liters for volume, square meters for area, meters per second for speed, seconds for time, bytes for data, joules for energy, and pascals for pressure. The tool multiplies your value by the from-unit factor to reach the base unit, then divides by the to-unit factor. Each factor is an exact international definition — one inch is exactly 0.0254 meters, one pound is exactly 0.45359237 kilograms, one US gallon is exactly 3.785411784 liters.
Temperature is the exception: it uses offset formulas, because the Celsius and Fahrenheit scales start at different zeros — °F = (°C × 9/5) + 32 and °C = (°F − 32) × 5/9, with Kelvin exactly 273.15 above Celsius. Full precision is kept internally and results are shown to 10 significant digits, so what you see is the display rounding of an exact conversion, never a rounded intermediate.
Exact definitions behind the factors
These are the definitions the tool converts with. Where a factor is exact, the conversion is exact too — any rounding you see is display rounding only, applied to the final result.
| Unit | Exact definition | Source |
|---|---|---|
| Inch | 0.0254 m | 1959 international yard and pound agreement; NIST SP 811 |
| Foot | 0.3048 m (12 in) | 1959 agreement; NIST SP 811 |
| Yard | 0.9144 m (3 ft) | 1959 agreement; NIST SP 811 |
| Mile (statute) | 1609.344 m (1760 yd) | 1959 agreement; NIST SP 811 |
| Nautical mile | 1852 m | NIST SP 811 |
| Pound (avoirdupois) | 0.45359237 kg | 1959 agreement; NIST SP 811 |
| Ounce (avoirdupois) | 0.028349523125 kg (1/16 lb) | 1959 agreement; NIST SP 811 |
| Stone | 6.35029318 kg (14 lb) | NIST SP 811 |
| US liquid gallon | 3.785411784 L (231 in³) | NIST SP 811 Appendix B.9 |
| Imperial (UK) gallon | 4.54609 L | UK Weights and Measures Act 1985, Schedule 1 |
| Acre | 43,560 ft² = 4046.8564224 m² | NIST Handbook 44 Appendix C |
| Hectare | 10,000 m² | SI |
| Mile per hour | 0.44704 m/s | Derived from the exact mile |
| Knot | 1852 m/h (one nautical mile per hour) | NIST SP 811 |
Two values on this page are approximate by nature and are labelled as such: the BTU (International Table, about 1055.06 joules — the calorie and BTU families have several variants), and the Julian year (365.25 days, an average — calendar years are 365 or 366 days). Everything else above is an exact definition.
US vs imperial: why every gallon is labelled
US and imperial (UK) liquid measures share names but not sizes. A US gallon is 3.785411784 liters; an imperial gallon is 4.54609 liters — about 20% larger. The pints and fluid ounces differ too: a US pint is 473.18 mL and an imperial pint is 568.26 mL; a US fluid ounce is 29.57 mL and an imperial fluid ounce is 28.41 mL. A single unlabelled "gallon" option is a known error source, so every volume unit on this page says US or UK, and there is no unlabelled gallon, pint, or fluid ounce anywhere in the tool.
The same care applies to weight. This converter uses avoirdupois pounds and ounces — the everyday system for body weight, groceries, and shipping. Troy ounces and pounds (precious metals) are different units and are not included, so they can never be mixed in by mistake. Strictly, kilograms measure mass and pounds measure force, but everyday convention treats the pound as a mass unit, and this tool follows that convention — the label says Mass / Weight for exactly that reason.
Temperature: offsets, not multiplication
Temperature is the one category where you cannot just multiply. Celsius and Fahrenheit start at different zeros, so every conversion adds or subtracts an offset: °F = (°C × 9/5) + 32, °C = (°F − 32) × 5/9, and Kelvin sits exactly 273.15 above Celsius (K = °C + 273.15). Rankine, the Fahrenheit-sized absolute scale, is °R = °F + 459.67. The tool applies the offset formula for the pair you pick and shows it under the result.
Two facts worth remembering. First, −40 reads the same on both scales: −40 °C = −40 °F, which makes it a handy check that a conversion is working. Second, ratios across °C and °F are meaningless: 20 °C is not "twice as hot" as 10 °C, because neither scale starts at absolute zero. Only Kelvin (and Rankine) support ratios, because 0 K is absolute zero.
Decimal vs binary: MB is not MiB
Storage makers and operating systems count differently, and the difference is real money in expectations. Decimal SI prefixes are powers of 1000: 1 KB = 1000 bytes, 1 MB = 1,000,000 bytes, 1 GB = 1,000,000,000 bytes. Binary prefixes (IEC 60027-2) are powers of 1024: 1 KiB = 1024 bytes, 1 MiB = 1,048,576 bytes, 1 GiB = 1,073,741,824 bytes. A mebibyte is about 4.9% larger than a megabyte.
That is why a drive advertised as 500 GB shows about 465 GiB in your operating system: the maker counted decimal gigabytes, the system reports binary gibibytes, and the bytes are the same. This converter never silently treats KB as 1024 — decimal and binary units are listed separately and labelled, so pick the one your context actually means.
Conversion charts: common values
Common values, computed from the exact definitions in the table above. The live tool above converts any value, not just these.
Inches → centimeters (1 in = 2.54 cm exactly)
| Inches | Centimeters |
|---|---|
| 1 | 2.54 |
| 2 | 5.08 |
| 5 | 12.7 |
| 10 | 25.4 |
| 20 | 50.8 |
| 25 | 63.5 |
| 50 | 127 |
| 100 | 254 |
Feet → meters (1 ft = 0.3048 m exactly)
| Feet | Meters |
|---|---|
| 1 | 0.3048 |
| 2 | 0.6096 |
| 5 | 1.524 |
| 10 | 3.048 |
| 20 | 6.096 |
| 25 | 7.62 |
| 50 | 15.24 |
| 100 | 30.48 |
Miles → kilometers (1 mi = 1.609344 km exactly)
| Miles | Kilometers |
|---|---|
| 1 | 1.60934 |
| 2 | 3.21869 |
| 5 | 8.04672 |
| 10 | 16.0934 |
| 20 | 32.1869 |
| 25 | 40.2336 |
| 50 | 80.4672 |
| 100 | 160.934 |
Pounds → kilograms (1 lb = 0.45359237 kg exactly)
| Pounds | Kilograms |
|---|---|
| 1 | 0.453592 |
| 2 | 0.907185 |
| 5 | 2.26796 |
| 10 | 4.53592 |
| 20 | 9.07185 |
| 25 | 11.3398 |
| 50 | 22.6796 |
| 100 | 45.3592 |
Celsius → Fahrenheit (°F = (°C × 9/5) + 32; −40 reads the same on both)
| Celsius (°C) | Fahrenheit (°F) |
|---|---|
| -40 | -40 |
| -20 | -4 |
| 0 | 32 |
| 10 | 50 |
| 20 | 68 |
| 30 | 86 |
| 37 | 98.6 |
| 100 | 212 |
US gallons → liters (1 US gal = 3.785411784 L exactly)
| US gallons | Liters |
|---|---|
| 1 | 3.78541 |
| 2 | 7.57082 |
| 5 | 18.9271 |
| 10 | 37.8541 |
| 20 | 75.7082 |
| 25 | 94.6353 |
| 50 | 189.271 |
| 100 | 378.541 |
Worked examples
5 kilometers → miles. 5 × 1000 ÷ 1609.344 = 3.10686 miles, shown as 3.107. A 5K race is about 3.1 miles.
100 °F → Celsius. (100 − 32) × 5/9 = 37.78 °C — a hot summer day, just above body temperature.
2 kilograms → pounds. 2 ÷ 0.45359237 = 4.409 lb. A 2 kg bag of flour weighs about 4.41 lb.
1 US gallon → liters, and the imperial trap. 1 US gallon is 3.785 L, but 1 imperial gallon is 4.546 L. Filling a UK recipe's "1 gallon" with a US measure under-fills it by about 17% — always check which gallon the source means.
100 km/h → mph. 100 ÷ 3.6 ÷ 0.44704 = 62.14 mph. A 100 km/h speed limit is about 62 mph.
500 GB → GiB. 500,000,000,000 ÷ 1,073,741,824 = 465.66 GiB — the number your computer actually shows for a "500 GB" drive.
When to use it
Travel: miles to kilometers, Fahrenheit to Celsius, gallons to liters at the pump. Cooking: US cups, tablespoons, and fluid ounces to milliliters, and Fahrenheit oven temperatures to Celsius. Property: square feet to square meters, acres to hectares. Study and work: meters per second to km/h, joules to kilowatt-hours, pascals to psi for tyre pressure. Files and shipping: megabytes to mebibytes before you buy storage, kilograms to pounds before you post a parcel. If you convert one pair all day, the dedicated converters below go deeper on that single conversion.
Dedicated converters for single conversions
This page is the multi-category hub. For one conversion done in depth — with its own charts, tables, and FAQs — use the dedicated tool:
Length converter — meters, feet, inches, miles, and more, in depth. Weight converter — kilograms, pounds, ounces, and stone. Temperature converter — Celsius, Fahrenheit, and Kelvin. Inches to feet converter — heights and measurements, including feet-and-inches results. Km to miles converter — road distances and running paces.
Methodology and sources
Every conversion except temperature goes through the category's base unit at full precision, rounding only the displayed result to 10 significant digits. Factors are exact international definitions from NIST SP 811 (Guide for the Use of the SI), NIST Handbook 44 Appendix C, the 1959 international yard and pound agreement, the UK Weights and Measures Act 1985 (imperial gallon), and IEC 60027-2 (binary prefixes). Temperature uses the definitional offset formulas with Kelvin exactly 273.15 above Celsius. Cross-category conversion (kilometers to kilograms) is impossible without extra information and is not offered. Checked 12 November 2026.
Frequently asked questions
How many centimeters are in an inch?
How many feet are in a meter?
How many kilograms are in a pound?
How do I convert Celsius to Fahrenheit?
Are US and UK gallons the same?
Are the conversions exact?
How many square feet are in an acre?
What is the difference between MB and MiB?
Can I convert between different categories, like kilometers to kilograms?
Is this unit converter free to use?
Related tools
Length Converter
Weight Converter
Temperature Converter
Currency Converter
Time Zone Converter
Date Calculator
💬 Comments
Have a question about this page, or an idea to make it better? Share it below — your feedback helps everyone who uses this site.