Absolute Error Calculator workspace
Calculate absolute error
Compare an approximate measurement with a true or accepted value and see the signed and absolute error.
What is an absolute error calculator?
Absolute error measures how far an approximate or measured value is from a true, accepted, or reference value. This calculator defines signed error as estimate minus true value, so its sign tells whether the estimate is high or low. Taking the absolute value removes that direction and gives the nonnegative distance. Absolute error has the same units as the original measurement, which makes it useful for describing the size of a discrepancy but not always for comparing measurements on very different scales.
Important terms
- True value
- The accepted reference quantity used for comparison; it may itself be an experimentally established value rather than metaphysical exact truth.
- Approximate value
- A measured, rounded, computed, or estimated quantity being assessed.
- Signed error
- The difference A−T under this calculator’s convention; positive means the estimate is high and negative means it is low.
- Absolute error
- The magnitude |A−T|, a nonnegative distance with the same units as the measured quantity.
When this method is useful
- Compare a rounded decimal with a reference value.
- Quantify measurement deviation in the same units as the measurement.
- Determine whether an estimate overstates or understates the accepted value.
- Check the effect of rounding or truncation in a numerical result.
Formula and variables
- T
- true, accepted, or reference value
- A
- approximate, measured, or estimated value
- eₛ
- signed error using estimate minus true value
- Eₐ
- absolute error, the magnitude of the signed error
First subtract the reference value T from the approximation A. This signed difference records direction. Then take its absolute value to obtain the size of the error without direction. For example, if T=10 and A=9.7, then eₛ=−0.3 and Eₐ=0.3. The estimate is 0.3 units below the reference.
Domain note: Enter finite real decimal or scientific-notation values. Absolute error is defined for every finite pair, including T=0. The reference value is treated as the comparison standard; uncertainty in that reference is not modeled.
How to use this calculator
- 1
Identify T, the true or accepted reference value, and A, the approximate or measured value.
- 2
Calculate signed error eₛ=A−T. A positive result is an overestimate; a negative result is an underestimate.
- 3
Take the magnitude Eₐ=|eₛ| so the absolute error is nonnegative.
- 4
Interpret Eₐ in the same unit as T and A.
Step-by-step examples
Example 1
Problem: A measured length is 9.7 cm; the accepted length is 10 cm. Find its absolute error.
Substitution: eₛ=A−T=9.7−10=−0.3 cm; Eₐ=|−0.3 cm|
Result: Absolute error = 0.3 cm
The measurement is 0.3 cm below the accepted value. The signed error gives direction, while absolute error gives only the size.
Example 2
Problem: An estimate is 12 when the reference value is 10.
Substitution: eₛ=12−10=2; Eₐ=|2|
Result: 2 units
The estimate is 2 units high.
Example 3
Problem: Compare 3.14 with the reference value 3.14159.
Substitution: eₛ=3.14−3.14159=−0.00159; Eₐ=|−0.00159|
Result: 0.00159
The rounded approximation is low by 0.00159.
Rules, edge cases, and related ideas
Direction and magnitude are different
A−T retains whether the estimate is high or low; |A−T| keeps only the distance.
Units are preserved
Subtracting two measurements in centimeters produces an absolute error in centimeters.
Zero error means an exact match
If A=T, then A−T=0 and its absolute value is also zero.
Edge cases and limitations
- Negative values are valid; subtraction and absolute value still apply.
- A true value of zero is allowed for absolute error.
- Scientific notation such as 2.5e−4 is accepted.
- The calculator assumes both inputs use the same unit and reference basis.
- A displayed decimal is numerical output; measurement uncertainty and significant-figure policy are not inferred automatically.
How this differs from a related concept
Absolute error is appropriate when the size of a discrepancy in the original unit matters. Relative error divides by the magnitude of the reference value, making it more suitable when comparing errors across scales; it is undefined when the reference value is zero.
Understand the result
The calculator reports the nonnegative absolute error as the main answer and also shows signed error so that direction is not lost. When the two inputs are identical, both errors are zero. A result such as 0.3 cm should retain its unit when used in context. Absolute error alone does not indicate whether a discrepancy is large relative to the quantity; relative error addresses that comparison.
Common mistakes
- Subtracting in the opposite order without stating the convention.
- Calling a signed negative error a negative absolute error; absolute error cannot be negative.
- Comparing absolute errors from quantities with very different scales without considering relative error.
- Mixing units or comparing a measured value with the wrong reference.
- Treating the accepted reference as perfectly certain when it is itself measured.
Frequently asked questions
What is the absolute error formula?
With estimate A and true or accepted value T, absolute error is Eₐ=|A−T|.
Can absolute error be negative?
No. The absolute value makes it zero or positive. The signed error A−T can be negative and indicates an underestimate.
What does a negative signed error mean?
Under the convention A−T, a negative value means the estimate is below the reference value.
Does absolute error have units?
Yes. It has the same units as the original quantity because it is the difference between two values of that quantity.
How is absolute error different from relative error?
Absolute error gives the discrepancy in the original units. Relative error divides that discrepancy by |T| and is dimensionless.