Embed this tool on your site
About this tool
Unit Converter handles seven categories from one dropdown: length, weight, temperature, area, volume, speed, and data size. Pick a category, type a value, choose the From and To units, and the result updates instantly. Length covers metres, kilometres, centimetres, millimetres, miles, yards, feet, inches and nautical miles; weight covers kilograms, grams, milligrams, pounds, ounces, metric tons and stones; volume covers litres, millilitres, cubic metres, US gallons, quarts, pints, cups and US fluid ounces; speed covers m/s, km/h, mph and knots; and area runs from square centimetres to square kilometres, acres and hectares. Temperature uses the full Celsius, Fahrenheit and Kelvin offset formulas rather than a simple multiplier, and data units use multiples of 1,024. Results are shown to eight significant digits, switching to scientific notation for very small or very large values.
Why use it
Seven Categories, One Tool: Length, weight, temperature, area, volume, speed, and data size are all handled under one URL, so you never need to hunt for a separate converter mid-task.
Live Conversion as You Type: The result updates with every keystroke or unit change — no submit button required.
Offset-aware Temperature: Fahrenheit-to-Celsius conversion uses the full (F − 32) × 5/9 formula, and Kelvin offsets are handled correctly. The tool never applies a naive multiplication that produces wrong results for temperature.
Readable Precision: Results are shown to eight significant digits, and very small or very large values switch to scientific notation so they stay readable.
Offline Capable: All conversion logic is plain JavaScript with no external API calls. Once the page is loaded, it keeps working without an internet connection.
How to use
- Choose a category from the Category dropdown — Length, Weight, Temp, Area, Volume, Speed, or Data
- Type your value in the Value field
- Select the From unit and the To unit
- Read the converted value and the From → To label in the result panel
- To convert the other way, swap the two unit selections by hand
When it helps
- When a recipe gives measurements in cups and you need millilitres, or vice versa, especially for US versus metric cookbooks
- When a product specification lists weight in pounds or ounces and you need kilograms for a shipping label or import form
- When comparing road distances across countries that use miles versus kilometres on their maps and road signs
- When a fitness tracker reports speed in mph but your treadmill displays km/h and you need to match them
- When an engineering drawing gives area in square feet and your material supplier charges by the square metre
- When a weather app reports Fahrenheit and you need a Celsius equivalent for travel planning or a lab protocol
Examples
InputLength, 1 Miles → Kilometers
InputWeight, 1 Kilograms → Pounds
03Temperature — Fahrenheit to Celsius
InputTemp, 100 Fahrenheit → Celsius
Tips
- Temperature is an offset scale, not a ratio scale — never multiply Fahrenheit directly by a constant to get Celsius; use the full (F − 32) × 5/9 formula
- Volumes here are US measures — UK fluid ounces and gallons are larger, so check which a recipe was written for before scaling
- Verify any conversion used in medication dosing or lab protocols against a second source, since a rounding error at microgram or milligram scale can be significant
- Changing the category resets both unit dropdowns, so pick the category first
- Nautical miles (used in aviation and sailing) and statute miles (used on roads) differ by about 15 percent — make sure you are using the right one for navigation
Frequently Asked Questions
What is the exact factor for miles to kilometres?⌄
One international mile equals exactly 1.609344 kilometres by definition, and that is the factor the tool uses. Using 1.6 or 1.61 introduces a small but cumulative error in multi-step calculations.
Why is Fahrenheit-to-Celsius not just a multiplication?⌄
Celsius and Fahrenheit have different zero points as well as different scale sizes. The full conversion is °C = (°F − 32) × 5/9. Skipping the subtraction step gives the wrong answer because the scales are offset, not just stretched relative to each other.
What is the difference between US and UK gallons?⌄
A US liquid gallon equals 3.78541 litres, while a UK (imperial) gallon equals 4.54609 litres — about 20 percent larger. This converter only offers US gallons, quarts, pints, cups and fluid ounces, so convert UK measures with the imperial factor yourself.
How accurate are the conversions?⌄
Most factors are standard published values, and results are displayed to eight significant digits. A few factors are rounded — for example the pound uses 0.453592 kg instead of the exact 0.45359237 kg — so the last digits can differ slightly from an exact-definition converter.
Why doesn't 1 lb equal exactly 0.45 kg?⌄
One international avoirdupois pound equals exactly 0.45359237 kilograms by definition. The rounded figure of 0.45 is an approximation that accumulates error. The tool uses 0.453592, which is accurate to about six significant digits.
Can I convert between volume and weight — for example ml to grams?⌄
Volume and weight measure different physical quantities, so a direct conversion requires the density of the specific substance. Water at 4°C has a density of 1 g/ml, so 100 ml of water weighs 100 grams, but 100 ml of olive oil weighs about 92 grams. This tool converts within one category at a time, not across them.
Does the Data category use 1,000 or 1,024?⌄
Data units use binary multiples: 1 kilobyte is 1,024 bytes, 1 megabyte is 1,024 kilobytes, and so on up to terabytes. Drive makers often use 1,000, so a figure from a product box may differ from what this tool shows.
Are nautical miles and statute miles the same?⌄
No — a nautical mile equals exactly 1.852 kilometres, while a statute (land) mile equals 1.609344 kilometres. Nautical miles are used in aviation and maritime navigation. The Length category includes both.
Glossary
- SI Unit
- A unit belonging to the International System of Units — the modern form of the metric system. SI base units include the metre for length, kilogram for mass, and second for time, from which all other SI units are derived.
- Imperial Unit
- A unit from the traditional British system, including miles, yards, feet, inches, pounds, ounces, and gallons. The US customary system uses similar but not identical units; US and UK gallons, for example, differ in volume.
- Conversion Factor
- A numerical multiplier used to change a measurement from one unit to another. For example, 1 inch = 2.54 centimetres, so the conversion factor from inches to centimetres is exactly 2.54.
- Metric System
- A decimal-based system of measurement in which units differ by powers of ten. Prefixes such as kilo- (×1000), centi- (÷100), and milli- (÷1000) indicate scale. Most countries use the metric system for everyday measurement.
- Significant Figures
- The meaningful digits in a number, starting from the first non-zero digit. A measurement of 1.609 km has four significant figures. Retaining sufficient significant figures is important when conversion results feed into further calculations.
- Base Unit
- The fundamental unit within a category from which all other units in that category are derived. The metre is the SI base unit for length; all other length units (kilometre, centimetre, inch, mile) are defined relative to it.
A LITTLE HELP. A LOT DONE.
Good tools.
Great flow.
Your shortcut to the everyday. Create, convert, calculate,
and get back to what you love.
✳
✳
✓ Free to use✓ No sign-up✓ 500+ possibilities