Unit Converter

Pick what you are measuring and type in either box. Twelve categories, imperial and metric, with a quick reference table.

Choose what you are measuring

26.2 mi = 42.16481 km

  1. Find the rate: 1 mi = 1.609344 km.
  2. Multiply the amount by the rate: 26.2 × 1.609344 = 42.16481 km.

Quick reference table

Length
ConversionResult
1 km0.6213712 mi
1 mi1.609344 km
1 m3.28084 ft
Add this calculator to your website

Free to use on any site or blog. Paste this code where you want the calculator to appear. It stays up to date, needs no account, and keeps your visitors' numbers in their own browser.

Preview

Imperial and US units in metric

Imperial and US units in metric
Imperial or USMetric
1 inch25.4 mm
1 foot0.3048 m
1 yard0.9144 m
1 mile1.609344 km
1 ounce28.34952 g
1 pound0.4535924 kg
1 US fluid ounce29.57353 ml
1 US gallon3.785412 L
1 acre0.4046856 ha
1 mph1.609344 km/h
1 psi6.894757 kPa
1 horsepower0.7456999 kW
32 °F0 °C
68 °F20 °C

Why use our Unit Converter?

  • Converts as you type. No Convert button. Type in either box and the other one updates at once, so you can work from the unit you know or the unit you need.
  • English, Hindi and Urdu. Every label, unit name and message is translated, and the Urdu page flips fully to right-to-left.
  • No ads in the way. The converter has no banners or pop-ups, and the page is light enough for a phone on a slow connection.
  • Private and exact. Everything runs in your browser. Factors use the exact international definitions, such as 1 inch = 2.54 cm.

How to use the Unit Converter

How to use it: 1) Tap a category such as Length or Temperature. 2) Choose the From unit and the To unit. 3) Type an amount in either box and the other box fills in at once. 4) Press the swap button to reverse the units, and Copy result to copy the sentence. The quick reference table under the converter lists common conversions for the chosen category.

This is the general converter. Choose a category, type an amount, and pick the unit you have and the unit you want. Only units of that category appear in the selects, and the result also lists the amount in every other unit of the category.

Inside a category, each unit is stored as an exact number of one base unit (metres for length, grams for mass, litres for volume, pascals for pressure, joules for energy, watts for power, and so on). The amount is turned into the base unit and then into the one you asked for. Imperial and US units are defined from metric ones: the inch is 25.4 mm, the pound is 453.59237 g and the US gallon is 3.785411784 litres (NIST SP 811).

Temperature is the one category that is not a simple multiplication, so the tool passes through kelvin: °C = K − 273.15 and °F = (K − 273.15) × 9/5 + 32. Data sizes include both the decimal units (1 GB = 1000 MB) and the binary units (1 GiB = 1024 MiB). The table under the result lists the common imperial to metric steps.

For a single pair with its own tips and tables, use the specific pages: the length converter, the grams to ounces converter, the liters to gallons converter, the speed converter, the MB to GB converter and the PSI to bar converter.

Check it by hand: one mile is exactly 1.609344 km, so a marathon of 26.2 miles is 26.2 × 1.609344 = 42.1648 km. Check it the other way: 42.1648 ÷ 1.609344 = 26.2. In feet, 26.2 × 5,280 = 138,336 ft, and in yards 26.2 × 1,760 = 46,112 yd, as the table shows.

Result = amount × (base units per from-unit) ÷ (base units per to-unit)
Temperature: K = °C + 273.15 and K = (°F − 32) × 5/9 + 273.15
Sources: NIST SP 811 and NIST Handbook 44; BIPM SI Brochure; IEC 80000-13 for binary prefixes

Worked example

A marathon is about 26.2 miles: 26.2 × 1,609.344 m ÷ 1,000 = 42.1648 km.

68 °F is (68 − 32) × 5/9 = 20 °C.

150 lb × 453.59237 ÷ 1,000 = 68.0389 kg.

Good to know

  • Only conversions inside one category are possible. The tool cannot turn volume into weight or area into length, because those need extra facts such as density.
  • A year is counted as 365 days, a food calorie (kcal) is 4184 J, and horsepower is the mechanical one unless you pick metric. Local trade customs can differ.
  • Temperatures below absolute zero are rejected. Negative values are accepted only for temperature, pressure and angle, where they make sense.
  • It is not a currency converter, because exchange rates change every day.

Questions people ask

How do I convert imperial to metric?

Multiply by the metric value of one unit. One inch is 2.54 cm, one foot is 0.3048 m, one mile is 1.609344 km, one pound is 0.45359237 kg and one US gallon is 3.785411784 litres. The table under the result lists them.

What is the difference between metric and imperial?

Metric units are built on powers of ten, so a kilometre is 1,000 metres. Imperial and US customary units use older ratios, such as 12 inches in a foot and 5,280 feet in a mile.

Which units can this converter handle?

Length, mass, volume, temperature, speed, area, time, data size, pressure, energy, power and angle. Each category has its own list of units.

How accurate is the result?

The factors are the exact international definitions where they exist, and the answer shows up to seven significant digits unless you choose a fixed number of decimals.

How do I convert 100 degrees Celsius to Fahrenheit?

Multiply by 9 ÷ 5 and add 32: 100 × 1.8 + 32 = 212 °F. Temperature uses a formula, not just a multiplier.

Can I type in the second box as well?

Yes. The two boxes are linked. Type in the To box and the From box updates, which is handy when you know the size you need and want the other unit.

How many kg is 150 pounds?

150 × 0.45359237 = 68.04 kg.

Part of the guide: Unit converters: length, weight, area, volume, temperature and more

Formulas and text last checked on 14 November 2026. Everything is calculated in your browser, so nothing you enter is sent or stored. Spotted a mistake? Tell us and we will fix it.