Works on this device
Error Propagation Calculator
Find the uncertainty of a result that you calculate from measured values. Type the formula and the values with their uncertainties. The page takes the derivative of the formula for each value, combines the contributions, and shows which input matters most.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose Calculate.
Your result
How it was worked out
How to use this calculator
- Choose A formula that you type. Type the formula with short names for the measured values, such as
m / V. - Add one row for each name: its value and its standard uncertainty.
- Choose Calculate. The table shows each derivative, the contribution of each variable and its share of the variance.
- For a common rule alone, choose A ready-made form and pick the sum, the product, the power, a logarithm or an exponential.
The formula
- For a result y = f(a, b, …) with inputs that do not depend on each other: u(y) = √((∂f/∂a × u(a))² + (∂f/∂b × u(b))² + …).
- ∂f/∂a is the partial derivative: how much the result changes for a small change of a alone. The page works it out exactly from your formula, at the values that you typed.
- Sum or difference y = a ± b: u(y) = √(u(a)² + u(b)²).
- Product or quotient: u(y) ÷ |y| = √((u(a) ÷ a)² + (u(b) ÷ b)²).
- Power y = a^n: u(y) ÷ |y| = |n| × u(a) ÷ |a|.
- Logarithm y = ln(a): u(y) = u(a) ÷ a. For the logarithm to base 10, divide by ln 10 = 2.302585 as well.
- Exponential y = e^a: u(y) = y × u(a). For 10^a, multiply by ln 10 as well.
Worked example
A density is mass ÷ volume, with m = 25.4 ± 0.1 g and V = 9.5 ± 0.2 cm³. Type the formula m / V. The result is 25.4 ÷ 9.5 = 2.674 g/cm³.
The derivative for m is 1 ÷ V = 0.1053, so m adds 0.1053 × 0.1 = 0.0105. The derivative for V is −m ÷ V² = −0.2814, so V adds 0.2814 × 0.2 = 0.0563.
u(y) = √(0.0105² + 0.0563²) = 0.057. The density is 2.674 ± 0.057 g/cm³. The volume has 96.6% of the variance, so a better volume reading helps most.
How the derivatives are checked
Each exact derivative is compared with a numerical one: a five-point central difference with a step h of 2⁻¹⁷, which is about 0.0000076, for values up to 1,024. The step grows in powers of two for larger values. The table shows both numbers. If they do not agree, the formula has a corner or a break very close to your values, and the result needs care.
Where the neighbouring jobs are
- The simple school rule that adds percent uncertainties: Percent Uncertainty Calculator.
- Inputs that depend on each other: Combined Uncertainty Calculator. Use the derivatives from this page as sensitivity coefficients there.
- Sums and products of many values in rows: Relative Uncertainty Calculator.
- The school convention for significant digits, which is not an uncertainty analysis: Significant Digit Propagator.
Limits you should know
- The rule is first-order. It is good when the uncertainties are small beside the values. For a large uncertainty in a strongly curved formula, compare with the result at the highest and lowest inputs.
- The inputs are taken as independent. Two values from the same instrument may not be.
- A formula can have up to 12 variables. A name is made of letters only, and capital and small letters count as the same name. The names e and pi are constants.
- Angles in a formula are in radians.
logis the logarithm to base 10 andlnthe natural logarithm. - This page does not work out the signal delay of a circuit board trace, which some people also call propagation.
- An uncertainty is an estimate. This arithmetic cannot find an effect that you did not put in.