Percent Error Calculator

Need to know how close your measurement is to the actual value? This calculator does the math for you fast. Plug in your observed value and the true (accepted) value, and you'll get the percent error instantly. Whether you're a student checking a lab result or an engineer validating a sensor reading, percent error is one of those numbers that tells you a lot in a single glance. It shows you not just how far off you were, but how far off you were relative to what the answer should have been.

Enter Details

Measured

Accepted

Result

|measured − accepted| ÷ |accepted| × 100

Note — This result is an estimate. Talk to a healthcare provider for personalized guidance.

How to Use the Percent Error Calculator

Using the calculator is straightforward. You only need two numbers:

  • Observed (Experimental) Value: The measurement you actually got.
  • True (Accepted) Value: The known or theoretical value you're comparing against.

Enter both values into their respective fields and hit Calculate. The tool applies the standard percent error formula and returns your result as a percentage. If you want to start over, just clear the fields and enter new numbers. That's really all there is to it.

What Is Percent Error?

Percent error is a way of expressing how inaccurate a measurement is compared to a known standard. It answers the question: "How wrong was I, in percentage terms?"

Scientists, engineers, and students use it constantly because raw error numbers can be misleading on their own. Being off by 5 grams means something very different when you're measuring 10 grams versus 10,000 grams. Percent error puts that difference in context.

A lower percent error means your measurement is more accurate. A higher percent error means there's more discrepancy between what you measured and what the true value actually is. Zero percent error would mean a perfect measurement, which almost never happens in practice.

Percent Error Formula

The standard formula for percent error is:

Percent Error = (|Observed Value − True Value| / |True Value|) × 100

The absolute value signs around the numerator are there to keep the result positive by default, though some fields (especially chemistry and physics) do care about the sign. We'll get into that in a later section. For most general purposes, you'll see percent error reported as a positive number.

Absolute Error Calculation

Absolute error is the first step in the formula. It's simply the difference between your observed value and the true value, without any division or scaling:

Absolute Error = |Observed Value − True Value|

So if you measured 48 and the true value is 50, your absolute error is 2. It's expressed in the same units as your measurement, whether that's grams, meters, volts, or anything else. On its own, absolute error tells you the size of the mistake, but not whether that mistake is big or small relative to the actual quantity.

Relative Error Calculation

Relative error takes absolute error one step further by comparing it to the true value:

Relative Error = |Observed Value − True Value| / |True Value|

Using the same example: absolute error of 2 divided by a true value of 50 gives a relative error of 0.04. Multiply that by 100 and you get percent error: 4%. Relative error is unitless, which makes it useful for comparing accuracy across measurements that use completely different scales or units.

Calculate Percent Error Between Observed and True Values

Here's how to work through the calculation manually, step by step:

  1. Subtract the true value from your observed value.
  2. Take the absolute value of that result (drop any negative sign).
  3. Divide by the true value.
  4. Multiply by 100 to convert to a percentage.

Example: You measure the boiling point of water and get 99.2°C. The accepted value is 100°C.

  • Difference: |99.2 − 100| = 0.8
  • Divide: 0.8 / 100 = 0.008
  • Multiply: 0.008 × 100 = 0.8% error

Pretty close. That kind of result would be considered very good in most lab settings.

Percent Error vs Percent Difference

These two get mixed up a lot, and it's understandable. They sound similar, but they're used in different situations.

ConceptWhen to UseFormula
Percent ErrorWhen comparing a measurement to a known true value|Observed − True| / |True| × 100
Percent DifferenceWhen comparing two values with no clear "correct" one|Value A − Value B| / Average × 100

Use percent error when there's an accepted or theoretical standard. Use percent difference when you're comparing two experimental results and neither one is definitively correct. Mixing them up can lead to misrepresenting your data, so it's worth keeping them straight.

Percent Error vs Relative Error

Relative error and percent error are closely related. In fact, percent error is just relative error expressed as a percentage.

Relative error is a decimal: 0.04. Percent error is that same number times 100: 4%. Neither one is more "correct" than the other. It comes down to convention and context. Scientific papers often report relative error as a decimal, while classroom settings and quick calculations tend to favor percent error because it's more intuitive to say "I was off by 4%" than "my relative error was 0.04."

The underlying math is identical. Don't let the terminology trip you up.

Step-by-Step Percent Error Examples

Seeing the formula in action with real numbers makes it click a lot faster than staring at variables. The following examples walk through two common scenarios where percent error comes up regularly.

Science Laboratory Measurements

Say you're in a chemistry lab and you're trying to determine the density of aluminum. Your experiment yields a density of 2.64 g/cm³. The accepted value is 2.70 g/cm³.

  • Absolute error: |2.64 − 2.70| = 0.06
  • Divide by true value: 0.06 / 2.70 = 0.0222
  • Percent error: 0.0222 × 100 = 2.22%

That's a reasonable result for a student lab experiment. Anything under 5% is generally considered acceptable in most introductory science courses, though expectations vary depending on the experiment and the instructor.

Engineering and Physics Calculations

In an engineering context, tolerances are often tighter. Suppose a pressure sensor is rated to read 200 PSI, but under testing it reads 196 PSI.

  • Absolute error: |196 − 200| = 4
  • Divide: 4 / 200 = 0.02
  • Percent error: 0.02 × 100 = 2%

Whether 2% is acceptable depends entirely on the application. For a rough industrial gauge, that might be fine. For aerospace or medical equipment, a 2% deviation could be a serious problem. Percent error gives you the number; engineering judgment tells you what to do with it.

Positive vs Negative Percent Error

When you drop the absolute value signs from the formula, the sign of your percent error actually carries meaning.

A positive percent error means your observed value was higher than the true value. A negative percent error means it was lower. In many science and engineering fields, knowing the direction of your error matters. If a scale consistently reads high, that's a systematic bias that needs to be corrected differently than one that reads low.

For general reporting and most classroom purposes, the absolute value version (always positive) is standard. But if your instructor or a technical specification asks for the signed value, skip the absolute value step and keep the sign from the subtraction.

Common Causes of Measurement Error

Percent error tells you how big your error is. Understanding why it happened helps you reduce it next time. A few of the most frequent culprits:

  • Instrument calibration: Equipment that hasn't been calibrated recently can drift from its true readings.
  • Human error: Misreading a scale, recording the wrong number, or parallax error when reading analog gauges.
  • Environmental factors: Temperature, humidity, and air pressure can all affect sensitive measurements.
  • Sample variability: The thing you're measuring might not be perfectly uniform, leading to inconsistent results.
  • Rounding and significant figures: Rounding intermediate values during calculation can introduce small but compounding errors.

Most measurement error falls into two broad categories: systematic error (consistent bias in one direction) and random error (unpredictable variation). Systematic errors are often fixable once identified. Random errors can be reduced by taking multiple measurements and averaging them.

Real-World Applications of Percent Error

Percent error shows up in more places than just high school chemistry class. Here's where it genuinely matters:

  • Manufacturing quality control: Factories use percent error to verify that parts meet dimensional tolerances before they ship.
  • Medical diagnostics: Lab equipment used for blood tests and imaging must stay within tight error bounds for accurate diagnosis.
  • Financial modeling: Analysts compare forecasted figures to actual results using percent error to evaluate model accuracy.
  • Meteorology: Weather forecasters track how far off their temperature and precipitation predictions were to improve future models.
  • Academic research: Scientists report percent error to give readers a sense of how reliable their experimental data is.

Any time you have an expected value and a measured one, percent error is a practical tool for understanding the gap between them. It's one of those simple calculations that earns its keep across a surprisingly wide range of fields.

Other Maths Calculators

Explore all