Measurement uncertainty
budget calculator
From individual uncertainty sources to a defensible combined and expanded uncertainty.
Build a budget from Type A evaluations of repeated readings and Type B evaluations of certificates and limits. Convert a normal expanded uncertainty using its coverage factor; divide rectangular, triangular, and U-shaped half-widths by √3, √6, and √2. For Type A, divide the standard deviation of individual readings by √n.
Each sensitivity coefficient maps an input uncertainty into the result unit. The calculator combines these contributions and uses the Welch–Satterthwaite effective degrees of freedom to find a two-sided Student t coverage factor. With few degrees of freedom, the factor needed for a given coverage probability can be greater than 2.
Your uncertainty budget
Define the sources. Review their contribution. Set your coverage.
Used for combined and expanded uncertainty.
0 < p ≤ 99.9999. At infinite ν, 68.27%, 95.45%, and 99.73% give approximately k = 1, 2, and 3.
Nine sources · nm · 99% coverage.
Expected: uc = 31.66 nm, U = 92.47 nm.
Uncertainty sources
Use each source's own input unit; c converts it to the result unit.
| SourceName · text | Distribution / typeDimensionless | Input valueU, a, or s · input unit | Divisor datak or n | Sensitivity cnm / input unit | Degrees of freedomν · dimensionless | Standard u(x)Input unit | Contribution uinm | Variance share% | RemoveSource |
|---|
Blank ν means infinity. Type A starts at n − 1; edit ν for a pooled s. Sensitivities may be negative or zero.
Outputs: 4 significant figuresBudget results
Two-sided coverage · k shown to 3 decimalsEnter a valid budget to calculate U = k × uc.
Calculations use unrounded values. u(x) is in the source's input unit; ui, uc, and U are in the result unit. Degrees of freedom, k, and variance shares are dimensionless.
How to build the budget
- Set the result unit and coverage.Enter the unit of the measurement result and the desired two-sided coverage probability in percent.
- Add each uncertainty source.Choose its distribution. Enter U and k for Normal, half-width a for Rectangular, Triangular, or U-shaped, or standard deviation s and reading count n for Type A.
- Apply the sensitivity and degrees of freedom.Enter c in result units per input unit. Supply ν when finite, or leave it blank for infinity. For a pooled Type A standard deviation, edit the automatically filled n − 1.
- Review the combined result.Inspect the standard uncertainties and variance shares. The calculator reports uc, νeff, its truncated integer m, the coverage factor k, and expanded uncertainty U.
Calculation method
Only nonzero contributions with finite ν enter the degrees-of-freedom denominator. A zero denominator gives νeff = ∞. GUM G.4.1 uses the next lower integer m; m = 0 cannot provide a Student t coverage factor.
Coverage-factor equations
For finite m, set θ = atan(t / √m) and c² = cos²θ. When m = 1, P = 2θ / π.
For odd m above 1: P = (2 / π)(θ + sinθ × S), where S sums Tj from j = 0 to (m − 3) / 2, T0 = cosθ, and Tj = Tj−1 × c² × 2j / (2j + 1).
For even m: P = sinθ × S, where S sums Tj from j = 0 to (m − 2) / 2, T0 = 1, and Tj = Tj−1 × c² × (2j − 1) / (2j).
These Abramowitz–Stegun 26.7.3–4 expressions are inverted by 80 bisection halvings on θ ∈ [0, π/2], giving k = √m × tanθ.
For infinite m or m > 100000, solve erf(k / √2) = p / 100 by bisection on k ∈ [0, 6]. The series is erf(x) = (2 / √π) Σ aj / (2j + 1), with a0 = x and aj = −aj−1 × x² / j, stopping when a term is below 10−17.
Frequently asked questions
How are the different uncertainty inputs converted?
Normal inputs use the certificate's expanded uncertainty divided by its coverage factor, U/k. Rectangular, triangular, and U-shaped inputs use the half-width divided by √3, √6, and √2, respectively. Type A inputs use the standard deviation of individual readings divided by √n.
Why can the coverage factor be greater than 2?
Few effective degrees of freedom require a larger Student t coverage factor for the same coverage probability. This calculator truncates the effective degrees of freedom to the next lower integer before finding the two-sided coverage factor. At infinite degrees of freedom, the normal distribution is used.
What should I enter for degrees of freedom?
Enter a positive degrees-of-freedom value, or leave it blank to represent infinity. Type A initially uses n − 1; you can edit this for a pooled standard deviation. Rows with zero uncertainty contribution do not affect the effective degrees of freedom.
Which measurement models does this calculator cover?
The calculator covers uncorrelated inputs in a first-order model using the supplied sensitivity coefficients. It does not include GUM 5.2 correlations or Monte Carlo propagation from GUM Supplement 1.