Skip to content
Runs in browserNo upload

Unit Converter

Convert everyday measurements without searching for a separate tool for each unit. Choose length, mass, volume, or temperature, enter a value, and select the source and destination units. The conversion updates immediately and keeps the original input visible beside the result, making the direction of the calculation clear. Factors are defined in the component, the arithmetic happens locally in your browser, and no measurement is sent to a server.

Use this without the search next time. Prathom Workbench puts Prathom's tools in your toolbar.

Add to Chrome — free
5 km =3.1069 mi

What it does

  • Length and distance conversion
  • Mass and weight conversion
  • Volume conversion with US units
  • Celsius, Fahrenheit, and Kelvin
  • Immediate browser-local results

How to use Unit Converter

  1. 1

    Choose a category

    Pick Length, Mass, Volume, or Temperature. Units are grouped by category so you cannot accidentally convert a distance directly into a weight or mix incompatible factors.

  2. 2

    Enter the measurement

    Type a whole number or decimal into Value. Negative values are allowed where they make sense, including temperatures below zero. The result changes as you type, so there is no submit step to wait for.

  3. 3

    Set the direction

    Select the unit the value currently uses in From and the unit you need in To. The labels include abbreviations where they are common, and the direction is repeated in the result so the copied answer is easy to audit.

  4. 4

    Copy the conversion

    Use Copy conversion to copy both values and their units. Clear removes the input while preserving the selected category, which is useful for a series of similar measurements.

How it works

Each category uses a common base unit. For length the base is the meter, for mass it is the gram, and for volume it is the liter. The source value is first multiplied by its factor to reach that base, then divided by the destination factor. Converting 2.5 meters to feet therefore means converting meters to the base meter value and then applying the exact meter-to-foot relationship.

Temperature needs a slightly different path because its scales have offsets as well as different step sizes. Celsius is the internal baseline. Fahrenheit values are shifted by 32 and scaled by 5 divided by 9 on the way in, while Kelvin values are shifted by 273.15. The reverse operation applies the destination scale's offset. This produces sensible results for negative temperatures and for values below the freezing point of water.

Precision and rounding

The displayed number keeps up to ten fractional digits, but that does not mean the original measurement is accurate to ten digits. Conversion can preserve a defined relationship without creating measurement precision that was not present in the input. Treat the result as an unrounded intermediate, then round it for the tool or document that will use it. Copy conversion includes both units so a number without context is less likely to be pasted into the wrong field.

Choosing the right unit system

Length conversions are useful for dimensions, travel distances, and design files. Mass conversions cover cooking, shipping, and laboratory quantities. Volume choices are explicitly US customary for the non-metric options, which matters for recipes and packaging. Temperature conversion is useful when comparing weather, equipment specifications, or experiments recorded on different scales. If a standard, label, or regulation specifies a particular unit system, use that named system rather than assuming two similarly named units are interchangeable.

The same name is not the same unit

The most expensive conversion errors are not arithmetic mistakes. They are two units that share a name and differ in size.

A US gallon is 3.785 liters; an imperial gallon is 4.546. That is a twenty percent gap on a word neither party thinks to qualify, and it is why a recipe or a fuel figure copied between the two countries can be badly wrong while looking entirely reasonable. Pints and fluid ounces diverge the same way, in opposite directions — an imperial pint is larger, an imperial fluid ounce is smaller.

Mass has its own version. A ton can mean 1,000 kg (metric tonne), 2,000 lb (US short ton) or 2,240 lb (UK long ton). Shipping, construction and commodity prices all use the word without always saying which.

Even the units that sound scientific carry ambiguity. A calorie on a food label is a kilocalorie, a thousand times the calorie in a physics textbook. A horsepower differs between the mechanical and metric definitions.

The volume options here are US customary, stated explicitly for that reason. If a figure came from a British source, a shipping document or a standard, find out which definition it used before converting — the conversion cannot tell, and it will produce a confident number either way.

Round at the end, and keep the precision you were given

A converted value carries the accuracy of its input, and conversion cannot improve it.

"About 30 miles" converted to 48.28032 kilometers reports seven significant figures for a number that had one. The precision is arithmetic, not knowledge, and writing it down invites the next person to treat an estimate as a measurement. Round the result to roughly the precision of the source: 48 km, or 50 if the original really was a guess.

The opposite error matters in chains. Rounding at every step compounds — convert inches to centimeters, round, convert to meters, round again, and the drift can exceed the tolerance you were working to. Carry the full precision through the calculation and round once, when you write the answer.

Temperature deserves its own note, because it is the only conversion here with an offset rather than a simple factor. A difference of 10 °C is 18 °F, not 50 °F — the offset applies to points on the scale, not to intervals between them. Converting a temperature change as though it were a temperature is a common and quiet mistake in specifications and control systems.

Examples

Converting a room measurement

Category: Length Value: 2.5 m From: meters To: feet
8.2020997375 ft 2.5 m = 8.2020997375 ft

A meter is exactly 3.280839895 feet, so multiplying 2.5 by that factor gives the displayed result. The extra digits show the conversion before a practical rounding decision; a builder might report 8.20 feet while a technical drawing may keep more precision.

Converting a recipe volume

Category: Volume Value: 750 ml From: milliliters To: US cups
3.1700648795 cups 750 ml = 3.1700648795 cups

This uses the US customary cup definition of 236.5882365 milliliters, not a vague kitchen approximation. For cooking, rounding to 3.17 cups or measuring three cups plus a little extra may be more useful than carrying every digit.

Frequently asked questions

Which units does this converter support?

It supports millimeters, centimeters, meters, kilometers, inches, feet, yards, and miles for length; milligrams, grams, kilograms, ounces, and pounds for mass; milliliters, liters, US teaspoons, US tablespoons, US cups, and US gallons for volume; and Celsius, Fahrenheit, and Kelvin for temperature. All available choices appear after you select a category.

Are the volume units US or imperial?

The kitchen volume choices are US customary units. A US teaspoon is defined as 4.92892159375 milliliters, a US tablespoon as three teaspoons, a US cup as 236.5882365 milliliters, and a US gallon as 3.785411784 liters. Imperial gallons and imperial fluid ounces are different, so do not use the displayed US choices for a recipe that specifically calls for imperial measures.

How does temperature conversion differ from length conversion?

Length units share a zero point, so a multiplicative factor is enough. Celsius, Fahrenheit, and Kelvin have different zero points, so temperature conversion must first shift the value to a common Celsius baseline and then apply the destination scale. That is why converting 0 degrees Celsius does not produce zero Fahrenheit or zero Kelvin.

Why are there so many decimal places in the result?

The tool preserves the arithmetic result and formats up to ten fractional digits so repeated conversions do not hide avoidable rounding error. The right final precision depends on the job: a recipe, a shipping label, and a survey estimate have different tolerances. Round only after choosing the precision that the real-world measurement supports.