CalcOpenly
English

Percent error and uncertainty propagation calculator

Percent error from measured and accepted values, and uncertainty propagation through sums, products, quotients and powers, in quadrature or worst case.

Drafted with AI writing toolsUpdated Checked examples: 7

Try
Percent error
%
Percent error: 0.9174 %
Maximum decimal places: 4; Nearest, ties away from zero
Signed percent error
−0.9174%
Absolute error
0.09

The measurement is 0.9174% below the accepted value.

Signed percent error (0 = the accepted value)

over 5% low1–5% low1–5% highover 5% high-10-5-11510accepted−0.9174%
How it's calculated S
  1. Difference from the accepted value

    xm−xa=9.72−9.81=−0.09x_m - x_a = 9.72 - 9.81 = -0.09
  2. Percent error

    ∣−0.09∣∣9.81∣×100=0.917431%\frac{|-0.09|}{|9.81|}\times100 = 0.917431\%

About the percent error and uncertainty propagation calculator

Percent error compares a measurement with an accepted value: |measured − accepted| / |accepted| × 100. Uncertainty propagation works out how the ± uncertainties of inputs carry into a calculated result. For sums and differences the absolute uncertainties combine; for products and quotients the relative uncertainties combine; a power aⁿ multiplies the relative uncertainty by |n|. Independent random errors combine in quadrature (the square root of the sum of squares), and the worst-case option adds them linearly.

The default, a measured g of 9.72 m/s² against the accepted 9.81 m/s², is 0.917% low. Multiplying (2.0 ± 0.1) by (3.0 ± 0.2) gives relative uncertainties of 5% and 6.7%, which combine in quadrature to 8.3%, so the product is reported as 6.0 ± 0.5.

Results are rounded as Taylor's An Introduction to Error Analysis recommends: the uncertainty to one significant figure, or two when it starts with 1, and the value to the same decimal place. The formulas are first-order, so they assume each uncertainty is small compared with its value.

How to calculate percent error

Divide the gap between the measured and accepted values by the accepted value: % error = |measured − accepted| ÷ |accepted| × 100. Measuring g as 9.72 m/s² against the accepted 9.81 m/s² gives 0.09 ÷ 9.81 × 100 = 0.917%. Use it when a trusted reference exists.

Signed percent error and edge cases

Drop the absolute value to keep the direction: (9.72 − 9.81) ÷ 9.81 × 100 = −0.917%, which says the measurement came out low.

The denominator always uses the size of the accepted value. Measuring −9 against an accepted −10 gives a signed error of +10%, because the reading is numerically above the reference.

An accepted value of zero makes percent error undefined. Report the absolute error, |measured − accepted|, in the quantity's own units instead.

Percent error is not uncertainty

Percent error compares one result with a reference. Uncertainty, written ±, is your estimate of how much the measurement itself can vary, and it exists even when no accepted value does.

Use the two together to judge agreement. 9.72 ± 0.12 m/s² is consistent with 9.81, since the 0.09 gap lies inside the uncertainty; 9.72 ± 0.05 m/s² is not.

How to propagate uncertainty

Absolute uncertainties combine for sums and differences. Relative uncertainties, δa/|a|, combine for products, quotients and powers. For independent random errors, both combine in quadrature:

  • Sum or difference: δq = √(δa² + δb²). (10.0 ± 0.3) + (5.0 ± 0.4) = 15.0 ± 0.5.
  • Product or quotient: δq/|q| = √((δa/a)² + (δb/b)²). In (2.0 ± 0.1) × (3.0 ± 0.2), 5% and 6.7% combine to 8.3% of 6.0, so q = 6.0 ± 0.5.
  • Power: δq/|q| = |n| × δa/|a|. (2.0 ± 0.1)³ = 8.0 ± 1.2, and a square root halves the relative uncertainty: √(4.0 ± 0.2) = 2.00 ± 0.05.

Subtracting close values is where uncertainty grows. (10.0 ± 0.3) − (9.5 ± 0.4) = 0.5 ± 0.5, a 100% relative uncertainty, although the inputs were uncertain by only 3% and 4.2%.

For a longer formula, apply the rules one operation at a time, as long as each input appears only once. When an input appears twice, its errors are correlated with themselves and the general method in NIST's combination guide applies.

Quadrature or worst case?

Add in quadrature when the input errors are independent and random. That is the assumption behind the combined standard uncertainty in NIST Technical Note 1297, and the result never exceeds the linear sum.

Add linearly, δa + δb, for a bound that holds even when the errors are correlated, such as two lengths measured with the same faulty ruler. The sum example becomes 15.0 ± 0.7, and the product 6.0 ± 0.7.

How to round the reported result

Round the uncertainty to one significant figure, or two when its first digit is 1, then round the value to the same decimal place. This is the convention in Taylor's An Introduction to Error Analysis, section 2.2.

An uncertainty of 1.2 starts with 1 and keeps two figures, giving 8.0 ± 1.2. An uncertainty of 0.05 keeps one, so the value is written to two decimals: 2.00 ± 0.05. Carry unrounded numbers through intermediate steps and round once at the end.

How the propagation examples are reported

Sum quadrature and sum worst case are both (10.0 ± 0.3) + (5.0 ± 0.4). Product is (2.0 ± 0.1) × (3.0 ± 0.2), and cube is (2.0 ± 0.1)³.

ScenarioReport as
Sum quadrature15.0 ± 0.5
Sum worst case15.0 ± 0.7
Product6.0 ± 0.5
Cube8.0 ± 1.2

