For a numerical reference value and a computed value , the signed approximation error is . Stating the reference matters: comparison with a measured value assesses agreement with that value, rather than with an unknown exact value.
An error bound is an established upper bound on a specified approximation error, on a stated domain and under stated assumptions. A numerical comparison at selected points can test an approximation but does not by itself establish a bound throughout that domain. An absolute error bound controls ; a relative error bound additionally specifies the reference scale.
The absolute error is the absolute value of the approximation error, , measured in the same units as the numerical reference . For example, approximating by gives absolute error .
For a nonzero reference value , the relative error is the absolute error divided by the reference's absolute value:
It is dimensionless and expresses the size of the error compared with the quantity being approximated. Approximating by has absolute error and relative error . The definition is unavailable when the reference is zero; use an absolute error or a separately stated scale in that case.
The signed relative error is for a nonzero reference . Its absolute value is the relative error. For a positive reference, a negative signed relative error means underestimation, and a positive one means overestimation. For a negative reference that interpretation reverses, so retain the displayed definition when interpreting its sign.

Articles by others on the same topic (1)

Approximation error refers to the difference between a value produced by an approximate method and the exact or true value that one is trying to estimate or calculate. In various fields such as mathematics, statistics, computer science, and engineering, approximation errors occur when simplified models, numerical methods, or algorithms are used to estimate more complex systems or functions.