Everyday tool

Unit Converter

Choose a measurement type, select units and convert the value locally.

Runs in your browser. No upload.

Conversions run locally in your browser.

Result
—

About this tool

Unit Converter made simple.

A practical converter for everyday measurements. It works without an account, upload or external API.

Guide

Using Unit Converter

This converter changes a measurement from one unit to another within four kinds of measure: length, weight, volume and temperature. Pick the type, pick the unit you have and the unit you want, type a value and press Convert unit. The answer shows with its unit name, for example 1.609344 Kilometers. It covers everyday units like miles, pounds, US gallons and degrees Fahrenheit, plus the metric ones that match. It is made for recipes, travel, school work and quick checks. It does not convert area, speed, time or data sizes, and it never mixes types. The calculation stays in your browser.

How to use it

  1. Open the Type list and choose Length, Weight, Temperature or Volume. The two unit lists change to match your choice.
  2. Choose the unit you start with in the From list and the unit you want in the To list. Both start with different units, so you can often skip the second choice.
  3. Type your value in the Value box. Negative numbers and decimals are fine, except that temperatures cannot go below absolute zero.
  4. Press Convert unit. The Result line fills in with the number and the name of the target unit.
  5. If a message says to enter a valid number, check that the box holds a plain number and that the temperature is not impossibly low.
  6. Press Clear to empty the box and the result, or change the type to start a fresh conversion.

Worked examples

One mile in kilometers

You enter
Type
Length
From
Miles
To
Kilometers
Value
1
You get
Result
1.609344 Kilometers

A mile is defined as exactly 1,609.344 meters, which is 1.609344 kilometers. The page shows the whole number because it fits within ten significant digits.

Run through the tool’s own code.

150 pounds in kilograms

You enter
Type
Weight
From
Pounds
To
Kilograms
Value
150
You get
Result
68.0388555 Kilograms

The page uses 0.45359237 kilograms per pound (NIST prints it rounded as 0.4535924). Multiplying by 150 gives 68.0388555, which has fewer than ten digits, so nothing is rounded.

Run through the tool’s own code.

Boiling water in Fahrenheit

You enter
Type
Temperature
From
Celsius
To
Fahrenheit
Value
100
You get
Result
212 Fahrenheit

The page multiplies by 9/5 and adds 32. Water boils at 100 degrees Celsius at sea level, which matches 212 on the Fahrenheit scale.

Run through the tool’s own code.

Body temperature back to Celsius

You enter
Type
Temperature
From
Fahrenheit
To
Celsius
Value
98.6
You get
Result
37 Celsius

Subtract 32 and multiply by 5/9. The answer is shown to ten significant digits, which comes out as a clean 37.

Run through the tool’s own code.

A very small result

You enter
Type
Length
From
Millimeters
To
Miles
Value
1
You get
Result
0.0000006213711922 Miles

One millimeter is a tiny part of a mile. The result is cut to ten significant digits, so the long run of zeros is normal.

Run through the tool’s own code.

Below absolute zero

You enter
Type
Temperature
From
Kelvin
To
Celsius
Value
-5
You get
Error
Enter a valid number.

Kelvin cannot be negative, so the page refuses the value. It uses the same short message for every kind of failure.

Run through the tool’s own code.

When it helps

  • Change a recipe from US cups and quarts to milliliters and liters.
  • Work out a road distance or a running pace when a sign or a plan uses miles instead of kilometers.
  • Convert a person's weight or a parcel's weight between pounds, ounces and kilograms.
  • Read an oven or weather temperature given in the other scale.
  • Check a length in inches or feet against a metric tape measure before cutting a board.
  • Do a unit homework problem and see a quick answer to compare with your own.

Limits to keep in mind

  • Four types only. Length has meters, kilometers, centimeters, millimeters, inches, feet, yards and miles. Weight has kilograms, grams, milligrams, pounds and ounces.
  • Volume has liters, milliliters, US gallons, US quarts and US cups. These are US sizes, not UK imperial ones, so an imperial gallon is a different amount.
  • The ounce here is a weight ounce. There is no fluid ounce, no stone, no tonne, and no unit of area, speed, time or data.
  • A result is shown with up to ten significant digits. Values of one trillion or more, or below one billionth, switch to scientific form such as 1E13.
  • Temperatures below absolute zero are refused. Every failure, including an empty box, shows the same message: Enter a valid number.
  • Changing the type, typing in the box or choosing another unit clears the old result, so convert again after any edit.

Tips

  • Keep the type matched to your units. Pick Weight for pounds and Volume for cups, otherwise the unit you need is not in the list.
  • To check an answer, swap the From and To units and convert the result back. You should land on your starting number.
  • For a cooking cup, check whether your recipe is US or metric. This page uses the US cup, which is about 236.6 milliliters.
  • Write the unit name with your answer when you copy it, because the Result line includes the name of the target unit.
  • For a unit that is not listed, look up its size in a listed unit from a trusted table, then multiply by hand.

Sources

Common questions

About Unit Converter.

Which units can I convert?

Length, weight, volume and temperature. That includes meters, kilometers, miles, feet, inches, yards, kilograms, grams, pounds, ounces, liters, milliliters, US gallons, US quarts, US cups, Celsius, Fahrenheit and Kelvin.

How do I convert miles to kilometers?

Choose Length, set From to Miles and To to Kilometers, type the distance and press Convert unit. One mile gives 1.609344 Kilometers. The page multiplies by a fixed factor kept in full precision, so nothing is rounded before the final display.

How do I convert Celsius to Fahrenheit?

Choose Temperature, set From to Celsius and To to Fahrenheit, then enter the value. The page multiplies by 9/5 and adds 32, so 100 becomes 212. It handles negative degrees as well, down to absolute zero.

Are the gallons and cups US or UK?

They are US sizes. A US gallon is 3.785411784 liters here, and a US cup is 236.5882365 milliliters. UK imperial gallons and cups are different amounts, and the page has no setting to switch to them.

Why does my answer show E in it?

Results of one trillion or more, and results smaller than one billionth, are shown in scientific form. For example, ten billion kilometers in meters reads 1E13, which means 1 followed by 13 zeros.

Why do I see Enter a valid number?

One short message covers every problem: an empty box, text instead of digits, a temperature below absolute zero, or a result too small or large for the page to show. Check the value and the units, then try again.

Can I convert negative numbers?

Yes for length, weight and volume, where a negative value just carries its sign through, so -5 meters is -0.005 kilometers. For temperature the value must not be below absolute zero, which is -273.15 Celsius.

Can I convert between types, like pounds to liters?

No. The From and To lists only hold units of the type you picked. Weight and volume are different measures, and turning one into the other would need the density of the thing you are measuring, which this page does not know.

How exact are the results?

The mile factor, 1,609.344 meters, is exact in the NIST table. The page keeps longer factors than NIST prints for pounds, US gallons and US cups, and shows ten significant digits. That is far more than household or school work needs. Check the factors yourself for precision engineering.

Is anything I enter sent to a server?

No. The page says conversions run locally in your browser. It needs no account and no outside service for the maths, so the numbers you type are not uploaded or stored anywhere.

What if the unit I need is not in the lists?

Convert to a nearby unit that is there, then work from it. The page does not offer area, speed, time, fluid ounces or data sizes. Look for a tool made for that measure instead of forcing it into these four.

Is this unit converter free?

Yes. The conversion runs locally in your browser with no account or upload.