The Unit Converter converts a value between units in three categories: Length, Weight and Temperature. You choose a category, type a value, pick a From unit and a To unit, and the result updates in the result box as you change any field.
The tool opens on Length with a value of 1, the first unit in the list as the From unit and the second unit as the To unit. Switching category rebuilds the unit lists for that category and recalculates straight away.
For Length and Weight, every unit in the code is stored as a factor relative to a base unit — metres for length and kilograms for weight. The conversion first turns your value into the base unit using the From factor, then divides by the To factor. Temperature is handled separately with direct formulas through Celsius, because temperature scales do not convert with a simple shared factor.
Length covers Meter, Kilometer, Centimeter, Mile, Foot and Inch. Weight covers Kilogram, Gram, Pound and Ounce. Temperature covers Celsius, Fahrenheit and Kelvin. No other categories or units are included, so area, volume, speed and other measures cannot be converted here. Because the factors are the fixed values listed above, results follow those factors exactly rather than a live external data source.
Choose Length, enter 5, set From to Kilometer and To to Mile. The tool works out 5 × 1000 ÷ 1609.34 = 3.1068637, so it shows 3.1068637 Miles.
Choose Temperature, enter 100, set From to Celsius and To to Fahrenheit. Using °F = °C × 9/5 + 32 gives 100 × 9/5 + 32 = 212, so the result is 212 °F. The same method gives 10 kilograms as 22.046244 Pounds, from 10 × 1 ÷ 0.453592.
Length: Meter, Kilometer, Centimeter, Mile, Foot and Inch. Weight: Kilogram, Gram, Pound and Ounce. Temperature: Celsius, Fahrenheit and Kelvin. Those are the only units in the tool.
Length and weight units share a base unit, so a factor table works. Temperature scales start at different points, so the tool converts through Celsius using (°F − 32) × 5/9, °C × 9/5 + 32 and °C + 273.15 for Kelvin.
The result is formatted from up to eight significant figures and then shown with thousands separators where they apply. The underlying factors are fixed in the tool, for example 1 Mile = 1609.34 metres and 1 Pound = 0.453592 kilograms.
Yes. The value field and all three selectors recalculate on both input and change events, so the result box updates as soon as you edit the value or change a unit.
No. The category list contains only Length, Weight and Temperature, so units such as litres, square metres or kilometres per hour are not available in this tool.
More converters for measurements, dates and data formats.
Color Converter — Convert a colour between HEX, RGB and HSL values.
Age Calculator — Work out an exact age in years, months and days from a date of birth.
Days Between Dates — Count total days, weeks and weekdays between two dates.
Converters — Browse the full Converters category on ToolGlobalHub.