Skip to content
Tools

Unit Converter

Convert values between common units of length, weight, temperature, area, volume, speed, time and digital storage with our free online unit converter.

Result

39.37007874

100 centimeters = 39.37007874 inches

Conversion factor

1 centimeter = 0.3937007874 inches

1 inch = 2.54 centimeters

100 centimeters in every length unit

100 centimeters converted into every unit in this category.
UnitValueSymbol
Millimeter1,000mm
Meter1m
Kilometer0.001km
Inchselected39.37007874in
Foot3.280839895ft
Yard1.093613298yd
Mile0.0006213711922mi
Nautical mile0.0005399568035nmi

Selecting one changes the units and keeps whatever value you have typed.

Length

Weight

Temperature

Area

Volume

Speed

Digital storage

Quick examples

Worked examples — selecting one loads its value and units into the converter.

Everything runs locally in your browser. Your conversion values are not uploaded to our server.

Ctrl+Shift+S swap · Ctrl+Shift+R reset

Unit conversion reference

The factors behind the converter. Every figure here is produced by the same engine as the results above, rounded to ten significant digits for display — where a definition is exact, the figure shown is exact.

Length

Length conversion reference.
UnitEquivalent
1 inch2.54 cm
1 foot0.3048 m
1 yard0.9144 m
1 mile1.609344 km
1 nautical mile1.852 km

Weight

Weight conversion reference.
UnitEquivalent
1 kilogram2.204622622 lb
1 pound0.45359237 kg
1 ounce28.34952313 g
1 stone6.35029318 kg
1 metric ton1,000 kg

Area

Area conversion reference.
UnitEquivalent
1 square foot0.09290304
1 square yard0.83612736
1 acre4,046.856422
1 hectare10,000
1 square mile2.58998811 km²

Volume

Volume conversion reference.
UnitEquivalent
1 gallon (US)3.785411784 L
1 gallon (imperial)4.54609 L
1 pint (US)473.176473 mL
1 pint (imperial)568.26125 mL
1 fluid ounce (US)29.57352956 mL

Speed

Speed conversion reference.
UnitEquivalent
1 kilometer per hour0.6213711922 mph
1 mile per hour1.609344 km/h
1 knot1.852 km/h
1 meter per second3.6 km/h

Digital storage

Digital storage conversion reference.
UnitEquivalent
1 kibibyte1,024 B
1 mebibyte1,048,576 B
1 gibibyte1,073,741,824 B
1 gigabyte1,000,000,000 B
1 gibibyte1.073741824 GB

What is a unit converter?

A unit converter expresses the same quantity in a different unit. The physical amount does not change — 1 foot and 30.48 centimeters are the same length, described two ways. What changes is the unit doing the describing.

Different units exist because measurement systems developed separately, in different places, for different purposes, over a very long time. The foot and the pound descend from measures that predate any international standard; the meter and the kilogram were designed as a coherent decimal system in the 1790s. Neither is more accurate than the other — they are simply different sizes of the same quantity, and moving between them is arithmetic.

That arithmetic is what this tool does, across eight categories and 74 units, entirely in your browser. Nothing is sent anywhere.

How does unit conversion work?

Through a conversion factor: a fixed number relating one unit to another. The simplest example is the one everything else on this page resembles:

One conversion factor, used both ways
1 inch = 2.54 centimeters   (exactly) inches → centimeters    multiply by 2.54centimeters → inches    divide by 2.54     10 in × 2.54  =  25.4 cm    10 cm ÷ 2.54  =  3.937007874 in

Multiplying converts one way and dividing converts the other. That is the whole idea, and every category here except temperature works exactly like it.

With more than two units, storing a factor for every pair gets out of hand quickly — the nine length units in this tool have 72 ordered pairs between them, and nobody maintains 72 numbers without getting one wrong. So the converter uses a base unit instead. Every unit in a category carries one factor relating it to that base, and a conversion is two steps:

Converting through a base unit
Base unit for length: the meter Step 1   into the base     5 ft × 0.3048  =  1.524 mStep 2   out of the base   1.524 m ÷ 0.0254  =  60 in So 5 feet = 60 inches, and the converter never neededa foot-to-inch factor at all.

Nine units then need nine factors rather than 72, adding a tenth unit is one line rather than nine, and there is no way for two factors to disagree with each other because there is only ever one path between any pair.

