Error Propagation Calculator

Error Propagation Calculator

Carry measurement uncertainties through a sum, difference, product, quotient or power to find the uncertainty in the result, by quadrature or the worst-case method.

δq/|q| = √((δA/A)² + (δB/B)²) for q = A × B or A ÷ B

Enter each quantity and its uncertainty

What Is Error Propagation?

Error propagation works out how the uncertainties in measured quantities carry through a calculation into the uncertainty of the result. If you calculate density from a mass and a volume, both measurement uncertainties end up in the density.

Two simple rules cover most lab work. For sums and differences, combine the absolute uncertainties. For products and quotients, combine the relative uncertainties. A power multiplies the relative uncertainty by the exponent.

"Combine" usually means in quadrature, the square root of the sum of squares. Independent errors rarely all push the same way, so they partly cancel. Adding them directly gives a cautious worst case.

Error Propagation Formulas

As given in Taylor, An Introduction to Error Analysis, chapter 3, and the NIST/SEMATECH e-Handbook, section 2.5.5. See Sources.

1. Sums and differences

q = A ± B → δq = √(δA² + δB²)

2. Products and quotients

q = A × B or A ÷ B → δq/|q| = √((δA/A)² + (δB/B)²)

3. Powers

q = Aⁿ → δq/|q| = |n| × δA/|A|

Use this rather than treating A² as A × A: the two copies of A aren't independent, so quadrature would understate the error by √2.

Worked Example: The Density of a Metal Block

Given:
Mass 25.4 ± 0.1 g; volume by displacement 9.6 ± 0.2 cm³.
Step 1:
Relative uncertainties:
mass 0.1 ÷ 25.4 = 0.39% · volume 0.2 ÷ 9.6 = 2.08%
Step 2:
Combine in quadrature:
√(0.39² + 2.08²) = 2.12%
Step 3:
Density and its absolute uncertainty:
25.4 ÷ 9.6 = 2.6458 g/cm³ · × 2.12% = ±0.056
Result:
ρ = 2.65 ± 0.06 g/cm³

The volume dominates: its 2.1% swamps the mass's 0.4%. A better measuring cylinder would help far more than a better balance. The worst-case figure is ±0.07. The result is consistent with aluminium (2.70 g/cm³).

Error Propagation Rules at a Glance

Uncertainty rules for common operations
OperationCombineIndependentWorst case
A + B, A − BAbsolute√(δA² + δB²)δA + δB
A × B, A ÷ BRelative√((δA/A)² + (δB/B)²)δA/A + δB/B
AⁿRelative|n| δA/A|n| δA/A
k × A (exact k)Absolute|k| δA|k| δA
√ARelative½ δA/A½ δA/A

Common Error Propagation Mistakes

  • Subtracting uncertainties for a difference. δ(A − B) is never δA − δB. Uncertainties always grow when quantities are combined.
  • Adding absolute uncertainties for a product. Grams and cm³ can't be added; convert to relative uncertainties first.
  • Ignoring small differences of large numbers. 100.0 ± 0.5 minus 98.0 ± 0.5 is 2.0 ± 0.7, a 35% uncertainty from two 0.5% measurements.
  • Treating correlated quantities as independent. If both A and B come from the same miscalibrated instrument, quadrature understates the error.

Error Propagation FAQs

Quadrature or adding: which should I use?

Quadrature for independent random errors, which is the usual case. Adding gives an upper limit, useful when errors might be linked or for a cautious estimate.

Why does quadrature give a smaller answer?

Independent errors are unlikely to be at their maximum in the same direction at once, so they partly cancel.

How do I handle three or more quantities?

Apply the rules step by step, or extend them: for A × B × C, add all three relative uncertainties in quadrature.

What about a constant like π or 2?

Exact constants have no uncertainty. Multiplying by them scales the absolute uncertainty but leaves the relative one unchanged.

How do I propagate through sin, log or exp?

Use the derivative: δq ≈ |dq/dA| × δA. For ln A, δq = δA/A; for eᴬ, δq = eᴬ δA.

Why can’t A be zero for products?

The relative uncertainty δA/A is undefined at zero. In that case, work with absolute uncertainties and derivatives instead.

Does this assume small uncertainties?

Yes. The rules are first-order approximations and work well when each relative uncertainty is below about 10%.

How should I round the answer?

Uncertainty to one significant figure (two if it starts with 1), and the value to the same decimal place.

Sources

Related Tools