Sub topic 13
Absolute, relative, and percentage error
This chapter assumes you can compute a mean, work with percentages, and write scientific notation. It also assumes you know what least count means for a vernier caliper or screw gauge. The three error measures below are the base for error propagation in the next chapter, so you need to be able to compute them quickly.
Why a measurement needs an error
A measured value is an estimate, not the true value. Writing T = 2.62 s hides how far off that estimate might be. Writing T = 2.62 ± 0.11 s tells the reader how much to trust it.
Three quantities describe the size of that uncertainty:
- Absolute error says how big the uncertainty is, in the units of the quantity.
- Relative error says how big the uncertainty is compared with the measurement itself. It has no unit.
- Percentage error is the relative error written as a percentage.
Absolute error
Suppose you measure the same quantity n times and get readings a1, a2, ..., an. The true value is unknown, so the best estimate of it is the arithmetic mean:
a_mean = (a1 + a2 + ... + an) / n
The absolute error of one reading is its distance from the mean. It is always taken as positive:
Δa_i = |a_mean − a_i|
The final absolute error of the measurement is the mean of these individual absolute errors:
Δa_mean = (Δa1 + Δa2 + ... + Δan) / n
Absolute error carries the same unit as the quantity. An error of 0.11 s belongs to a time, and an error of 0.01 cm belongs to a length.
The result is written as a = a_mean ± Δa_mean. This means the true value probably lies in the interval from a_mean − Δa_mean to a_mean + Δa_mean. It does not guarantee that. Some individual readings can fall outside the interval.
Single readings and the least count
If you take only one reading, there is no spread to average. The convention is then to take the least count of the instrument as the absolute error. A vernier caliper with least count 0.01 cm gives L = 5.24 ± 0.01 cm. A stopwatch that reads to 0.1 s gives t = 12.3 ± 0.1 s.
When you take many readings and the spread is smaller than the least count, the least count is still the floor. An instrument cannot be more precise than its smallest division.
Relative error and percentage error
Relative error compares the absolute error to the size of the measurement:
relative error = Δa_mean / a_mean
Percentage error is the same number times 100:
percentage error = (Δa_mean / a_mean) × 100 %
Relative error is a pure number, because the units cancel. This makes it the right tool for comparing the quality of measurements of different kinds of quantity.
| Measurement | Absolute error | Relative error | Percentage error |
|---|---|---|---|
| Length 20.0 cm | 0.1 cm | 0.005 | 0.5 % |
| Wire diameter 0.50 mm | 0.01 mm | 0.02 | 2 % |
| Time 2.0 s | 0.1 s | 0.05 | 5 % |
The wire diameter has the smallest absolute error here, but its percentage error (2 %) is four times that of the length. In relative terms the length is the better measurement.
Unit changes
Converting units changes the absolute error but leaves the relative error alone. Take L = 20.0 ± 0.1 cm. In metres this is 0.200 ± 0.001 m. The relative error is 0.1/20.0 = 0.001/0.200 = 0.005 in both cases. This is a useful check on a conversion.
The procedure
The steps are always the same. The diagram shows the order.
Worked example
A student times 20 oscillations of a pendulum and divides to get the period five times: 2.63 s, 2.56 s, 2.42 s, 2.71 s, 2.80 s.
- Mean: (2.63 + 2.56 + 2.42 + 2.71 + 2.80) / 5 = 13.12 / 5 = 2.624 s.
- Individual absolute errors: 0.006, 0.064, 0.204, 0.086, 0.176 s.
- Mean absolute error: 0.536 / 5 = 0.1072 s.
- Relative error: 0.1072 / 2.624 = 0.041.
- Percentage error: about 4.1 %.
The code below does the same calculation and prints the four numbers.
readings = [2.63, 2.56, 2.42, 2.71, 2.80] # seconds
mean = sum(readings) / len(readings)
abs_errors = [abs(mean - r) for r in readings]
mean_abs_error = sum(abs_errors) / len(abs_errors)
relative = mean_abs_error / mean
percentage = relative * 100
print(round(mean, 3), round(mean_abs_error, 3), round(relative, 3), round(percentage, 1))
# 2.624 0.107 0.041 4.1Rounding the result
The error tells you how many digits of the mean mean anything. Here the error 0.1072 s affects the second decimal place, so the mean cannot be trusted past that place. Report T = 2.62 ± 0.11 s. The error is rounded to match the decimal place of the last digit kept in the mean, and the mean is rounded to the same place. Writing 2.624 ± 0.107 s claims precision the data does not have.
Some textbooks round the mean first (2.62) and then compute deviations from 2.62. The deviations become 0.01, 0.06, 0.20, 0.09, 0.18, with mean 0.108, which rounds to 0.11. Both routes give the same reported answer, so either is acceptable in JEE.
Edge cases and common mistakes
Mean absolute deviation is not the only error measure
The mean absolute error used in JEE is a simple measure. Laboratories more often use the standard deviation, which is never smaller than the mean absolute deviation for the same data. If a problem names a method, use that one. If it only says "error", use the mean absolute error.
Averaging cannot remove systematic error
Repeated readings reduce the effect of random scatter. They do nothing for an error that shifts every reading the same way, such as an uncorrected zero error. A mean absolute error of 0.01 cm says nothing about whether the mean is near the true value. Correct systematic errors first, then average. The next chapters cover this in more detail.
The absolute error is positive
Each Δa_i is a magnitude. The signed differences a_mean − a_i add up to zero by the definition of the mean, so averaging them would always give zero. If you forget the absolute value signs, the mean error comes out as zero. The signed values are still useful for spotting a trend: if all of them are positive after you subtract a reference value, you have a bias.
Relative error needs the right denominator
Divide by the mean value, not by one reading and not by the error itself. A frequent slip is to write a_mean / Δa_mean, which is the inverse of the relative error.
Percentage error is not a percentage difference
Percentage error here is based on the spread of your own readings. It is a different thing from comparing your result with an accepted value, such as (9.87 − 9.80) / 9.80. That second quantity measures accuracy against a reference. The spread-based measure describes precision.
A zero in the mean
If the mean of a signed quantity is near zero, the relative error becomes huge or undefined. Relative and percentage errors only make sense for quantities with a clear nonzero scale.
Looking ahead
In a derived quantity such as g = 4π²L/T², each measured input has its own relative error. The next chapter shows how these combine. Percentage errors are the quantities that add in products, quotients, and powers, so being fluent here pays off directly.
Exercise
A resistor is measured four times with a meter and gives 5.0 Ω, 5.2 Ω, 4.8 Ω, 5.0 Ω. Find the mean value, the mean absolute error, the relative error, and the percentage error.
Show answer
Mean = (5.0 + 5.2 + 4.8 + 5.0) / 4 = 5.0 Ω. Individual absolute errors are 0, 0.2, 0.2, 0 Ω, so the mean absolute error is 0.4 / 4 = 0.1 Ω. Relative error = 0.1 / 5.0 = 0.02. Percentage error = 2 %. Report R = 5.0 ± 0.1 Ω.
Exercise
A length is measured once with a vernier caliper of least count 0.01 cm and is read as 4.00 cm. A second length is read as 0.40 cm with the same caliper. Which measurement is better in relative terms, and by what factor?
Show answer
The absolute error is 0.01 cm for both. The relative errors are 0.01 / 4.00 = 0.0025 (0.25 %) and 0.01 / 0.40 = 0.025 (2.5 %). The 4.00 cm measurement is better by a factor of 10.
Exercise
The percentage error in a measured mass of 250 g is 0.8 %. Write the absolute error in kilograms, and the mass in the form (value ± error) in kilograms.
Show answer
Relative error = 0.008, so the absolute error = 0.008 × 250 g = 2 g = 0.002 kg. The mass is 250 g = 0.250 kg, so m = 0.250 ± 0.002 kg. The relative error is still 0.008, unchanged by the unit conversion.