Common unit conversion categories

Eight categories, each with its own base unit and its own set of things worth knowing:

  • LengthDistance and height, metric and imperial. 9 units, converted through the meter.
  • WeightEveryday weight, which is mass measured on Earth. 7 units, converted through the kilogram.
  • TemperatureCelsius, Fahrenheit and kelvin. 3 units, converted through the kelvin.
  • AreaFloor space, land and plots. 10 units, converted through the square meter.
  • VolumeCapacity and liquid measures. 12 units, converted through the liter.
  • SpeedTravel and wind speed. 5 units, converted through the meter per second.
  • TimeDurations from milliseconds to years. 8 units, converted through the second.
  • Digital storageBits, bytes and both families of multiples. 14 units, converted through the bit.

Two of them carry conventions rather than pure definitions, and both say so where you choose them. Time is exact up to the week, but a month is 28–31 days and a year is 365 or 366, so those two units use averages — 30.436875 and 365.2425 days respectively — and are labelled as averages. Digital storage has two competing families of multiples, covered below. Time here is a duration, not a clock reading — for the same instant seen from two places, the time zone converter is the tool that knows about offsets and daylight saving.

Metric vs imperial units

The practical difference is not accuracy — both systems are exactly as precise as the measurement behind them. It is how the units inside each system relate to one another.

Metric units scale by powers of ten. A thousand millimeters to the meter, a thousand meters to the kilometer, a thousand grams to the kilogram. Converting within the system moves a decimal point, which is why the prefixes (milli-, centi-, kilo-) mean the same thing wherever they appear.

Imperial and US customary units grew separately. Twelve inches to a foot, three feet to a yard, 1,760 yards to a mile; sixteen ounces to a pound, fourteen pounds to a stone. Each relationship made sense for the trade that produced it, and none of them agree with each other.

Common pairs people move between:

  • meters and feet — 1 m is about 3.28 ft, 1 ft is exactly 0.3048 m, and 1 yd is exactly 0.9144 m
  • kilometers and miles — 1 mi is exactly 1.609344 km
  • kilograms and pounds — 1 kg is about 2.204622622 lb, 1 lb is exactly 0.45359237 kg, and 1 oz is exactly 28.34952313 g
  • liters and gallons — 1 US gallon is exactly 3.785411784 L, and an imperial gallon is 4.54609 L
  • square meters and square feet — 1 m² is about 10.76391042 ft², and an acre is 4,046.856422 m²

Most countries use metric units for official and scientific purposes. Several also keep imperial or customary units in everyday use — for road distances, body weight, or drinks — and the two coexist without much difficulty. Which units a particular person reaches for depends on where they are and what they are measuring, and this converter takes no view on it.

One trap deserves naming. US customary and imperial units share names but not always sizes.A US gallon is about 20% smaller than an imperial one, and pints and fluid ounces diverge the same way. Every affected unit in this converter carries its system in its own name — “Gallon (US)” and “Gallon (imperial)” — so a result can never be ambiguous about which one it used.

How to convert units

  1. Select the measurement category. Length, weight, temperature, area, volume, speed, time or digital storage. The unit lists change with it, so you only ever see units that belong together.
  2. Select the unit you are converting from. Units are grouped by system, which is what tells the two gallons apart.
  3. Enter the value. Decimals, negatives, exponent notation like 1e6 and pasted grouped figures like 1,609.344 all work.
  4. Select the unit you want. Or press Swap to reverse the pair, which keeps your number where it is.
  5. Read the result. It updates as you type — there is no Convert button because there is nothing to wait for. Below it you get the conversion factor both ways, and the same value in every other unit of the category.

Unit conversion accuracy

Most conversion factors are not measurements. They are definitions, fixed by international agreement, and they are exact:

Exact by definition, not by measurement
1 inch          = 0.0254 m          exactly   (1959)1 pound         = 0.45359237 kg     exactly   (1959)1 nautical mile = 1852 m            exactly   (1929)1 US gallon     = 231 cubic inches  exactly1 imperial gal  = 4.54609 L         exactly   (1985)1 acre          = 4840 square yards exactly

This converter stores those values in full rather than rounded, and derives everything else from them — the foot from the inch, the square foot from the foot, the mile per hour from the mile. That matters more than it looks. Round the pound to 0.4536 and a 70 kg conversion is out by a gram. Round a length factor and then square it for an area, and the error squares with it.

