Skip to content

Error Propagation Calculator

Propagate measurement uncertainty through any formula with the GUM method: combined standard uncertainty, relative and expanded uncertainty, and an uncertainty budget.

Calculator Details

Result with standard uncertainty:…See results ↓

Use the variables x, y, z and w with + − * / ^, sqrt, sin, cos, ln, log, exp and pi. Trig uses radians

Examples

Measured (best) value of x

u(x): one standard deviation, not a ± range at 95%

Measured (best) value of y

u(y): one standard deviation, not a ± range at 95%

Expanded uncertainty U = k·u; k = 2 gives about 95% coverage for a normal distribution

Your Results

Result with standard uncertainty: …

Result with standard uncertainty

…

Loading the formula evaluator

Compare scenarios

Save these inputs as a scenario, change them, and compare the results side by side.

Loading, available in a moment

Detailed Breakdown

Uncertainty budget
InputValueu(xᵢ)Sensitivity ∂f/∂xᵢ|∂f/∂xᵢ| · u(xᵢ)Share of u²
Combined00100%

How This Calculator Works

How It’s Calculated

u_c²(y) = Σ (∂f/∂xᵢ)² · u²(xᵢ) · U = k · u_c
Sums: u² = Σ uᵢ² · Products and quotients: (u/y)² = Σ (uᵢ/xᵢ)² · Powers xⁿ: u/y = |n| · u/x

Your calculation: y = x / y = 0. u_c = √() = 0, and U = 2 × 0 = 0.

The sensitivity coefficients are found numerically by nudging each input up and down by a tiny amount. The method is first order and assumes independent inputs; strongly non-linear formulas or large uncertainties may need a Monte Carlo evaluation (JCGM 101).

Frequently Asked Questions

What is error propagation?

Working out how the uncertainties in measured inputs carry through a calculation into the uncertainty of the result. If you measure a mass and a volume, each with some uncertainty, error propagation tells you how uncertain the density you calculate from them is.

What formula does the calculator use?

The law of propagation of uncertainty from the Guide to the Expression of Uncertainty in Measurement (GUM): u_c² = Σ (∂f/∂xᵢ)² u²(xᵢ) for independent inputs. Each partial derivative, the sensitivity coefficient, says how strongly the result responds to that input.

Why are uncertainties added in quadrature?

Independent errors partly cancel: one input is as likely to be high as low while another is low. Adding the squares and taking the square root reflects that. For 10 ± 0.3 plus 5 ± 0.4 the combined uncertainty is 0.5, not 0.7. Adding them directly gives a worst case that is rarely reached.

How do uncertainties combine for products and quotients?

Relative uncertainties add in quadrature. A density of 25.0 ± 0.1 g over 10.0 ± 0.2 mL has relative uncertainty √(0.4%² + 2%²) = 2.04%, so ρ = 2.5 ± 0.051 g/mL. The volume dominates the budget with 96.2% of the variance, so a better volume measurement is where to invest.

Why is subtracting two close numbers so uncertain?

The absolute uncertainties combine, but the difference itself is small. 10.2 ± 0.1 minus 10.0 ± 0.1 gives 0.2 ± 0.141, a relative uncertainty of 71% from inputs that were each known to 1%.

What happens with powers?

Raising to the power n multiplies the relative uncertainty by |n|. A length of 2.00 ± 0.01 (0.5%) cubed gives a volume of 8 with 1.5% relative uncertainty, ± 0.12. Square roots halve the relative uncertainty.

What is expanded uncertainty?

The standard uncertainty multiplied by a coverage factor k: U = k·u_c. With k = 2 the interval y ± U covers about 95% of the values that could reasonably be attributed to the result when the distribution is roughly normal. Calibration certificates usually quote U with k = 2.

Should I enter a ± tolerance or a standard uncertainty?

A standard uncertainty, one standard deviation. A rectangular tolerance of ±a (such as a resolution limit or a manufacturer’s ± specification) has a standard uncertainty of a ÷ √3; a 95% interval of ±U with k = 2 corresponds to U ÷ 2. Convert before entering.

Uses the first-order law of propagation of uncertainty for independent inputs (JCGM 100:2008, the GUM, §5.1; NIST Technical Note 1297), with sensitivity coefficients found by numerical differentiation of your formula. It leaves out correlations between inputs, second-order terms for strongly non-linear formulas, Monte Carlo propagation (JCGM 101), effective degrees of freedom (Welch–Satterthwaite) for choosing k, and Type A evaluation from repeated readings (the standard deviation calculator covers that step).

Error Propagation Calculator: Combined and Expanded Uncertainty (GUM)

By FindMySum · Last reviewed

No measurement is exact, and any number calculated from measurements inherits their uncertainty. This error propagation calculator takes a formula in up to four variables, x, y, z and w, each with its value and standard uncertainty, and works out the combined standard uncertainty of the result, its relative uncertainty and an expanded uncertainty for a chosen coverage factor. An uncertainty budget shows how much each input contributes, so you can see which measurement to improve.

The law of propagation of uncertainty

For a result y = f(x₁, x₂, …) with independent inputs, the Guide to the Expression of Uncertainty in Measurement (GUM) gives the combined standard uncertainty as

