Sub topic 10
Common unit and dimension mistakes
This chapter assumes you can convert units with conversion factors and check an equation for dimensional homogeneity. Both are covered earlier in the tutorial. Here we look at where those skills fail in practice. Most unit errors come from a small set of habits, and you can learn to spot them.
Why unit errors are costly
A wrong unit produces a number that looks fine. In 1999 the Mars Climate Orbiter was lost. One team supplied thruster impulse data in pound-force seconds. The navigation software expected newton seconds. The two differ by a factor of about 4.45, and the error accumulated over months of flight.
The same thing happens with a homework answer or a lab report. Nothing in the arithmetic complains, so you have to check units yourself at set points.
Mistake 1: mixing unit systems in one formula
Formulas such as F = ma, E = ½mv², and P = F/A hold in their simple form only when every input is in a coherent system. In SI that means kilograms, metres, seconds, and so on. If you use grams with F = ma, you get a force in g·m/s², which is not newtons.
The fix is to convert every input to SI before substituting, and to carry the units through the calculation.
mass_g = 250.0
acceleration = 2.0 # m/s^2
wrong_force = mass_g * acceleration # g*m/s^2, not newtons
right_force = (mass_g / 1000) * acceleration # kg*m/s^2 = N
print(wrong_force) # 500.0
print(right_force) # 0.5The kilogram is the odd one out. It is the only SI base unit that carries a prefix. The gram is therefore not the coherent SI mass unit, and this catches people regularly.
Mistake 2: converting squared and cubed units
A conversion factor applies to each power of the unit. Since 1 m = 100 cm, we get 1 m² = (100 cm)² = 10 000 cm², not 100 cm². For volume, 1 m³ = 1 000 000 cm³.
area_m2 = 2.5
area_cm2 = area_m2 * 100 ** 2
print(area_cm2) # 25000.0
volume_m3 = 0.004
volume_litres = volume_m3 * 1000 # 1 m^3 = 1000 L
volume_cm3 = volume_m3 * 100 ** 3
print(volume_litres, volume_cm3) # 4.0 4000.0A quick check is to ask which direction the number should move. A square metre is a bigger unit than a square centimetre, so the same area must have a larger number in cm².
Mistake 3: prefix errors
Prefixes are case sensitive. The table lists the pairs that cause the most damage.
| Written | Means | Factor | Often confused with |
|---|---|---|---|
| mm | millimetre | 10⁻³ m | Mm, megametre (10⁶ m) |
| ms | millisecond | 10⁻³ s | Ms, megasecond (10⁶ s) |
| µ | micro | 10⁻⁶ | m, milli (10⁻³) |
| kW | kilowatt, a power | 10³ W | kWh, an energy |
| MB | megabyte | 10⁶ bytes | Mb, megabit |
A kilowatt-hour is an energy, not a power. 1 kWh = 1000 W × 3600 s = 3.6 × 10⁶ J. Mixing up kW and kWh is a dimension error, because power is M L² T⁻³ and energy is M L² T⁻².
Mistake 4: temperature offsets
Celsius and kelvin have the same step size but different zero points. This leads to two rules:
- Use kelvin whenever a law depends on absolute temperature, such as the ideal gas law or radiation formulas.
- For a temperature difference, 1 °C and 1 K are the same size, so ΔT in °C equals ΔT in K.
n = 1.0 # mol
R = 8.314 # J/(mol K)
V = 0.0245 # m^3
T_celsius = 25.0
P_wrong = n * R * T_celsius / V
P_right = n * R * (T_celsius + 273.15) / V
print(f"{P_wrong:.0f} Pa") # 8484 Pa
print(f"{P_right:.0f} Pa") # 101176 PaThe correct answer is close to atmospheric pressure, about 101 kPa. The wrong one is roughly twelve times too small. Comparing a result with a known value is a useful plausibility check.
Mistake 5: angles and the "dimensionless" trap
An angle in radians is a ratio of lengths (arc length divided by radius), so it is dimensionless. Degrees are a different unit for the same kind of quantity. Most programming languages and all calculus-based physics formulas assume radians.
import math
print(round(math.sin(30), 3)) # -0.988
print(round(math.sin(math.radians(30)), 3)) # 0.5Because radians carry no dimension, dimensional analysis cannot catch a radian/degree mix-up. The same applies to frequency. A frequency of f = 50 Hz means 50 cycles per second. The angular frequency is ω = 2πf ≈ 314 rad/s. Both reduce to s⁻¹ dimensionally, so you must track the meaning yourself.
Mistake 6: adding or comparing unlike dimensions
You can only add or subtract quantities with the same dimensions. Equating two sides also requires matching dimensions. The arguments of sin, cos, exp, and log must be dimensionless. An expression such as sin(t) with t in seconds is meaningless, but sin(ωt) is fine because ω has dimension T⁻¹.
When an equation needs a unit-carrying constant, such as a decay rate k in e^(−kt), the product kt must be dimensionless. This gives you the dimension of k for free: T⁻¹.
Mistake 7: trusting a dimension check too much
A dimensional check is a necessary test, not a sufficient one. It cannot detect:
- Missing dimensionless factors, such as the ½ in kinetic energy or a 2π.
- Sign errors.
- The wrong function of the right quantity, such as sin versus cos.
- Different quantities that share a dimension.
Torque and energy are the standard example. Both have dimensions M L² T⁻². You can confirm this with exponent tuples in (mass, length, time) order:
def dim_mul(a, b):
return tuple(x + y for x, y in zip(a, b))
def dim_pow(a, p):
return tuple(x * p for x in a)
mass = (1, 0, 0)
length = (0, 1, 0)
velocity = (0, 1, -1)
force = (1, 1, -2)
torque = dim_mul(force, length)
energy = dim_mul(mass, dim_pow(velocity, 2))
print(torque, energy, torque == energy) # (1, 2, -2) (1, 2, -2) TrueThe check passes, yet a torque of 5 N·m is not 5 J of energy. By convention we write torque in N·m and energy in J to keep the two apart.
Mistake 8: mass, weight, and non-SI "pounds"
Mass is measured in kilograms and is the same everywhere. Weight is a force, measured in newtons, equal to mg. Everyday speech blurs them: a "2 kg" scale reading is a mass, even though the scale responds to force.
The pound adds confusion. The pound-mass (lb) is about 0.4536 kg. The pound-force (lbf) is about 4.448 N. This is the Mars Climate Orbiter distinction. Always write the full unit name when working with US customary units.
A summary of mistakes and fixes
| Mistake | Typical symptom | Fix |
|---|---|---|
| Mixed unit systems | Answer off by a factor like 1000 | Convert all inputs to SI first |
| Linear factor on area or volume | Off by 100 or 10⁶ instead of 10⁴ | Raise the factor to the same power as the unit |
| Prefix case error | Off by 10⁹ or more | Read each prefix letter and its case |
| Celsius in a gas law | Absurdly small pressure | Add 273.15 for absolute quantities |
| Degrees in a trig function | Strange sign or magnitude | Convert with `math.radians` |
| Unlike quantities added | Dimension check fails | Rewrite the formula until both sides match |
| Over-trusting the check | Right unit, wrong number | Also test limiting cases and known values |
Habits that prevent errors
- Write the unit next to every number, including intermediate values.
- Convert at the start, not in the middle of a formula.
- After solving, check the unit of the result and ask whether the size is plausible.
- Test a limiting case. For example, if a pendulum length goes to zero, does the period go to zero?
- Round only at the end, so conversion factors do not add rounding error.
Exercise
A student computes the pressure on a floor from a 12 kg box resting on a 30 cm × 40 cm base. They write P = 12 × 9.8 / (30 × 40) = 0.098 and report "0.098 Pa". Find the two mistakes and give the correct pressure.
Show answer
The first mistake is using cm² in the denominator: P = F/A needs the area in m², so A = 0.30 m × 0.40 m = 0.12 m². The second is reporting the unit as Pa for a result computed with an area in cm², which gives N/cm², not Pa. The force is F = mg = 12 × 9.8 = 117.6 N, so P = 117.6 / 0.12 = 980 Pa. To two significant figures, P ≈ 9.8 × 10² Pa.
Exercise
A formula for the time for a falling object to hit the ground from height h is claimed to be t = √(2h·g). Use dimensions to show the formula is wrong, and state the corrected form.
Show answer
The dimension of h·g is L × L T⁻² = L² T⁻², so √(hg) has dimension L T⁻¹, which is a speed, not a time. The correct form is t = √(2h/g). The dimension of h/g is L / (L T⁻²) = T², so its square root is T, a time.
Exercise
A device is rated at 1.5 kW and runs for 2 hours. Express the energy used in joules. Then say why "the device uses 3 kW" would be a dimension error.
Show answer
Energy = power × time = 1500 W × 7200 s = 1.08 × 10⁷ J, which is 3.0 kWh. Saying "uses 3 kW" confuses energy (kWh) with power (kW). Power has dimension M L² T⁻³ and energy has M L² T⁻², so the two quantities cannot be equal.