There is a second accuracy problem that has nothing to do with the factors, and it is the one you can actually see on other converters:

Floating-point noise, and what it should look like instead
70 mm → km   raw arithmetic   0.00007000000000000001  displayed here   0.00007

Computers store decimals in binary, and most decimal fractions have no exact binary form — so tiny errors accumulate around the sixteenth significant digit. The fix is not to round during the arithmetic, which would throw away precision a reversed or chained conversion still needs. This tool keeps full precision all the way through and rounds to ten significant digits only when putting a number on the screen: far more precision than any physical measurement justifies, and well clear of where the noise lives.

Why temperature is different

Every other category on this page converts by multiplying. Temperature cannot, because its scales differ in two ways: the size of a degree, and where zero sits.

Temperature needs formulas, not factors
°C → °F     (°C × 9/5) + 32°F → °C     (°F - 32) × 5/9°C → K      °C + 273.15K  → °C     K - 273.15°F → K      (°F - 32) × 5/9 + 273.15K  → °F     (K - 273.15) × 9/5 + 32     0 °C  =  32 °F  =  273.15 K  100 °C  = 212 °F  =  373.15 K  -40 °C  = -40 °F   ← the one place the scales meet

This is why “1 °C = 33.8 °F” is a trap. It is a true statement about one temperature and a useless conversion factor: multiply 20 °C by 33.8 and you get 676, where the answer is 68. The converter shows the formula for temperature pairs instead of a factor, precisely so there is nothing there to multiply by.

Kelvin is the SI base unit and the one this category converts through. Its degrees are the same size as Celsius degrees but its zero is absolute zero — the coldest anything can be. That gives the tool its single physical limit: a value below −273.15 °C (or −459.67 °F, or 0 K) describes a temperature that does not exist, so the converter says so rather than returning a number.

Decimal vs binary storage units

Digital storage has two families of multiples, and confusing them is the reason a drive you bought as 1 TB shows up as 931 of something.

Two families, and why they diverge
Decimal (SI)              Binary (IEC)1 KB = 1,000 bytes        1 KiB = 1,024 bytes1 MB = 1,000 KB           1 MiB = 1,024 KiB1 GB = 1,000 MB           1 GiB = 1,024 MiB1 TB = 1,000 GB           1 TiB = 1,024 GiB 1 GiB = 1.073741824 GB    about 7.4% larger1 TB  = 931.3225746 GiB   which is where the "931" comes from

Drive manufacturers use decimal units, so a 1 TB drive really does hold 1,000,000,000,000 bytes. Most operating systems divide by 1024 three times — giving gibibytes — and then label the result “GB”. Nothing is missing from the drive; the two numbers are the same capacity under different units, one of which is wearing the other’s name.

This converter keeps them apart. Decimal units use the SI names and symbols (KB, MB, GB, TB) and binary units use the IEC ones (KiB, MiB, GiB, TiB). No binary unit is ever labelled KB, MB or GB here — which means you can convert between the two families deliberately, and the answer tells you which family it is in.

Bits and bytes are worth keeping straight too: a byte is 8 bits, and network speeds are usually quoted in bits (Mb) while file sizes are in bytes (MB). Both are in the converter, so a 100 Mb connection can be converted into the 12.5 MB/s it actually delivers. If the file you are measuring against an upload limit is a photograph, the image compressor reports its size before and after re-encoding it.

Frequently asked questions

What is a unit converter?

A tool that expresses the same quantity in a different unit. The physical amount does not change — 1 foot and 30.48 centimeters are the same length, described two ways. This converter covers length, weight, temperature, area, volume, speed, time and digital storage, and everything it does runs in your browser.

How do I convert units?

Pick the category, choose the unit you are converting from, type the value, and choose the unit you want. The result updates as you type. There is no Convert button because there is nothing to wait for — the arithmetic is a multiplication, and it happens on every keystroke.

How does unit conversion actually work?

Through a conversion factor: a fixed number relating one unit to another. 1 inch is exactly 2.54 centimeters, so inches become centimeters by multiplying by 2.54 and centimeters become inches by dividing. This tool converts everything through a single base unit per category — into meters, then out to the target — which is why every unit needs one factor rather than one for every other unit it could pair with.

How do I convert centimeters to inches?

