Unit Converter

Global tools

Type a value, pick the unit it is in and the unit you want it in. The answer appears with the factor that produced it and a table showing the same quantity in every other unit of that category: miles, feet, inches and millimeters all at once, from one base reading.

Negative values are fine: -40 in Celsius and Fahrenheit is the same reading.

The unit you are converting from. The category (length, mass, temperature…) follows from it, so there is no category field to pick first.

Leave blank to name the files after the category: unit-conversion-length.txt and .csv.

Results update as you type. Nothing leaves your device.

1 mile =

1.609344 kilometers

1 mile = 1609.344 meters, and 1 kilometer = 1000 meters. In one step: multiply by 1609.344, then divide by 1000.

1 mile
1609.344 meters
1 meter
0.000621371 miles
Category
Length base unit: meters
Units in this category
9
Converted back
1 mile the same reading the other way

1 mile in every length unit

UnitSymbolValueFactor to base
millimetermm1,609,3440.001
centimetercm160,934.40.01
meterm1,609.3441
kilometer - the answer abovekm1.6093441000
inchin63,3600.0254
footft5,2800.3048
yardyd1,7600.9144
milemi11609.344
nautical milenmi0.86897624191852
Base unit of this categorymeters

Every row is the same quantity converted through one base reading, so no row is computed from another and none of them can drift. The last column is the exact factor this page used; it is blank for temperature because there is no factor there.

Where these numbers come from

  • 1 millimeter (mm) = 0.001 meters.
  • 1 centimeter (cm) = 0.01 meters.
  • meter (m) is the base unit of this category, so its factor is exactly 1.
  • 1 kilometer (km) = 1000 meters.
  • 1 inch (in) = 0.0254 meters.
  • 1 foot (ft) = 0.3048 meters.
  • 1 yard (yd) = 0.9144 meters.
  • 1 mile (mi) = 1609.344 meters.
  • 1 nautical mile (nmi) = 1852 meters.
The inch is exactly 25.4 mm by the 1959 international agreement, so every imperial length here is exact rather than rounded: a foot is 12 inches, a yard is 3 feet, a mile is 5280 feet.

The factors here are definitions rather than approximations. An inch has been exactly 25.4 mm since the 1959 international yard and pound agreement, a pound is exactly 0.45359237 kg by the same agreement, a US gallon is exactly 231 cubic inches, and a knot is exactly 1852/3600 meters per second. The page prints the factor it used, so the arithmetic can be argued with instead of taken on trust.

Four things people type into converter boxes are deliberately absent: months and years (not fixed numbers of days), calories (an everyday "calorie" is a kilocalorie) and currency (which needs a rate from somewhere, not a factor). Each is missing for a reason, and the reasons are below.

About this unit converter

Factors here are definitions rather than approximations, and the page prints the one it used beside every answer: an inch is exactly 25.4 millimeters, a pound is exactly 0.45359237 kilograms, and a US gallon is exactly 231 cubic inches.

Every conversion runs through one base unit - multiply into the base, then divide out of it - so no row in the table is derived from another and a drift cannot creep in down the list. No account is needed and no value is stored: the factors and the arithmetic live in the browser, and the page shows them so the result can be argued with.

This page cannot convert months to days, everyday calories to kilojoules, or one currency into another, because none of those has a fixed factor - a month is not a fixed number of days and an exchange rate is not a definition. It converts what has an exact factor and says so. Check a live rate elsewhere before you price anything in a second currency.

How this unit converter works

Every conversion goes through one base unit

Each category has a base unit - the meter, the kilogram, the liter, the square meter, the meter per second, the second, the byte, the kelvin - and every conversion happens in two steps: multiply into the base, then divide out of it. Nothing on the page converts directly from one unit to another.

That is why the table under the answer holds together. Every row is produced from the same base reading, so no row is derived from another row and a drift cannot creep in between the third line and the ninth. It is also why four gallons of paint converts to liters and to cubic meters with the same number of liters at the center.

It makes checking easy too. If the answer for feet looks wrong, the row for meters is the row to check, because everything else is that one number multiplied or divided.

The factors are exact, and the page says which exact amount

