Unit Converter

Convert between 100+ units across 10 categories including length, weight, temperature, volume, area, speed, time, data, pressure, and energy. Real-time conversion with swap functionality and conversion formulas.

Select units to see the conversion formula

Features

📏

10 Categories

Convert units across length, weight, temperature, volume, area, speed, time, data storage, pressure, and energy. Over 100 units supported.

Real-Time Conversion

See results instantly as you type. No need to click a button—conversions happen automatically with every keystroke.

Swap Functionality

Quickly swap from and to units with a single click. Makes bidirectional conversions effortless.

📜

Show Formulas

See the exact mathematical formula used for each conversion. Educational and transparent conversion process.

Understanding Unit Conversions

Unit conversion is the process of converting a measurement from one unit to another while maintaining the same quantity. Whether you're converting kilometers to miles, pounds to kilograms, or Celsius to Fahrenheit, understanding unit conversions is essential for science, engineering, cooking, travel, and everyday life. This tool provides instant, accurate conversions across 10 different measurement categories, covering over 100 units commonly used in both metric and imperial systems.

Length Conversions: Metric and Imperial

Length is one of the most common measurements to convert. The metric system uses millimeters (mm), centimeters (cm), meters (m), and kilometers (km), while the imperial system uses inches (in), feet (ft), yards (yd), and miles (mi). The relationship between metric and imperial is fixed: 1 inch equals exactly 2.54 centimeters, and 1 mile equals 1.60934 kilometers. These conversion factors allow you to move seamlessly between systems. For example, to convert 5 feet to meters, multiply by 0.3048 to get 1.524 meters. Length conversions are crucial in construction, navigation, sports, and international commerce.

Weight and Mass Conversions

Weight (or more accurately, mass) conversions involve units like milligrams (mg), grams (g), kilograms (kg), pounds (lb), ounces (oz), and tons. The metric system is decimal-based: 1,000 milligrams equal 1 gram, and 1,000 grams equal 1 kilogram. In the imperial system, 16 ounces equal 1 pound, and 2,000 pounds equal 1 ton (US short ton). The conversion between systems uses 1 kilogram equals 2.20462 pounds. Accurate weight conversions are essential in shipping, cooking, fitness, and scientific research. Note that weight technically refers to the force of gravity on mass, but in everyday usage, the terms are often used interchangeably.

Temperature: Celsius, Fahrenheit, and Kelvin

Temperature conversions are unique because they involve both scale differences and offset differences. Celsius (°C) and Fahrenheit (°F) are the most common scales for everyday use, while Kelvin (K) is used in scientific contexts. Water freezes at 0°C, 32°F, and 273.15 K, and boils at 100°C, 212°F, and 373.15 K. To convert Celsius to Fahrenheit, use the formula: °F = (°C × 9/5) + 32. To convert Fahrenheit to Celsius, use: °C = (°F - 32) × 5/9. Kelvin to Celsius is simply: °C = K - 273.15. Temperature conversions are critical in weather forecasting, cooking, HVAC systems, and scientific experiments.

Volume and Capacity Conversions

Volume measures the amount of space occupied by a liquid or gas. Metric units include milliliters (ml) and liters (L), while imperial/US customary units include gallons (gal), quarts (qt), pints (pt), cups, tablespoons (tbsp), teaspoons (tsp), and fluid ounces (fl oz). The US gallon (3.78541 liters) differs from the UK imperial gallon (4.54609 liters), so be mindful of regional differences. In cooking, 1 US cup equals 236.588 ml, 1 tablespoon equals 14.787 ml, and 1 teaspoon equals 4.929 ml. Volume conversions are essential in cooking, chemistry, fuel consumption calculations, and beverage measurements.

Other Useful Conversions

Beyond the basics, this tool supports area (square meters, acres, hectares), speed (meters per second, kilometers per hour, miles per hour, knots), time (milliseconds to years), data storage (bits to petabytes), pressure (pascals, bar, psi, atmospheres, mmHg), and energy (joules, calories, kilowatt-hours, BTUs). Each category has its own conversion factors and formulas. For example, 1 acre equals 4,046.86 square meters, 1 knot equals 1.852 kilometers per hour, 1 atmosphere equals 101,325 pascals, and 1 kilocalorie (food calorie) equals 4,184 joules. Understanding these conversions helps in fields ranging from aviation and meteorology to nutrition and energy management.

