Unit Converter
Convert between common units of measurement.
A unit converter converts values between measurement units — like kilometers to miles, kilograms to pounds, Celsius to Fahrenheit, megabytes to gigabytes, or meters per second to km/h. To convert units online: select a category (length, weight, temperature, data, speed, area, or time), enter the value, select the source unit, and the converted results for all units in that category appear instantly. All conversions run locally in your browser — no data is uploaded.
Universal Unit Converter
Whether you are cooking, traveling, or working on a science project, converting between different units of measurement is a common need. This tool provides instant, accurate conversions for length, weight, temperature, and more.
Metric vs. Imperial
Most of the world uses the Metric System (meters, grams, Celsius), while the United States uses the Imperial System (feet, pounds, Fahrenheit). This converter helps bridge the gap between these two standards.
Measurement System Comparison
Metric System (SI Units)
The International System of Units (SI), commonly known as the metric system, is used by nearly every country in the world. It's based on powers of 10, making conversions straightforward.
- Length: Meter (m) - kilometer (1,000m), centimeter (0.01m), millimeter (0.001m)
- Weight/Mass: Gram (g) - kilogram (1,000g), milligram (0.001g)
- Temperature: Celsius (°C) - water freezes at 0°C, boils at 100°C
- Volume: Liter (L) - milliliter (0.001L)
Advantages: Easy conversions (just move decimal point), consistent across all measurement types, used in science globally.
Imperial System (US Customary)
The Imperial System is primarily used in the United States, with some usage in the UK and other Commonwealth countries.
- Length: Inch, foot (12 inches), yard (3 feet), mile (5,280 feet)
- Weight: Ounce (oz), pound (16 oz), ton (2,000 lbs)
- Temperature: Fahrenheit (°F) - water freezes at 32°F, boils at 212°F
- Volume: Fluid ounce, cup (8 fl oz), pint (2 cups), quart (2 pints), gallon (4 quarts)
Advantages: Familiar to US residents, some measurements (feet/inches) align well with human scale, fractions often easier than decimals for everyday use.
Historical Context
The metric system was developed in France in 1795 during the French Revolution to create a universal measurement system. The imperial system evolved from English units dating back to medieval times. In 1975, the US officially adopted the metric system but never fully transitioned, making it one of only three countries (along with Liberia and Myanmar) not primarily using metric.
Common Conversion Tables
Length Conversions
| From | To | Multiply By | Example |
|---|---|---|---|
| Kilometers | Miles | 0.621371 | 10 km = 6.21 mi |
| Miles | Kilometers | 1.60934 | 10 mi = 16.09 km |
| Meters | Feet | 3.28084 | 5 m = 16.40 ft |
| Feet | Meters | 0.3048 | 10 ft = 3.05 m |
| Inches | Centimeters | 2.54 | 12 in = 30.48 cm |
Weight/Mass Conversions
| From | To | Multiply By | Example |
|---|---|---|---|
| Kilograms | Pounds | 2.20462 | 5 kg = 11.02 lbs |
| Pounds | Kilograms | 0.453592 | 10 lbs = 4.54 kg |
| Grams | Ounces | 0.035274 | 100 g = 3.53 oz |
| Ounces | Grams | 28.3495 | 8 oz = 226.80 g |
Temperature Conversions
Formulas:
- Celsius to Fahrenheit:
°F = (°C × 9/5) + 32 - Fahrenheit to Celsius:
°C = (°F - 32) × 5/9 - Celsius to Kelvin:
K = °C + 273.15
Common Reference Points:
- Water Freezes: 0°C = 32°F = 273.15 K
- Room Temperature: ~20°C = 68°F = 293 K
- Body Temperature: 37°C = 98.6°F = 310 K
- Water Boils: 100°C = 212°F = 373.15 K
Real-World Conversion Examples
Cooking & Recipes
Converting recipe measurements is one of the most common use cases:
- 250g flour = 2 cups (approximately)
- 500ml milk = 2.1 cups or just over 2 cups
- 1 tablespoon = 15ml = 0.5 fluid ounces
- Oven: 180°C = 350°F (moderate heat)
- Oven: 200°C = 400°F (hot)
Pro Tip: Weight (grams) is more accurate than volume (cups) for baking. A cup of flour can vary by 20-30g depending on how tightly it's packed.
Travel & Transportation
- Speed Limit 100 km/h = 62 mph (highway speed in most countries)
- Marathon Distance: 42.195 km = 26.2 miles
- Flight Distance: 500 km = 311 miles (short flight)
- Luggage: 23 kg = 50.7 lbs (standard checked bag limit)
Science & Engineering
- Standard Room Temperature: 20°C = 68°F = 293.15 K
- Absolute Zero: -273.15°C = -459.67°F = 0 K
- Atmospheric Pressure: 101.325 kPa = 14.7 psi = 1 atm
- Data Storage: 1 GB = 1,024 MB = 1,073,741,824 bytes
Fitness & Health
- Weight Loss: 1 kg = 2.2 lbs (healthy loss: 0.5-1 kg/week)
- Running Distance: 5 km = 3.1 miles (common race distance)
- Height: 180 cm = 5 feet 11 inches
- Water Intake: 2 liters = 8.5 cups or 67.6 fl oz
Temperature Conversion Deep Dive
Why Three Temperature Scales?
- Celsius (°C): Based on water's freezing (0°C) and boiling points (100°C). Intuitive for weather and everyday use. Used by most of the world.
- Fahrenheit (°F): Daniel Fahrenheit created this scale in 1724. 0°F was the coldest temperature he could create with ice/salt, and 100°F was approximately body temperature. Used primarily in the US.
- Kelvin (K): Absolute temperature scale starting at absolute zero (-273.15°C). Used in scientific contexts. No negative values—lowest possible temperature is 0 K.
Common Confusion: Celsius vs Kelvin
The key difference is the zero point:
- Celsius Zero (0°C): Water freezes (arbitrary reference)
- Kelvin Zero (0 K): Absolute zero—no molecular motion possible
- Conversion: Same degree size, just offset by 273.15
When to use which: Celsius for weather/cooking, Kelvin for physics/chemistry (especially when multiplying/dividing temperatures), Fahrenheit if you're in the US.
Mental Math Trick: Quick Celsius ↔ Fahrenheit
Celsius to Fahrenheit (approximate): Double it and add 30
- 20°C: (20 × 2) + 30 = 70°F (actual: 68°F)
- 30°C: (30 × 2) + 30 = 90°F (actual: 86°F)
Fahrenheit to Celsius (approximate): Subtract 30 and divide by 2
- 70°F: (70 - 30) ÷ 2 = 20°C (actual: 21°C)
- 90°F: (90 - 30) ÷ 2 = 30°C (actual: 32°C)
This trick is accurate within 2-3 degrees for common temperatures (0-40°C / 32-104°F).
Precision and Rounding Guidelines
When Precision Matters
- Science & Engineering: Use at least 4-6 significant figures. Example: 1.60934 km/mile, not 1.6.
- Medical Dosing: Precise conversions are critical. 10 mg is NOT the same as 10.5 mg for medication.
- Construction & Manufacturing: Tolerances matter. 1 mm error can accumulate over large projects.
- Financial Calculations: Round only at the final step to avoid compounding rounding errors.
When Approximation is Fine
- Cooking: Recipes tolerate variation. 250g vs 253g flour won't ruin your cake.
- Travel Planning: "About 10 km" is sufficient for estimating drive times.
- Weather: Saying "20°C" vs "20.5°C" makes no practical difference.
- Everyday Conversation: "I'm 6 feet tall" doesn't need to be "182.88 cm".
Significant Figures Rule
Your answer should have no more precision than your input:
- Input: 5 km (1 significant figure) → Output: 3 miles (not 3.1068 miles)
- Input: 5.0 km (2 significant figures) → Output: 3.1 miles
- Input: 5.00 km (3 significant figures) → Output: 3.11 miles
Industry-Specific Conversion Needs
Construction & Architecture
- Room dimensions often need both systems (architectural plans in US use feet/inches, but materials are metric)
- Common: 2×4 lumber is actually 1.5" × 3.5" (38mm × 89mm)
- Concrete: Measured in cubic yards (US) or cubic meters (international)
Medicine & Pharmacology
- Universal metric system (mg, mL, mcg)
- Patient weight sometimes in pounds (US) but doses always calculated in kg
- Body temperature: Celsius globally, Fahrenheit in US
Aviation
- Altitude: Feet globally (even in metric countries)
- Distance: Nautical miles (1.852 km = 1.151 regular miles)
- Speed: Knots (nautical miles per hour)
- Fuel: Liters (most countries) or gallons (US)
Cooking & Food Service
- Professional kitchens use grams/liters (weight more accurate than volume)
- US home cooks use cups/tablespoons
- Oven temperatures: Celsius (Europe) vs Fahrenheit (US)
Common Mistakes and How to Avoid Them
Temperature Conversion Pitfalls
- Mistake: Treating Celsius and Kelvin as having different degree sizes
Reality: 1°C change = 1 K change. Only the zero point differs. - Mistake: Converting temperature differences incorrectly
Correct: A 10°C increase = 18°F increase (not 10°F × 1.8 + 32 = 50°F) - Mistake: Forgetting the +32 or -32 in Fahrenheit conversions
Remember: It's (°C × 9/5) + 32, not just multiplication
Length Conversion Issues
- Mistake: Confusing meters with yards (they're close but not identical)
Reality: 1 meter = 1.094 yards, so 100m = 109.4 yards (significant in sports) - Mistake: Using outdated conversion factors
Current: 1 inch = exactly 2.54 cm (by international agreement since 1959)
Weight vs Mass Confusion
- Weight: Force due to gravity (pounds, newtons)
- Mass: Amount of matter (kilograms, grams)
- On Earth: 1 kg of mass weighs 2.2 lbs (but on the Moon it would weigh less while mass stays the same)
- Practical: In everyday use, "weight" and "mass" are used interchangeably, but scientifically they're different
Data Storage Confusion: Binary vs Decimal
- Binary (IEC): 1 KiB = 1,024 bytes, 1 MiB = 1,024 KiB (2^10)
- Decimal (SI): 1 KB = 1,000 bytes, 1 MB = 1,000 KB (10^3)
- Impact: A "500 GB" hard drive is 465 GiB (binary), leading to "missing space" complaints
- This tool uses: Binary (1,024-based) as it's standard in computing
Frequently Asked Questions
Why do different countries use different measurement systems?
The metric system was created in France in 1795 and gradually adopted worldwide due to its logical, base-10 structure. The US kept the imperial system due to the massive cost of converting existing infrastructure, documents, and familiarity. The UK officially adopted metric in 1965 but still uses imperial for some things (road distances, beer pints). Only the US, Liberia, and Myanmar haven't officially adopted metric as their primary system.
How precise should my conversions be?
Match your output precision to your input precision. If you're measuring "about 5 meters," don't report "16.404 feet"—say "about 16 feet." For scientific work, use at least 4-6 significant figures. For everyday use, 2-3 significant figures are usually sufficient. Round only at the final step to avoid accumulated rounding errors.
What's the most accurate way to convert temperatures?
Use the exact formulas: °F = (°C × 9/5) + 32 or °C = (°F - 32) × 5/9. For mental math, you can approximate (double and add 30, or subtract 30 and halve), but this is only accurate within 2-3 degrees. For Kelvin, simply add or subtract 273.15—no multiplication needed since the degree size is the same as Celsius.
Why isn't Fahrenheit 0-100 like Celsius?
Fahrenheit was designed around different reference points: 0°F was the coldest temperature Fahrenheit could reliably create with ice and salt, and 100°F was intended to be human body temperature (though actual body temp is 98.6°F). Celsius used water's freezing (0°C) and boiling points (100°C), making it more intuitive for scientific use. Fahrenheit has the advantage of more granularity in weather temperatures without decimals (0°F to 100°F covers most human-habitable temperatures).
When should I use Kelvin instead of Celsius?
Use Kelvin in scientific calculations, especially when multiplying or dividing temperatures (like in gas laws, thermodynamics, or calculating kinetic energy). Kelvin has no negative numbers and represents absolute temperature, making math cleaner. Use Celsius for everyday purposes, weather, cooking, and most chemistry. Never use Fahrenheit for scientific work outside the US.
How do I convert recipes between metric and cups?
For liquids, 250 mL ≈ 1 cup is a good approximation. For solids, it depends on density: 1 cup of flour ≈ 125g, 1 cup of sugar ≈ 200g, 1 cup of butter ≈ 227g. However, weighing ingredients (grams) is more accurate than volume (cups) for baking, as a "cup" can vary by 20-30% depending on how tightly packed. Professional bakers always use weight measurements.
Which system is more scientific?
The metric system is universally used in science because it's based on powers of 10, making conversions trivial (just move decimal points). It's also internationally standardized and avoids ambiguities. The imperial system requires memorizing random conversion factors (12 inches in a foot, 3 feet in a yard, 1,760 yards in a mile) with no mathematical pattern. Even the US military and most US scientists use metric exclusively.
Can I convert between non-standard units?
Yes, but you'll need to know the conversion factor. This tool covers the most common standard units. For non-standard units (leagues, cubits, stones, etc.), you'll need to first convert to a standard unit, then to your target unit. For example: 1 league (old nautical) ≈ 3 nautical miles ≈ 5.56 km. Some historical units also varied by region, so always verify which specific definition you're using.
Why do data storage conversions seem confusing?
Because there are two competing standards: binary (1 KB = 1,024 bytes) used in computing, and decimal (1 KB = 1,000 bytes) used by drive manufacturers. This is why your "500 GB" hard drive shows as 465 GB in your operating system. The IEC tried to fix this with KiB/MiB/GiB notation for binary, but it hasn't fully caught on. Our tool uses the binary (1,024-based) convention as it's standard in computing contexts.
Are mile and nautical mile the same?
No. A regular (statute) mile is 5,280 feet or 1.609 km. A nautical mile is 6,076 feet or 1.852 km (about 15% longer). Nautical miles are used in aviation and marine contexts because they're based on Earth's geometry: 1 nautical mile = 1 minute of latitude. This makes navigation calculations simpler. Speed in nautical miles per hour is called "knots."
Practical Guide
Use this checklist to get reliable results from Unit Converter and avoid common errors.
Common Use Cases
- Translate measurements between metric and imperial.
- Validate engineering values before calculations.
- Quickly compare values from different sources.
Input Checklist
- Confirm the source format and delimiter or encoding.
- Use clean headers and consistent field naming.
- Run one sample conversion before batch processing.
How to Get Better Results
- Start with a representative sample in Unit Converter and validate one test run first.
- Use clean source files, then verify output in the destination application or editor.
- Run one test sample first before batch processing larger files.
- Keep source and output naming conventions aligned for easier QA and rollback.
Expected Output Checklist
- Output files aligned with common platform compatibility requirements.
- Cleaner file organization for uploads, sharing, and archival workflows.
- Repeatable conversion results suitable for batch tasks and handoffs.
Troubleshooting Tips
- Double-check the selected unit category.
- Switch both units and re-enter the value if output looks off.
- Confirm decimal separators are valid for your locale.
Privacy and Data Handling
Conversions happen locally in your browser, keeping files private on your device.