What is the Formula for Percent Error?

The formula to determine percent error is as follows: The actual result minus the expected result, then divided by the expected result and then multiplied by 100 percent.