Frequently Asked Questions

How do I convert Celsius to Fahrenheit?
Select "Temperature" as the category, choose "Celsius (°C)" as the From unit and "Fahrenheit (°F)" as the To unit, then enter your temperature value. The converter uses the formula: °F = (°C × 9/5) + 32. For example, 0°C equals 32°F (freezing point of water), 20°C equals 68°F (comfortable room temperature), and 100°C equals 212°F (boiling point of water). The conversion accounts for both the scale difference (9/5 ratio) and the offset difference (32 degrees).
How many kilometers are in a mile?
One mile equals exactly 1.60934 kilometers. This is a fixed international conversion factor. To convert miles to kilometers, multiply the mile value by 1.60934. To convert kilometers to miles, divide the kilometer value by 1.60934 (or multiply by 0.621371). For example, 5 miles equals 8.0467 kilometers, and 10 kilometers equals 6.21371 miles. Use the Length category in the converter for instant, accurate results.
What units can I convert with this tool?
This tool supports 10 categories with over 100 units: (1) Length: mm, cm, m, km, in, ft, yd, mi. (2) Weight: mg, g, kg, lb, oz, ton. (3) Temperature: °C, °F, K. (4) Volume: ml, L, gal (US), qt, pt, cup, tbsp, tsp, fl oz. (5) Area: mm², cm², m², km², in², ft², acre, hectare. (6) Speed: m/s, km/h, mph, knot. (7) Time: ms, s, min, hr, day, week, month, year. (8) Data: bit, byte, KB, MB, GB, TB, PB. (9) Pressure: Pa, kPa, bar, psi, atm, mmHg. (10) Energy: J, kJ, cal, kcal, Wh, kWh, BTU.
How accurate are the unit conversions?
All conversions use scientifically accurate conversion factors from international standards (SI, NIST, ISO). Results are displayed with up to 10 decimal places of precision, which is more than sufficient for virtually all practical purposes. For example, the kilometer-to-mile conversion factor is 0.621371192 (not just 0.62), and the inch-to-centimeter factor is exactly 2.54. Temperature conversions account for both scale and offset differences. Rounding only occurs in the final display, ensuring maximum accuracy throughout the calculation.
What is the difference between weight and mass?
Mass is the amount of matter in an object and is measured in kilograms (kg) or pounds (lb). Weight is the force exerted on that mass by gravity and is technically measured in newtons (N). However, in everyday usage, "weight" usually refers to mass, and we say we "weigh" ourselves in kg or lb. On Earth, the distinction doesn't matter for conversions, but on the Moon or other planets, the same mass would have a different weight due to different gravity. This converter uses "weight" in the common sense (mass) for practical conversions like kg to lb.
How do I use the swap button?
The swap button (↔) instantly reverses the From and To units. For example, if you're converting from meters to feet, clicking swap will change it to feet to meters, and the value will automatically update. This is useful when you want to perform the reverse conversion without manually changing both dropdowns. The current value is preserved and reconverted, so you can quickly see both directions of a conversion.
Why are US and UK gallons different?
The US gallon and UK (imperial) gallon have different definitions dating back to historical measurement standards. One US gallon equals 3.78541 liters, while one UK imperial gallon equals 4.54609 liters—about 20% larger. This difference arose from different definitions of the gallon in the 18th and 19th centuries. The US gallon is based on the wine gallon, while the UK gallon was redefined in 1824 to be exactly 10 pounds of water at 62°F. This converter uses the US gallon, which is more commonly used internationally. Always specify which gallon you're using when precision matters.
How do data storage conversions work?
Data storage conversions involve bits and bytes. 1 byte equals 8 bits. For larger units, this tool uses decimal (base-10) prefixes following SI standards: 1 KB (kilobyte) = 1,000 bytes, 1 MB (megabyte) = 1,000 KB = 1,000,000 bytes, 1 GB (gigabyte) = 1,000 MB, 1 TB (terabyte) = 1,000 GB, and 1 PB (petabyte) = 1,000 TB. Note that operating systems often use binary (base-2) prefixes where 1 KiB (kibibyte) = 1,024 bytes, but this is less common in modern specifications. Hard drive and storage manufacturers typically use decimal prefixes, which is what this converter uses.

Explore More Developer Tools

Check out our other free conversion and calculation tools. Convert colors, timestamps, numbers, and more.

Color Converter →