---
title: Calibration and uncertainty budgets
heading: Where an instrument's accuracy comes from, and how to add it up
eyebrow: C11 · Lesson 3 · Calibration and uncertainty budgets
xp: 40
---

::: hook
A meter's reading is only as good as the chain of comparisons behind it: the meter was checked against a calibrator, the calibrator against a lab standard, and so on up to a national laboratory. Each link adds uncertainty. An uncertainty budget lists every source, converts each to a standard uncertainty, and combines them. And when a reading sits near a specification limit, the budget decides whether "pass" can honestly be claimed.
:::

::: play
- The curve is the probability that a part's true value is beyond the limit, given a reading x standard uncertainties inside it (Gaussian errors).
- A reading right at the limit is a coin toss: 50%. One standard uncertainty inside, 16%; two, 2.3%.
- The guard band g is how far inside the limit a reading must be to be accepted. The readout is the worst-case chance of accepting a bad part at that edge.
:::

```sim plot
view: graph
x: x = -3..4
y: P = 0..1
slider: g = 0..3 step 0.1 = 2
plot: 0.5*erfc(x/sqrt(2)) | label: chance the true value is beyond the limit
plot: step(x - g)*0.02 | dashed | label: accepted readings
readout: worst-case false accept at the guard band, % = 50*erfc(g/sqrt(2)) | digits: 3
```

::: predict
## A specification limit is 10.00 V. The measurement's expanded uncertainty is 0.02 V (k = 2, so u = 0.01 V). A part reads 9.99 V. Can it be accepted?

- [ ] Yes, it's inside the limit
- [x] Not with confidence: there's about a 16% chance its true value is above 10.00 V
- [ ] No, it's certainly out of specification
- [ ] Only if the meter is recalibrated

::: reveal
Not with confidence. 9.99 V is one standard uncertainty inside the limit, and a Gaussian error puts 16% of its probability beyond one σ on that side. A common rule is to guard-band by the expanded uncertainty: accept only readings below 9.98 V, where the risk falls to 2.3%.
:::
:::

::: nameit
## Traceability

A measurement is **traceable** when it's linked to the SI units through an unbroken chain of calibrations, each with a stated uncertainty. A calibration certificate gives the instrument's error at test points and the uncertainty of that determination.

## Standard uncertainties

Every source is converted to a **standard uncertainty** u, one standard deviation:

| Source | Standard uncertainty |
|---|---|
| repeated readings (type A) | $s/\sqrt N$ |
| a specification or resolution, ±a, any value equally likely | $a/\sqrt3$ (rectangular) |
| ±a, values near the center more likely | $a/\sqrt6$ (triangular) |
| a certificate's expanded uncertainty U at coverage k | U/k |

## The budget

With sensitivity coefficients $c_i = \partial y/\partial x_i$ for each input,

$$u_c = \sqrt{\sum_i (c_iu_i)^2}, \qquad U = ku_c$$

with k = 2 for about 95% coverage. The largest few terms dominate; listing them shows where improvement pays.

## Using the result

The **test uncertainty ratio**, the tolerance being checked divided by U, should be at least 4. **Guard banding** shrinks the acceptance limits by a multiple of u, trading a few good parts rejected for fewer bad ones accepted.
:::

::: example
## A voltage measurement has these contributions, all in % of reading: the meter's specification ±0.02% (rectangular); its calibration certificate, U = 0.005% at k = 2; resolution ±0.0005% (rectangular); and ten readings with s = 0.003%. What are $u_c$ and U?

::: solution
1. **Rectangular terms.** The specification and the resolution are half-widths, so each is divided by $\sqrt3$:
   $$\begin{aligned} \frac{0.02}{\sqrt3} &= 0.01155\% \\ \frac{0.0005}{\sqrt3} &= 0.00029\% \end{aligned}$$
2. **Certificate.** Its U is at k = 2:
   $$\frac{0.005}{2} = 0.0025\%$$
3. **Scatter of ten readings.**
   $$\frac{0.003}{\sqrt{10}} = 0.00095\%$$
4. **Combine in quadrature.**
   $$\begin{aligned} u_c^2 &= 0.01155^2 + 0.0025^2 \\ &\quad + 0.00029^2 + 0.00095^2 \end{aligned}$$
   so
   $$u_c = 0.0119\%$$
5. **Expand with k = 2.**
   $$\begin{aligned} U &= 2u_c \\ &= 0.024\% \end{aligned}$$
6. **What dominates.** The meter's specification is 95% of the variance: averaging more readings would change nothing.

**Answer:** $u_c$ = 0.0119% and U = 0.024% (k = 2), nearly all of it from the meter's specification.
:::
:::

::: example
## A resistor's tolerance of ±1% is checked with a measurement whose expanded uncertainty is 0.2%. Is the test uncertainty ratio adequate?

::: solution
1. **Test uncertainty ratio.**
   $$\begin{aligned} \text{TUR} &= \frac{1\%}{0.2\%} \\ &= 5 \end{aligned}$$
   That's above the usual minimum of 4.
2. **With a poorer measurement.** With a 0.5% measurement uncertainty it would be 2, and parts near the tolerance limits could not be reliably sorted without a wide guard band.

**Answer:** yes: the TUR is 5, above the usual minimum of 4.
:::
:::

::: example
## With guard bands of 1u and 2u inside a limit, what is the worst-case probability of accepting a part whose true value is out of tolerance?

::: solution
1. **Risk at the guard-band edge.** A part accepted right at the edge has its true value beyond the limit with probability
   $$\tfrac12\operatorname{erfc}(g/\sqrt2)$$
2. **Guard band of 1u.**
   $$\tfrac12\operatorname{erfc}(1/\sqrt2) = 15.9\%$$