Divide by 2.54, since 1 inch is exactly 2.54 cm. So 100 cm is 39.37007874 inches, and 30 cm is about 11.81 inches. Going the other way, multiply inches by 2.54.

How do I convert feet to meters?

Multiply by 0.3048, which is exact — the international foot has been defined as exactly 0.3048 m since 1959. So 5 feet is 1.524 meters and 10 feet is 3.048 meters. To go from meters to feet, divide by 0.3048, or multiply by about 3.280839895.

How do I convert miles to kilometers?

Multiply by 1.609344, which is exact. So 10 miles is 16.09344 km and 26.2 miles — a marathon — is about 42.16 km. Kilometers to miles is the reverse: multiply by about 0.6213711922, so 100 km is roughly 62.14 miles.

How do I convert kilograms to pounds?

Multiply by about 2.204622622. The exact relationship runs the other way — one pound is defined as exactly 0.45359237 kg — so kilograms to pounds is a division by that figure. 70 kg is about 154.32 lb, and 100 kg is about 220.46 lb.

How do I convert Celsius to Fahrenheit?

Multiply by 9/5 and add 32: (°C × 9/5) + 32. So 0 °C is 32 °F, 37 °C is 98.6 °F, and 100 °C is 212 °F. The addition is what makes temperature different from every other category here — there is no single number you can multiply by, because the two scales do not share a zero.

How do I convert Fahrenheit to Celsius?

Subtract 32, then multiply by 5/9: (°F − 32) × 5/9. So 100 °F is about 37.78 °C and 32 °F is 0 °C. A useful landmark: −40 is the one temperature where both scales give the same number.

How do I convert liters to gallons?

It depends which gallon. For US gallons divide by 3.785411784, so 2 liters is about 0.53 US gallons. For imperial gallons divide by 4.54609, so 2 liters is about 0.44 imperial gallons. This converter lists both separately and labels each one, because the two differ by about 20% and sharing a name is exactly how that becomes a mistake.

How do I convert square feet to square meters?

Multiply by 0.09290304, which is 0.3048 squared. So 1,000 sq ft is about 92.9 m². Going the other way, one square meter is about 10.76391042 square feet. Area factors are always the square of the length factor, which is also why rounding the length factor first produces a noticeably wrong area.

What is the difference between metric and imperial units?

Metric units scale by powers of ten — 1000 mm to the meter, 1000 m to the kilometer — so converting within the system is moving a decimal point. Imperial and US customary units grew from separate historical measures, so their relationships are irregular: 12 inches to a foot, 3 feet to a yard, 1760 yards to a mile. Both are equally precise; metric is simply easier to convert inside. Most countries use metric for official purposes, and imperial units remain in common everyday use in several, including for road distances and body weight.

What is the difference between kilograms and pounds?

They measure the same thing at different sizes: a kilogram is about 2.2 pounds. The kilogram is the SI base unit of mass; the pound is defined in terms of it, at exactly 0.45359237 kg. Strictly both are units of mass rather than weight, though in everyday use the words are interchangeable and the conversion is the same either way.

What is the difference between Celsius and Fahrenheit?

Both the size of a degree and the position of zero. A Celsius degree is 1.8 times the size of a Fahrenheit degree, and Celsius puts zero at the freezing point of water where Fahrenheit puts it at 32. That is why converting needs a formula and not a factor — and why the scales cross at exactly −40.

What is kelvin and when would I use it?

The SI base unit of temperature. Its degrees are the same size as Celsius degrees but its zero is absolute zero, the coldest anything can be, so 0 K is −273.15 °C. It is used in science and engineering because it has no negative values and ratios in it are meaningful. It is written without a degree sign: 300 K, not 300 °K.

What is the difference between GB and GiB?

A gigabyte (GB) is 1,000,000,000 bytes. A gibibyte (GiB) is 1,073,741,824 bytes — 1024³ rather than 1000³ — so a GiB is about 7.4% larger. Both are in this converter as separate units and neither borrows the other's name.

Are digital storage units decimal or binary?

Both exist, and which one you are looking at depends on who wrote the label. Drive manufacturers use decimal units, so a 1 TB drive holds 1,000,000,000,000 bytes. Most operating systems report in binary units while still writing “GB”, so that drive shows as about 931 — which is the correct number of gibibytes, under the wrong name. This converter keeps the two families apart and uses the IEC names (KiB, MiB, GiB, TiB) for the binary ones.

