keepcalculator

06 Numbers and Powers

Error Calculator Formula: How to Calculate

Card No. 06·0951 · Updated · Standard formula, shown below

Percent error 0.1019 %
Absolute error
0.0100
Result
Relative error
0.001019
Result
Measured value
9.8
You entered
You enter
Measured value, True value
You get
Percent error, Absolute error, Relative error
Rounding
2 dp · 4 dp · 6 dp

The error calculator formula depends on what type of error you’re measuring, but the most common is percent error: Percent Error = |(Measured Value − True Value) / True Value| × 100%. You enter the measured (experimental) value and the true (accepted) value, and the calculator returns the absolute percent difference between them.

Formula

The standard percent error formula is written as:

Percent Error = |Vobs − Vtrue| / Vtrue × 100%

  • Vobs – the measured or observed value (your experimental result)
  • Vtrue – the true, accepted, or theoretical value
  • | | – absolute value, so the result is always positive

The calculator also shows the absolute error (the raw difference) and the relative error (the absolute error divided by the true value, expressed as a decimal). Percent error is just relative error multiplied by 100.

Worked Example

Using the default values: measured = 9.8, true = 9.81 (these are the common values for acceleration due to gravity in m/s²).

  1. Subtract the true value from the measured value: 9.8 − 9.81 = −0.01
  2. Take the absolute value: |−0.01| = 0.01
  3. Divide by the true value: 0.01 / 9.81 ≈ 0.001019
  4. Multiply by 100: 0.001019 × 100 = 0.1019%

Rounded to two decimal places, the percent error is 0.10%. The absolute error is 0.01, and the relative error is about 0.001019.

Types of Error

Percent error is just one of several error measures. Knowing which one you need matters because they answer different questions:

  • Absolute error – the raw difference between measured and true value. It has the same units as your measurement.
  • Relative error – absolute error divided by the true value. It has no units and shows how large the error is relative to the true value.
  • Percent error – relative error × 100%. This is what most people mean by “error calculator formula.”
  • Percent difference – used when neither value is considered “true.” It divides the absolute difference by the average of the two values, then multiplies by 100.
  • Standard error – a different concept from statistics, measuring how much a sample mean is expected to vary from the population mean.

When to Use Percent Error

Percent error is most useful in experimental science, engineering, and manufacturing, where you have a known reference value and want to see how far your measurement deviates from it. Common examples:

  • Chemistry lab: comparing a measured density to the published density of a substance
  • Physics: measuring gravitational acceleration and comparing to 9.81 m/s²
  • Manufacturing: checking if a machined part’s dimension is within tolerance of the design spec
  • Surveys: comparing a sample estimate to a known population value

If you don’t have a true value—for example, comparing two experimental methods—use percent difference instead. The formula is:

Percent Difference = |A − B| / ((A + B)/2) × 100%

Common Mistakes and Misconceptions

Several errors trip up people using error formulas:

  • Forgetting the absolute value – without it, a negative error can look like an improvement. Percent error is always reported as positive.
  • Dividing by the measured value instead of the true value – the denominator must be the accepted/reference value, not your measurement.
  • Using the wrong true value – if you use the measured value as the denominator, you get a different (and usually smaller) number.
  • Mixing up percent error and percent difference – percent difference uses the average in the denominator; percent error uses the true value.
  • Not checking units – both values must be in the same units before subtracting. You can’t subtract meters from feet without converting.
  • Rounding too early – rounding intermediate steps can change the final percent error noticeably, especially when the true value is small.

Limitations of the Formula

Percent error has a serious limitation: it blows up when the true value is near zero. If your true value is 0.001 and your measured value is 0.002, the percent error is 100%, which sounds terrible even though the absolute difference is tiny. In such cases, absolute error or relative error (as a decimal) may be more meaningful.

Also, percent error assumes the true value is known exactly. In many real-world situations, the “true” value is itself an estimate (e.g., a published constant with its own uncertainty). In those cases, percent error only tells you how far you are from that estimate, not how accurate you are in an absolute sense.

For repeated measurements, you should also consider systematic vs. random error. Percent error alone cannot tell you whether your error comes from a consistent bias (systematic) or from random fluctuations. A low percent error doesn’t guarantee precision, and a high percent error doesn’t necessarily mean your method is bad—it could be that the true value is poorly known.

How to Choose the Right Error Formula

Ask yourself these questions:

  1. Do I have a known true value? → Use percent error.
  2. Do I have two values with no known true value? → Use percent difference.
  3. Is the true value close to zero? → Use absolute error or relative error (decimal) instead.
  4. Am I comparing a sample mean to a population mean? → Use standard error, not percent error.
  5. Am I measuring uncertainty in a single measurement? → Use absolute error or relative error, not percent error.

Frequently Asked Questions

What is the formula for percent error?

The formula is: |(Measured − True) / True| × 100%. For example, if you measure 10.2 and the true value is 10.0, the percent error is |(10.2−10.0)/10.0| × 100% = 2%.

Can percent error be negative?

Mathematically, the raw difference can be negative, but the standard percent error formula uses absolute value, so the result is always positive. Some people report signed error (positive or negative) to show direction, but that is not the standard definition.

What is the difference between percent error and percent difference?

Percent error uses the true value as the denominator; percent difference uses the average of the two values as the denominator. Use percent error when you have an accepted reference, and percent difference when neither value is a reference.

Why is my percent error over 100%?

That happens when the absolute error is larger than the true value. For example, if the true value is 5 and your measured value is 12, the percent error is |(12−5)/5| × 100% = 140%. This is valid and simply means your measurement is more than 100% off from the true value.

What if the true value is zero?

You cannot use percent error because division by zero is undefined. In that case, report absolute error or relative error (if the true value is not zero). If the true value is exactly zero, any measured value gives an absolute error equal to the measured value itself.

What is a good percent error?

There is no universal threshold; it depends on your field and the precision of your equipment. In a physics lab, under 5% is often considered acceptable; in high-precision manufacturing, you might need under 0.1%. Always compare your error to the tolerance required by your application.

Related

Formula used
in m | Measured value | - | 9.8 | 0 | 100000
in t | True value | - | 9.81 | 0 | 100000
out pe | Percent error | % | abs(m - t) / t * 100 | 2
out ad | Absolute error | - | abs(m - t) | 4
out rd | Relative error | - | abs(m - t) / t | 6

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.

More cards in this drawer

The whole Numbers and Powers drawer →