How do You Calculate Relative Error?

Relative error is the ratio of absolute error and original value, where absolute error is the difference between original value and approximated value. The formula for relative error is: (original value – approximated value) / original value