How can Percent Error be Calculated in Excel?

Percent Error can be calculated in Excel by using the formula: =ABS((actual value – theoretical value)/theoretical value)*100. This formula first finds the difference between the actual and theoretical value, then divides it by the theoretical value and multiplies it by 100 to get a percentage. For example, if the actual value is 10 and the theoretical value is 8, the formula would be =ABS((10-8)/8)*100, which would give a percent error of 25%. This calculation can be useful in determining the accuracy of a measurement or estimate compared to the expected value.


Percent error is the difference between a measured value and a known or accepted value.

You can use the following formula to calculate percent error:

Percent error = |(known value – measured value) / known value| * 100

The larger the percent error, the greater the difference between a measured value and a known value.

As an example, suppose the height of some tree is known to be exactly 30 feet but you measure it yourself and declare it to have a height of 29.4 feet.

The percent error of your measurement would be calculated as:

  • Percent error = |(known value – measured value) / known value| * 100
  • Percent error = |(30 – 29.4) / 30| * 100
  • Percent error = .02 * 100
  • Percent error = 2%

The percent error between the known height of the tree and your measured height of the tree is 2%.

The following example shows how to use a formula in Excel to calculate percent error.

Example: Calculate Percent Error in Excel

To calculate percent error in Excel, you must type the known value in one cell and your measured value in another cell.

For example, we will type our known height of 30 in cell A2 and our measured height of 29.4 in cell B2:

We can then type the following formula into cell C2 to calculate the percent error of our measurement:

=ABS((A2-B2)/A2)*100

The following screenshot shows how to use this formula in practice:

Excel percent error formula

If you would like to display the percentage symbol in the result, you can type the following formula into cell C2 instead:

=ABS((A2-B2)/A2)

This will return .02 as a result:

You can then select cell C2 and then click the Number Format dropdown menu within the Number group on the Home tab along the top ribbon and then click Percentage:

This will display the result of the formula in a percentage format:

Additional Resources

The following tutorials explain how to perform other common operations in Excel:

x