How error propagation works
Every measurement carries uncertainty. When you combine measured quantities in a calculation, that uncertainty carries through to the answer. Error propagation is the set of rules that tells you how large the uncertainty in the final result is, given the uncertainties in each input. This calculator implements the standard rules for independent, random errors, where uncertainties combine "in quadrature" — the square root of the sum of squares — because independent errors partly cancel rather than always reinforcing each other.
The propagation rules
Let x and y be measured values with absolute uncertainties δx and δy. For the common operations:
- Sum or difference (q = x + y or q = x − y): the absolute uncertainties add in quadrature. δq = √(δx² + δy²). Note that the uncertainty of a difference is the same as the uncertainty of the sum — subtraction does not cancel error.
- Product or quotient (q = x·y or q = x/y): the relative uncertainties add in quadrature. δq/|q| = √((δx/x)² + (δy/y)²), then δq = |q| · (δq/|q|).
- Power (q = xⁿ): the relative uncertainty scales by the magnitude of the exponent. δq/|q| = |n| · (δx/|x|). For example, squaring a value (n = 2) doubles its fractional uncertainty; taking a square root (n = 0.5) halves it.
These rules come from a first-order Taylor expansion of the function around the measured values, keeping only the linear terms — which is why they are sometimes called the "first-order" or "linearized" propagation formulas (Taylor, An Introduction to Error Analysis).
Why quadrature and not a simple sum
If you simply added the errors (δq = δx + δy for a sum), you would be assuming both measurements are wrong in the same direction at the same time — the worst possible case. In reality, independent random errors are just as likely to push in opposite directions, so on average they partially cancel. The root-sum-of-squares captures this: it always gives a smaller, more realistic uncertainty than the linear sum. A linear sum is only appropriate when errors are perfectly correlated or when you deliberately want a conservative worst-case bound.
A worked example
Suppose you measure a length x = 10.0 ± 0.5 cm and a width y = 4.0 ± 0.2 cm and want the area A = x·y. The result is 10.0 × 4.0 = 40.0 cm². The relative uncertainty is √((0.5/10)² + (0.2/4)²) = √(0.0025 + 0.0025) = √0.005 ≈ 0.0707, or about 7.07%. So δA = 40.0 × 0.0707 ≈ 2.83 cm², and you report A = 40.0 ± 2.8 cm².