Why does my 1 TB drive show as 931 GB?

Because your operating system is showing gibibytes and calling them GB. 1 TB is exactly 1,000,000,000,000 bytes, and dividing by 1024³ gives 931.32 — so the drive is the size it says, and the label on your screen is using the other family of units. Nothing is missing. Convert 1 TB to GiB here and you will get the same 931.

Can I convert negative temperatures?

Yes. Negative values are ordinary in temperature and the converter handles them normally — −40 °C, −273 °C and anything between. The one limit is absolute zero: nothing is colder than −273.15 °C, so a value below that is rejected with an explanation rather than converted into a number that could not exist.

Can I convert negative values in other categories?

Yes. A negative length, weight or speed is perfectly valid as a difference or a direction — a −5 m elevation change, a −2 kg weight difference — so nothing outside temperature is constrained. The converter only refuses input it genuinely cannot interpret.

Can I convert decimal values?

Yes, and very large and very small ones too. You can also type exponent notation like 1e6, paste a grouped figure like 1,609.344 straight from a spreadsheet, and use a leading decimal point like .5. Results beyond about 10¹⁵ or below 10⁻⁶ are shown in scientific notation, because a screen full of zeros is harder to read than 8 × 10¹².

Why does the result sometimes end in a lot of digits?

It shouldn't — and if a converter shows you something like 3.0480000000000005, that is floating-point noise leaking onto the screen rather than a real figure. Computers store decimals in binary and most decimal fractions have no exact binary form, so tiny errors appear around the sixteenth significant digit. This converter keeps full precision through the arithmetic and rounds to ten significant digits only when displaying, which is far more precision than any physical measurement justifies and well clear of where the noise lives.

How accurate are the conversions?

The factors are exact by international agreement wherever such a definition exists, and they are written out in full rather than rounded. The inch is exactly 2.54 cm and the pound exactly 0.45359237 kg, both fixed by the 1959 international yard and pound agreement; the nautical mile is exactly 1852 m; the US gallon is exactly 231 cubic inches; the acre is exactly 4840 square yards. Rounding a factor before using it is what introduces error, especially in area and volume where it gets squared or cubed.

How does the converter handle months and years?

As labelled averages, because they are not fixed durations. A month is 28 to 31 days and a year is 365 or 366, so the converter uses the mean Gregorian figures — 30.436875 days for a month and 365.2425 days for a year — and calls both units “average” wherever they appear. Everything from milliseconds to weeks is exact.

Which gallon and pint does the converter use?

Both, listed separately. US and imperial measures share names but not sizes: a US gallon is 3.785411784 L and an imperial gallon is 4.54609 L, and the same split applies to pints and fluid ounces. Every one of them carries its system in its own name, so a result line reads “2 US gallons” rather than an ambiguous “2 gallons”.

What does the Swap button do?

It exchanges the two units and leaves your number where it is, so meters → feet becomes feet → meters with the same value. It deliberately does not move the result into the input: that would look similar but would quietly replace what you typed with a rounded figure, and pressing it twice would not bring you back.

Can I share or link to a conversion?

Yes. The link button puts the category, both units and the value into the URL and copies it, so anyone opening the link sees exactly the conversion you were looking at. The figures travel in the link itself — nothing is stored on a server, and there is no identifier attached.

Does the converter work on mobile?

Yes. The layout stacks with the converter first and the result immediately below, the value field opens a numeric keypad, the unit pickers use your phone's native picker, and the tables scroll inside their own containers rather than pushing the page sideways.

Is the Unit Converter free?

Yes. Every category, every unit and every feature is free, with no account, no sign-up and no limit on how many conversions you run.

Are my conversion values uploaded or stored?

No. Everything runs locally in your browser. Your values are never uploaded to our server, never stored, and never sent to an analytics endpoint — there is no backend involved in a conversion at all. The only time a value leaves your machine is if you use the share button, which puts it in a URL and hands it to you to send.

Can more categories be added later?

Yes, and the engine is built for it. Each category is a list of units with a factor relating each to a single base unit, so adding pressure, energy, power or fuel economy is a data change rather than new conversion code. Temperature is the only case that needs anything more, because its scales have offsets as well as different degree sizes.

Popular tools

↑ ↓NavigateOpenEscClose