ThisCalculator

Everyday

Percentage Error: How to Calculate It

Updated · Standard formula, shown below

Percentage error 4.00 %
Measured value
5.2
You entered
True value
5
You entered

This guide shows you how to find the percentage error between an approximate or measured value and the true or accepted value. You enter the two numbers, and the calculation returns the error as a percentage, showing how far off the measurement is relative to the true value. It is commonly used in science labs, engineering, and quality control to assess accuracy.

Formula

The percentage error is the absolute difference between the measured value and the true value, divided by the absolute true value, then multiplied by 100. In symbols:

Percentage Error = |Measured − True| / |True| × 100%

  • Measured – the value you obtained from measurement or estimation (any unit).
  • True – the accepted or exact value (same unit as measured).
  • The result is a percentage, with no unit.

The absolute value (vertical bars) ensures the error is always positive, regardless of whether the measurement is above or below the true value.

Worked Example

Using the calculator defaults: Measured = 5.2, True = 5.0.

  1. Subtract the true value from the measured value: 5.2 − 5.0 = 0.2.
  2. Take the absolute value: |0.2| = 0.2.
  3. Divide by the absolute true value: 0.2 / 5.0 = 0.04.
  4. Multiply by 100 to get a percentage: 0.04 × 100 = 4%.

The percentage error is 4%.

When to Use Percentage Error

Use percentage error when you have a known or accepted reference value and you want to quantify how accurate a measurement is. For example, in a physics lab you measure the acceleration due to gravity as 9.81 m/s² while the accepted value is 9.81 m/s², but if you measured 9.7 m/s², the error is about 1.12%. It is also used in manufacturing to check if a product dimension is within tolerance, or in forecasting to compare predicted vs. actual values. The result tells you the relative size of the error, making it easy to compare accuracy across different scales.

How to Read the Result

A smaller percentage error means your measurement is closer to the true value. A 0% error indicates a perfect match. There is no universal “good” threshold—it depends on the context. In high-precision experiments, an error under 1% might be excellent, while in some everyday estimates, 10% could be acceptable. Always consider the application and the precision of your measuring instrument.

Common Mistakes

  • Forgetting absolute value: If you omit the absolute value, you might get a negative error, which is not standard. Always use absolute values.
  • Dividing by the measured value: The denominator must be the true (accepted) value, not the measured one. Using the measured value gives a different result called relative error relative to measurement.
  • Unit mismatch: Ensure both values are in the same unit before subtracting. You can’t subtract meters from centimeters directly.
  • Multiplying by 100 at the wrong time: The division must happen before multiplying by 100. The result is a pure number, then you add the % sign.
  • Using the wrong true value: In some problems, the “true” value might be a theoretical value or a known standard. Make sure you use the correct reference.

Tips

  • Keep more significant figures during intermediate steps, then round only the final answer. This reduces rounding errors.
  • If you have multiple measurements, calculate the error for each and then average them, but be aware that averaging errors can hide systematic bias.
  • Use the same precision for both values. If the true value has only two decimal places, don’t report the measured value with five decimal places.
  • When comparing errors across different magnitudes, percentage error is more meaningful than absolute error.
  • Always state the true value used, because the percentage error depends on it.

Troubleshooting

If your result seems too large or too small, check the following:

  • Did you swap the measured and true values? The denominator must be the true value. Swapping them changes the result.
  • Are the units consistent? Convert all values to the same unit before subtracting. For example, if one is in meters and the other in centimeters, convert one to the other.
  • Is the true value zero? If the true value is zero, the formula divides by zero, which is undefined. In such cases, percentage error is not meaningful; use absolute error instead.
  • Is the measured value negative? The absolute value in the numerator handles this, but ensure you entered the sign correctly. A negative measured value with a positive true value will still produce a positive error.
  • Rounding too early: If you round intermediate numbers, the final percentage can be off. Keep extra digits until the end.

Frequently Asked Questions

What is the difference between percentage error and relative error?

Relative error is the absolute error divided by the true value, without the ×100. Percentage error is simply relative error expressed as a percentage. For example, a relative error of 0.04 is the same as 4%.

Can percentage error be negative?

By the standard formula, no—the absolute value makes it positive. Some fields use a signed error to indicate direction (over or under), but that is called “percent difference” or “signed error,” not percentage error.

What if the true value is zero?

You cannot compute percentage error because division by zero is undefined. In that case, use absolute error (|measured − 0|) or report the measured value itself.

What if my measured value equals the true value?

Then the percentage error is 0%, meaning your measurement is exactly correct.

Is percentage error the same as percent difference?

No. Percent difference compares two values without one being the “true” reference, typically dividing by the average of the two. Percentage error always uses the true value as the denominator.

Can I use percentage error for negative true values?

Yes, but the absolute value in the denominator makes the result positive. For example, if true = −10 and measured = −9, the error is |−9 − (−10)| / |−10| × 100 = 10%.

Related

Formula used
in measured | Measured value | - | 5.2 | 0
in true | True value | - | 5.0 | 0
out pct_err | Percentage error | % | abs(measured - true) / abs(true) * 100 | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.