Everyday
Unit converter
Choose a category, the unit you have, and the unit you want, then type a number. The result updates in this browser tab as you type. Nothing is sent to a server, and there is no sign-up.
The boxes start with a sample so you can check the arithmetic. Replace the number with your own.
How to use it
- Choose a category, such as length or temperature.
- Pick the unit you have and the unit you want, then type the number.
- Read the converted value. It updates as you type. Use Swap to flip the two units.
You can only convert inside one category. A meter is not a kilogram. For length, weight, volume, area, speed, time, and storage, the page multiplies by a fixed factor. Temperature is different, because the scales do not share a zero: the page goes through kelvin.
US and UK gallons and pints are listed separately, because they are not the same size. Digital storage shows both SI units (KB, MB, GB, with 1,000) and IEC units (KiB, MiB, GiB, with 1,024). Paint coverage in gallons or liters is on Paint coverage calculator. A concrete slab in cubic yards or cubic meters is on Concrete volume calculator.
Floor area and a box count are on Flooring and tile calculator. A percent of a number is on Percentage calculator.
Formula
For every category except temperature, to_value = from_value × (from_factor ÷ to_factor), where each factor is the size of that unit in a single base (the meter, the kilogram, the liter, the square meter, the meter per second, the second, or the byte). An inch is exactly 25.4 millimeters. A US gallon is exactly 3.785411784 liters; a UK gallon is exactly 4.54609 liters. A year on this page is 365.25 days (a Julian year). Temperature: K = °C + 273.15, and °C = (°F − 32) × 5/9. A value below 0 K is rejected.
Worked example
Common uses
- CM to inches converterConvert centimeters to inches with the exact 2.54 factor.
- Inches to CM converterConvert inches to centimeters with the exact 2.54 factor.
- KG to pounds converterConvert kilograms to avoirdupois pounds with the exact legal factor.
- Pounds to KG converterConvert pounds to kilograms with the exact legal factor.
- Celsius to Fahrenheit converterConvert Celsius to Fahrenheit with the exact 9/5 formula.
- Fahrenheit to Celsius converterConvert Fahrenheit to Celsius with the exact 5/9 formula.
- Meters to feet converterConvert meters to feet with the exact 0.3048 factor.
- KM to miles converterConvert kilometers to international miles with the exact factor.
- Miles to KM converterConvert miles to kilometers with the exact international factor.
- Liters to US gallons converterConvert liters to US gallons, not imperial gallons.
- Square meters to square feet converterConvert floor area from square meters to square feet.
Questions
How accurate is this?
Length, weight, volume, area, and speed use internationally agreed factors, such as 1 inch = 25.4 mm exactly. Temperature uses the usual formulas through kelvin. The displayed number is rounded so it is readable; the calculation uses the full factor.
Why are KB and KiB different?
A kilobyte (KB) on this page is 1,000 bytes, the SI meaning. A kibibyte (KiB) is 1,024 bytes, the IEC meaning often used for memory. The same split applies to MB/MiB, GB/GiB, and TB/TiB. Disk makers and operating systems do not all use the same convention, so the two can disagree.
What length of year do you use?
365.25 days, which is a Julian year of 31,557,600 seconds. Calendar years vary because of leap days, so this is a convention, not a date calculation.
Are US and UK gallons the same?
No. Both are listed. A US gallon is 3.785411784 liters. A UK (imperial) gallon is 4.54609 liters. The same is true of the pints on this page.
Is my number sent anywhere?
No. The conversion runs in your browser. The number is not uploaded or saved by this page.
Can I convert across categories?
No. A meter is not a kilogram, and this page will not pretend otherwise. Choose the category that matches what you are measuring.
Why was a temperature rejected?
A result below absolute zero (0 K, which is −273.15 °C) cannot be a physical temperature on these scales, so the page will not show it.