Skip to content

Measurement uncertainty calculator

Paste your repeated readings and the certificate and instrument sources, and get the full uncertainty budget: Type A, Type B, combined uncertainty, coverage factor k and expanded uncertainty U, ready to report.

Measurement data

One reading per line, in the unit of the result. Takes 25.02 or 25,02.
One source per line: name; value; distribution; k or divisor; ν (the last two are optional). Distributions: normal (certificate U, divided by k, 2 by default), resolution (digital instrument, divided by 2√3), rectangular (a ±a limit, divided by √3), triangular (divided by √6).

Result

± 0.022 mmexpanded uncertainty U
How to report the result
25.017 ± 0.022 mm, k = 2.00, coverage probability of approximately 95%
Mean
25.017 mm
Type A: u = s/√n
0.003 mm
Combined uncertainty (uc)
0.0112 mm
Effective degrees of freedom
1,754
Coverage factor k
2.00

“Calibration certificate” accounts for 79.6% of the variance. It is the source to work on first if the uncertainty is too large.

Uncertainty budget

SourceTypeDistributionValueDivisoruνContribution
Repeatability (10 readings)As/√n0.00949√100.00397.2%
Calibration certificateBnormal0.0220.01∞79.6%
Caliper resolutionBresolution0.013.4640.00289∞6.6%
Drift between calibrationsBrectangular0.0051.7320.00289∞6.6%
uc0.01121,754100%

Every source has a sensitivity coefficient of 1, meaning it is already in the unit of the result. The contribution is each source’s share of the variance (u² ÷ uc²).

How to calculate measurement uncertainty

The method is the GUM (JCGM 100:2008, Evaluation of measurement data: Guide to the expression of uncertainty in measurement) in the simplified form calibration labs and plants use every day, the same one as EA-4/02. Five steps:

Type A: uA = s ÷ √n, with ν = n − 1

Type B: ui = value ÷ divisor

Combined: uc = √(uA² + u1² + u2² + …)

Effective degrees of freedom: νeff = uc⁴ ÷ Σ (ui⁴ ÷ νi)

Expanded: U = k × uc, with k from the t distribution at νeff and 95.45%

The divisor depends on how the source behaves:

Source Distribution Divisor
Calibration certificate U normal the certificate’s k (usually 2)
Digital instrument resolution rectangular 2√3 ≈ 3.46
A ±a limit (drift, specification, temperature) rectangular √3 ≈ 1.73
A ±a limit with values more likely near the center triangular √6 ≈ 2.45

The calculator uses a sensitivity coefficient of 1 for every source. That holds when each source is already in the unit of the result, as in a direct measurement with a caliper, micrometer, scale or pressure gauge. If a source needs converting (a temperature effect in °C on a result in mm, for example), convert it first and enter the value in mm.

Effective degrees of freedom come from the Welch–Satterthwaite formula. Type B sources count as infinite degrees of freedom unless you enter another value in the fifth column. A fractional value is truncated to the integer below before looking up k, as the GUM says.

Worked example

The values preloaded in the calculator are a 25 mm shaft measured 10 times with a digital caliper with 0.01 mm resolution:

25.02, 25.01, 25.03, 25.02, 25.00, 25.02, 25.01, 25.03, 25.02, 25.01 mm

  1. Mean = 25.017 mm. Standard deviation s = 0.0095 mm
  2. Type A: uA = 0.0095 ÷ √10 = 0.0030 mm, with 9 degrees of freedom
  3. Caliper certificate: U = 0.02 mm at k = 2, so u = 0.02 ÷ 2 = 0.0100 mm
  4. Resolution: u = 0.01 ÷ (2√3) = 0.0029 mm
  5. Drift between calibrations of ±0.005 mm, rectangular: u = 0.005 ÷ √3 = 0.0029 mm
  6. Combined: uc = √(0.0030² + 0.0100² + 0.0029² + 0.0029²) = 0.0112 mm
  7. Effective degrees of freedom: only Type A has a finite ν, so νeff = 0.0112⁴ ÷ (0.0030⁴ ÷ 9) ≈ 1,754
  8. k at 1,754 degrees of freedom and 95.45% = 2.00
  9. Expanded: U = 2.00 × 0.0112 = 0.022 mm

Report it as: 25.017 ± 0.022 mm, k = 2.00, coverage probability of approximately 95%.

How to read the result

  • The expanded uncertainty U is the band around the mean where the true value should lie, with about 95% confidence. Give U with at most two significant digits and round the mean to the same decimal place.
  • Each source’s contribution shows where to act. In the example, the caliper certificate accounts for 80% of the variance. Taking more readings barely changes the result; a better calibrated instrument does.
  • Low degrees of freedom show up when Type A dominates and there are few readings. Then k grows (2.87 at ν = 4, 2.32 at ν = 9) and so does U. More readings fix it.
  • Compare U with the tolerance. An uncertainty that takes up a big part of the tolerance leaves parts near the limit without a safe decision. To check whether the instrument itself passed calibration, use the calibration acceptance check. To see whether the process fits the tolerance, try the Cp and Cpk calculator and the control chart.

Common mistakes

  • Using the certificate’s U directly as a standard uncertainty. The certificate gives the expanded uncertainty. Divide by its k before combining.
  • Adding uncertainties instead of their squares. Independent sources combine as the root sum of squares. Adding them straight overstates the uncertainty.
  • Dividing resolution by √3 instead of 2√3. The half-width of one digit is half the resolution. On an analog instrument, judge the smallest fraction you can read and use that as the limit.
  • Using the standard deviation s as Type A. For the mean of n readings the uncertainty is s ÷ √n. If you report a single reading, then use s.
  • Always fixing k = 2. With few readings and a heavy Type A, k = 2 gives less than 95% coverage. Work out the effective degrees of freedom.
  • Leaving sources out. Temperature, instrument drift, the reference standard and the operator also belong in the budget when they matter for the measurement.

Frequently asked questions

How do you calculate measurement uncertainty?

Compute the Type A uncertainty of the repeated readings (standard deviation divided by the square root of the number of readings), turn each Type B source into a standard uncertainty by dividing by its distribution’s divisor, add the squares and take the square root to get the combined uncertainty. Multiply by the coverage factor k to get the expanded uncertainty U.

What is an uncertainty budget?

A table listing every source of uncertainty in a measurement with its value, distribution, divisor, standard uncertainty and share of the total. It shows how the combined and expanded uncertainty were reached and which source dominates.

How do you calculate expanded uncertainty?

Expanded uncertainty is U = k × uc, where uc is the combined standard uncertainty and k is the coverage factor. For about 95% coverage, k comes from Student’s t distribution at the effective degrees of freedom. With many degrees of freedom, k = 2.

What is the difference between Type A and Type B uncertainty?

Type A is evaluated statistically from repeated readings you take. Type B comes from other information: the calibration certificate, the instrument resolution, the manufacturer’s specification, drift between calibrations. Both enter the budget the same way, as standard uncertainties.

Why is resolution divided by 2√3?

On a digital instrument the true value can be anywhere within half a digit either way, with equal chance. That is a rectangular distribution with half-width a = resolution ÷ 2, and the standard uncertainty of a rectangular distribution is a ÷ √3. Put together: resolution ÷ (2√3).

Is a coverage factor of k = 2 always 95%?

Only when the combined uncertainty has many effective degrees of freedom. If Type A dominates and there are few readings, k for 95.45% is larger: 2.87 with 4 degrees of freedom, 2.32 with 9. The calculator works it out from the Welch–Satterthwaite formula.