How to Combine Uncertainties in a Calculated Result
Rules for sums, products, powers and general formulas, with checked examples that show which input limits your answer.
Key takeaways
- For sums and differences of independent quantities, combine absolute uncertainties as the root of the sum of squares.
- For products and quotients, combine relative uncertainties the same way, multiplying each by the power its quantity carries.
- The largest contribution usually dominates, so improving small ones changes little.
- Subtracting two nearly equal values can leave a result with a very large relative uncertainty.
When a result is calculated from several measurements, each input's uncertainty passes into the answer. For independent inputs, the usual rule is to square the contributions, add them and take the square root. For sums and differences you do this with absolute uncertainties. For products and quotients you do it with relative ones.
This method is called propagation of uncertainty. It tells you how well you know the result and, just as usefully, which measurement to improve first.
Set the terms first
The standard uncertainty of a quantity x, written u(x), is an estimate expressed like a standard deviation. The relative uncertainty is u(x) divided by the size of x, often given as a percentage. Estimating these is covered in what measurement uncertainty means.
The rules below assume that the inputs are independent, meaning that an error in one tells you nothing about the error in another. They also assume the uncertainties are small compared with the values, so that the formula behaves almost like a straight line over that range.
Why squares and not a straight total
If two independent errors are both random, they will sometimes reinforce each other and sometimes cancel. Adding the uncertainties directly assumes the worst case every time. Adding squares reflects how variances, which are squared standard deviations, add for independent variables.
Picture the two uncertainties as the sides of a right triangle. The combined value is the hypotenuse. With 3 and 4 units, the result is 5, not 7.
The core rules
| Calculation | Combine | Formula |
|---|---|---|
| f = a + b or a − b | Absolute uncertainties | u(f) = √(u(a)² + u(b)²) |
| f = a × b or a ÷ b | Relative uncertainties | u(f)/f = √((u(a)/a)² + (u(b)/b)²) |
| f = k × a, with k exact | Scale it | u(f) = abs(k) × u(a) |
| f = aⁿ | Multiply the relative one | u(f)/abs(f) = abs(n) × u(a)/abs(a) |
Here abs means the absolute value, since an uncertainty is never negative.
Example: a rectangle
A plate has length L = 20.0 cm and width W = 10.0 cm, each with a standard uncertainty of 0.2 cm from independent readings.
area A = L × W = 200 cm²
relative u(L) = 0.2 ÷ 20.0 = 0.010
relative u(W) = 0.2 ÷ 10.0 = 0.020
relative u(A) = √(0.010² + 0.020²) = √0.0005 ≈ 0.0224
u(A) ≈ 200 × 0.0224 ≈ 4.5 cm²
result: A = 200.0 cm² with u = 4.5 cm² The width contributes four times as much to the variance as the length, even though both were measured equally well in absolute terms.
Now the perimeter, P = 2L + 2W = 60.0 cm.
u(P) = √((2 × 0.2)² + (2 × 0.2)²) = √0.32 ≈ 0.57 cm Notice that you do not treat P as L + L + W + W with four independent errors. The two copies of L share one error, so it simply doubles.
Example: density
A sample has a mass of 54.0 g with u = 0.1 g and a volume of 20.0 mL with u = 0.4 mL.
density ρ = 54.0 ÷ 20.0 = 2.70 g/mL
relative u(m) = 0.1 ÷ 54.0 ≈ 0.0019
relative u(V) = 0.4 ÷ 20.0 = 0.020
relative u(ρ) = √(0.0019² + 0.020²) ≈ 0.0201
u(ρ) ≈ 2.70 × 0.0201 ≈ 0.054 g/mL
result: ρ = 2.70 g/mL with u = 0.05 g/mL A balance ten times better would change the answer by less than one percent of the uncertainty. A better way of finding the volume would transform it.
Example: g from a pendulum
For small swings, g = 4π²L/T², where L is the length and T the period. The number 4π² is exact. T appears squared, so its relative uncertainty counts twice.
Take L = 1.000 m with u = 0.002 m and T = 2.006 s with u = 0.010 s.
g = 4π² × 1.000 ÷ 2.006² ≈ 9.81 m/s²
relative u(L) = 0.002
2 × relative u(T) = 2 × (0.010 ÷ 2.006) ≈ 0.0100
relative u(g) = √(0.002² + 0.0100²) ≈ 0.0102
u(g) ≈ 0.10 m/s²
result: g = 9.8 m/s² with u = 0.1 m/s² Timing twenty swings and dividing by 20 divides the timing uncertainty of the total by 20 as well, provided that uncertainty comes from starting and stopping the clock. That one change in method does more than any amount of care with the ruler. You can try it in a home pendulum experiment.
Averages and repeated pieces
Two situations come up so often that they deserve their own rules.
The first is the mean of n independent readings that each have the same standard uncertainty u. The sum has uncertainty u × √n, and dividing by n gives:
u(mean) = u ÷ √n Four readings halve the uncertainty from random effects. Any error shared by all the readings, such as a calibration offset, does not shrink at all, so add it back after averaging.
The second is a total assembled from copies of one measurement. Say you measure one tile as 30.00 cm with u = 0.05 cm and want the length of ten tiles. If you multiply that single measurement by 10, the same error is repeated ten times, and u = 0.5 cm. If instead you measure ten different tiles independently, each with u = 0.05 cm, the total has u = 0.05 × √10, about 0.16 cm.
The arithmetic of the totals looks identical. The difference lies in whether the errors are one error copied or ten separate ones.
Weighted results
When two independent measurements of the same quantity have different uncertainties, the better one should count for more. The usual choice weights each value by 1/u².
first: 10.0 with u = 0.3 weight = 1 ÷ 0.09 ≈ 11.1
second: 10.6 with u = 0.6 weight = 1 ÷ 0.36 ≈ 2.8
weighted mean = (11.1 × 10.0 + 2.8 × 10.6) ÷ 13.9 ≈ 10.12
uncertainty = 1 ÷ √13.9 ≈ 0.27 The combined uncertainty is a little smaller than the better input's. Before averaging, ask whether the two values agree within their uncertainties. If they differ wildly, something is unaccounted for, and a weighted mean would hide it.
The general method
For any smooth formula f(a, b, ...), each input's contribution is its uncertainty multiplied by the sensitivity of f to that input, which calculus gives as the partial derivative.
u(f)² = (∂f/∂a)² u(a)² + (∂f/∂b)² u(b)² + ... The rules in the table are special cases. If you prefer not to differentiate, use a numerical shortcut:
- Calculate f with all inputs at their best values.
- Raise one input by its uncertainty, recalculate and note the change.
- Restore it and repeat for each input in turn.
- Square each change, add the squares and take the square root.
A spreadsheet does this easily. It also works for formulas involving sines, logarithms or exponentials. For example, if f = ln(a), then u(f) ≈ u(a)/a. If f = sin(θ), then u(f) ≈ abs(cos θ) × u(θ), with u(θ) in radians.
The trap of small differences
Suppose you subtract 10.2 from 10.5, each with u = 0.1.
difference = 0.3
u = √(0.1² + 0.1²) ≈ 0.14
relative uncertainty ≈ 47 percent Two inputs known to about 1 percent produce a result known to about one part in two. When possible, measure the difference directly, for instance with a balance that compares two masses or a gauge that reads a change in length. A related hazard appears in calculations, as shown in rounding too early.
When inputs are correlated
Independence can fail. Two lengths measured with the same stretched tape share an error. Two voltages read on one meter may share its calibration offset.
The general formula then gains a covariance term, which measures how errors move together. The effect depends on the calculation. A shared offset cancels in a difference. A shared scale factor cancels in a ratio. In a sum, positively correlated errors add up more strongly than the independent rule predicts.
When you suspect a shared source, the cleanest approach is often to write it into the formula as its own variable. If both readings include the same offset z, express each as true value plus z and see whether z survives the algebra.
When the straight-line assumption breaks
The method treats f as nearly linear over the range of the uncertainties. It can mislead when uncertainties are large, when you are near a maximum or minimum, or when a denominator could approach zero. At the peak of a curve the derivative is zero, so the formula claims no uncertainty at all, which is wrong.
A Monte Carlo calculation handles such cases. The computer draws many random sets of inputs from their assumed distributions, evaluates the formula each time and summarizes the spread of outputs. International guidance on uncertainty includes this approach as an alternative.
Common mistakes
- Adding percentages for a sum, where absolute values are needed.
- Forgetting that a squared quantity doubles its relative uncertainty.
- Mixing expanded uncertainties with k = 2 and standard uncertainties in one calculation.
- Using degrees where the derivative formula requires radians.
- Counting the same source twice, for example resolution that is already visible in the scatter.
- Rounding intermediate values before combining them.
Showing your work
Present the combination as a small table with one row per input: its value, its standard uncertainty, the sensitivity of the result to it and the resulting contribution. A reader can then check each row and see at once which one controls the total.
For the density example, the mass row contributes about 0.005 g/mL and the volume row about 0.054 g/mL. Writing both numbers down makes the next decision obvious: find a better way to measure volume, perhaps by weighing the water the sample displaces, before spending anything on the balance.
Run the same table before an experiment, using expected values and specification limits. If the predicted uncertainty is already too large to answer your question, you can change the design while it is still cheap to do so.