Calculate absolute percent error
Subtract the accepted value from the measured value. Divide the absolute difference by the absolute accepted value and multiply by 100. A measured 47 against an accepted 50 has 6% error.
Use a nonzero accepted value
The accepted value is the reference and must be nonzero. The calculator reports the size of the error regardless of whether the measurement was above or below the reference.