How to Calculate Percent Error: Formula, Sign and Lab Examples
Solver AI TeamPublished 13 min read
Percent error measures how far a lab result lands from the accepted value, as a percentage of that accepted value. Learn the three-step formula, when your class keeps the sign and what it tells you, percent error vs percent difference and percent yield, and five checked examples from density to the gas constant.
To calculate percent error, subtract the accepted value from your measured value, divide that difference by the accepted value, and multiply by 100%: percent error = |measured − accepted| ÷ accepted × 100%. The absolute value bars make the answer positive; many chemistry labs drop them and keep the sign, so a negative result means your measurement came out low and a positive one means it came out high.
The arithmetic takes three steps. The parts that cost marks are the decisions around it: which number goes on the bottom, whether to keep the sign, when to use percent difference instead, and what a large error says about the experiment. This guide works through each one with real lab numbers, and every answer has been recomputed.
The Percent Error Formula
Percent error is the relative error, (E − A) ÷ A, written as a percentage, and it is a measure of accuracy: how close a result lands to the true or accepted value. That is different from precision, which is how closely repeated results agree with each other. OpenStax Chemistry 2e, section 1.5 separates the two ideas, and a set of results can have either one without the other. Five trials that all read 2.86 g/cm³ are precise, but if the accepted value is 2.70 g/cm³ they are all equally inaccurate.
The Rule: Percent Error
percent error = |E − A| ÷ |A| × 100%, where E is your experimental (measured) value and A is the accepted (true, literature or theoretical) value. The signed version leaves out the bars on top: (E − A) ÷ |A| × 100%.
Every name in that box shows up in textbooks. "Experimental", "measured" and "observed" all mean your number. "Accepted", "true", "literature", "known" and "theoretical" all mean the reference number you are being compared with. Whatever your handout calls them, the reference value always goes in the denominator.
The bars around A in the denominator only matter for a negative accepted value, such as a temperature of −5.0 °C or a negative enthalpy change. Without them, the sign of the answer would flip for a reason that has nothing to do with your measurement.
How to Calculate Percent Error Step by Step
Average your trials first
If you ran the experiment more than once, find the mean of your results and use that as E. Calculating a percent error for each trial is fine for spotting a bad run, but the one you report is usually for the mean.
Subtract: E − A
Keep the units. If the measured and accepted values are in different units, convert one of them before subtracting. Note whether the difference is positive or negative before you do anything else.
Divide by the accepted value
The units cancel here, which is why percent error has no unit. If units are left over, the two values were not in the same unit.
Multiply by 100% and round
Keep the sign or drop it, as your course asks. Round once, at the end.
About that rounding: the subtraction in step 2 often loses significant figures, because subtracting two close numbers cancels their leading digits. 2.86 − 2.70 = 0.16 has only two significant figures, so the percent error gets two. The significant figures rules explain why the subtraction sets the limit here.
Example 1: Density of a metal block
A student finds the mass of a metal block as 57.2 g. Lowering it into a graduated cylinder raises the water level by 20.0 mL. The lab handout gives the accepted density of the metal as 2.70 g/cm³. Find the percent error.
Measured density: ρ = m ÷ V = 57.2 g ÷ 20.0 cm³ = 2.86 g/cm³ (1 mL = 1 cm³).
Difference: 2.86 − 2.70 = +0.16 g/cm³. The sign is positive, so the measurement is high.
Divide by the accepted value: 0.16 g/cm³ ÷ 2.70 g/cm³ = 0.0593. The g/cm³ cancels.
Multiply by 100%: 5.93%, which rounds to two significant figures.
AnswerPercent error 5.9% (signed: +5.9%, the measured density is too high)
Should You Keep the Sign?
Both versions are in use, and they answer different questions. The absolute value version answers "how far off was I?" The signed version also answers "in which direction?", and that second answer is often the more useful one in a lab report, because it points at the cause.
Signed result
What it means
Causes worth checking in a density lab
Positive
Measured value is above the accepted value
Block still wet when weighed (mass too high); water level read low (volume too small)
Negative
Measured value is below the accepted value
Air bubble clinging to the block, or water level read high (both make the volume too large)
Close to zero
Accurate result
Still check precision: trials that scatter widely can average out close by luck
A sign that repeats across every trial suggests a systematic error, one that pushes every reading the same way, such as a balance that reads high. Systematic errors do not shrink when you average more trials. Random errors scatter in both directions, so they tend to cancel in the mean. The sign is your first clue about which kind you have.
Common Mistake
Dividing by your own measurement instead of the accepted value. In Example 1 that gives 0.16 ÷ 2.86 × 100% = 5.6% instead of 5.9%. It happens because "new minus old over old" from percent change gets mixed up with percent error, and your measurement feels like the "new" number. The yardstick is the true value, so it goes on the bottom.
The second slip is forgetting the last step and reporting 0.059 as the percent error: a percent error under 1% for an obviously rough measurement is the giveaway.
Example 2: The gas constant from a hydrogen lab (signed)
A student collects hydrogen gas and records P = 99.8 kPa, V = 60.0 mL, T = 295.0 K and n = 0.00250 mol. Rearranging PV = nRT gives R = PV ÷ nT. The accepted value is R = 8.314 J/(mol·K), rounded from the exact NIST CODATA value 8.314 462 618… J mol⁻¹ K⁻¹. Find the signed percent error.
Convert to SI: P = 99 800 Pa and V = 60.0 mL = 6.00 × 10⁻⁵ m³.
R = (99 800 Pa × 6.00 × 10⁻⁵ m³) ÷ (0.00250 mol × 295.0 K) = 5.988 J ÷ 0.7375 mol·K = 8.1193 J/(mol·K), keeping a guard digit. A pascal times a cubic metre is a joule, so the units come out right.
Difference: 8.1193 − 8.314 = −0.1947 J/(mol·K).
Signed percent error: −0.1947 ÷ 8.314 × 100% = −2.34%.
The negative sign says the measured R is too small, so look for something that made PV too small or nT too large: gas escaping before the volume reading, or a temperature read high. The classic gas-over-water slip, forgetting to subtract the water vapor pressure, goes the other way: it makes P too high, so R comes out high. That one sign rules out half the possible explanations before you write a word of the discussion.
Percent Error vs Percent Difference
Percent error needs an accepted value. When there isn't one, because two groups measured the same thing and neither knows the answer, use percent difference. It divides by the average of the two values, since neither has a better claim to be the yardstick.
Definition: Percent Difference
percent difference = |a − b| ÷ ((a + b) ÷ 2) × 100%. It is always positive and gives the same answer whichever value you call a.
Example 3: Two pendulum groups, then the accepted value
Two groups use pendulums to measure the acceleration due to gravity. Group A gets 9.62 m/s² and Group B gets 9.94 m/s². Find their percent difference. Then compare each group, and the mean of the two, with 9.81 m/s², the NIST standard acceleration of gravity 9.806 65 m/s² rounded to three significant figures.
Mean of the two: 9.78 m/s², so (9.78 − 9.81) ÷ 9.81 × 100% = −0.3% (the 0.03 difference has one significant figure).
AnswerPercent difference 3.3%; percent errors −1.9% (A), +1.3% (B) and −0.3% for the mean
The opposite signs are the point of this example. Group A was low and Group B was high, so their errors partly cancel and the mean lands within a third of a percent. That is what random error looks like. If both groups had come out low, averaging would not have helped.
Percent Error vs Percent Yield
Percent yield looks similar but asks a different question: what fraction of the predicted product did you actually collect? It is actual yield ÷ theoretical yield × 100%, with no subtraction. The stoichiometry guide shows where the theoretical yield comes from. If your teacher asks for a percent error on a yield, treat the theoretical yield as the accepted value.
Example 4: The same yield, two ways
Heating baking soda should release 2.619 g of carbon dioxide (theoretical yield). A student measures 2.40 g. Find the percent yield and the signed percent error.
Link between them: 91.6% − 100% = −8.4%. For a positive accepted value this always holds, because (E − A) ÷ A = E ÷ A − 1.
AnswerPercent yield 91.6%; percent error −8.4%
So a percent yield of 91.6% is not a "91.6% error". Reporting the yield where the error was asked for, or the reverse, is one of the most common lab-report slips.
When the Formula Breaks: Zero and Temperature
Percent error divides by the accepted value, so it fails when that value is zero: you cannot divide by zero. If the accepted value is 0 (a net force of zero, a 0.0 °C freezing point), report the absolute error, E − A, with its unit instead.
Temperature has a quieter version of the same problem. The Celsius and Fahrenheit zero points are arbitrary, so the percent error of a temperature changes with the scale even though the measurement does not.
Example 5: One boiling point, three percent errors
A student measures a boiling point of 98.6 °C. The handout gives 100.0 °C as the accepted value. Find the percent error using Celsius, then kelvin, then Fahrenheit.
Fahrenheit (°F = 1.8 × °C + 32): 98.6 °C = 209.5 °F and 100.0 °C = 212.0 °F, so 2.5 ÷ 212.0 × 100% = 1.2%.
Answer1.4% in °C, 0.38% in K, 1.2% in °F, for the same 1.4 °C (2.5 °F) miss
Only the kelvin answer measures the error against a true zero, so it is the one that means something physically. Many school labs still use Celsius by convention; follow your handout, but if you get to choose, kelvin is the defensible scale. Reporting "1.4 °C low" alongside the percentage is never wrong.
What Is a Good Percent Error?
There is no universal cutoff. Instructors set their own targets, and they depend on the equipment: an analytical balance and a burette can support far smaller errors than a ruler and a beaker. A better question is whether your error is bigger than your equipment can explain.
Estimate the uncertainty of your key reading as a percentage of the reading. In Example 1, the 20.0 mL change comes from two cylinder readings of about ±0.1 mL each, so about ±0.2 mL in all: 0.2 ÷ 20.0 × 100% = 1%. A 5.9% error is about six times that, so the glassware alone cannot explain it, and something systematic, like a wet block, is the likelier cause. That comparison makes a much stronger lab discussion than "human error".
How to Check Your Answer
Estimate first
Round both numbers and compare the gap with the accepted value. In Example 2, a gap of about 0.2 on about 8 is about 2.5%, so −2.34% is believable and −23.4% is not.
Check the sign against the raw numbers
If your measurement is bigger than the accepted value, the signed error must be positive. A sign that disagrees means the subtraction was done backwards.
Check the units cancelled
Percent error has no unit. Leftover units mean the two values were in different units, like g/mL against kg/m³.
Rebuild the measurement
Multiply the accepted value by 1 + (signed error ÷ 100). For Example 1, 2.70 × 1.0593 = 2.86, which is the measured density again.
For the division itself, the free percentage calculator shows its working, which makes a slip easy to spot. The Solver AI app can also scan a handwritten lab calculation and show the steps, so you can compare them with your own once you have worked it out yourself.
Practice Problems
A pendulum lab gives g = 9.65 m/s². Using 9.81 m/s² as the accepted value, find the percent error. Answer: 0.16 ÷ 9.81 × 100% = 1.6% (signed: −1.6%).
A student measures the density of water as 0.982 g/mL; the handout gives 0.997 g/mL. Find the signed percent error. Answer: −0.015 ÷ 0.997 × 100% = −1.5%.
Two titrations need 24.60 mL and 25.40 mL of the same solution. Find the percent difference. Answer: 0.80 ÷ 25.00 × 100% = 3.2%.
Your teacher accepts results within 4.0% of R = 8.314 J/(mol·K). What range of measured values passes? Answer: 8.314 × 0.960 = 7.98 to 8.314 × 1.040 = 8.65 J/(mol·K).
A report lists a measured molar mass of 46.1 g/mol and a percent error of 2.5%, with no sign and no accepted value. Find both possible accepted values, and say which one a signed error of +2.5% picks. Answer: if the measurement is high, A = 46.1 ÷ 1.025 = 45.0 g/mol; if it is low, A = 46.1 ÷ 0.975 = 47.3 g/mol. A signed +2.5% means the measurement is high, so A = 45.0 g/mol. This is why the sign is worth keeping.
Molar masses like the one in problem 5 come from adding atomic weights; the molar mass guide and the molar mass calculator show how, if you want an accepted value to test your own lab against. For more chemistry problems, see the chemistry solver.
The Takeaway
Subtract, divide by the accepted value, multiply by 100%. Keep the sign when your course allows it, because it points at the cause. Use percent difference when there is no accepted value, report absolute error when the accepted value is zero, and compare your error with your equipment's uncertainty before blaming "human error".
Frequently asked questions
How do you calculate percent error step by step?
Subtract the accepted value from your measured value. Take the absolute value of that difference unless your class keeps the sign. Divide by the accepted value, not your measurement, then multiply by 100%. A measured density of 2.86 g/cm³ against an accepted 2.70 g/cm³ gives 0.16 ÷ 2.70 × 100% = 5.9%.
Can percent error be negative?
Only in the signed version of the formula, which many chemistry labs use. A negative percent error means your measurement came out below the accepted value, and a positive one means it came out above. The common textbook formula wraps the difference in absolute value bars, so it is never negative. Check which version your lab report asks for.
Do you divide by the experimental or the accepted value?
Divide by the accepted value. Percent error asks how far off you are compared with the true answer, so the true answer is the yardstick. Dividing by your own measurement gives a different number: for 2.86 against 2.70, it gives 5.6% instead of 5.9%, and the gap grows as the error grows.
What is the difference between percent error and percent difference?
Percent error compares a measurement with an accepted value and divides by that accepted value. Percent difference compares two measurements when neither one is the true answer, so it divides by their average instead. Two lab groups measuring 9.62 and 9.94 m/s² have a percent difference of 0.32 ÷ 9.78 × 100% = 3.3%.
What is a good percent error in a chemistry lab?
There is no single cutoff. It depends on the equipment and on your instructor, who usually states a target in the lab handout. A useful test is to compare your percent error with the uncertainty of your readings. If a 20.0 mL volume change is only good to about 0.2 mL, that is 1%, so a 6% error points to a mistake rather than to the glassware.
How is percent error related to percent yield?
Percent yield is actual yield divided by theoretical yield times 100%. If you treat the theoretical yield as the accepted value, the signed percent error is the percent yield minus 100%. A 91.6% yield is a percent error of −8.4%: you collected 8.4% less product than the calculation predicted.