u_c²(y) = Σ (∂f/∂xᵢ)² u²(xᵢ)

Each partial derivative ∂f/∂xᵢ is a sensitivity coefficient: how much y changes per unit change in that input. Multiplying it by the input's standard uncertainty gives that input's contribution, and the contributions add in quadrature. The calculator finds the derivatives numerically, by evaluating your formula with each input nudged up and down by a tiny amount, so it works for any formula you can type: powers, roots, logarithms, exponentials and trigonometric functions in radians.

Worked example: a density measurement

The calculator opens with a density, ρ = m ÷ V, from a mass of 25.0 ± 0.1 g (x) and a volume of 10.0 ± 0.2 mL (y).

  • ρ = 25.0 ÷ 10.0 = 2.50 g/mL
  • ∂ρ/∂m = 1/V = 0.1, contributing 0.1 × 0.1 = 0.010
  • ∂ρ/∂V = −m/V² = −0.25, contributing 0.25 × 0.2 = 0.050
  • u_c = √(0.010² + 0.050²) = 0.0510 g/mL, a relative uncertainty of 2.04%
  • With k = 2, U = 0.102 g/mL, so ρ = 2.50 ± 0.10 g/mL at about 95% coverage

The budget shows the volume supplies 96% of the variance. Weighing more precisely would barely help; a better volumetric flask would.

Shortcut rules

The general formula reduces to familiar rules for simple cases, which the calculator reproduces:

  • Sums and differences: u² = u₁² + u₂². 10 ± 0.3 plus 5 ± 0.4 is 15 ± 0.5.
  • Products and quotients: relative uncertainties add in quadrature, (u/y)² = (u₁/x₁)² + (u₂/x₂)².
  • Powers: for y = xⁿ, u/y = |n| × u/x. A side of 2.00 ± 0.01 cubed has 1.5% relative uncertainty.
  • Functions: u = |f′(x)| × u(x). For sin x at 0.50 ± 0.01 rad, u = cos 0.5 × 0.01 = 0.0088.

Standard and expanded uncertainty

The inputs must be standard uncertainties, one standard deviation each. Convert other statements first: a tolerance of ±a with a rectangular distribution has u = a ÷ √3; an expanded uncertainty quoted with k = 2 is divided by 2. The result can be reported either as y ± u_c or as an expanded uncertainty U = k·u_c. A coverage factor of 2 gives an interval with about 95% coverage when the result is approximately normally distributed, which is what calibration laboratories normally report; k = 3 gives about 99.7%.

Reading the budget

The table lists each input with its value, uncertainty, sensitivity coefficient, contribution and share of the combined variance; the chart shows the shares. Shares are the right way to compare inputs, because variances, not uncertainties, add. In a pendulum measurement of g = 4π²L/T², for instance, the period's uncertainty counts twice as heavily as the length's because T is squared, and timing usually dominates.

Limits

The method is first order: it treats the formula as linear over the range of each uncertainty. That is accurate when uncertainties are small relative to the values, but can mislead near a maximum or minimum, or when dividing by a quantity whose uncertainty is a sizeable fraction of its value. Inputs are assumed independent, so correlated inputs need covariance terms the calculator does not add. For those cases, the GUM's Supplement 1 describes a Monte Carlo method that propagates whole distributions.

More questions

What is the difference between error and uncertainty?

Error is the difference between a measured value and the true value, which is usually unknown. Uncertainty is a quantified doubt about the result: a range within which the true value is believed to lie. Modern metrology, following the GUM, reports uncertainty; 'error propagation' is the older name for the same calculation.

What are Type A and Type B uncertainties?

Type A uncertainties are evaluated statistically, usually as the standard deviation of the mean of repeated readings. Type B uncertainties come from other information: calibration certificates, manufacturer specifications, resolution of an instrument or published data. Both are expressed as standard uncertainties and combined the same way.

How many significant figures should I report?

Usually one or two for the uncertainty, and the result rounded to the same decimal place. A density computed as 2.50 g/mL with u = 0.0510 is reported as 2.500 ± 0.051 or 2.50 ± 0.05 g/mL. Keep full precision in intermediate steps and round only at the end.

What if my inputs are correlated?

The GUM adds covariance terms, 2 (∂f/∂xᵢ)(∂f/∂xⱼ) u(xᵢ, xⱼ), for each correlated pair. Correlation arises when two inputs share a source, such as two masses weighed on the same uncalibrated balance. This calculator assumes independence; positive correlation in a difference reduces the uncertainty, while in a sum it increases it.

When is the first-order method not good enough?

When the formula is strongly non-linear over the range of the uncertainty, for example a function near a minimum, a division by a quantity whose uncertainty is a large fraction of its value, or trigonometric functions near their turning points. The GUM Supplement 1 (JCGM 101) then recommends a Monte Carlo simulation of the full distribution.

Why does the dominant input matter?

Because the variance contributions add, the largest one controls the result. Halving a small contribution changes almost nothing, while halving the dominant one can cut the total nearly in half. The budget table shows where effort to improve a measurement will pay off.

Sources

This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.

Spotted a wrong result or a bug? Report a problem

May we count your visits with Invoker Analytics? It keeps a random visitor number in your browser. Your calculator inputs are never sent. Privacy policy