3. **Guard band of 2u.**
   $$\tfrac12\operatorname{erfc}(2/\sqrt2) = 2.3\%$$
4. **The average risk.** Most accepted parts are far from the edge, so the average risk is much lower; the guard band bounds the worst case.

**Answer:** at worst 15.9% with a 1u guard band, and 2.3% with 2u.
:::
:::

::: check
kind: parts
given: a = 0.01 | 0.5 | 2; U = 0.02 | 0.4; k = 2 | 3

## A specification is ±{a} (rectangular), and a certificate quotes U = {U} at k = {k}.

::: part
answer: a/sqrt(3)
tolerance: 0.5%

### What standard uncertainty does the specification contribute?

::: misses
- [a] A rectangular half-width a has standard uncertainty $a/\sqrt3$.
- [any] $a/\sqrt3$.
:::
:::

::: part
answer: U/k
tolerance: 0.5%

### And the certificate?

::: misses
- [any] U/k.
:::
:::
:::

::: check
kind: parts
given: u1 = 0.01 | 0.03; u2 = 0.004 | 0.02; u3 = 0.002 | 0.01; c = 1 | 2

## A budget has standard uncertainties {u1}, {u2} and {u3}; the first has sensitivity coefficient {c}, the others 1.

::: part
answer: sqrt((c*u1)^2 + u2^2 + u3^2)
tolerance: 0.5%

### What is the combined standard uncertainty?

::: misses
- [c*u1 + u2 + u3] Independent terms add in quadrature.
- [any] $\sqrt{\sum(c_iu_i)^2}$.
:::
:::

::: part
answer: 2*sqrt((c*u1)^2 + u2^2 + u3^2)
tolerance: 0.5%

### What is the expanded uncertainty at k = 2?

::: misses
- [any] $2u_c$.
:::
:::
:::

::: check
kind: parts
given: T = 0.5 | 1 | 5; U = 0.1 | 0.25 | 0.5

## A tolerance of ±{T}% is checked with an expanded uncertainty of {U}%.

::: part
answer: T/U
tolerance: 0.5%

### What is the test uncertainty ratio?

::: misses
- [any] Tolerance over U.
:::
:::

::: part
answer: step(T/U - 3.999)
tolerance: 0

### Does it meet the 4:1 rule (1 for yes)?

::: misses
- [any] At least 4.
:::
:::
:::

::: check
kind: parts
given: L = 10 | 5.000 | 100; u = 0.005 | 0.01 | 0.05; g = 1 | 2 | 3

## An upper limit is {L}, the standard uncertainty {u}, and the guard band {g}u.

::: part
answer: L - g*u
tolerance: 0.0001%

### Below what reading are parts accepted?

::: misses
- [any] The limit less {g}u.
:::
:::

::: part
answer: 50*erfc(g/sqrt(2))
unit: %
tolerance: 0.5%

### What is the worst-case chance an accepted part is out of tolerance?

::: misses
- [any] $\tfrac12\operatorname{erfc}(g/\sqrt2)$.
:::
:::
:::

::: check
kind: derivation
vars: a = 0.001..10

## A quantity is equally likely anywhere in [−a, a].

::: step
answer: a^2/3

### What is its variance, $\frac{1}{2a}\int_{-a}^{a}x^2dx$?
:::

::: step
answer: a/sqrt(3)

### What is its standard uncertainty?
:::

::: right
Right. That's where the √3 in every rectangular contribution comes from.
:::
:::

::: check
kind: choice

## What makes a measurement traceable?

- [ ] It was made with an expensive instrument
- [x] An unbroken chain of calibrations, each with a stated uncertainty, links it to the SI units
- [ ] It was repeated at least ten times
- [ ] Its uncertainty is below 1%

::: misses
- [1] Price doesn't establish the link to the units.
- [3] Repetition reduces random error; it doesn't connect the measurement to a standard.
- [4] A traceable measurement can have any stated uncertainty.
:::
:::

::: explain
## Why do uncertainty budgets add contributions in quadrature rather than simply summing them?

::: model
Independent errors don't all push in the same direction at the same time. If each source is a random quantity with its own standard deviation, the variance of their sum is the sum of their variances, so standard deviations combine as the square root of the sum of squares. Adding them linearly would assume every error is at its worst and in the same direction at once, which is possible but very unlikely, and would overstate the uncertainty badly with many terms. Quadrature also explains why the largest term dominates: a contribution a third the size of the biggest adds only about 5% to the total.
:::
:::

::: practice
::: check
given: a = 0.05 | 0.3; t = 1 | 2
answer: a/sqrt(3)*(2 - t) + a/sqrt(6)*(t - 1)
tolerance: 0.5%

## Standard uncertainty of ±{a}, rectangular if t = 1 or triangular if t = 2 (t = {t})?

::: misses
- [any] $a/\sqrt3$ rectangular, $a/\sqrt6$ triangular.
:::
:::

::: check
given: u1 = 0.02 | 0.05; u2 = 0.01 | 0.03
answer: 2*sqrt(u1^2 + u2^2)
tolerance: 0.5%

## Expanded uncertainty (k = 2) of independent {u1} and {u2}?

::: misses
- [any] $2\sqrt{u_1^2 + u_2^2}$.
:::
:::

::: check
given: g = 0.5 | 1 | 1.5 | 2 | 2.5 | 3
answer: 50*erfc(g/sqrt(2))
unit: %
tolerance: 0.5%

## Worst-case false accept with a {g}u guard band?

::: misses
- [any] $\tfrac12\operatorname{erfc}(g/\sqrt2)$.
:::
:::
:::
