Absolute, Relative and Percentage Error: Definition, Method and Examples

MathPublished

Absolute, Relative and Percentage Error

Absolute error is the non-negative size of the difference between a measured value and a reference value. Relative error compares that absolute difference directly to the reference value. Percentage error is simply the relative error multiplied by 100%100\%. Together, these error calculations describe the accuracy of measurements.

What are absolute, relative and percentage error?

In any practical observation, errors happen. We evaluate how close a measurement is to the true value using three types of error calculations. Understanding measurement error begins with identifying the two key numbers in any observation:

  • The reference value is the known, exact, or accepted true value.
  • The measured value is the approximate result you get when you measure.

From these two numbers, we can find:

  1. Absolute error: The non-negative size of the difference between a measured value and a reference value. It shows the physical gap between the two values.
  2. Relative error: A ratio that compares the absolute error to the size of the reference value.
  3. Percentage error: The relative error written as a percentage. It is also commonly called percent error.

A number line from 40 to 60. The reference value is marked at 50. The measured value is marked at 43. A brace between them shows the absolute error is 7.

Calculate absolute error

Absolute error measures how far off a measurement is from the true value, regardless of the direction of the error.


Formula:

Absolute Error=∣Measured Value−Reference Value\text{Absolute Error} = |\text{Measured Value} - \text{Reference Value}


Because the formula uses absolute value, the result is always zero or positive. It also keeps the exact same unit as the measurement.


For instance, if a student measures a boiling point as 78.5∘C78.5^\circ\text{C} and the reference value is 80.0∘C80.0^\circ\text{C}, the absolute error is ∣78.5∘C−80.0∘C∣=1.5∘C|78.5^\circ\text{C} - 80.0^\circ\text{C}| = 1.5^\circ\text{C}.

A thermometer scale showing a measured value of 78.5 degrees Celsius and a reference line at 80.0 degrees Celsius. An error bracket between them shows 1.5 degrees Celsius.

Calculate relative error

Relative error compares the absolute error to the total size of the reference value. This ratio shows how significant the error is compared to what you are trying to measure.


Formula:

Relative Error=Absolute Error∣Reference Value∣\text{Relative Error} = \dfrac{\text{Absolute Error}}{|\text{Reference Value}|}

When you divide the absolute error by the reference value, the units cancel out. This dimensional analysis guarantees that relative error has no measurement unit.

Using the same thermometer reading, the relative error is 1.5∘C80.0∘C=0.01875\dfrac{1.5^\circ\text{C}}{80.0^\circ\text{C}} = 0.01875. Notice that the pure decimal has no degree symbol.

Calculate percentage error

Percentage error is the relative error expressed as a percentage. Because percentages are easy to understand, this is the most common way engineers and scientists communicate measurement accuracy.


Formula:

Percentage Error=Relative Error×100%\text{Percentage Error} = \text{Relative Error} \times 100\%


Continuing with the thermometer example, the percentage error is 0.01875×100%=1.875%0.01875 \times 100\% = 1.875\%.

Compare errors fairly

Why do we need all three calculations? Absolute error alone can be misleading because it does not account for scale. Relative and percentage errors compare equal absolute errors at different scales to show which measurement is actually more accurate.


Imagine a length measurement that is off by 1 cm1\text{ cm}.

  • If the reference value is a small 10 cm10\text{ cm} object, a 1 cm1\text{ cm} absolute error is large. The percentage error is 1 cm10 cm×100%=10%\dfrac{1\text{ cm}}{10\text{ cm}} \times 100\% = 10\%.
  • If the reference value is a large 50 cm50\text{ cm} object, a 1 cm1\text{ cm} absolute error is much less noticeable. The percentage error is 1 cm50 cm×100%=2%\dfrac{1\text{ cm}}{50\text{ cm}} \times 100\% = 2\%.

The absolute error is exactly 1 cm1\text{ cm} in both cases. However, the percentage error reveals that measuring the larger object was much more accurate relative to its size.


Two scale bars. A 1 centimeter error takes up a large visible fraction of a 10 centimeter object, but the same 1 centimeter error takes up a very small fraction of a 50 centimeter object.

Worked examples


Example 1: Measuring mass


Question: A digital scale measures a standard 250 g250\text{ g} calibration weight as 251.5 g251.5\text{ g}. Calculate the absolute, relative, and percentage errors.


Method:

  1. Identify the given values. The reference value is 250 g250\text{ g}. The measured value is 251.5 g251.5\text{ g}.
  2. Find the absolute error.

∣251.5 g−250 g∣=1.5 g|251.5\text{ g} - 250\text{ g}| = 1.5\text{ g}

  1. Find the relative error by dividing by the reference value.

1.5 g250 g=0.006\dfrac{1.5\text{ g}}{250\text{ g}} = 0.006

  1. Find the percentage error by multiplying by 100%100\%.

0.006×100%=0.6%0.006 \times 100\% = 0.6\%

Answer: The absolute error is 1.5 g1.5\text{ g}, the relative error is 0.0060.006, and the percentage error is 0.6%0.6\%.


Check: Since 1.51.5 is slightly more than half of 2.52.5 (which is 1%1\% of 250250), an answer slightly larger than 0.5%0.5\% makes perfect sense.


Example 2: Comparing precision at different scales


