RevealTheme logo

Unit Converter

Convert a value across length, weight, time, or temperature units. Pick a category, type a number, choose the source unit, and every other unit in that category is shown at once.

cm100
mm1000
km0.001
in39.370079
ft3.28084
yd1.093613
mi0.000621

How to use this tool

  1. 1

    Click a category button: length, weight, time, or temperature.

  2. 2

    Type the value you want to convert into the number field.

  3. 3

    Choose the source ('from') unit from the dropdown.

  4. 4

    Read the results table below, which lists the equivalent value in every other unit of that category.

How does this unit converter work?

Unit conversion rescales a quantity from one unit to another while keeping the physical amount the same. This tool covers four fixed categories. Length, weight, and time are linear: each unit is stored as a factor relative to a base (meters, grams, seconds), so converting means multiplying by the source factor and dividing by the target factor. For example, 1 mile is stored as 1609.34 meters and 1 foot as 0.3048 meters, so miles to feet is a multiply and a divide. Because every other unit in the category is computed from the same input, the tool shows the full set of conversions in one table rather than a single from-to pair. Temperature is handled separately because Celsius, Fahrenheit, and Kelvin do not share a zero point: the tool first converts the input to Celsius, then out to the target scale, applying the (C x 9/5) + 32 and +273.15 offsets. A few constants are rounded (a mile is 1609.34 m rather than the exact 1609.344 m) and results are rounded to six decimal places, so this is a quick everyday converter, not a metrology-grade reference. The weight 'ton' is the metric tonne (1000 kg), and 'year' is the 365.25-day Julian year.

Common use cases

  • Convert a recipe or shipping weight between grams, kilograms, ounces, and pounds.

  • Translate a running or driving distance between kilometers, miles, meters, and feet.

  • Work out how many seconds, minutes, or hours are in a span measured in days or weeks.

  • Check a thermostat or oven setting by converting between Celsius and Fahrenheit.

  • Sanity-check imperial measurements on a spec sheet against their metric equivalents.

  • Convert a scientific temperature reading between Kelvin and Celsius for a lab worksheet.

Frequently asked questions

Why doesn't Fahrenheit-to-Celsius work like other units?
Temperature scales don't share a zero point. C-to-F isn't just multiplication — it's (C x 9/5) + 32, and Kelvin adds a 273.15 offset. The tool routes every temperature through Celsius before converting to the target scale.
Which 'ton' does the weight category use?
It uses the metric tonne, defined as 1000 kg (1,000,000 grams). It is not the US short ton (about 907 kg) or the UK long ton (about 1016 kg), so don't use it for those.
How long is a 'year' in the time category?
A year is treated as 31,557,600 seconds, which is 365.25 days (a Julian year). A 365-day common year would give slightly smaller numbers, so expect a small difference if you assume exactly 365 days.
How precise are the conversions?
Several factors are rounded constants (for example a mile is 1609.34 m, not the exact 1609.344 m, and a pound is 453.592 g), and every result is rounded to six decimal places. That's fine for everyday use but not for high-precision engineering or metrology work, where you should use an authoritative reference.
Can I convert between units in different categories?
No. Conversions only happen within a single category, and you can't mix, say, length with weight. The four categories and their unit lists are fixed, so you cannot add custom units.
Is my data sent to a server?
No. The converter runs entirely in your browser with JavaScript. The value you type is never uploaded, and no network request is made to perform a conversion.

Related tools