# Type A and Type B Expanded Uncertainty Calculator

> Source: https://netray.co/tools/type-a-type-b-expanded-uncertainty-calculator
> Publisher: Netray (netray.co), AI and integration engineering for ERP and manufacturing systems.
> Section: Free Tools

## Short answer

Combine Type A repeatability with resolution and calibration Type B terms using the GUM root-sum-square method and see the expanded uncertainty.

## Category

quality

## Industry

Precision Manufacturing

## Audience

- Metrologist
- Calibration lab technician
- Quality engineer

## Tool

**Kind:** calculator

**Inputs:**

#### Number of repeat readings

**Key:** n

**Type:** slider

**Default:** 10

**Min:** 2

**Max:** 50

**Step:** 1

**Help:** Readings used to compute the sample standard deviation.

#### Sample standard deviation of readings

**Key:** s

**Type:** number

**Default:** 0.0012

**Min:** 0

**Step:** 0.0001

**Unit:** mm

#### Instrument resolution

**Key:** res

**Type:** number

**Default:** 0.001

**Min:** 0

**Step:** 0.0001

**Unit:** mm

**Help:** Smallest displayed increment.

#### Calibration certificate expanded uncertainty

**Key:** u_cal

**Type:** number

**Default:** 0.002

**Min:** 0

**Step:** 0.0001

**Unit:** mm

#### Coverage factor on the certificate

**Key:** k_cal

**Type:** select

**Default:** 2

**Options:**

##### k = 2

**Value:** 2

##### k = 1.96

**Value:** 1.96

##### k = 3

**Value:** 3

#### Coverage factor for your result

**Key:** k

**Type:** select

**Default:** 2

**Options:**

##### k = 2 (about 95%)

**Value:** 2

##### k = 3 (about 99.7%)

**Value:** 3

**Outputs:**

#### Type A: repeatability

**Key:** ua

**Expr:** s / sqrt(n)

**Format:** decimal

**Description:** Standard uncertainty of the mean of n readings.

#### Type B: resolution

**Key:** ures

**Expr:** res / (2 * sqrt(3))

**Format:** decimal

**Description:** Rectangular distribution over half the resolution.

#### Type B: calibration

**Key:** ucal

**Expr:** u_cal / k_cal

**Format:** decimal

**Description:** Certificate value divided by its stated coverage factor.

#### Combined standard uncertainty

**Key:** uc

**Expr:** sqrt(ua * ua + ures * ures + ucal * ucal)

**Format:** decimal

#### Expanded uncertainty

**Key:** U

**Expr:** k * uc

**Format:** decimal

**Primary:** true

#### Repeatability share of variance

**Key:** share_a

**Expr:** ua * ua / (uc * uc) * 100

**Format:** percent

**Description:** If this dominates, take more readings or fix the setup.

#### Calibration share of variance

**Key:** share_cal

**Expr:** ucal * ucal / (uc * uc) * 100

**Format:** percent

**Primary:** true

**Chart:**

#### Expanded uncertainty vs number of readings

**Type:** line

**X:** n

**From:** 2

**To:** 50

**Steps:** 25

**Series:**

- U

**Disclaimer:** Simplified budget with three components, with no sensitivity coefficients and no effective degrees of freedom adjustment. A full budget under the GUM may need more terms such as temperature, fixturing and reference standard drift.

## Content

**Intro:** A measurement uncertainty budget starts with a handful of components, each converted to a standard uncertainty and combined by root sum of squares. This calculator handles the three most common terms so you can see which one drives your result.

**Sections:**

#### How to use it

**Body:** Enter the number of repeat readings and their sample standard deviation, the instrument resolution and the expanded uncertainty from the calibration certificate along with its coverage factor. Pick the coverage factor for your own result, usually 2. The tool returns each standard uncertainty, the combined value and the expanded value. The share outputs show which component contributes most of the variance, which tells you where improvement effort pays.

**Bullets:**

- Use readings taken under the actual measurement conditions.
- Check the certificate for its stated k, it is not always 2.
- Add other terms such as temperature by extending the budget manually.

#### Method and formulas

**Body:** Type A uncertainty comes from statistics: the standard deviation of the mean is s divided by the square root of n. Type B comes from other knowledge. Resolution is treated as a rectangular distribution with half-width equal to half the resolution, so the standard uncertainty is resolution divided by 2 root 3. A certificate value is divided by its coverage factor to return to a standard uncertainty. Components are squared, added and rooted to give the combined standard uncertainty, then multiplied by k.

#### Worked example

**Body:** Ten readings with s of 0.0012 mm give 0.00038 mm. A 0.001 mm resolution gives 0.00029 mm. A certificate of 0.002 mm at k=2 gives 0.001 mm. Combined, the value is about 0.00112 mm, and the expanded uncertainty at k=2 is about 0.0022 mm. The calibration term makes up roughly 80 percent of the variance, so more readings would barely help. A better reference standard would.

#### Common mistakes

**Body:** Do not add standard uncertainties linearly, they combine in quadrature when independent. Do not use the certificate expanded value as if it were a standard uncertainty. Do not use resolution as the uncertainty itself, and do not forget that a small number of readings has few degrees of freedom, which in a formal budget would justify a larger k than 2. Finally, remember that this is the uncertainty of the instrument in use, not the full process.

**Cta:** If you maintain uncertainty budgets in spreadsheets across many gages, we can help structure them alongside your ERP equipment records.

**Faq:**

#### Why divide resolution by 2 root 3?

**Answer:** Rounding to the display makes the true value equally likely anywhere within plus or minus half a resolution step. For a rectangular distribution, the standard deviation is the half-width divided by the square root of 3.

#### What is coverage factor k?

**Answer:** It multiplies the combined standard uncertainty to give an interval with a stated level of confidence. K of 2 gives about 95 percent for a normal distribution and is the common default in calibration.

#### Can I use this for a calibration lab scope?

**Answer:** It is a teaching and planning tool. Accredited labs need a full budget meeting ISO/IEC 17025 and the GUM, including all relevant influence quantities and sensitivity coefficients.

#### Why does uncertainty plateau as readings increase?

**Answer:** Only the Type A term shrinks with more readings. Resolution and calibration terms stay the same, so the combined value approaches a floor set by them.

## Search terms

expanded uncertainty calculator, type a type b uncertainty, gum uncertainty calculator, combined standard uncertainty, resolution uncertainty rectangular, measurement uncertainty example, uncertainty of repeated measurements, k=2 coverage factor

---
Talk to an engineer: https://netray.co/contact?intent=erp_ai | Machine catalog: https://netray.co/agent/catalog.json
