Home › Converters › Unit Converter
🔄

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.

UnitExact definitionSource
Inch0.0254 m1959 international yard and pound agreement; NIST SP 811
Foot0.3048 m (12 in)1959 agreement; NIST SP 811
Yard0.9144 m (3 ft)1959 agreement; NIST SP 811
Mile (statute)1609.344 m (1760 yd)1959 agreement; NIST SP 811
Nautical mile1852 mNIST SP 811
Pound (avoirdupois)0.45359237 kg1959 agreement; NIST SP 811
Ounce (avoirdupois)0.028349523125 kg (1/16 lb)1959 agreement; NIST SP 811
Stone6.35029318 kg (14 lb)NIST SP 811
US liquid gallon3.785411784 L (231 in³)NIST SP 811 Appendix B.9
Imperial (UK) gallon4.54609 LUK Weights and Measures Act 1985, Schedule 1
Acre43,560 ft² = 4046.8564224 m²NIST Handbook 44 Appendix C
Hectare10,000 m²SI
Mile per hour0.44704 m/sDerived from the exact mile
Knot1852 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)

InchesCentimeters
12.54
25.08
512.7
1025.4
2050.8
2563.5
50127
100254

Feet → meters (1 ft = 0.3048 m exactly)

FeetMeters
10.3048
20.6096
51.524
103.048
206.096
257.62
5015.24
10030.48

Miles → kilometers (1 mi = 1.609344 km exactly)

MilesKilometers
11.60934
23.21869
58.04672
1016.0934
2032.1869
2540.2336
5080.4672
100160.934

Pounds → kilograms (1 lb = 0.45359237 kg exactly)

PoundsKilograms
10.453592
20.907185
52.26796
104.53592
209.07185
2511.3398
5022.6796
10045.3592

Celsius → Fahrenheit (°F = (°C × 9/5) + 32; −40 reads the same on both)

Celsius (°C)Fahrenheit (°F)
-40-40
-20-4
032
1050
2068
3086
3798.6
100212

US gallons → liters (1 US gal = 3.785411784 L exactly)

US gallonsLiters
13.78541
27.57082
518.9271
1037.8541
2075.7082
2594.6353
50189.271
100378.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?
One inch is exactly 2.54 centimeters. This is an international definition, not a rounded approximation. To convert inches to centimeters yourself, multiply by 2.54. To go the other way, divide centimeters by 2.54. Our converter applies these exact factors automatically, so you never have to remember them.
How many feet are in a meter?
One meter equals about 3.28084 feet. The exact relationship comes from the definition of the inch: one inch is 0.0254 meters, and one foot is 12 inches, which makes one foot exactly 0.3048 meters. Dividing 1 by 0.3048 gives 3.28084 feet per meter. The converter handles this math for you instantly.
How many kilograms are in a pound?
One pound (avoirdupois) is exactly 0.45359237 kilograms — an international definition from the 1959 yard and pound agreement, not an approximation. Going the other way, one kilogram equals 2.20462 pounds. To convert pounds to kilograms yourself, multiply by 0.45359237; to convert kilograms to pounds, multiply by 2.20462.
How do I convert Celsius to Fahrenheit?
Use the offset formula: °F = (°C × 9/5) + 32. So 20 °C is (20 × 9/5) + 32 = 68 °F, and 100 °C (boiling water) is 212 °F. To go the other way: °C = (°F − 32) × 5/9. A handy check: −40 reads the same on both scales. Kelvin is exactly 273.15 above Celsius, so 0 °C = 273.15 K. The converter above applies the right formula for the pair you pick.
Are US and UK gallons the same?
No. A US liquid gallon is exactly 3.785411784 liters, while an imperial (UK) gallon is exactly 4.54609 liters — about 20% larger. The pints and fluid ounces differ too: a US pint is 473.18 mL versus an imperial pint of 568.26 mL. Every volume unit in this converter is labelled US or UK so you always know which one you are using.
Are the conversions exact?
Where an exact international definition exists — the inch, foot, mile, pound, ounce, US gallon, imperial gallon, acre, and the rest — the conversion is exact, and the tool keeps full precision internally. Results are shown to 10 significant digits, so the only rounding is display rounding of the final answer. Two exceptions are labelled on the page: the BTU (about 1055.06 joules, variant-dependent) and the Julian year (365.25 days, an average).
How many square feet are in an acre?
Exactly 43,560 square feet. An acre is defined as 43,560 square feet, which works out to 4046.8564224 square meters. A hectare, by contrast, is exactly 10,000 square meters — about 2.471 acres. The area category above converts between square feet, acres, hectares, square meters, and more.
What is the difference between MB and MiB?
MB (megabyte) is decimal: 1 MB = 1,000,000 bytes (powers of 1000). MiB (mebibyte) is binary: 1 MiB = 1,048,576 bytes (powers of 1024, per IEC 60027-2). A mebibyte is about 4.9% larger than a megabyte, which is why a drive advertised as 500 GB shows about 465 GiB in your operating system. This converter lists decimal and binary units separately and labels each, so pick the one your context means.
Can I convert between different categories, like kilometers to kilograms?
No — kilometers measure length and kilograms measure mass, and no factor connects them without extra information (for example, a material's density, or a speed and a time). The same applies to area and volume: converting square meters to cubic meters needs a third dimension. This converter only converts within a category, which is why the category comes first.
Is this unit converter free to use?
Yes, completely free with no sign-up and no limits. You can run as many conversions as you need. The calculations happen in your own browser, which keeps the tool fast and your data private.

Related tools

💬 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.