An inch is 25.4 mm exactly, so a foot is 304.8 mm, a yard is 914.4 mm and a mile is 1609.344 m - all exact, none rounded. A pound is 0.45359237 kg exactly, an ounce is that divided by 16, and a stone is exactly 14 pounds. An acre is exactly 4840 square yards and a hectare is exactly 10,000 square meters.

Two factors are ratios rather than decimals: one kilometer per hour is 1/3.6 meters per second and one knot is 1852/3600 meters per second. The page prints those as divisions, because 0.2777777777777778 is a rounded value wearing the clothes of a definition, and a factor is the one place where the difference shows.

Data is the exception that proves the rule. A kilobyte is 1000 bytes and a kibibyte is 1024 bytes, both by definition, so both are in the table. Neither is "the real one": a drive sold as 1 TB holds 1000 GB, which is 931.32 GiB, and that 7% difference is the whole of the "my drive is smaller than advertised" story.

Temperature is an offset as well as a scale

Every other category here converts by multiplying. Temperature does not: 0 °C is 32 °F and a Fahrenheit degree is 5/9 of a Celsius degree, so one reading is an offset and a scale together. The conversion goes through kelvin, and its two anchors are 0 °C = 273.15 K and 0 °C = 32 °F.

That is why -40 is the same number in both scales (the offset and the scale happen to cancel there) and why 0 °C is not 0 °F. It is also the only place this tool refuses a value: -273.15 °C is absolute zero, so -300 °C is a typo rather than a temperature, and the page says which reading would be the coldest possible instead of printing a negative kelvin.

What is not in any list, and where to go instead

Months and years are not units of time in this tool, because a month is 28 to 31 days and a year is 365 or 366: any single factor would be wrong most of the time. "Three months from today" is a question for the date calculator, which knows which month it is in, and "how long is 90 days" is answered exactly here, because a day is always 86400 seconds.

Calories are missing because the calorie on a food label is a kilocalorie: 1 kcal = 1000 cal = 4184 J exactly, and both names are used interchangeably, often in the same paragraph. The calorie calculator is where energy belongs.

Currency is missing because an exchange rate is not a unit: it changes, it has a date and a spread, and it depends on who is quoting it. The currency converter is where that lives.

Angle is missing for a cleaner reason. A degree and a radian are a different kind of quantity rather than a different unit of the same one, and putting them in a list beside lengths would invite exactly the mistake this page exists to prevent.

How the answer is rounded, and where the unrounded one is

Answers are shown to ten significant digits, not to a fixed number of decimal places, because a conversion produces numbers of every size: 1 mile is 1609344 mm and 0.8689762419 nautical miles. A value that comes out as an exact integer - 86400 seconds in a day, 1609344 millimeters in a mile - is printed in full rather than rounded to something tidier.

Values below a millionth or above a quadrillion switch to exponential notation (6.213711922e-7), where the decimal form stops being readable. Rounding noise from the browser’s number format is removed rather than shown: 1609344.0000000002 is 1609344.

The download holds exactly the numbers on screen, because the same rule that renders the table writes the file, so nothing is rounded a second time on the way out. The CSV keeps the factor column as well, so a spreadsheet can redo the arithmetic and check it.

Worked examples

Each example below was run through the calculator on this page when the site was built, so the numbers match what you see when you enter the same inputs.

A mile in kilometers

Value to convert: 1 · From: mile (length) · To: kilometer (length)

1 mile =

1.609344 kilometers

1 mile = 1609.344 meters, and 1 kilometer = 1000 meters. In one step: multiply by 1609.344, then divide by 1000.

1 mile: 1609.344 meters · 1 meter: 0.000621371 miles · Category: Length · Units in this category: 9

The mile is exactly 1609.344 m, so a mile is exactly 1.609344 km: this conversion has no rounding in it at all, which is why the answer shows all seven digits.

Body temperature, 37 °C

Value to convert: 37 · From: degree Celsius (temperature) · To: degree Fahrenheit (temperature)

37 degrees Celsius =

98.6 degrees Fahrenheit

Temperature is the one category here that is not a multiplication: 0 °C is 32 °F and 0 °C is 273.15 K, so a Fahrenheit degree is 5/9 of a Celsius degree. This conversion goes through kelvin and comes out at the other end.

