Compare measurements with a reference

Absolute error measures how far a measurement is from its reference; relative error expresses that difference relative to the reference. Switch to series mode for multiple measurements.

Dot or comma decimals are accepted. In series mode separate measurements by new lines or semicolons, not commas.

How to calculate absolute, relative and percentage error

Enter a reference value and an observed measurement to obtain absolute error, relative error and percentage error with each formula explained. For multiple measurements, calculate mean absolute error (MAE), root mean squared error (RMSE), bias and a results table. Relative and percentage errors are undefined when the reference equals zero, and the tool shows that explicitly.

Example: reference 10 and observed 9.8. Signed difference = −0.2; absolute error = 0.2; relative error = 0.02; percentage error = 2%.

Results are estimates and depend on the supplied values.

Step-by-step guide: measurement errors

Signed difference and absolute error

Subtract the reference from the observation. The sign indicates whether the reading is higher or lower, while the absolute value is the unsigned distance.

Difference = observed − reference; absolute error = |observed − reference|

Relative and percentage error

Divide absolute error by the magnitude of the reference. Multiply by 100 to express a percentage. These are undefined when the reference is zero.

Relative error = |observed − reference| / |reference|; error % = 100 × relative error

Several observations

MAE is the mean of absolute errors; RMSE gives more weight to large errors through squaring. Bias is the mean signed difference.

MAE = Σ|observed − reference| / n; RMSE = √(Σ(observed − reference)² / n)

Error is not uncertainty

Error relative to a reference is not the same as metrological measurement uncertainty, which requires a separate evaluation and reporting process.

The reference itself may have uncertainty; this model does not propagate it.
Scope and limits

One common reference is assumed across the series. The tool does not derive combined uncertainty, confidence intervals or calibration corrections. MAPE is undefined for a zero reference.

Frequently asked questions

What is the difference between absolute and relative error?

Absolute error is the unsigned difference in the measurement units. Relative error compares it to the reference magnitude and is dimensionless.

Can absolute error be negative?

No. The signed difference can be negative or positive, but absolute error cannot.

What if the true value is zero?

Absolute error and signed difference are still defined, but a relative or percentage error would require division by zero and is undefined.

How do I get a 2% error?

For reference 10 and observed 9.8, absolute error is 0.2 and relative error is 0.02; multiplying by 100 gives 2%.

What does MAE mean?

It is the arithmetic mean of the absolute errors of a series of observations relative to one reference.

How does RMSE differ from MAE?

Both summarise a series of errors, but RMSE weights large errors more heavily.

Is percentage error the same as uncertainty?

No. A difference from a reference is not a substitute for a measurement uncertainty evaluation.