Unit Converter — Length, Mass, Volume, Area, Time, Speed

Convert between length, mass, volume, area, time, and speed units using dimensional analysis. See the conversion factor and a step-by-step breakdown.

Loading calculator…

The core idea: multiply by a factor equal to 1

Most units — length, mass, volume, area, time, speed — share the same zero point, so converting between them is a single multiplication:

new value=old value×conversion factor\text{new value} = \text{old value} \times \text{conversion factor}

The trick behind this is dimensional analysis: the conversion factor is really a fraction that equals 1 (like 1.609344 km / 1 mi), constructed so the old unit cancels out and only the new unit remains.

Worked example: 5 miles to kilometers

Using the factor 1 mi = 1.609344 km:

5 mi×1.609344 km1 mi=8.04672 km5 \text{ mi} \times \frac{1.609344 \text{ km}}{1 \text{ mi}} = 8.04672 \text{ km}

The "mi" in the numerator and denominator cancel, leaving only km.

Tip: To convert back the other way, divide by the same factor instead of multiplying: 8.04672 km ÷ 1.609344 ≈ 5 mi.

Worked example: 10 kilograms to pounds

Using the factor 1 kg ≈ 2.20462262 lb:

10 kg×2.2046226222.046226 lb10 \text{ kg} \times 2.20462262 \approx 22.046226 \text{ lb}

Reverse conversions: divide instead of multiply

If 1 mile equals 1.609344 km, converting the other way means dividing by that same factor rather than multiplying by a new one: 1 km ÷ 1.609344 ≈ 0.621 mi. Dividing and multiplying by the reciprocal give the same result — pick whichever is easier to compute by hand.

Area and volume need a squared or cubed factor

Area and volume conversions are the one place a plain linear factor gives the wrong answer, because both (or all three) dimensions scale together:

  • Area: 1 m = 100 cm, so 1 m² = 100² = 10,000 cm² — not 100.
  • Volume: 1 m = 100 cm, so 1 m³ = 100³ = 1,000,000 cm³ — not 100, and not 10,000.
Tip: If a length factor is F, the matching area factor is F² and the matching volume factor is F³ — always square or cube the linear factor for these categories, never reuse it directly.

Worked example: 1 square meter to square centimeters

1 m2×(100)2=1×10,000=10,000 cm21 \text{ m}^2 \times (100)^2 = 1 \times 10{,}000 = 10{,}000 \text{ cm}^2

Worked example: 2 hours to seconds

Time conversions often chain two factors together: 1 hour = 60 minutes, and 1 minute = 60 seconds, so 1 hour = 60 × 60 = 3,600 seconds.

2 h×3,600=7,200 s2 \text{ h} \times 3{,}600 = 7{,}200 \text{ s}

Worked example: speed (km/h to m/s)

Speed combines a length factor and a time factor into one: converting km/h to m/s multiplies by the length factor (1 km = 1,000 m) and divides by the time factor (1 h = 3,600 s), giving an overall factor of 1,000/3,600 ≈ 0.277778.

1 km/h×100036000.277778 m/s1 \text{ km/h} \times \frac{1000}{3600} \approx 0.277778 \text{ m/s}

How precise is the result?

This calculator carries the conversion at high internal precision (decimal.js, not floating-point Number math) and displays up to 8 significant digits, trimming trailing zeros — so 10,000 cm² displays as 10000, not 10000.0000, while 10 kg → lb keeps all 8 meaningful digits (22.046226) instead of rounding early and compounding error in a later step.

Common conversion factors

ConversionFactor
mile → km× 1.609344
inch → cm× 2.54
foot → m× 0.3048
kg → lb× 2.20462262
liter → US gallon× 0.264172
hour → second× 3600

Common mistakes

  • Multiplying instead of dividing when converting in the reverse direction.
  • Forgetting to square or cube the factor for area or volume conversions.
  • Mixing up US and UK (imperial) gallons or other unit variants, which use different factors for the same unit name.
  • Applying a plain multiply-by-factor approach to temperature, which needs an additional add/subtract step since temperature scales don't share a zero point.

Related calculators

For temperature, the same multiply-by-factor approach does not work on its own — the temperature converter needs an extra add/subtract step because Celsius, Fahrenheit, and Kelvin don't share a zero point. This converter is also a direct application of the unit rate idea (a ratio of one quantity per unit of another) and of ratio scaling covered in percentage.

Frequently asked questions

How does unit conversion work?
Multiply the value by a conversion factor — a fraction equal to 1, like 1.609344 km per mile, chosen so the old unit cancels out and only the new unit remains. This is called dimensional analysis.
How is converting length or mass different from converting temperature?
Length, mass, volume, area, time, and speed all share the same zero point across their units, so converting is one multiplication. Temperature scales have different zero points, so converting temperature needs a multiply AND an add or subtract step.
How do I convert in the reverse direction?
Divide by the factor instead of multiplying (or, equivalently, multiply by its reciprocal). If 1 mile equals 1.609344 km, then 1 km equals 1 divided by 1.609344, or about 0.621 miles.
Why do area and volume need a squared or cubed factor?
Because both dimensions (or all three, for volume) scale together. If 1 meter is 100 centimeters, 1 square meter is 100 squared, or 10,000, square centimeters — not just 100.
What is the most common mistake when converting area or volume?
Using the plain linear factor instead of squaring it (for area) or cubing it (for volume). This under-converts the result by a large margin, since the true factor is much bigger than the linear one.
Why do US and UK gallons give different results?
US and UK (imperial) gallons are different physical volumes, so they use different conversion factors — a US gallon is smaller than a UK gallon. This calculator uses the US gallon; mixing the two systems silently gives a wrong answer.
Can I convert between categories, like length to mass?
No — conversion factors only make sense within the same physical quantity. Converting 5 kg to kilometers is meaningless, since mass and length measure different things; the calculator only offers units within the category you pick.

Related calculators