0 °C: 32 °F · A Fahrenheit degree: 5/9 of a Celsius degree · Category: Temperature · Units in this category: 4

37 °C is 98.6 °F. The offset is the part people forget: multiplying 37 by 1.8 gives 66.6, and the missing 32 is the difference between a person and a broken thermometer.

A "1 TB" drive in GiB

Value to convert: 1 · From: terabyte (data) · To: gibibyte (data)

1 terabyte =

931.3225746 gibibytes

1 terabyte = 1000000000000 bytes, and 1 gibibyte = 1073741824 bytes. In one step: multiply by 1000000000000, then divide by 1073741824.

1 terabyte: 1000000000000 bytes · 1 byte: 1e-12 terabytes · Category: Data · Units in this category: 10

1000 GB is 931.3225746 GiB: the drive holds exactly what it says, in decimal prefixes. The row above it says the same thing in binary ones.

A US gallon of paint, in liters

Value to convert: 1 · From: US gallon (volume) · To: liter (volume)

1 US gallon =

3.785411784 liters

1 US gallon = 3.785411784 liters, which is the base unit of this category, so there is nothing to divide by afterwards.

1 US gallon: 3.785411784 liters · 1 liter: 0.264172 US gallons · Category: Volume · Units in this category: 11

3.785411784 liters, exactly. An imperial gallon is 4.54609 liters, so a tin with the same word on it holds 20% more paint depending on which country filled it.

Frequently asked questions

Why does my 1 TB drive show up as 931 GB?

Because two prefix systems are both in use. Windows reports binary units (GiB) but labels them GB, so a drive of 1,000,000,000,000 bytes shows as 931.32 "GB" while actually being 931.32 GiB. The drive holds exactly 1 TB. Both numbers are in the table, and neither is a fault.

What is the quick way to convert Celsius to Fahrenheit in my head?

Double it and add 30, then subtract 2 for every 10 degrees you are above freezing: 20 °C is roughly 68 °F, against exactly 68. That estimate stays within a degree or two across the range of weather a forecast covers, which is all it needs to be.

Why can I not convert months to days here?

Because a month is not a fixed number of days: 28, 29, 30 or 31 depending on which month and which year. A converter that silently used 30 days would be wrong most of the time while looking right, which is the worst combination. The date calculator adds real months and answers exactly.

Is a US gallon the same as an imperial gallon?

No: the US gallon is 3.785411784 liters and the imperial gallon is 4.54609 liters, so the imperial one is about 20% bigger. Both are in the volume list, labeled, because a British recipe and an American one have different gallons behind the same word.

Which unit should I use for a person’s weight?

Kilograms in most of the world and pounds in the United States, with stones and pounds still common in the UK for body weight. A stone is exactly 14 pounds (6.35029318 kg), so "11 stone 4" is 158 pounds or 71.7 kg, and the mass table shows all three readings at once.

Are these conversions accurate enough for engineering or medicine?

The factors are exact by definition and the answers carry ten significant digits, so the arithmetic is not the limit. The limit is the input: a kitchen scale reading "2 lb" is not accurate to the milligram, and 37 °C is a rounded body temperature. These are exact conversions of rounded measurements, which is what they claim to be.

Why is 0 °C not 0 °F, when 0 meters is 0 feet?

Because the two temperature scales do not share a zero point: 0 °C is the freezing point of water, 0 °F is a mixture of ice, water and salt, and those are different temperatures. Lengths share a zero - nothing is zero of anything - so length converts by multiplying, while temperature is an offset and a multiplication together.

Assumptions and sources

  • Conversions use the exact legal definitions: 1 inch = 25.4 mm and 1 pound = 0.45359237 kg from the 1959 agreement, the SI brochure for metric units, and 1 US gallon = 3.785411784 liters.
  • Temperature is converted with its offset rather than a single factor, and a reading below absolute zero is refused instead of printed.
  • Everything is worked out in your browser; nothing you type is uploaded.

Last reviewed 2026-09-15. Runs locally on your device; keep backups; no financial advice applies. Read the full disclaimer.

Where a figure on this page comes from an official agency — HUD, IRS, FICO or a state body — the site keeps a dated snapshot of the source page in its sources library, and a scheduled job re-checks that snapshot, so the number can be traced back to the document it came from.