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.
New to topics? Read the docs here!