Percent Error Calculator
Enter your experimental result and the accepted value for the percent error, absolute and relative error and the working for your lab write-up. Add your ± uncertainty to see whether the result agrees, or switch to percent difference to compare two measurements.
Quick answer: Percent error = |experimental − theoretical| ÷ |theoretical| × 100. A pendulum that gives g = 9.6 m/s² against the accepted 9.81 m/s² is |9.6 − 9.81| ÷ 9.81 × 100 = 0.21 ÷ 9.81 × 100 ≈ 2.14% error, 2.14% below the true value.
Not rated yet · Updated · Free · No sign-up
Percent Error Calculator inputs
Result
Percent error
2.14%
The measured value is 2.14% below the true value.
- Absolute error
- 0.21
- Relative error
- 0.021407
- Signed error
- −2.1407%
Step by step
- Absolute error: |9.6 − 9.81| = 0.21
- Divide by the true value: 0.21 ÷ |9.81| = 0.021407
- Multiply by 100: 0.021407 × 100 = 2.1407% ≈ 2.14%
Calculated with CalcBright – https://calcbright.com/percent-error-calculator on
The percent error formula
Percent error measures how far an experimental result landed from the accepted (theoretical) value, expressed as a share of that accepted value. Metrology calls the raw gap the measurement error – measured value minus reference value (VIM 2.16) – and percent error simply scales it.
Percent error = |Experimental − Theoretical| ÷ |Theoretical| × 100%
Three quantities come out of the same subtraction:
- Absolute error = |E − T|, in the measurement’s own units (m/s², mol/L, °C).
- Relative error = absolute error ÷ |T|, a pure number.
- Percent error = relative error × 100. Keep the sign as well – (E − T) ÷ |T| × 100 – if you need to say whether you were high or low.
Worked example 1: a pendulum measurement of g
A simple pendulum gives g = 9.6 m/s². The textbook value is 9.81 m/s².
- Absolute error: |9.6 − 9.81| = 0.21 m/s².
- Relative error: 0.21 ÷ 9.81 = 0.021407.
- Percent error: 0.021407 × 100 = 2.1407% ≈ 2.14%, and the signed error is −2.14% (too low).
The “accepted value” deserves a second look. 9.80665 m/s² is the standard gravity fixed by the 3rd CGPM in 1901 for defining weight, not the gravity in your lab. The 1980 gravity formula puts sea-level gravity at about 9.790 m/s² at the latitude of Dubai or Doha and 9.812 m/s² in London. Against 9.79 the same reading is a 1.94% error; against 9.80665 it is 2.11%. Write down which value you used.
Worked example 2: does the result agree within its uncertainty?
A percent error on its own does not tell you whether an experiment worked. The test most lab courses use is to compare it with your uncertainty. Suppose repeated timings give g = 9.72 ± 0.15 m/s².
- Percent error: |9.72 − 9.81| ÷ 9.81 × 100 = 0.92%.
- Percentage uncertainty: 0.15 ÷ 9.72 × 100 = 1.54%.
- Your range is 9.57 to 9.87 m/s², which contains 9.81 – the result agrees with the accepted value.
Now take g = 9.6 ± 0.05 m/s². The percent error is 2.14% but the uncertainty is only 0.52%, and the range 9.55 to 9.65 misses 9.81 by a wide margin. That pattern – a small spread but a large error – is the signature of a systematic error: string length measured to the top of the bob rather than its centre (too short a length gives too low a g), or swings much wider than about 10°, which lengthen the period. Add the ± value in the calculator and it gives this verdict for you.
Worked example 3: when the textbook value is wrong for your lab
A resonance-tube experiment in a 35 °C school lab gives a speed of sound of 349 m/s. Against the textbook 343 m/s that is a 1.75% error, +1.75% too high. But 343 m/s is the value at 20 °C. NPL’s room-temperature formula, c ≈ 331.3 + 0.606 × θ, gives about 352.5 m/s at 35 °C, and against that the same measurement is only 0.99% off – and now it is too low. Matching the accepted value to your conditions (temperature, latitude, concentration, pressure) can matter more than the measurement itself.
Percent error vs percent difference
When there is no accepted value – two groups measuring the same thing, or a repeat of your own experiment – use percent difference, which divides by the average of the two results instead of a true value.
Percent difference = |A − B| ÷ ((A + B) ÷ 2) × 100%
Two groups find g = 9.72 and 9.95 m/s². The difference is 0.23, the average 9.835, so the percent difference is 0.23 ÷ 9.835 × 100 = 2.34%. Switch the calculator to “Another measurement” for this. Percent change, used for prices and salaries, is a third formula that divides by the old value.
| Situation | Measured | Compared with | Result |
|---|---|---|---|
| Pendulum, textbook g | 9.6 m/s² | 9.81 m/s² | 2.14% error (−) |
| Pendulum, Gulf-coast g | 9.6 m/s² | 9.79 m/s² | 1.94% error (−) |
| Speed of sound at 35 °C | 349 m/s | 352.5 m/s | 0.99% error (−) |
| Titration against a standard | 0.098 mol/L | 0.100 mol/L | 2% error (−) |
| Density of water at 25 °C | 1.02 g/cm³ | 0.997 g/cm³ | 2.31% error (+) |
| Two groups, no true value | 9.72 m/s² | 9.95 m/s² | 2.34% difference |
Rules that change the answer
- The denominator. Divide by the accepted value, never by your own result: 0.21 ÷ 9.6 would give 2.19% instead of 2.14%.
- Where zero is. Percent error only means something on a scale with a true zero. A boiling point of 98 °C against 100 °C reads as 2%, but in kelvin (371.15 K against 373.15 K) it is 0.54%; a freezing point measured at −1.5 °C against 0 °C cannot be expressed as a percent error at all.
- Averages first. With repeated trials, average the readings and take the percent error of the mean, rather than averaging the individual percent errors – positive and negative errors would otherwise be counted as if they all pushed the same way.
- Rounding. Calculate from the unrounded values and round the percent error to two or three significant figures at the end; percent error is rarely known better than that.
Common mistakes
- Forgetting the absolute value and reporting “−2.14% error” when the course asks for the unsigned figure – or dropping the sign when it asks which way you were off.
- Calling a low percent error “accurate” without an uncertainty: a result can be close by luck, and a 2% error with a 5% uncertainty is perfectly consistent.
- Using percent difference when an accepted value exists, or percent error when it doesn’t.
- Copying 9.8 or 343 from the textbook without checking that they apply to your conditions.
When to look further
If your percent error is far larger than your percentage uncertainty after you have checked the reference value, the arithmetic is rarely the problem: re-examine the method for a systematic error, recalibrate the instrument, and repeat. For formal uncertainty budgets – calibration certificates, ISO/IEC 17025 work – percent error is not enough; those follow the GUM (JCGM 100) approach of combining every uncertainty component.
Frequently asked questions
What is the percent error formula?
Percent error = |experimental − theoretical| ÷ |theoretical| × 100. Measuring 349 m/s for the speed of sound against a textbook 343 m/s gives 6 ÷ 343 × 100 = 1.75%.
Which value goes on the bottom – experimental or theoretical?
Always the theoretical (accepted, true) value, because the error is measured relative to what the answer should be. For 9.6 against 9.81 that gives 2.14%; dividing by 9.6 by mistake would give 2.19%.
Can percent error be negative?
With the absolute-value formula it is always 0 or positive. Many lab courses also quote the signed error to show the direction: 9.6 against 9.81 is −2.14% (too low), 349 against 343 is +1.75% (too high). A sign that repeats over several trials points to a systematic error.
What is a good percent error?
There is no universal cut-off – compare it with the uncertainty of your measurement instead. g = 9.72 ± 0.15 m/s² has a 0.92% error and a 1.54% uncertainty, so it agrees with 9.81; g = 9.6 ± 0.05 has a 2.14% error but only a 0.52% uncertainty, so something systematic went wrong.
What is the difference between percent error and percent difference?
Percent error compares a measurement with an accepted value and divides by that value. Percent difference compares two measurements when neither is known to be right and divides by their average: 9.72 and 9.95 differ by 0.23, which is 0.23 ÷ 9.835 × 100 = 2.34%.
What is the difference between absolute, relative and percent error?
Absolute error is the gap in the measurement’s own units (0.21 m/s² for 9.6 against 9.81). Relative error divides it by the true value (0.021407, no units), and percent error is the relative error × 100 (2.14%).
What if the theoretical value is zero?
Percent error is undefined, because it would divide by zero – report the absolute error instead. For temperatures, use kelvin rather than Celsius: 98 °C against 100 °C looks like 2%, but the same readings in kelvin (371.15 K and 373.15 K) are a 0.54% error.
Is the accepted value for g always 9.81 m/s²?
No. 9.80665 m/s² is the conventional standard gravity fixed in 1901, and real gravity varies with latitude – about 9.79 m/s² at sea level on the Gulf coast and 9.81 m/s² in London. The same 9.6 m/s² reading is a 1.94% error against 9.79 but 2.14% against 9.81, so state which value you used.
What changed
- – Page fully reviewed and calculator extended: a percent difference mode for comparing two measurements, an optional ± uncertainty with the percentage uncertainty and an agrees / does-not-agree verdict, reference values for g and the speed of sound, six worked lab scenarios and the common mistakes.
Sources
- JCGM 200:2012 International Vocabulary of Metrology (VIM), 2.16 measurement error, 2.17 systematic and 2.19 random measurement error
- BIPM – 3rd CGPM (1901), Resolution 2: declaration on the unit of mass and the definition of weight; conventional value of gₙ = 980.665 cm/s²
- International Association of Geodesy – Geodetic Reference System 1980 (Moritz): normal gravity formula
- National Physical Laboratory – Speed of sound experiment report: c ≈ 331.3 + 0.606 × θ m/s, 343 m/s at 20 °C
Last reviewed: ·
Reviewed by Chelsea, CalcBright's animated guide, for the CalcBright editorial team · How we check our numbers
Rate the Percent Error Calculator
Only the average star rating is shown. Error reports go straight to our inbox so we can check and fix them. See our Methodology and privacy policy.