Common mistakes

  • Entering a percentage as the ± value. For 2.0 ± 5%, the uncertainty is 0.1, not 5.
  • Combining absolute uncertainties for a product. Products and quotients use relative uncertainties.
  • Reporting percent error as the uncertainty. One compares with a reference; the other describes the measurement.
  • Using quadrature for correlated errors. It can understate the combined uncertainty; the worst case gives a safe bound.
  • Applying the rules to large uncertainties. They are first-order formulas that assume each uncertainty is small next to its value.
  • Comparing values in different units. Convert 981 cm to 9.81 m before comparing it with 9.72 m.

Value and uncertainty conventions

  • Uncertainties are absolute, in the same unit as their value.
  • The exponent of a power is exact; use 0.5 for a square root.
  • A negative base needs a whole-number exponent.
  • Products, quotients and powers need nonzero inputs, because a relative uncertainty divides by the value.

To round a result to a chosen number of significant figures, use the rounding calculator. The Ohm's law calculator is a common source of products and quotients to propagate, such as P = V × I.

Worked examples

Measured g = 9.72 against 9.81

Calculate
Percent error
Measured value
9.72
Accepted (true) value
9.81
Percent error
0.9174%
Signed percent error
-0.9174%
Absolute error
0.09

Checked against: |9.72 − 9.81| / 9.81 × 100 = 0.9174312

Sum in quadrature: (10.0 ± 0.3) + (5.0 ± 0.4)

Calculate
Sum or difference a ± b
Operation
a + b or a × b
a
10.0
Uncertainty in a (±)
0.3
b
5.0
Uncertainty in b (±)
0.4
Combine uncertainties
In quadrature
Result q
15
Uncertainty δq
0.5
Report as
15.0 ± 0.5

Checked against: Taylor §3.5: √(0.3² + 0.4²) = 0.5

Same sum, worst case

Calculate
Sum or difference a ± b
Operation
a + b or a × b
a
10.0
Uncertainty in a (±)
0.3
b
5.0
Uncertainty in b (±)
0.4
Combine uncertainties
Worst case
Uncertainty δq
0.7
Report as
15.0 ± 0.7

Checked against: Taylor §3.3: δa + δb = 0.7

Product (2.0 ± 0.1) × (3.0 ± 0.2)

Calculate
Product or quotient a × b, a ÷ b
Operation
a + b or a × b
a
2.0
Uncertainty in a (±)
0.1
b
3.0
Uncertainty in b (±)
0.2
Combine uncertainties
In quadrature
Result q
6
Uncertainty δq
0.5
Report as
6.0 ± 0.5

Checked against: 6 × √(0.05² + 0.0667²) = 6 × 0.083333 = 0.5

Questions

How do you calculate percent error?

Percent error = |measured − accepted| / |accepted| × 100. Measuring g as 9.72 m/s² against an accepted 9.81 m/s² gives 0.09/9.81 × 100 = 0.917%. Keep the sign when the direction matters: −0.917% says the measurement came out low. The formula fails when the accepted value is 0; report the absolute error instead.

How do you propagate uncertainty when multiplying or dividing?

Combine the relative uncertainties in quadrature: δq/|q| = √((δa/a)² + (δb/b)²). For (2.0 ± 0.1) × (3.0 ± 0.2) the relative uncertainties are 5% and 6.7%, giving 8.3% of 6.0, so q = 6.0 ± 0.5. Division follows the same rule: (10 ± 0.5) ÷ (4 ± 0.2) = 2.50 ± 0.18.

How do you add or subtract uncertainties?

Combine the absolute uncertainties: δq = √(δa² + δb²) when the errors are independent and random, or δa + δb for a worst-case bound. (10.0 ± 0.3) + (5.0 ± 0.4) = 15.0 ± 0.5 in quadrature, or 15.0 ± 0.7 worst case. Subtraction uses the same rule, so the difference of two close values can carry a large relative uncertainty.

When should uncertainties be added in quadrature?

When the errors in the inputs are independent and random, the assumption behind the combined standard uncertainty in NIST Technical Note 1297 and the GUM. Quadrature never exceeds the linear sum: 0.3 and 0.4 combine to 0.5 rather than 0.7. Use the linear worst case when errors may be correlated, such as two readings taken with the same miscalibrated instrument.

How many significant figures should an uncertainty have?

One, or two when its leading digit is 1, following Taylor's An Introduction to Error Analysis (§2.2); the value is then rounded to the same decimal place. So 0.1768 becomes 0.18 and the result is written 2.50 ± 0.18, while 0.52 becomes 0.5 and the result 6.0 ± 0.5. Writing 6.0 ± 0.5234 claims more precision than the measurement has.

About this calculator

% error=∣xm−xa∣∣xa∣×100;δ(a±b)=δa2+δb2;δ(ab)∣ab∣=(δaa)2+(δbb)2;δ(an)∣an∣=∣n∣δa∣a∣\%\,\text{error} = \frac{|x_m - x_a|}{|x_a|}\times100;\quad \delta(a\pm b) = \sqrt{\delta a^2 + \delta b^2};\quad \frac{\delta(ab)}{|ab|} = \sqrt{\Big(\frac{\delta a}{a}\Big)^2 + \Big(\frac{\delta b}{b}\Big)^2};\quad \frac{\delta(a^n)}{|a^n|} = |n|\frac{\delta a}{|a|}

Sources

  1. Taylor, An Introduction to Error Analysis (2nd ed., 1997), ch. 2–3 (rules for reporting and propagating uncertainties)
  2. NIST Technical Note 1297 — Guidelines for evaluating and expressing the uncertainty of NIST measurement results

Checked against references

This calculator includes 7 worked examples with independently sourced answers. They run in the test suite, and you can run them here too.

Put this calculator on your site

Paste this where you want the calculator to appear. It is free to use, it stays in step with corrections made here, and the credit line below it links back so your readers can find the full version.

Height
Preview the embed

Keep the credit line. It is the only condition, and it is what keeps these calculators free.