Percentage Error Calculator
Enter a measured (observed) value and the true (actual) value.
What percentage error measures
Percentage error measures how far a measured value lies from the true value, expressed as a share of the true value. This calculator returns the absolute error and its percentage. At the defaults, a measured 12.5 against a true 12 gives an absolute error of 0.5 and a percent error of 4.17% — the measurement overshoots the truth by roughly one twenty-fourth of its size.
How the formula works
The true value anchors the comparison, so it always goes in the denominator. The numerator strips any sign: measuring 12.5 when the truth is 12, or 11.5 when the truth is 12, both give |error| = 0.5 and the same 4.17%. That is deliberate — accuracy is about distance from truth, not direction. If you also need direction, compute (measured − actual) ÷ actual separately: +0.5 ÷ 12 = +4.17% bias, a signed quantity that tells you the instrument reads high.
The denominator choice is what separates percent error from its siblings, and it is worth stating precisely. Dividing by the true value 12 gives 4.17%; dividing by the measured value instead would give 0.5 ÷ 12.5 × 100 = 4%, a subtly different claim. Standards bodies and lab manuals define the formula with the true value, so keep the true value in the denominator even when the measured value happens to be larger.
Worked example with the default inputs
Step one: absolute error = |12.5 − 12| = 0.5. Step two: percent error = 0.5 ÷ 12 × 100 = 4.1667, rounded to 4.17%. In practical terms, a scale that reads 12.5 g on a certified 12 g check-weight carries a 4.17% bias. If the lab rule requires under 2%, that scale fails calibration and needs adjustment; if the rule is under 5%, it passes with room to spare.
The same arithmetic shows how sensitivity depends on the size of the true value. An absolute error of 0.5 on a true value of 12 is 4.17%, but on a true value of 120 it is 0.42%, and on a true value of 1.2 it is 41.67%. Identical instrument slips produce wildly different percent errors depending on what is being measured — which is why percent error, not raw error, is the comparable quantity across experiments.
Percent error at typical accuracy grades
| True value | Measured | Absolute error | Percent error |
|---|---|---|---|
| 12 | 12.5 | 0.5 | 4.17% |
| 100 | 103 | 3 | 3.00% |
| 100 | 97 | 3 | 3.00% |
| 50 | 50.4 | 0.4 | 0.80% |
| 1,000 | 1,120 | 120 | 12.00% |
Rows two and three demonstrate the sign-free property: an overestimate of 3 and an underestimate of 3 both report 3.00%. Row four shows lab-grade work: a 0.4 absolute error on 50 stays under the 1% line. Row five illustrates why the percentage earns its keep — 120 sounds enormous until you see it is 12% of 1,000, while row two’s error of 3 is larger than 0.4 yet smaller in relative terms than the 4.17% default.
When to use it
- Calibration checks: comparing an instrument reading against a certified reference, as in the 12.5 versus 12 default.
- Lab reports: comparing an experimental yield, density or speed against a published constant, such as measuring g = 10.1 m/s² against 9.81 (about 2.96% error).
- Forecast evaluation: a projected 103 units against 100 actual units is a 3% forecast error.
- Quality control: verifying that a production batch stays within an agreed percent-error band before shipping.
What counts as a good percent error
The band depends on the discipline. Chemistry and physics teaching labs often accept under 5%; analytical instrumentation targets under 1–2%; manufacturing metrology works to fractions of a percent, and consumer forecasts tolerate 10–20% without raising eyebrows. State the acceptance band before measuring so the resulting 4.17% (or 0.80%, or 12%) has a predefined verdict attached.
Common mistakes
- Putting the measured value in the denominator: 0.5 ÷ 12.5 gives 4% instead of the correct 4.17%. The true value anchors the definition.
- Keeping the sign: reporting −4.17% as percent error mixes accuracy with bias. Signed results belong to a bias calculation; percent error stays non-negative.
- Comparing against percent difference by habit: 12 and 12.5 as equal-status values would give 0.5 ÷ 12.25 × 100 ≈ 4.08%, not 4.17%. Use percent error only when one value is designated true.
- Dividing by a true value of zero: the formula is undefined there, and the calculator returns 0% as a placeholder. Report absolute error instead when the truth is zero.
- Rounding the true value first: comparing a measured 12.5 against a rounded true 12 rather than the exact 12.040 shifts the percent error from 3.82% to 4.17%. Carry full precision in the denominator.
Percent error versus the sibling percentages
Three formulas share one skeleton with different denominators. Percent error divides by the truth (12 here, giving 4.17%). Percent change divides by the starting value in a before-and-after comparison. Percentage difference divides by the average of two equal-status values, 12.25 here, giving about 4.08%. Picking the right denominator is the entire skill: ask which value is authoritative, and let that choice pick the formula. For the symmetric case, the percentage difference calculator mirrors this tool.
Reporting error honestly
- Report percent error alongside the absolute error and the true value, so a reader can recompute: 0.5 on 12 = 4.17%.
- State whether the measurement was high or low — 12.5 is a +0.5 overshoot — since repeated over-reads suggest systematic bias rather than random noise.
- Give the acceptance band in the same sentence, as in 4.17% against a 5% limit, so the verdict is built in.
- When the true value itself is uncertain, percent error inherits that uncertainty; a 4.17% error against a truth known only to ±2% is inside the noise floor.
Frequently asked questions
What is the percent error of 12.5 against a true value of 12?
The absolute error is |12.5 − 12| = 0.5, and 0.5 ÷ 12 × 100 ≈ 4.17%. The measurement reads 4.17% high.
Is percent error always positive?
Yes. The formula wraps the difference in absolute value, so overestimates and underestimates of the same size report identically: 12.5 and 11.5 against a true 12 both give 4.17%.
What if the true value is zero?
Percent error is undefined, since it divides by the true value. The calculator returns 0% as a placeholder; report the absolute error instead when the truth is zero.
How is this different from percent difference?
Percent error divides by the known true value (12 here, giving 4.17%). Percent difference divides by the average of two equal-status values (12.25 here, giving about 4.08%) and treats neither as correct.
What percent error is acceptable in a lab?
Teaching labs commonly accept under 5%, analytical instruments target 1–2%, and metrology works below 1%. The default 4.17% passes a 5% rule but fails a 2% rule, so state the band before measuring.
Why does a small absolute error sometimes give a huge percent error?
The denominator is the true value. An absolute error of 0.5 is 4.17% on a true value of 12 but 41.67% on a true value of 1.2, so tiny measurements are unforgiving.
Can percent error exceed 100%?
Yes. Measuring 25 against a true 10 gives |15| ÷ 10 × 100 = 150%. Nothing caps the formula; large values simply flag a badly off measurement or a wrong model.
How do I report the direction of the error?
Compute the signed bias separately: (measured − actual) ÷ actual × 100. For the defaults that is +0.5 ÷ 12 = +4.17%, showing the instrument reads high, while percent error itself stays sign-free.
Method and sources
- Percent error formula |observed - true| / |true| × 100%.