Sub topic 8
Mean, absolute, relative and percentage error
This chapter assumes you can read an instrument's least count (the smallest division it resolves) and that you know the difference between systematic and random errors. Here you will turn a set of repeated readings into one reported result with an uncertainty.
Why repeated readings need a summary
A single reading of a stopwatch or a caliper carries random scatter. If you repeat the measurement, the readings differ slightly, and you need to answer two questions:
- What single value best represents the quantity?
- How far could that value be from the truth?
The mean answers the first question. The mean absolute error answers the second. Relative and percentage error then express that uncertainty as a fraction of the value, so you can compare measurements of different sizes.
The four quantities
Suppose you take n readings a₁, a₂, ..., aₙ of the same quantity.
| Quantity | Formula | Units |
|---|---|---|
| Mean value | a_mean = (a₁ + a₂ + ... + aₙ) / n | Same as a |
| Absolute error of one reading | Δaᵢ = abs(a_mean − aᵢ) | Same as a |
| Mean absolute error | Δa_mean = (Δa₁ + Δa₂ + ... + Δaₙ) / n | Same as a |
| Relative (fractional) error | Δa_mean / a_mean | None |
| Percentage error | (Δa_mean / a_mean) × 100 % | % |
The result is reported as a = amean ± Δamean.
Two points are easy to miss:
- The mean is taken as the best estimate of the true value. If a true or standard value is given in the question, the absolute error is measured from that value instead.
- The signed deviations (aᵢ − a_mean) always add to zero, so you must use their magnitudes. Averaging the signed values would wrongly suggest zero error.
Worked example
A student times a pendulum with five readings, in seconds: 2.63, 2.56, 2.42, 2.71, 2.80.
The mean is 13.12 / 5 = 2.624 s. The readings have two decimal places, so round the mean to 2.62 s.
The absolute errors, measured from 2.62 s, are 0.01, 0.06, 0.20, 0.09 and 0.18 s. Their sum is 0.54 s, so the mean absolute error is 0.54 / 5 = 0.108 s, which rounds to 0.11 s.
The relative error is 0.11 / 2.62 ≈ 0.042, which is 4.2 %. The result is T = 2.62 ± 0.11 s.
Doing it in code
The script below repeats the calculation without intermediate rounding.
readings = [2.63, 2.56, 2.42, 2.71, 2.80] # seconds
n = len(readings)
mean = sum(readings) / n
abs_errors = [abs(mean - r) for r in readings]
mean_abs_error = sum(abs_errors) / n
relative_error = mean_abs_error / mean
percentage_error = relative_error * 100
print(f"mean = {mean:.3f} s")
print(f"mean absolute error = {mean_abs_error:.3f} s")
print(f"relative error = {relative_error:.4f}")
print(f"percentage error = {percentage_error:.1f} %")It prints a mean of 2.624 s, a mean absolute error of 0.107 s, a relative error of 0.0409 and a percentage error of 4.1 %. The hand calculation gave 4.2 % because it rounded the mean to 2.62 s first. The two answers agree to the precision the data supports. Follow the rounding convention your question or answer key uses.
Reading the result correctly
Relative error measures quality
Absolute error tells you the size of the uncertainty. Relative error tells you how serious it is. Compare two measurements:
- Length A: 50.0 ± 0.5 cm, with a relative error of 0.01 (1 %).
- Length B: 2.00 ± 0.05 cm, with a relative error of 0.025 (2.5 %).
A has the larger absolute error, but B is the less precise measurement. This comparison appears often in JEE questions that ask which measurement is more accurate.
Limits on how small the error can be
- If you take a single reading, the error is the least count of the instrument.
- If repeated readings all agree, the computed mean absolute error is zero. That does not mean the measurement is perfect. The error cannot be smaller than the least count, so report the least count as the uncertainty.
- Report the error to one significant figure, or two if its leading digit is 1. The mean is then rounded to the same decimal place as the error.
Mean error versus maximum error
The mean absolute error describes typical scatter. In the exam you will also meet the maximum possible error, which is the largest deviation or the worst-case combination of instrument errors. Read the question wording. "Maximum error" means the largest value, not the average of the deviations. The next chapters use the least count as the absolute error when propagating through formulas.
Common mistakes
- Averaging signed deviations, which gives zero.
- Dividing the mean absolute error by a single reading instead of by the mean.
- Forgetting to multiply by 100 when a percentage is asked for.
- Reporting an error with more digits than the readings support, such as 2.62 ± 0.1072 s.
- Reporting zero error when all readings agree.
Exercise
A student measures the diameter of a wire five times with a screw gauge and gets 0.52, 0.50, 0.53, 0.51 and 0.49 mm. Find the mean, the mean absolute error and the percentage error.
Show answer
The mean is (0.52 + 0.50 + 0.53 + 0.51 + 0.49) / 5 = 2.55 / 5 = 0.51 mm. The absolute errors are 0.01, 0.01, 0.02, 0.00 and 0.02 mm, which sum to 0.06 mm. The mean absolute error is 0.06 / 5 = 0.012 mm, which rounds to 0.01 mm. The relative error is 0.012 / 0.51 ≈ 0.024, so the percentage error is about 2.4 % (2.0 % if you use 0.01 mm). The result is d = 0.51 ± 0.01 mm.