📏UnitLab
🧰Tools
2026-07-08·7 min read

Unit Conversion Tutorial: How to Convert Any Measurement

A step-by-step tutorial covering length, weight, temperature, volume, and speed conversions with practical examples and formulas.

# Unit Conversion Tutorial: How to Convert Any Measurement

Converting units doesn't have to be complicated. This tutorial walks you through every major conversion type with clear formulas and examples. For instant conversions, use our Unit Converter.

Part 1: Length and Distance Conversion

Metric to Imperial

1 meter = 3.28084 feet
1 kilometer = 0.621371 miles
1 centimeter = 0.393701 inches
1 millimeter = 0.0393701 inches

Imperial to Metric

1 inch = 2.54 centimeters (exact)
1 foot = 0.3048 meters (exact)
1 yard = 0.9144 meters (exact)
1 mile = 1.60934 kilometers

Examples

5 kilometers = 5 × 0.621371 = 3.10686 miles
10 inches = 10 × 2.54 = 25.4 centimeters
6 feet = 6 × 0.3048 = 1.8288 meters

Practical: Room Dimensions

function convertRoomDimensions(lengthFt, widthFt) {
  const lengthM = lengthFt * 0.3048;
  const widthM = widthFt * 0.3048;
  const areaSqFt = lengthFt * widthFt;
  const areaSqM = lengthM * widthM;
  
  return {
    metric: { length: lengthM, width: widthM, area: areaSqM },
    imperial: { length: lengthFt, width: widthFt, area: areaSqFt }
  };
}

// 12ft × 10ft room
console.log(convertRoomDimensions(12, 10));
// metric: { length: 3.6576, width: 3.048, area: 11.1484 }

Part 2: Weight and Mass Conversion

Metric to Imperial

1 kilogram = 2.20462 pounds
1 gram = 0.035274 ounces
1 metric ton = 1.10231 US tons

Imperial to Metric

1 pound = 0.453592 kilograms
1 ounce = 28.3495 grams
1 US ton = 0.907185 metric tons

Examples

75 kg = 75 × 2.20462 = 165.347 lbs
150 lbs = 150 × 0.453592 = 68.039 kg

Cooking Conversions

const cookingConversions = {
  gramsToOunces: (g) => g * 0.035274,
  ouncesToGrams: (oz) => oz * 28.3495,
  cupsToMilliliters: (cups) => cups * 236.588,
  tablespoonsToMilliliters: (tbsp) => tbsp * 14.7868
};

// Convert recipe: 2 cups flour, 3 tbsp sugar
console.log(cookingConversions.cupsToMilliliters(2)); // 473.176 ml
console.log(cookingConversions.tablespoonsToMilliliters(3)); // 44.3604 ml

Part 3: Temperature Conversion

Temperature is unique because it uses formulas, not multiplication factors.

Celsius ↔ Fahrenheit

°F = (°C × 9/5) + 32
°C = (°F - 32) × 5/9

Celsius ↔ Kelvin

K = °C + 273.15
°C = K - 273.15

Fahrenheit ↔ Kelvin

K = (°F - 32) × 5/9 + 273.15
°F = (K - 273.15) × 9/5 + 32

Examples

25°C = (25 × 9/5) + 32 = 77°F
98.6°F = (98.6 - 32) × 5/9 = 37°C
100°C = 100 + 273.15 = 373.15 K

Quick Reference Table

CelsiusFahrenheitKelvinDescription
-40°C-40°F233.15 KEqual point
0°C32°F273.15 KWater freezes
20°C68°F293.15 KRoom temp
37°C98.6°F310.15 KBody temp
100°C212°F373.15 KWater boils

Part 4: Volume Conversion

Liquid Volume

1 liter = 0.264172 US gallons
1 liter = 1.05669 US quarts
1 US gallon = 3.78541 liters
1 US cup = 236.588 milliliters
1 US fluid ounce = 29.5735 milliliters
1 US tablespoon = 14.7868 milliliters
1 US teaspoon = 4.92892 milliliters

Examples

5 liters = 5 × 0.264172 = 1.32086 gallons
3 gallons = 3 × 3.78541 = 11.3562 liters

Fuel Efficiency Conversion

// Convert MPG to L/100km
function mpgToL100km(mpg) {
  return 235.215 / mpg;
}

// Convert L/100km to MPG
function l100kmToMpg(l100km) {
return 235.215 / l100km;
}

console.log(mpgToL100km(30)); // 7.84 L/100km
console.log(l100kmToMpg(7.84)); // 30.03 MPG

Part 5: Speed Conversion

1 km/h = 0.621371 mph
1 mph = 1.60934 km/h
1 m/s = 3.6 km/h
1 knot = 1.852 km/h = 1.15078 mph

Examples

100 km/h = 100 × 0.621371 = 62.1371 mph
65 mph = 65 × 1.60934 = 104.607 km/h

Running Pace Conversion

// Convert min/km to min/mile
function minPerKmToMinPerMile(minPerKm) {
  const totalSeconds = minPerKm * 60;
  const secondsPerMile = totalSeconds * 1.60934;
  const minutes = Math.floor(secondsPerMile / 60);
  const seconds = Math.round(secondsPerMile % 60);
  return ${minutes}:${seconds.toString().padStart(2, '0')};
}

// 5:00 min/km
console.log(minPerKmToMinPerMile(5.0)); // 8:03 min/mile

Part 6: Area Conversion

1 square meter = 10.7639 square feet
1 square kilometer = 0.386102 square miles
1 hectare = 2.47105 acres
1 acre = 4,046.86 square meters
1 square foot = 0.092903 square meters

Tips for Avoiding Conversion Errors

  • Always include units in your calculations to catch errors
  • Double-check with a Unit Converter for critical conversions
  • Be aware of US vs Imperial differences (US gallon ≠ Imperial gallon)
  • Use exact conversions when available (1 inch = 2.54 cm exactly)
  • Round at the end, not intermediate steps

Conclusion

Unit conversion is a practical skill that applies to daily life, work, and study. By understanding the conversion factors and formulas for each category — length, weight, temperature, volume, speed, and area — you can handle any conversion confidently. For fast, accurate results without the math, our Unit Converter does it all instantly.