Question: Person A measures a 5 m5\text{ m} room as 5.2 m5.2\text{ m}. Person B measures a 100 m100\text{ m} track as 100.2 m100.2\text{ m}. Both have an absolute error of 0.2 m0.2\text{ m}. Which measurement has a smaller percentage error?


Method:

  1. Calculate the percentage error for Person A.

0.2 m5 m=0.04  ⟹  4%\dfrac{0.2\text{ m}}{5\text{ m}} = 0.04 \implies 4\%

  1. Calculate the percentage error for Person B.

0.2 m100 m=0.002  ⟹  0.2%\dfrac{0.2\text{ m}}{100\text{ m}} = 0.002 \implies 0.2\%

  1. Compare the two results.

Answer: Person B has a much smaller percentage error (0.2%0.2\% compared to 4%4\%), meaning their measurement is more accurate relative to the size of the object.


Check: The absolute error is the same for both, but Person B is measuring an object 2020 times larger, so their percentage error should be 2020 times smaller.


Example 3: Using percentage error to find a range


Question: A weather thermometer is known to have a maximum percentage error of 2%2\%. If the reference temperature is 20∘C20^\circ\text{C}, what is the maximum absolute error in degrees Celsius?


Method:

  1. Identify the reference value (20∘C20^\circ\text{C}) and the percentage error (2%2\%).
  2. Convert the percentage error back to a decimal relative error.

2%=0.022\% = 0.02

  1. Set up the relative error formula to solve for the unknown absolute error.

0.02=Absolute Error20∘C0.02 = \dfrac{\text{Absolute Error}}{20^\circ\text{C}}

  1. Multiply both sides by 20∘C20^\circ\text{C}. Finding these extreme values helps you calculate the upper and lower bounds of your measurement.

0.02×20∘C=0.4∘C0.02 \times 20^\circ\text{C} = 0.4^\circ\text{C}

Answer: The maximum absolute error is 0.4∘C0.4^\circ\text{C}.


Check: Working backward, an absolute error of 0.4∘C0.4^\circ\text{C} on a 20∘C20^\circ\text{C} reference gives 0.420=0.02\dfrac{0.4}{20} = 0.02, which is exactly 2%2\%.

Common mistakes

  • Dividing by the measured value: Always divide the absolute error by the reference value to find relative error. Do not divide by the measured value.
  • Omitting the percent sign: Percentage error must include a %\% symbol. Leaving it off communicates a decimal relative error instead.
  • Keeping a negative sign: Absolute error represents a physical distance on a number line, so it must always be a non-negative value.
  • Ignoring instrument limits: Ignoring the degree of accuracy and instrument resolution can lead to impossible calculations. When evaluating errors, the resolution of your tool dictates how small your absolute error can realistically be.
  • Rounding too early: If you are rounding to significant figures, do it only at the very end of your calculations to avoid introducing more error.

Frequently asked questions

What is the difference between accuracy and precision?

This relates directly to accuracy and precision, which mean different things in mathematics. Accuracy describes how close a measurement is to the reference value. Precision describes how close multiple measurements are to each other, regardless of whether they are near the true value.

Three number lines comparing accuracy and precision. Top row shows high accuracy and high precision. Middle row shows low accuracy and high precision. Bottom row shows low accuracy and low precision.


Can percentage error be negative?

No. Because it is built from absolute error, which is non-negative, the percentage error is also always zero or positive.


Why does absolute error have units while relative error does not?

Absolute error is found by subtracting two values that share the same unit, so the unit remains. Relative error divides two values with the same unit, so the units cancel out entirely.

Practice questions

Question

A digital scale displaying 98.4 grams. A standard calibration weight resting on the scale is explicitly labeled as 100 grams.

The true reference weight of a standard mass is 100 g100\text{ g}. A student measures it using the digital scale shown. What is the absolute error?

  • 1.6 g1.6\text{ g}

  • −1.6 g-1.6\text{ g}

  • 101.6 g101.6\text{ g}

  • 0.016 g0.016\text{ g}

Answer:

1.6 g1.6\text{ g}

Question

A carpenter measures a board as 205 cm205\text{ cm} long, but its reference length is 200 cm200\text{ cm}. What is the relative error?

  • 0.0240.024

  • 0.0250.025

  • 5 cm5\text{ cm}

  • 2.5%2.5\%

Answer:

0.0250.025

Question

A vehicle speedometer pointing to exactly 63 kilometers per hour.

The speedometer shows a driver's measured speed. If the true reference speed is 60 km/h60\text{ km/h}, what is the percentage error?

  • 4.76%4.76\%

  • 3%3\%

  • 5%5\%

  • 0.05%0.05\%

Answer:

5%5\%

Question

Which of the following statements correctly describes measurement errors?

  • Absolute error is calculated by dividing by the measured value.

  • Percentage error is exactly the same as relative error but with units attached.

  • Relative error has no units because the units cancel out.

  • Absolute error can be negative if the measured value is less than the reference value.

Answer:

Relative error has no units because the units cancel out.

Question

A number line with a reference value marked at 50. Four measured values are plotted: A at 38, B at 40, C at 45, and D at 58.

The number line plots four different measured values (A, B, C, and D) against a reference value of 5050. Which measurement has a relative error of exactly 0.20.2?

  • Measurement A

  • Measurement B

  • Measurement C

  • Measurement D

Answer:

Measurement B