Percent Error, Percent Difference and Relative Change Lab
Enter measured and accepted values for every trial and get percent error, percent difference, relative change, mean, spread and a printable lab table.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1Name the experiment
Type the experiment title and the unit so they appear on the printed report.
- 2Enter the trials
Add a row per trial with the measured and accepted values, or paste a column straight from a spreadsheet.
- 3Pick the error style
Choose unsigned or signed percent error and the number of significant figures for the table.
- 4Read the summary
Check the mean, standard deviation and percent error of the mean in the header boxes and the worked example below the table.
- 5Compare two values
Use the Two values tab for a percent difference between groups or a relative change from an old value.
- 6Export the report
Download the table as CSV, print it for your lab book or save the data set to history.
About this tool
Physics and chemistry practicals nearly always end with the same question: how close did you get? Three different formulas answer it, and students mix them up constantly. Percent error compares a measurement with an accepted (true or textbook) value. Percent difference compares two measurements when neither one is the reference, so it divides by their average. Relative change describes how far a value moved from an old one to a new one, and its sign matters. This lab puts all three side by side for a whole table of trials. Type or paste your readings, choose whether the percent error should be signed or unsigned, and set the number of significant figures for the report. The tool shows the absolute error, the percent error and the percent difference on every row, then the mean, sample standard deviation, standard error, relative standard deviation and the percent error of the mean, with a worked example you can copy into your write-up.
Who this is for
School and university students writing up practicals such as measuring g with a pendulum, the specific heat of water, the density of a metal or the molar volume of a gas, plus teachers who want a quick check of a class data set.
The three formulas
Percent error = |measured − accepted| ÷ |accepted| × 100. Many lab manuals use this unsigned form. The signed form drops the outer bars, so a positive value means the measurement came out too high and a negative value means it came out too low; that sign is often the first clue to a systematic error. Percent difference = |a − b| ÷ ((a + b) ÷ 2) × 100. Because it divides by the average of the two numbers it is symmetric: swapping them gives the same answer. Relative change = (new − old) ÷ |old| × 100. It is not symmetric. A rise from 80 to 100 is +25 %, yet the fall from 100 back to 80 is −20 %, which is why the reference value must always be stated.
Accuracy and precision together
A single percent error says nothing about how repeatable your method was. The summary therefore adds the sample standard deviation s = √(Σ(x − mean)² ÷ (n − 1)), the standard error s ÷ √n and the relative standard deviation s ÷ mean × 100 as a precision measure. When every trial shares the same accepted value, the tool also gives the percent error of the mean, which is usually the figure a report should quote. Tight readings with a large error suggest a systematic problem such as a zero error or a timing reflex; widely scattered readings point to random error.
Worked example
Five pendulum trials give g = 9.62, 9.74, 9.91, 9.69 and 9.85 m/s² against an accepted 9.81 m/s². For the first trial the absolute error is 9.62 − 9.81 = −0.19, so the percent error is 0.19 ÷ 9.81 × 100 = 1.94 % (signed −1.94 %). The mean of the five readings is 9.762 m/s², the sample standard deviation is 0.1178, and the percent error of the mean is |9.762 − 9.81| ÷ 9.81 × 100 = 0.489 %. Comparing two groups that measured 12.4 cm and 12.9 cm gives a percent difference of 0.5 ÷ 12.65 × 100 = 3.95 %.
Limits
The tool does not propagate uncertainties through a formula, and it does not decide which value is the accepted one for you. Percent error is not defined when the accepted value is 0, and percent difference becomes unstable when the two values have opposite signs. Rounding to significant figures is for presentation only; all calculations use full precision.
Worked example
Measured 9.62, accepted 9.81: percent error 1.94 %. Values 12.4 and 12.9: percent difference 3.95 %. 80 to 100: relative change +25 %.
Quick facts
- Category: Math & Science
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in English.
- Content last reviewed:
- Official source: OpenStax College Physics 2e, section 1.3 Accuracy, Precision and Significant Figures
Frequently asked questions
What is the difference between percent error and percent difference?
Percent error measures how far a result is from a trusted reference value and divides by that reference. Percent difference compares two values of equal standing, such as two students' results, and divides by their average.
Should my percent error be positive or negative?
Most courses report the unsigned value. If your teacher asks for the direction of the error, switch to the signed mode: positive means your result was too high, negative means too low.
Why is relative change from 100 to 80 not the same as from 80 to 100?
Relative change divides by the starting value. A change of 20 is 20 % of 100 but 25 % of 80, so the direction you go in changes the percentage.
How many significant figures should I report?
Usually two or three for a percent error, and never more than your measurements justify. The rounding setting changes only the displayed figures, not the calculation.
Can I paste data from a spreadsheet?
Yes. Paste one column of measured values, two columns (measured and accepted) or three columns (trial name, measured, accepted). CSV files can be imported the same way.
Which figure should go in my conclusion?
Quote the percent error of the mean as your accuracy and the relative standard deviation as your precision, then say whether the error is larger than the spread, which hints at a systematic error.
